WO2018198770A1 - Dispositif de calcul, procédé d'enregistrement de journal et système d'enregistrement de journal - Google Patents

Dispositif de calcul, procédé d'enregistrement de journal et système d'enregistrement de journal Download PDF

Info

Publication number
WO2018198770A1
WO2018198770A1 PCT/JP2018/015183 JP2018015183W WO2018198770A1 WO 2018198770 A1 WO2018198770 A1 WO 2018198770A1 JP 2018015183 W JP2018015183 W JP 2018015183W WO 2018198770 A1 WO2018198770 A1 WO 2018198770A1
Authority
WO
WIPO (PCT)
Prior art keywords
log
input
application
unit
time
Prior art date
Application number
PCT/JP2018/015183
Other languages
English (en)
Japanese (ja)
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 DE112018001810.5T priority Critical patent/DE112018001810T5/de
Publication of WO2018198770A1 publication Critical patent/WO2018198770A1/fr

Links

Images

Classifications

    • 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/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0264Control of logging system, e.g. decision on which data to store; time-stamping measurements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0739Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis

Definitions

  • the present invention relates to an arithmetic device, a log recording method, and a log recording system.
  • Patent Document 1 sets simulation means for simulating a virtual environment, one or more display means for displaying the results simulated by the simulation means in real time, and conditions for recording and saving the contents of the simulation.
  • Record storage condition setting means checkpoint file means for storing all the contents of the simulation in a checkpoint file based on the above conditions, and the time from the time when the checkpoint file is saved to the time when the next saving is performed Using the event log file means for saving only the difference in the simulated content changes in the event log file, the saved checkpoint file and the event log file, the simulated content at an arbitrary time is reproduced.
  • a display unit for displaying on the display unit, and an integrated management unit for integrated management of the entire system.
  • Distributed Simulation system characterized by comprising: means, is disclosed.
  • An arithmetic device includes an execution unit that repeatedly executes an application, a count unit that counts the number of sequences based on the execution of the application, with an interval at which the application is executed a predetermined number of times as one sequence.
  • a recording unit that records, as an input log, a combination of the input data input to the application and the number of sequences at the time when the input data is input to the application.
  • the log recording method includes executing an application repeatedly, setting an interval at which the application is executed a predetermined number of times as one sequence, and counting the number of sequences based on the execution of the application, Recording the combination of the input data input to the application and the sequence number at the time when the input data is input to the application as an input log.
  • a log recording system is a log recording system including an application execution device and a log storage device connected by a network, wherein the application execution device repeatedly executes an application, An interval at which an application is executed a predetermined number of times is defined as one sequence, a counting unit that counts the number of sequences based on the execution of the application, an execution device communication unit that communicates with the log storage device, and an input that is input to the application
  • a recording unit that records data and a combination of the number of sequences at the time when the input data is input to the application as an input log to the log storage device via the execution device communication unit, and the log storage device includes: ,
  • the input log from the application execution device Comprising a storage device communication unit for receiving, and a storage unit for the input log and the input log storage device communication unit is stored in association with the time of reception.
  • the block diagram which shows the structure of the vehicle control system 1 2A shows a format of the log data 114A when the output value includes the time stamp
  • FIG. 2B shows a format of the log data 114A when the output value does not include the time stamp.
  • history 115 Flow chart showing operation of sensor information acquisition unit 101 A flowchart showing the operation of the application execution management unit 102 A flowchart showing the operation of the log generation unit 103 A flowchart showing the operation of the log reproduction unit 104 Flow chart showing operation of log recording / reproducing apparatus 20 Diagram showing an example of log recording mode operation
  • An “application” in the present embodiment is a program that is periodically executed.
  • the “execution cycle” in the present embodiment is a target value of a time interval for executing a certain application. That is, the time interval at which an application is actually executed may not match the execution cycle.
  • the execution timing of the application is determined by a method of measuring the time until the target value is reached each time the application is executed, and executing the application when the target value is reached. In this case, it is assumed that the target value does not coincide with the actual application execution time interval due to a timer error when measuring the elapsed time or a delay due to other processing load.
  • the “sequence” in the present embodiment is a time having a length delimited by the time when the reference application is actually executed. That is, the start time of each sequence is the time when the reference application is executed.
  • the “sequence number” in the present embodiment is a numerical value that is counted up each time a reference application is executed.
  • FIG. 1 is a block diagram showing a configuration of a vehicle control system 1 including a vehicle control device 10 which is an arithmetic device according to the present invention.
  • the vehicle control system 1 includes a vehicle control device 10, a log recording / reproducing device 20, an external sensor group 30, a vehicle sensor group 40, and an actuator group 50.
  • the vehicle control device 10, the log recording / reproducing device 20, the external sensor group 30, the vehicle sensor group 40, and the actuator group 50 are connected by an in-vehicle network 60.
  • the vehicle control system 1 is mounted on a vehicle, for example, recognizes the state of an obstacle such as a traveling road or a surrounding vehicle in the vicinity of the vehicle, determines driving behavior or vehicle control of the vehicle, and controls vehicle movement. This system realizes automatic driving.
  • the external sensor group 30 is a sensor group for recognizing obstacles in a certain range around the vehicle, such as other vehicles, pedestrians, objects, and features such as road signs and white lines.
  • the outside world sensor group 30 includes, for example, a camera, a radar, a lidar, and the like.
  • the outside world sensor group 30 outputs detected information on obstacles and features around the vehicle, such as relative distance and relative angle from the vehicle, to the in-vehicle network 60 to which the outside world sensor group 30 and the vehicle control device 10 are connected. To do.
  • the vehicle control device 10 is configured to obtain an output result from the external sensor group 30 via the in-vehicle network 60.
  • the external sensor group 30 is configured to detect an obstacle or a feature, but the vehicle control device 10 or the like is output using signals and data output from the external sensor group 30. These detection processes may be performed by another device.
  • the vehicle sensor group 40 is a device group that detects information related to vehicle movement, such as travel speed, steering angle, accelerator operation amount, brake operation amount, and the like.
  • the vehicle sensor group 40 outputs these state quantities detected on the in-vehicle network 60, for example.
  • the vehicle control device 10 and other devices connected to the in-vehicle network 60 acquire state quantities of various components output from the vehicle sensor group 40 through the in-vehicle network 60.
  • Actuator group 50 is a device group that controls control elements such as steering, brakes, and accelerators that determine the movement of the vehicle.
  • the actuator group 50 controls the movement of the vehicle based on steering information such as a steering wheel, a brake pedal, and an accelerator pedal by the driver, and a target control value output from the vehicle control device 10.
  • the vehicle control device 10 is, for example, an ECU (Electronic Control Unit), and includes a processing unit 100, a storage unit 110, and a communication unit 120.
  • the form of the vehicle control device 10 is not particularly limited.
  • the vehicle control device 10 may be integrated into the external sensor group 30.
  • the vehicle control device 10 and the log recording / reproducing device 20 in the present embodiment have two operation modes, a log recording mode and a log reproduction mode.
  • the vehicle control device 10 and the log recording / reproducing device 20 are mounted on the vehicle and record logs in the log recording mode.
  • the vehicle control device 10 and the log recording / reproducing device 20 may be operated on the vehicle control system 1 in the log reproduction mode, but may be operated on a place physically separated from the vehicle control system 1, for example, an indoor desk. Good.
  • the storage unit 110 stores an application A (not shown), and this application A is a reference application in the present embodiment. That is, when the application A is executed, the sequence number is counted up. Details will be described later.
  • application A is also referred to as “application A”.
  • the processing unit 100 includes a CPU (Central Processing Unit) and a RAM (Random Access Memory), and the CPU expands a program (not shown) stored in the storage unit 110 to the RAM and executes the program.
  • the processing unit 100 includes a sensor information acquisition unit 101, an application execution management unit 102, a log generation unit 103, and a log reproduction unit 104 as its functions.
  • the processing unit 100 outputs a stop command to the sensor information acquisition unit 101, the application execution management unit 102, the log generation unit 103, and the log reproduction unit 104.
  • Sensor information acquisition unit 101 operates only in the log recording mode.
  • the sensor information acquisition unit 101 acquires peripheral environment information related to the periphery of the vehicle and vehicle sensor information related to the movement of the vehicle, and stores these in the application input / output data group 111 as “output values”. Further, the sensor information acquisition unit 101 stores the output value and the output value in the log data buffer 114 in association with the time when the output value is stored in the application input / output data group 111.
  • the sensor information acquisition unit 101 acquires output values from the external sensor group 30 and the vehicle sensor group 40.
  • the surrounding environment information is, for example, information on obstacles present around the vehicle, information on features indicating road characteristics around the vehicle, and the like.
  • Obstacles around the vehicle include, for example, other vehicles moving around the vehicle, moving objects such as bicycles and pedestrians, parked vehicles stationary on the road around the vehicle, and falling objects , Installations, etc.
  • the vehicle sensor information is, for example, the position of the vehicle, travel speed, steering angle, accelerator operation amount, brake operation amount, and the like.
  • the surrounding environment information and the vehicle sensor information acquired by the sensor information acquisition unit 101 are stored in the storage unit 110 as the application input / output data group 111.
  • the application execution management unit 102 operates in both the log recording mode and the log reproduction mode.
  • the application execution management unit 102 reads the execution cycle of the application A from the application execution parameter group 112 stored in the storage unit 110, and causes the application A to be executed for each execution cycle.
  • the application execution management unit 102 increments the sequence number every time the application A is executed, and records the sequence number and the time when the sequence was started in a sequence history 115 described later.
  • the log generation unit 103 operates only in the log recording mode, and creates log data 114A based on an output value stored in the log data buffer 114 and time information.
  • the log generation unit 103 stores the created log data 114A in the log data buffer 114, and transmits the log data 114A to the log recording / reproducing apparatus 20 via the communication unit 120.
  • the log generation unit 103 may transmit the created log data 114 ⁇ / b> A to the log recording / reproducing apparatus 20 as it is without storing it in the log data buffer 114.
  • the log reproduction unit 104 operates only in the log reproduction mode, and extracts an output value from the log data 114A received from the log recording / reproduction device 20 via the communication unit 120. Then, the log generation unit 103 calculates the timing at which the output value should be stored in the application input / output data group 111 based on the analysis result of the log data 114A, and stores the output value in the application input / output data group 111 at that timing.
  • the storage unit 110 is, for example, an HDD (HARD Disk Drive) or a flash memory. However, it may be configured to include a ROM (Read Only Memory).
  • the storage unit 110 stores a program executed by the processing unit 100 to realize its function, an application executed periodically, a data group necessary for the vehicle control apparatus 10 to operate, and the like. Specifically, the storage unit 110 stores an application input / output data group 111, an application execution parameter group 112, a log reproduction parameter group 113, a log data buffer 114, and an application A (not shown).
  • the application input / output data group 111 stores information input to the application A and information output from the application A. Specifically, the application input / output data group 111 stores peripheral environment information related to the periphery of the vehicle, vehicle sensor information related to the movement of the vehicle, and information processed by the application A. In the log recording mode, the sensor information acquisition unit 101 and the application A store data in the application input / output data group 111. In the log reproduction mode, the log generation unit 103 stores data in the application input / output data group 111.
  • the application execution parameter group 112 stores setting information related to the application A executed in the vehicle control device 10 and an operation mode that the vehicle control device 10 should execute at the next startup.
  • the setting information related to the application A is, for example, the execution cycle of the application A and the initial delay time.
  • the application execution management unit 102 manages application execution using the application execution parameter group 112.
  • the application execution parameter group 112 can be rewritten from a terminal device (not shown) connected to the in-vehicle network 60. For example, when an operator finds a problem in the operation of the vehicle control device 10, the operation mode of the vehicle control device 10 is changed from the log recording mode to the log reproduction mode as follows. That is, the operator rewrites the operation mode stored in the application execution parameter group 112 to the log reproduction mode using the terminal device, and turns on the power of the vehicle control device 10 again.
  • the initial delay time included in the application execution parameter group 112 is a parameter that determines the initial execution timing of the application.
  • the first time here is the first time each time the vehicle control device 10 is activated.
  • the application is executed immediately after the vehicle control device 10 is activated. That is, when the initial delay time of an application is Td and the individual cycle is Ti, the application is executed at the times of Td, Td + Ti, Td + 2 ⁇ Ti, and Td + 3 ⁇ Ti, assuming that the time when the vehicle control device 10 is activated is zero.
  • the initial delay time is zero.
  • the log reproduction parameter group 113 stores a storage delay sequence that is a parameter for determining the operation of the log generation unit 103 in the log reproduction mode.
  • the storage delay sequence is a parameter used when determining the timing to store the log data 114A received by the communication unit 120 first in the application input / output data group 111 in the log reproduction mode. For example, when the storage delay sequence is “3” and the communication unit 120 receives the first log data 114A when the sequence number is “5” in the log reproduction mode, the following processing is performed.
  • the log reproduction parameter group 113 may store parameters other than the storage delay sequence.
  • the log data buffer 114 stores log data 114A and information for creating the log data 114A in the log recording mode.
  • the information for creating the log data 114 ⁇ / b> A is an output value and a time when the output value is input to the application input / output data group 111.
  • the log data buffer 114 temporarily stores log data 114A received by the communication unit 120 from the log recording / reproducing device 20 in the log reproduction mode.
  • FIG. 2A is a diagram illustrating a format of log data 114A when the output value includes a time stamp
  • FIG. 2B is a diagram illustrating a format of log data 114A when the output value does not include a time stamp.
  • the log data 114A includes four values: an output value, a sequence number, an offset value described later, and time stamp correction information.
  • the time stamp correction information is not provided as shown in FIG.
  • the time stamp may be deleted from the output value because the time stamp is corrected as described later using the time stamp correction information. Returning to FIG. 1, the description will be continued.
  • the sequence history 115 stored in the storage unit 110 is information indicating the time when each sequence number is started.
  • the sequence history 115 is created by the application execution management unit 102.
  • the sequence history 115 may be transmitted to the log recording / reproducing apparatus 20 together with the log data 114A.
  • FIG. 3 is a diagram illustrating an example of the sequence history 115.
  • the example shown in FIG. 3 shows a case where the execution period of the application A is 10 ms, and the sequence number is updated approximately every 10 ms, but is not strictly constant. Returning to FIG. 1, the description will be continued.
  • Application A (not shown) stored in the storage unit 110 is periodically executed by the application execution management unit 102. However, as shown in the sequence history 115 illustrated in FIG. 3, strictly speaking, there is some time lag, not every fixed time. Application A immediately reads the information written in application input / output data group 111. That is, the time when the output value is written to the application input / output data group 111 can be regarded as the time when the output value is input to the application A. In addition, when the application A writes to the application input / output data group 111, it outputs the same information to the log data buffer 114 and writes the output time to the log data buffer 114.
  • the communication unit 120 communicates with other devices mounted on the vehicle based on various communication protocols.
  • the communication unit 120 includes, for example, a network card compliant with a communication standard such as IEEE 802.3 or CAN (Controller Area Network).
  • the connection form between the communication unit 120 and other devices mounted on the vehicle is not limited to wired connection such as Ethernet, but is not limited to Bluetooth (registered trademark) or wireless LAN (Local Area Network). It may be a short-range wireless connection.
  • the communication unit 120 transmits the log data 114A output from the log generation unit 103 to the log recording / reproducing device 20 in the log recording mode. In the log reproduction mode, the communication unit 120 stores the log data 114A received from the log recording / reproducing device 20 in the log data buffer 114 and transmits the reception of the log data 114A to the log reproduction unit 104.
  • the log recording / reproducing apparatus 20 is an ECU including a CPU, a ROM, and a RAM, for example.
  • the log recording / reproducing apparatus 20 has two operation modes of a log recording mode and a log reproduction mode.
  • the log recording mode exhibits a log recording function in the log recording mode and a log reproduction function in the log reproduction mode.
  • the operation mode of the log recording / reproducing apparatus 20 can be changed by setting a DIP switch (not shown) or by communication from the outside.
  • the log recording function is a function for recording the log data 114A output from the vehicle control device 10 to the in-vehicle network 60.
  • the log reproduction function is a function for reproducing the log data 114A recorded by the log recording function and outputting it to the in-vehicle network 60.
  • the log recording / reproducing apparatus 20 controls the output interval of the log data 114A at the time of log reproduction to be equal to that at the time of recording the log data 114A.
  • the log recording / reproducing apparatus 20 includes a communication unit 220, a log data group 210, and a log recording / reproducing unit 200.
  • the communication unit 220 exchanges the log data 114A with the vehicle control device 10 based on various communication protocols.
  • the communication unit 220 corresponds to a communication standard such as IEEE 802.3 or CAN (Controller Area Network), for example.
  • the connection form between the communication unit 220 and another device is not limited to a wired connection, and may be a wireless connection such as Bluetooth (registered trademark) or a wireless LAN (Local Area Network).
  • the log data group 210 is, for example, an HDD or a flash memory.
  • the log data group 210 stores log data 114A acquired from the vehicle control device 10 and the reception time of the log data 114A.
  • the log data group 210 is written and read by the log recording / reproducing unit 200.
  • the log recording / reproducing unit 200 stores the log data 114A received from the vehicle control device 10 in the log data group 210 in association with the reception time.
  • the communication unit 220 may record an interval of time when the log data 114A is received instead of the reception time.
  • the log recording / reproducing unit 200 outputs the log data 114A stored in the log data group 210 to the in-vehicle network 60 at the same time interval as at the time of reception.
  • FIG. 4 is a flowchart showing the operation of the sensor information acquisition unit 101.
  • the execution subject of each step described below is the CPU of the vehicle control device 10.
  • the sensor information acquisition unit 101 operates only in the log recording mode.
  • step S301 the sensor information acquisition unit 101 acquires sensor data from the external sensor group 30 and the vehicle sensor group 40.
  • the timing at which the sensor information acquisition unit 101 acquires sensor data There is no particular limitation on the timing at which the sensor information acquisition unit 101 acquires sensor data.
  • the sensor data output from the external sensor group 30 or the vehicle sensor group 40 to the in-vehicle network may be detected and acquired each time.
  • the sensor information acquisition part 101 may set a timer and acquire sensor data regularly irrespective of operation
  • step S ⁇ b> 302 the sensor information acquisition unit 101 stores the sensor data in the application input / output data group 111.
  • step S303 the sensor information acquisition unit 101 combines the current time and the same data as the sensor data stored in step S302, and stores them in the log data buffer 114.
  • step S304 it is determined whether or not the vehicle control device 10 has received a stop command. If it is determined that the stop command has been received, the operation shown in FIG. The process returns to step S301.
  • FIG. 5 is a flowchart showing the operation of the application execution management unit 102.
  • the execution subject of each step described below is the CPU of the vehicle control device 10.
  • the application execution management unit 102 performs the same operation as described below regardless of the operation mode.
  • the application execution management unit 102 starts the processes of step S311 and step S321 in parallel when the vehicle control device 10 is activated.
  • step S311 the application execution management unit 102 substitutes zero for N, which is a variable indicating the number of sequences.
  • step S312 it is determined whether or not the application A is executed. If it is determined that the application A has been executed, the process proceeds to step S313. If it is determined that the application A has not been executed, the process remains in step S312.
  • step S313 the application execution management unit 102 increments the variable N, that is, increments the value of the variable N by one.
  • step S314 the application execution management unit 102 records the current time and the value of the variable N, that is, the current sequence number, in the sequence history 115.
  • step S317 the application execution management unit 102 determines whether or not a stop command has been received. If it is determined that the stop command has been received, the operation of the flowchart shown in FIG. If so, the process returns to step S312.
  • step S321 the application execution management unit 102 waits for the set initial delay time, and executes application A in the subsequent step S322.
  • step S323 the application execution management unit 102 waits for the execution cycle of the application A.
  • step S324 the application execution management unit 102 determines whether or not a stop command has been received. If it is determined that the stop command has been received, the operation of the flowchart shown in FIG. If so, the process returns to step S322.
  • FIG. 6 is a flowchart showing the operation of the log generation unit 103.
  • the log generation unit 103 operates only in the log recording mode.
  • the execution subject of each step described below is the CPU of the vehicle control device 10.
  • the timing at which the log generation unit 103 starts operation is no particular limitation on the timing at which the log generation unit 103 starts operation.
  • the log generation unit 103 may detect that the data and the storage time information are stored in the log data buffer 114, and may start the operation each time or may start the operation periodically.
  • step S341 the log generation unit 103 reads the combination of the output value and the time stored in the log data buffer 114.
  • the log generation unit 103 reads the sequence history 115.
  • the log generation unit 103 identifies which sequence number corresponds to the time read in step S341. For example, if the sequence history 115 is as shown in FIG. 3 and the time is “25.67”, the sequence number is specified as “3” because it is between “20.03” and “29.99”. Is done.
  • the log generation unit 103 calculates an offset value.
  • the offset value is a value indicating an elapsed time from the start time of the sequence. For example, when the time is “25.67”, since the sequence number is specified as “3” as described above, the offset value is “20. It is calculated as “5.64” obtained by subtracting “03”.
  • the log generation unit 103 creates time stamp correction information.
  • the time stamp correction information is calculated as the difference between the reception time and the time stamp included in the output value. For example, when the output value including the time stamp “25.00” is stored in the log data buffer 114 together with the time “25.67”, the time stamp correction information is “0.67”. However, this step is not executed if the output value does not include a time stamp.
  • the log generation unit 103 generates the log data 114A by combining the output value, the sequence number, the offset value, and the time stamp correction information.
  • the log generation unit 103 stores the created log data 114 ⁇ / b> A in the log data buffer 114 and transmits it to the log recording / reproducing device 20 via the communication unit 120. In addition, the log generation unit 103 deletes the combination of the output value and time information corresponding to the created log data 114 ⁇ / b> A from the log data buffer 114.
  • step S347 the log generation unit 103 determines whether or not a stop command has been received.
  • the log generation unit 103 ends the operation of the flowchart illustrated in FIG. 6 and determines that the stop command has not been received. In this case, the process returns to step S341.
  • FIG. 7 is a flowchart showing the operation of the log reproduction unit 104.
  • the execution subject of each step of the flowchart described below is the CPU of the log recording / reproducing apparatus 20.
  • step S371 the log reproduction unit 104 reads the storage delay sequence from the log reproduction parameter group 113.
  • step S372 the log reproducing unit 104 determines whether or not the communication unit 120 has received the first log data 114A. If the log reproduction unit 104 determines that it has been received, the process proceeds to step S373. If it is determined that it has not been received, the log reproduction unit 104 remains in step S372. In step S373, the log reproduction unit 104 substitutes the sequence number included in the received first log data 114A for the variable J. This variable J is referred to in step S383 described later.
  • the log reproduction unit 104 substitutes the current sequence number for the variable N, in other words, the sequence number at the time when the communication unit 120 received the first log data 114A.
  • the log reproducing unit 104 substitutes the sum of the value of the variable N substituted in step S374 and the storage delay sequence read in step S371 for the variable M.
  • step S376 the log reproduction unit 104 determines whether or not the current sequence number is M. If it is determined that the current sequence number is M, the process proceeds to step S377. If it is determined that the current sequence number is not M, the process remains in step S376. In step S377, the log reproduction unit 104 stores the received output value of the first log data 114A in the application input / output data group 111. However, at this time, if the time stamp correction information is included in the log data 114A, the time stamp included in the output value of the log data 114A is corrected and stored in the application input / output data group 111.
  • the detailed timing at which the log reproduction unit 104 stores the output value in the application input / output data group 111 follows the offset value included in the log data 114A. For example, when the offset value is “2.5”, the output value is stored in the application input / output data group 111 2.5 ms after the start of the sequence.
  • step S381 the log reproduction unit 104 determines whether or not the communication unit 120 has received the next log data 114A. If it is determined that the next log data 114A has been received, the process proceeds to step S382. If it is determined that the next log data 114A has not yet been received, the process remains in step S381.
  • step S382 the sequence number included in the log data (hereinafter, “log data to be processed”) 114A confirmed to be received in step S381 is substituted into a variable K.
  • step S383 the value of M + (K ⁇ J) is substituted for the variable L. In this calculation, the difference between the sequence number of the first log data 114A and the sequence number of the log data 114A to be processed is added to the sequence number for storing the first log data 114A in the application input / output data group 111. It is.
  • step S384 the log reproduction unit 104 determines whether the current sequence number is L or not. If it is determined that the current sequence number is L, the process proceeds to step S385, and if it is determined that the current sequence number is not L, the process remains in step S384.
  • step S385 the output value included in the log data 114A to be processed is stored in the application input / output data group 111. However, at this time, when the time stamp correction information is included in the log data 114A to be processed, the time stamp included in the output value of the log data 114A is corrected and stored in the application input / output data group 111.
  • the time stamp correction in this step is as follows.
  • the time of the time stamp after correction is Tsp
  • the time when the output value of the log data 114A is stored in the application input / output data group 111 is Top
  • the time of the time stamp before correction is Tsr
  • the log data 114A in the log recording mode If the time stored in the application input / output data group 111 is Tor, the time stamp is corrected so that the following Expression 1 is satisfied.
  • Top-Tsp Tor-Tsr (1)
  • Equation 1 the value on the right side of Equation 1 is stored in the log data 114A as time stamp correction information. Therefore, if Top is clarified, Tsp can be calculated.
  • Top can be calculated from the sequence number L calculated in step S383 and the offset value included in the log data 114A.
  • the time of each sequence is calculated as the execution cycle itself of the application A, in other words, assuming that the application A is executed according to the execution cycle. Therefore, the corrected time stamp Tsp can be calculated from the calculated Top and time stamp correction information.
  • step S377 the log reproducing unit 104 determines whether or not a stop command has been received.
  • the log reproducing unit 104 ends the operation of the flowchart shown in FIG. 7 and determines that the stop command has not been received. In this case, the process returns to step S381.
  • FIG. 8 is a flowchart showing the operation of the log recording / reproducing apparatus 20.
  • the execution subject of each step of the flowchart described below is the CPU of the log recording / reproducing apparatus 20.
  • step S351 the log recording / reproducing unit 200 determines whether the operation mode is set to the recording mode or the generation mode. When it is determined that the recording mode is set, the process proceeds to step S352, and when it is determined that the playback mode is set, the process proceeds to step S356.
  • step S352 the log recording / reproducing unit 200 determines whether or not the communication unit 220 has received the log data 114A from the in-vehicle network 60 to which the vehicle control device 10 is connected.
  • the process proceeds to step S353, and when it is determined that the log data 114A has not been received, the process stays at step S352 and waits for the next reception.
  • the log recording / reproducing apparatus 20 acquires the log data 114A received by the communication unit 220 and the reception time of the log data 114A.
  • step S354 the log recording / reproducing unit 200 stores the log data 114A and the reception time acquired in step S353 in the log data group 210.
  • step S355 the log recording / reproducing apparatus 20 determines whether or not a stop command has been received. When it is determined that the stop command has been received, the operation of the flowchart shown in FIG. 8 is terminated, and when it is determined that the stop command has not been received, the process returns to step S352.
  • step S355 the log recording / reproducing unit 200 reads the log data group 210.
  • step S356 the log recording / reproducing unit 200 outputs the oldest log data 114A that is the log data 114A included in the log data group 210 and has not yet been transmitted. However, at this time, the transmission timing is adjusted so that the time interval with the log data 114A output immediately before is the same as the time interval when the log data 114A is received.
  • the communication unit 220 sequentially receives the log data 114A at intervals of 8 ms, 5 ms, and 15 ms during recording
  • the log data 114A is similarly output to the in-vehicle network 60 at intervals of 8 ms, 5 ms, and 15 ms.
  • step S357 the log recording / reproducing unit 200 determines whether or not the untransmitted log data 114A is included in the log data group 210. If it is determined that there is untransmitted log data 114A, the process returns to step S356. If it is determined that all log data 114A has been transmitted, the operation of the flowchart shown in FIG.
  • FIG. 9 is a diagram illustrating an operation example of the vehicle control device 10 in the recording mode.
  • time elapses from the left to the right in the figure, and the scale in the figure is shown every 10 ms.
  • Squares A1 to A4 shown in FIG. 9 indicate the execution timing of the application A, and indicate that the application A is executed at the left end timing of the square. That is, the width of the square and the right end of the square have no special meaning.
  • the downward arrows in the figure represent the timing at which the output values P1 to P4 are input to the application input / output data group 111.
  • the execution cycle of the application A is 10 ms.
  • the interval at which the application A is actually executed does not necessarily match 10 ms.
  • the sequence number is counted every time the application A is executed by the application execution management unit 102.
  • the circled numbers indicate the sequence numbers, and the sequence breaks indicate the execution timing of the application A. That is, output values P1 and P2 belong to sequence number 1, and output values P3 and P4 belong to sequence number 3. If the sequence number is uniformly updated every 10 ms that is the execution cycle of the application A without considering the actual execution timing of the application A, the output value P2 generated after 10 ms is set to the sequence number 2, The output value P3 generated before 20 ms also belongs to the sequence number 2. That is, in that case, the sequence number cannot correctly represent the context between the execution timing of the application A and the timing at which the output value is input.
  • the log generation unit 103 refers to the sequence history 115 generated by the application execution management unit 102 and identifies the sequence number to which each output value belongs. Then, the log generation unit 103 calculates the offset values of the output values P1 to P4 as Q1 to Q4 shown in FIG. 9 as the elapsed time from the start time of the sequence to which each belongs.
  • the vehicle control device 10 uses the application execution management unit 102 that repeatedly executes the application A, and the application execution management that counts the number of sequences based on the execution of the application, with the interval at which the application A is executed once as one sequence. And a log generation unit 103 that records information including a combination of an output value input to application A and a sequence number of times when the output value is input to application A as log data 114A. That is, the vehicle control apparatus 10 records the timing of data input to the application A using the number of sequences based on the number of executions of the application A. Therefore, it is possible to accurately record the relationship between the timing at which application A is executed and the timing at which data is input to application A.
  • the vehicle control device 10 calculates, as an offset value, a log generation unit 103 that calculates a time from the start time of the sequence indicated by the number of sequences included in the input log to the time when the output value is input to the application A (FIG. 6 step S344).
  • the log generation unit 103 records the output value, sequence number, and offset value in combination as shown in FIG. Therefore, the timing when data is input to the application A can be recorded in detail.
  • the vehicle control apparatus 10 includes a log generation unit 103 (step S345 in FIG. 6) that calculates, as time correction information, the difference between the time information included in the output value and the time when the output value is input to the application A. .
  • the log generation unit 103 records the output value and time stamp correction information in combination as shown in FIG. Therefore, information for correcting the time stamp included in the output value can be recorded together.
  • the vehicle control device 10 includes a communication unit 120 that transmits the log data 114A.
  • the log generation unit 103 records the log data 114 ⁇ / b> A in the log recording / reproducing device 20 via the communication unit 120. Therefore, even when the storage area of the vehicle control device 10 is scarce or when the vehicle control device 10 does not include a nonvolatile memory, the operation log of the vehicle control device 10 can be recorded.
  • the vehicle control apparatus 10 includes a log storage unit in which a plurality of input logs are recorded, and a sequence in which output values included in the plurality of log data 114A stored in the log storage unit are combined with output values.
  • a log reproduction unit 104 that inputs to the application A based on the number is provided. Therefore, the vehicle control device 10 can reproduce the front-rear relationship between the timing when the output value is input to the application A and the execution timing of the application A.
  • the vehicle control apparatus 10 combines the output values included in the log data buffer 114 in which a plurality of input logs are recorded and the plurality of log data 114A stored in the log data buffer 114 into the output values.
  • the log reproduction unit 104 is input to the application A based on the number of sequences and the offset value. Therefore, the vehicle control device 10 can reproduce the timing when the output value is input to the application A in detail. Thereby, the reproducibility of a defect can be improved, for example.
  • the vehicle control device 10 sets the time information included in each output value included in the log data buffer 114 in which a plurality of input logs are recorded and the plurality of log data 114 ⁇ / b> A stored in the log data buffer 114.
  • the log reproduction unit 104 corrects based on the stamp correction information and inputs the corrected output value to the application A based on the number of sequences combined with the output value. Therefore, the vehicle control apparatus 10 can reproduce the front-rear relationship between the timing when the output value is input to the application A and the execution timing of the application A after correcting the time stamp included in the output value.
  • the communication unit 120 of the vehicle control device 10 receives a plurality of log data 114A, the log data buffer 114 in which the log data 114A received by the communication unit 120 is recorded, and the log data 114A that the communication unit 120 receives first.
  • the log reproduction parameter group 113 storing the storage delay cycle, which is information indicating the interval from the time when the first log is received to the time when the output value included in the first log is input to the application A, and the communication unit 120 is the first Determine the initial log input sequence that is the sequence to input the output value included in the initial log to the application based on the number of sequences when the log is received and the storage delay cycle, and the output value included in the initial log in the initial log input sequence Is input to the application A.
  • the vehicle control apparatus 10 waits for the specified storage delay cycle before starting to reproduce the log, so to speak, buffering is performed, so that even if a problem occurs in the in-vehicle network 60, the log reproduction is adversely affected. Can be reduced.
  • the log reproduction unit 104 of the vehicle control device 10 includes the output value included in the subsequent log that is the second and subsequent input logs received by the communication unit 120 in the number of sequences included in the initial log and the subsequent log.
  • the number of sequences to be output and the output value included in the initial log are input to the application A in a sequence determined based on the sequence input to the application A. Therefore, after waiting for the storage delay cycle, the output value of the subsequent log data 114A can be input to the application input / output data group 111 so as to reproduce the log recording mode.
  • the embodiment described above may be modified as follows. (1) The vehicle control device 10 may not include the application input / output data group 111, and the vehicle control device 10 may directly input an output value to the application A. (2) The vehicle control device 10 may not record the offset value in the log recording mode. In this case, detailed determination of the timing for inputting the output value using the offset value to the application input / output data group 111 in the log reproduction mode is not performed.
  • the application A may not read the information input to the application input / output data group 111 immediately, but may read it as necessary.
  • the vehicle control device 10 may also periodically execute applications other than the application A.
  • the number of sequences may be counted by the repetition unit calculated by the common multiple of the execution cycle of each application. For example, when two applications having an execution cycle of 20 ms and 50 ms are executed, the least common multiple is 100 ms. Therefore, the sequence number is counted up based on the number of executions of the application executed with every 100 ms as a target. That's fine.
  • the vehicle control device 10 may count up on condition that the application A is executed twice or more.
  • the vehicle control device 10 may include an input / output interface (not shown), and a program may be read from another device via a medium that can be used by the input / output interface and the vehicle control device 10 when necessary.
  • the medium refers to, for example, a storage medium that can be attached to and detached from the input / output interface, or a communication medium, that is, a wired, wireless, or optical network, or a carrier wave or digital signal that propagates through the network.
  • part or all of the functions realized by the program may be realized by a hardware circuit or FPGA.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

L'invention concerne un dispositif de calcul comprenant : une unité d'exécution qui exécute une application de façon répétée ; une unité de comptage qui considère, comme un cycle, un intervalle dans lequel l'application est exécutée le nombre de fois prescrit, puis compte le nombre de cycles d'après l'exécution de l'application ; et une unité d'enregistrement qui enregistre, en tant que journal d'entrée, une association combinant les données d'entrée saisies dans l'application avec le nombre de cycles au moment où les données d'entrée sont saisies dans l'application.
PCT/JP2018/015183 2017-04-27 2018-04-11 Dispositif de calcul, procédé d'enregistrement de journal et système d'enregistrement de journal WO2018198770A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE112018001810.5T DE112018001810T5 (de) 2017-04-27 2018-04-11 Recheneinheit, Logaufzeichnungsverfahren, Logaufzeichnungssystem

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017088069A JP6703960B2 (ja) 2017-04-27 2017-04-27 演算装置、ログ記録方法、ログ記録システム
JP2017-088069 2017-04-27

Publications (1)

Publication Number Publication Date
WO2018198770A1 true WO2018198770A1 (fr) 2018-11-01

Family

ID=63918152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/015183 WO2018198770A1 (fr) 2017-04-27 2018-04-11 Dispositif de calcul, procédé d'enregistrement de journal et système d'enregistrement de journal

Country Status (3)

Country Link
JP (1) JP6703960B2 (fr)
DE (1) DE112018001810T5 (fr)
WO (1) WO2018198770A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023019077A (ja) * 2021-07-28 2023-02-09 日立Astemo株式会社 車載処理装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226060A (ja) * 2007-03-15 2008-09-25 Hitachi Information Systems Ltd プログラム実機動作検証方法とシステムおよびプログラム
JP2015225419A (ja) * 2014-05-26 2015-12-14 オムロン株式会社 シミュレーションシステム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11321461A (ja) 1998-05-12 1999-11-24 Art Heaven Nine:Kk 自動車用ミラー駆動機構
JP6414025B2 (ja) 2015-11-13 2018-10-31 トヨタ自動車株式会社 ハイブリッド車両の駆動力制御装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226060A (ja) * 2007-03-15 2008-09-25 Hitachi Information Systems Ltd プログラム実機動作検証方法とシステムおよびプログラム
JP2015225419A (ja) * 2014-05-26 2015-12-14 オムロン株式会社 シミュレーションシステム

Also Published As

Publication number Publication date
DE112018001810T5 (de) 2019-12-12
JP2018185709A (ja) 2018-11-22
JP6703960B2 (ja) 2020-06-03

Similar Documents

Publication Publication Date Title
JP7428988B2 (ja) 自律自動車の制御ユニットを修正するための方法およびシステム
EP3620959B1 (fr) Logique d'acquisition de données d'image d'un véhicule autonome pour capture de données d'image à l'aide de caméras
KR102399488B1 (ko) 자율 주행 플랫폼의 센서 i/o 커버리지를 향상시키기 위한 플렉시블 테스트 보드
US20190130056A1 (en) Deterministic Simulation Framework for Autonomous Vehicle Testing
JP2021131894A (ja) シミュレーション車両を制御するための方法、装置、電子機器及び記憶媒体
KR102139172B1 (ko) 가상환경에서의 자율주행차량 시뮬레이션 방법
US20230406331A1 (en) Vehicle operation safety model test system
WO2018198770A1 (fr) Dispositif de calcul, procédé d'enregistrement de journal et système d'enregistrement de journal
CN109683491B (zh) 车载摄像头仿真系统
EP3800518A1 (fr) Système, dispositif et procédé pour tester des véhicules autonomes
CN115186732A (zh) 智能驾驶目标融合方法、装置、设备及可读存储介质
US20200150648A1 (en) Vehicle control apparatus
CN113868862A (zh) 一种车辆在环测试方法和系统
US20210009164A1 (en) Vehicle control system, vehicle control device, and recording medium
US11157666B2 (en) Vehicle traveling simulation system, vehicle traveling simulation method and activation device
JP2022507939A (ja) 調整されたコンポーネントインターフェース制御フレームワーク
JP2021024520A (ja) 運転行動評価装置、運転行動評価方法、及び運転行動評価プログラム
KR20210059317A (ko) 차량 및 그 제어방법
US20210141710A1 (en) Development support device
CN111475659B (zh) 输入数据制作装置及输入数据制作方法
JP7429809B2 (ja) 自律運転シミュレーションのためのシナリオを作成する装置と方法
JP2023057798A5 (fr)
KR102576733B1 (ko) 관제 플랫폼 연동 vils 기반 교통 환경 재현 방법 및 시스템
US20240086586A1 (en) Multi-modality data augmentation engine to improve rare driving scenario detection for vehicle sensors
WO2024009630A1 (fr) Dispositif de commande de véhicule

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18789818

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18789818

Country of ref document: EP

Kind code of ref document: A1