SIMULATION DEVICE AND METHOD OF CONTROLLING THE SAME
20230161931 · 2023-05-25
Assignee
Inventors
Cpc classification
G06F30/33
PHYSICS
International classification
Abstract
Provided is a hardware in the loop simulation (HILS) module comprising an electronic control unit (ECU), a storage configured to store software in the loop simulation (SILS) software comprising a virtual ECU, and a controller configured to control at least one of the HILS module or the SILS software to perform a simulation on a network comprising at least one of the ECU or the virtual ECU.
Claims
1. A simulation device comprising: a hardware in the loop simulation (HILS) module comprising one or more electronic control units (ECUs); a storage configured to store a software in the loop simulation (SILS) software comprising one or more virtual ECUs; and a controller configured to control at least one of the HILS module or the SILS software to perform a simulation on a network comprising at least one of the ECU or the virtual ECU.
2. The simulation device of claim 1, further comprising a communication interface configured to perform communication between the HILS module and the SILS software.
3. The simulation device of claim 2, further comprising a signal generator configured to generate an electrical signal based on a virtual output of a virtual ECU, of the one or more virtual ECUs, and transmit the electrical signal to an ECU, of the one or more ECUs.
4. The simulation device of claim 3, wherein the controller is further configured to: configure a network in which at least one of the ECUs is replaced with a virtual ECU, of the one or more virtual ECUs, using the communication interface; and control both the HILS module and the SILS software to perform a simulation on the configured network.
5. The simulation device of claim 4, wherein the controller is further configured to: control the HILS module to turn on power of an ECU included in the configured network, among the one or more ECUs; and control the SILS software to turn on a switch of a virtual ECU included in the configured network, among the one or more virtual ECUs.
6. The simulation device of claim 1, further comprising an inputter configured to receive a user input, wherein the controller is further configured to configure a network based on the user input received through the inputter.
7. The simulation device of claim 6, wherein the controller is further configured to, when an input to perform a test on input/output electrical signals of a network is received, control the HILS module to perform a simulation on a network comprising only the one or more ECUs.
8. The simulation device of claim 6, wherein the controller is further configured to, when an input to perform a test on control logics of a network, control the SILS software to perform a simulation on a network comprising only the one or more virtual ECUs.
9. The simulation device of claim 1, wherein the controller is further configured to: transmit and receive data to and from the HILS module, based on an electrical signal; transmit and receive data to and from the SILS software, based on a virtual signal; and determine a result of the simulation based on at least one of the electrical signal received from the HILS module or the virtual signal received from the SILS software.
10. The simulation device of claim 9, comprising a display, wherein the controller is further configured to control the display to display the result of the simulation.
11. A method of controlling a simulation device comprising a hardware in the loop simulation (HILS) module comprising an electronic control unit (ECU) and a storage configured to store a software in the loop simulation (SILS) module comprising a virtual ECU, the method comprising: controlling at least one of the HILS module or the SILS module to perform a simulation on a network comprising at least one of the ECU or the virtual ECU.
12. The method of claim 11, wherein the simulation device further comprises a communication interface configured to perform communication between the HILS module and the SILS software.
13. The method of claim 12, wherein the simulation device further comprises a signal generator configured to: generate an electrical signal based on a virtual output of the virtual ECU; and transmit the electrical signal to the ECU.
14. The method of claim 13, wherein the controlling of the at least one of the HILS module or the SILS software further comprises: configuring a network in which at least one of the ECUs is replaced with the virtual ECU using the communication interface; and controlling both the HILS module and the SILS software to perform a simulation on the configured network.
15. The method of claim 14, wherein the controlling of the at least one of the HILS module or the SILS software further comprises: controlling the HILS module to turn on power of an ECU included in the configured network among the ECUs; and controlling the SILS software to turn on a switch of a virtual ECU included in the configured network among the virtual ECUs.
16. The method of claim 11, wherein: the simulation device further comprises an inputter configured to receive a user input, and the method further comprises configuring a network based on the user input received through the inputter.
17. The method of claim 16, wherein the controlling of the at least one of the HILS module or the SILS software further comprises, when an input to perform a test on input/output electrical signals of a network is received, controlling the HILS module to perform a simulation on a network comprising only the ECU.
18. The method of claim 16, wherein the controlling of the at least one of the HILS module or the SILS software further comprises, when an input to perform a test on control logics of a network, controlling the SILS software to perform a simulation on a network comprising only the virtual ECU.
19. The method of claim 11, further comprising: transmitting and receiving data to and from the HILS module based on an electrical signal; transmitting and receiving data to and from the SILS software based on a virtual signal; and determining a result of the simulation based on at least one of the electrical signal received from the HILS module or the virtual signal received from the SILS software.
20. The method of claim 19, wherein: the simulation device further comprises a display, and the method further comprises controlling the display to display the result of the simulation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0028] These and/or other aspects of the disclosure will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
DETAILED DESCRIPTION
[0037] Like numerals refer to like elements throughout the specification. Not all elements of embodiments of the present disclosure will be described, and description of what are commonly known in the art or what overlap each other in the embodiments will be omitted.
[0038] It is understood that the term “vehicle” or “vehicular” or other similar term as used herein is inclusive of motor vehicles in general such as passenger automobiles including sports utility vehicles (SUV), buses, trucks, various commercial vehicles, watercraft including a variety of boats and ships, aircraft, and the like, and includes hybrid vehicles, electric vehicles, plug-in hybrid electric vehicles, hydrogen-powered vehicles and other alternative fuel vehicles (e.g. fuels derived from resources other than petroleum). As referred to herein, a hybrid vehicle is a vehicle that has two or more sources of power, for example both gasoline-powered and electric-powered vehicles.
[0039] It will be further understood that the term “connect” or its derivatives refer both to direct and indirect connection, and the indirect connection includes a connection over a wireless communication network.
[0040] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. These terms are merely intended to distinguish one component from another component, and the terms do not limit the nature, sequence or order of the constituent components. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. Throughout the specification, unless explicitly described to the contrary, the word “comprise” and variations such as “comprises” or “comprising” will be understood to imply the inclusion of stated elements but not the exclusion of any other elements. In addition, the terms “unit”, “-er”, “-or”, and “module” described in the specification mean units for processing at least one function and operation, and can be implemented by hardware components or software components and combinations thereof.
[0041] As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0042] The terms, such as “— part”, “—device”, “—block”, “—member”, “— module”, and the like may refer to a unit for processing at least one function or act. For example, the terms may refer to at least process processed by at least one hardware, such as field-programmable gate array (FPGA)/application specific integrated circuit (ASIC), software stored in memories, or processors.
[0043] Although exemplary embodiment is described as using a plurality of units to perform the exemplary process, it is understood that the exemplary processes may also be performed by one or plurality of modules. Additionally, it is understood that the term controller/control unit refers to a hardware device that includes a memory and a processor and is specifically programmed to execute the processes described herein. The memory is configured to store the modules and the processor is specifically configured to execute said modules to perform one or more processes which are described further below.
[0044] Further, the control logic of the present disclosure may be embodied as non-transitory computer readable media on a computer readable medium containing executable program instructions executed by a processor, controller or the like. Examples of computer readable media include, but are not limited to, ROM, RAM, compact disc (CD)-ROMs, magnetic tapes, floppy disks, flash drives, smart cards and optical data storage devices. The computer readable medium can also be distributed in network coupled computer systems so that the computer readable media is stored and executed in a distributed fashion, e.g., by a telematics server or a Controller Area Network (CAN).
[0045] Unless specifically stated or obvious from context, as used herein, the term “about” is understood as within a range of normal tolerance in the art, for example within 2 standard deviations of the mean. “About” can be understood as within 10%, 9%, 8%, 7%, 6%, 5%, 4%, 3%, 2%, 1%, 0.5%, 0.1%, 0.05%, or 0.01% of the stated value. Unless otherwise clear from the context, all numerical values provided herein are modified by the term “about”.
[0046] Reference numerals used for method steps are just used for convenience of explanation, but not to limit an order of the steps. Thus, unless the context clearly dictates otherwise, the written order may be practiced otherwise.
[0047] Hereinafter, some embodiments of the present disclosure will be described in detail with reference to the exemplary drawings. In the drawings, the same reference numerals will be used throughout to designate the same or equivalent elements. In addition, a detailed description of well-known features or functions will be ruled out in order not to unnecessarily obscure the gist of the present disclosure.
[0048] Hereinafter, an exemplary embodiment of a simulation device and a method of controlling the same according to an aspect of the present disclosure will be described in detail with reference to the accompanying drawings.
[0049]
[0050] Referring to
[0051] Some of the components above described as being included in the simulation device 100 may be omitted depending on embodiments, and components other than the above components may be added according to various embodiments.
[0052] The HILS module 110 according to the exemplary embodiment may be configured to perform a simulation using an ECU 117, which is a physical ECU.
[0053] The HILS module 110 may include the ECU 117, which is a physical ECU, a plant (not shown) physically connected to the ECU 117 and including an actual load, such as a sensor or actuator, and a simulator (not shown) configured to construct a virtual environment to simulate a real vehicle environment.
[0054] The storage 120 according to the exemplary embodiment may be configured to store the SILS software 125 for performing a simulation using various types of information required for a simulation and a virtual ECU 127. To this end, the storage 120 may be provided as a storage medium generally known in the art.
[0055] Specifically, the storage 120 may include operating software for a simulation. The operating software may be configured to change a test mode according to a verification scenario, and may include a user interface, auto detection software that automatically implements a verification environment when a network to be verified is configured, and a simulation execution module.
[0056] The simulation execution module may be provided as a test framework conforming to the association for standardization of automation and measuring system (ASAM) standard. With such a configuration, the simulation device 100 may be configured to control some or all types of test benches that use the same standard.
[0057] In addition, the storage 120 may include an evaluation management module configured for managing simulation results, and the evaluation management module may be configured to manage test case execution logs, measurement data graph information, evaluation results, and the like.
[0058] The SILS software 125 may include the virtual ECU 127, and may be configured to perform a simulation using the virtual ECU 127.
[0059] Specifically, the SILS software 125 may be configured to reproduce memory operations or interrupt operations of an actual vehicle ECU on a personal computer (PC) to configure the virtual ECU 127.
[0060] The SILS software 125 may be configured to implement a virtual network environment using the virtual ECU 127 and may be configured to verify control logics, communication performances, and the like. For example, as shown in
[0061] In this case, the SILS software 125 may be configured to perform a simulation not only using the virtual ECU 127 but also virtually reproducing a vehicle model or engine model.
[0062] The inputter 130 according to the embodiment may be configured to receive a user input. For example, the inputter 130 may be configured to receive a selection of a test scenario of a simulation from a user, and may be configured to receive an input regarding whether to perform a simulation, display of a simulation result, and the like. To this end, the inputter 130 may be provided as an input device generally known in the art.
[0063] The controller 140 according to the exemplary embodiment may be configured to control to perform a simulation using at least one of the HILS module 110 or the SILS software 125.
[0064] That is, the controller 140 may be configured to control at least one of the HILS module 110 or the SILS software 125 in order to perform a simulation on a network composed of at least one of the ECU 117 or the virtual ECU 127.
[0065] According to an embodiment, the controller 140 may be configured to configure a network based on a user input received through the inputter 130.
[0066] Specifically, the controller 140 may be configured to, when an input to perform a test on input/output electrical signals of a network is received, control the HILS module 110 to perform a simulation on a network including only the ECU 117.
[0067] In addition, the controller 140 may be configured to, when an input to perform a test on control logics of a network, control the SILS software 125 to perform a simulation on a network including only the virtual ECU 127.
[0068] In addition, the controller 140 according to an exemplary embodiment may be configured to control the HILS module 110 and the SILS software 125 to interwork to perform a simulation. For example, when a replacement evaluation of some ECU 117 or 127 is required, the controller 140 may be configured to control the HILS module 110 and the SILS software 125 to interwork to perform a simulation.
[0069] Specifically, the controller 140 may be configured to configure a network in which at least one of the ECUs 117 is replaced with the virtual ECU 127 using the communication interface 150, and may be configured to control both the HILS module 110 and the SILS software 125 in order to perform a simulation on the configured network.
[0070] That is, the controller 140 may be configured to configure a network, including at least one of the ECUs 117 of the HILS module 110 and at least one of the virtual ECUs 127 of the SILS software 125, through the communication interface 150.
[0071] In other words, at least one of the ECUs 117 of the HILS module 110 and at least one of the virtual ECUs 127 of the SILS software 125 may be configured to perform a controller area network (CAN) communication through the communication interface 150 to constitute a network. However, the communication protocol may not be limited to the above example, and any communication protocol capable of configuring a network may be applied without limitation.
[0072] For example, an ECU_A 117a of the HILS module 110 may be replaced with the virtual ECU_A 127a of the SILS software 125 so that the virtual ECU_A 127a, an ECU_B 117b, and an ECU_C 117c may constitute one network to be subject to a simulation.
[0073] The controller 140 may be configured to control the HILS module 110 to turn on the power of an ECU included in the network among the ECUs 117, and may be configured to control the SILS software 125 to turn on the switch of a virtual ECU included in the network among the virtual ECUs 127.
[0074] Conversely, the controller 140 may be configured to control the HILS module 110 to turn off the power of an ECU that is not included in the network among the ECUs 117, and may be configured to control the SILS software 125 to turn off the switch of a virtual ECU that is not included in the network among the virtual ECUs 127.
[0075] For example, when the virtual ECU_A 127a, the ECU_B 117b, and the ECU_C 117c constitute one network, the controller 140 may be configured to control the HILS module 110 to turn on the power of each of the ECU_B 117b and the ECU_C 117c and turn off the power of the ECU_A 117a. In addition, the controller 140 may be configured to control the SILS software 125 to turn on the switch of the virtual ECU_A 127a and turn off the switch of each of the virtual ECU_B 127b and the virtual ECU_C 127c,
[0076] In addition, when the controller 140 controls the HILS module 110 and the SILS software 125 to interwork to perform a simulation, the controller 140 may be configured to control the signal generator 160 to generate an electrical signal based on a virtual output of the virtual ECU 127 included in the network and to transmit the electrical signal to the ECU 117 included in the network.
[0077] In addition, the controller 140 may be configured to transmit and receive data to and from the HILS module 110 based on an electrical signal, and may be configured to transmit and receive data to and from the SILS software 125 based on a virtual signal. In this case, the virtual signal (input/output) may be a data signal in a virtual environment not through a H/wire, and the electrical signal may correspond to a signal transmitted by electrical connection through a H/wire or other wires.
[0078] The controller 140 may be configured to determine a simulation result based on at least one of the electrical signal received from the HILS module 110 or the virtual signal received from the SILS software, and may be configured to control the display 170 to output the simulation result.
[0079] The controller 140 may include at least one memory in which a program for performing the above-described operations and operations to be described below is stored, and at least one processor for executing the stored program. When the memory and the processor are plural, the memories and the processors may be integrated into one chip or may be provided in physically separate locations.
[0080] The communication interface 150 according to the embodiment may be configured to perform communication between the HILS module 110 and the SILS software 125. That is, the communication interface 150 may be configured to support communication between the ECU 117 of the HILS module 110 and the virtual ECU 127 of the SILS software 125, and may be configured to allow the ECU of the HILS module 110 and the virtual ECU 127 of the SILS software 125 to constitute a network.
[0081] For example, the communication interface 150 may be configured to support CAN communication between the ECU 117 and the virtual ECU 127. However, the communication protocol may not be limited to the above example as long as it can configure a network without limitation. To this end, the communication interface 150 may be provided as a communication module supporting the corresponding communication protocol.
[0082] In other words, the communication interface 150 may be configured to support data communication between the ECU 117 and the virtual ECU 127 so that the ECU 117 and the virtual ECU 127 constitute a single vehicle network.
[0083] The signal generator 160 according to the exemplary embodiment may be configured to generate an electrical signal based on the virtual output of the virtual ECU 127 and transmit the generated electrical signal to the ECU 117. To this end, the signal generator 160 may be provided as a signal generator generally known in the art.
[0084] That is, the signal generator 160 may be configured to, based on an instruction of the virtual output of the virtual ECU 127 that the ECU 117 should be supplied with an electrical signal, in a situation in which the ECU 117 and the virtual ECU 127 constitute one network through the communication interface 150, generate an electrical signal and supply the ECU 117 with the generated electrical signal.
[0085] For example, when an integrated body control unit (IBU) is provided as the virtual ECU 127, and the virtual ECU 127 corresponding to the IBU outputs a virtual signal corresponding to ACC, IG1, or IG2, the signal generator 160 may be configured to generate an electrical signal (power) corresponding to ACC, IG1, or IG2 and supply the electrical signal to the ECU 117 inside the HILS module 110.
[0086] The display 170 according to the embodiment may be configured to display a simulation result, and to this end, may be provided with a display module generally known in the art.
[0087] In the above, each component of the simulation device 100 according to the exemplary embodiment has been described. Hereinafter, a case in which the simulation device 100 performs a simulation will be described in detail.
[0088]
[0089] Referring to
[0090] In this case, the controller 140 may be configured to transmit and receive data to and from the HILS module 110 based on an electrical signal, and may be configured to transmit and receive data to and from the SILS software 125 based on a virtual signal. The virtual signal (input/output) may be a data signal in a virtual environment not through H/wire, and the electrical signal may correspond to a signal electrically connected through H/wire or other wires and mutually transmitted.
[0091] That is, the controller 140 may be configured to transmit and receive data to and from the HILS module 110 based on an electrical signal required for control of the actual ECU. That is, the controller 140 may be configured to communicate with the HILS module 110 in the form of actual input/outputs generated through the simulator.
[0092] In addition, the controller 140 may be configured to transmit and receive data to and from the SILS software 125 based on a virtual signal required for control of the virtual ECU.
[0093] The communication interface 150 may be configured to support data transmission/reception between the ECU 117 of the HILS module 110 and the virtual ECU 127 of the SILS software 125.
[0094] According to an exemplary embodiment, the controller 140 may be configured to configure a network based on a user input received through the inputter 130.
[0095] Specifically, as shown in
[0096] That is, the simulation device 100 may be configured to, in the case of a test requiring electrical performance verification, such as identifying an input to the ECU 117 or checking load driving, configure a network only with a plurality of ECUs 117a, 117b, 117c, 117d, 117e, and 117f and control the HILS module 110 to perform a simulation.
[0097] In addition, as shown in
[0098] That is, the simulation device 100 may be configured to, in the case of a test only for checking control logics, such as verifying an occurrence of a bug, through software code execution, configure a network only with a plurality of virtual ECUs 127a, 127b, 127c, 127d, 127e and 127f and control the SILS software 125 to perform a simulation. In this case, the SILS software 125 may be configured to repeatedly perform the simulations for each option (region option, user setting option, startup type, etc.) or simultaneously perform the simulations for each option.
[0099] The simulation device 100 may be configured to control each of the HILS module 110 and the SILS software 125 to independently perform a simulation according to an embodiment. Specifically, the HILS module 110 may be configured to configure a network only with a plurality of ECUs 117a, 117b, 117c, 117d, 117e, and 117f to perform a simulation, and also the SILS software 125 may be configured to configure a network only with a plurality of virtual ECUs 127a, 127b, 127c, 127d, 127e, and 127f to perform a simulation.
[0100] In addition, the controller 140 according to an exemplary embodiment may be configured to control the HILS module 110 and the SILS software 125 to interwork to perform a simulation. For example, as shown in
[0101] For example, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a software update code of a specific ECU 117 is distributed but hardware development is delayed, replace the specific ECU 117 with a virtual ECU 127, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0102] In addition, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a new ECU is added and the corresponding software is distributed, add a virtual ECU corresponding to the new ECU, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0103] In addition, the simulation device 100 may be configured to, in a situation of simulating using the SILS software 125, when hardware characteristic verification for a specific virtual ECU 127 is required, replace the specific virtual ECU 127 with a physical ECU 117, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0104] Hereinafter, a simulation through interworking of the HILS module 110 and the SILS software 125 will be described in detail.
[0105]
[0106] Referring to
[0107] For example, when there is a need to verify hardware characteristics of a specific virtual ECU 127 in a situation of simulating using the SILS software 125, the virtual ECU 127 may be replaced with a physical ECU 117, and the simulation may be performed using both the HILS module 110 and the SILS software 125.
[0108] As shown in
[0109] That is, the virtual ECU_A 127a, the virtual ECU_B 127b, the virtual ECU_C 127c, the virtual ECU_D 127d, the virtual ECU_E 127e, and the ECU_F 117f may constitute a single network through the communication interface 150.
[0110] In this case, the simulation device 100 may be configured to control the HILS module 110 to turn on the power of only the ECU_F 117f among the plurality of ECUs 117 included in the HILS module 110, and may be configured to control the SILS software 125 to turn off the switch of only the virtual ECU_F 127f among the plurality of virtual ECUs 127 included in the SILS software 125.
[0111] The simulation device 100 may be configured to control the remaining virtual ECUs 127a, 127b, 127c, 127d, and 127e except for the virtual ECU_F 127f through the existing virtual input/outputs, and may be configured to control the ECU_F 117f through an electrical signal input/output.
[0112] Referring to
[0113] For example, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a software update code of a specific ECU 117 is distributed but hardware development is delayed, replace the specific ECU 117 with a virtual ECU 127, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0114] In addition, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a new ECU is added and the corresponding software is distributed, add a virtual ECU corresponding to the new ECU and perform the simulation using both the HILS module 110 and the SILS software 125.
[0115] As shown in
[0116] That is, the ECU_A 117a, the ECU_B 117b, the ECU_C 117c, the ECU_D 117d, the ECU_E 117e, and the virtual electronic control F 127f may constitute a single network through the communication interface 150.
[0117] In this case, the simulation device 100 may be configured to control the HILS module 110 to turn off the power of only the ECU_F 117f among the plurality of ECUs 117 included in the HILS module 110 and control the SILS software 125 to turn on the switch of only the virtual ECU_F 127f among the plurality of virtual ECUs 127 included in the SILS software 125.
[0118] The simulation device 100 may be configured to control only the remaining ECUs 117a, 117b, 117c, 117d, and 117e except for the ECU_F 117f through the existing electrical signal input/outputs, and may control the virtual ECU_F 127f through a virtual signal input/output.
[0119] In addition, referring to
[0120] The signal generator 160 may be configured to generate the electrical signal based on the virtual output of the virtual ECU 127 and may be configured to transmit the electrical signal to the ECU 117. To this end, the signal generator 160 may be provided as a signal generator generally known in the art.
[0121] That is, the signal generator 160 may be configured to, based on an instruction of the virtual output of the virtual ECU 127 that the ECU 117 should be supplied with an electrical signal, in a situation in which the ECU 117 and the virtual ECU 127 constitute one network through the communication interface 150, generate an electrical signal and supply the ECU 117 with the generated electrical signal.
[0122] For example, when an IBU is provided as the virtual ECU 127, and the virtual ECU 127 corresponding to the IBU outputs a virtual signal corresponding to ACC, IG1, or IG2, the signal generator 160 may be configured to generate an electrical signal (power) corresponding to ACC, IG1, or IG2 and supply the electrical signal to the ECU 117 inside the HILS module 110.
[0123] Hereinafter, an embodiment of a method of controlling a simulation device 100 according to an aspect will be described. The simulation device 100 according to the above-described exemplary embodiment may be used for the method of controlling the simulation device 100. Accordingly, the contents described above with reference to
[0124]
[0125] Referring to
[0126] The controller 140 may be configured to, upon receiving an input regarding a test on input/output electrical signals of a network (evaluation of electrical performance), control the HILS module 110 to perform a simulation on a network including only the ECU 117 (an execution of HILS environment evaluation).
[0127] That is, the simulation device 100 may be configured to, in the case of a test requiring electrical performance verification, such as identifying an input to the ECU 117 or checking load driving, configure a network only with a plurality of ECUs 117a, 117b, 117c, 117d, 117e, and 117f and control the HILS module 110 to perform a simulation.
[0128] In addition, the simulation device 100 according to the exemplary embodiment may be configured to, in the case of an electrical performance evaluation (YES in operation 810) while replacement evaluation of some ECU is required (YES in operation 820), control the HILS module 110 and the SILS software 125 to perform SILS-HILS interwork evaluation (840).
[0129] That is, the controller 140 according to an exemplary embodiment may be configured to control the HILS module 110 and the SILS software 125 to interwork to perform a simulation. For example, as shown in
[0130] For example, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a software update code of a specific ECU 117 is distributed but hardware development is delayed, replace the specific ECU 117 with a virtual ECU 127, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0131] In addition, the simulation device 100 may be configured to, in a situation of simulating using the HILS module 110, when a new ECU is added and the corresponding software is distributed, add a virtual ECU corresponding to the new ECU, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0132] The simulation device 100 according to the exemplary embodiment may be configured to, in the case of a control logic evaluation (YES in operation 850) rather than an electrical performance evaluation (NO in operation 810) while replacement evaluation of some ECU is not required (NO in operation 860), control the SILS software 125 to perform SILS environment evaluation (870).
[0133] The controller 140 may be configured to, upon receiving an input regarding a test on control logics of a network (an evaluation of control logics), control the SILS software 125 to perform a simulation on a network including only the virtual ECU 127 (an execution of SILS environment evaluation).
[0134] That is, the simulation device 100 may be configured to, in the case of a test only for checking control logics, such as verifying an occurrence of a bug through software code execution, configure a network only with a plurality of virtual ECUs 127a, 127b, 127c, 127d, 127e and 127f and control the SILS software 125 to perform a simulation. In this case, the SILS software 125 may be configured to repeatedly perform the simulations for each option (region option, user setting option, startup type, etc.) or may be configured to simultaneously perform the simulations for each option.
[0135] In addition, the simulation device 100 according to the exemplary embodiment may be configured to, in the case of control logic evaluation (YES in operation 850) rather than an electrical performance evaluation (NO in operation 810) while replacement evaluation of some ECU is required (YES in operation 860), control the HILS module 110 and the SILS software 125 to perform SILS-HILS interwork evaluation (840).
[0136] That is, the controller 140 according to an embodiment may be configured to control the HILS module 110 and the SILS software 125 to interwork to perform a simulation. For example, as shown in
[0137] For example, the simulation device 100 may be configured to, in a situation of simulating using the SILS software 125, when hardware characteristic verification for a specific virtual ECU 127 is required, replace the specific virtual ECU 127 with a physical ECU 117, and perform the simulation using both the HILS module 110 and the SILS software 125.
[0138] Meanwhile, the disclosed embodiments may be embodied in the form of a recording medium storing instructions executable by a computer. The instructions may be stored in the form of program code and, when executed by a processor, may be configured to generate a program module to perform the operations of the disclosed embodiments. The recording medium may be embodied as a computer-readable recording medium.
[0139] The computer-readable recording medium may comprise some or all kinds of recording media in which instructions which may be decoded by a computer are stored, for example, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, and the like.
[0140] As is apparent from the above, the simulation device and the method of controlling the same may perform simulation by interworking a hardware in the loop simulation (HILS) module using a physical ECU (ECU) and software in the loop simulation (SILS) software using a virtual ECU, so that control function verification of a vehicle system level may be flexibly performed, and the time taken for verification environment establishment and evaluation may be reduced.
[0141] Although embodiments of the present disclosure have been described for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the disclosure. Therefore, embodiments of the present disclosure have not been described for limiting purposes.