[go: up one dir, main page]

WO2019031197A1 - Maintenance tool for vehicles - Google Patents

Maintenance tool for vehicles Download PDF

Info

Publication number
WO2019031197A1
WO2019031197A1 PCT/JP2018/027278 JP2018027278W WO2019031197A1 WO 2019031197 A1 WO2019031197 A1 WO 2019031197A1 JP 2018027278 W JP2018027278 W JP 2018027278W WO 2019031197 A1 WO2019031197 A1 WO 2019031197A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
script
unit
instruction
maintenance tool
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2018/027278
Other languages
French (fr)
Japanese (ja)
Inventor
竜一 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Power Industries Ltd
Original Assignee
Mitsubishi Hitachi Power Systems Industries Co Ltd
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 Mitsubishi Hitachi Power Systems Industries Co Ltd filed Critical Mitsubishi Hitachi Power Systems Industries Co Ltd
Publication of WO2019031197A1 publication Critical patent/WO2019031197A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Definitions

  • the present disclosure relates to a vehicle maintenance tool.
  • Patent Document 1 discloses a handy type program rewrite device (repro tool) for a vehicle which is small and lightweight, and easy to carry and handle.
  • a plurality of ECUs mounted on a vehicle are mutually connected by a vehicle network such as a bus type, but this repro tool has a dashboard in a state where its terminal portion (tool connector) is connected to the vehicle network
  • the control program can be updated (rewritten) by connecting it to the vehicle-side connector installed in the vehicle. More specifically, the update of the control program is started by the connection of the tool connector to the vehicle side connector or by pressing the button provided on the container portion (housing) of the repro tool.
  • the repro tool does not have a receiver for wireless communication, and the update data of the control program is stored in an SD card that is inserted into and removed from the SD card slot of the container unit.
  • a software update device is disclosed that is capable of Specifically, this software update device is a device mounted on a vehicle in a state of being connected to an in-vehicle network together with an ECU, and while connected to a server via a wireless (mobile communication network), it is via an in-vehicle network It connects with multiple control units (ECUs) and sends and receives data.
  • ECUs control units
  • the software update device receives update control information including update data and identification information for identifying an application method for applying the update data to the control device from the server for each of the plurality of control devices,
  • the applicable update data is transmitted to each of the plurality of control devices, and the plurality of control devices are controlled to apply the update data based on the identification information.
  • this software updating device is mounted on a vehicle in a state of being connected to an in-vehicle network together with an ECU.
  • the update data is downloaded from the server at engine startup or the like, and held in the storage unit of the software update device.
  • Patent Document 3 discloses a remote collection system of vehicle data. Specifically, when the information collection ECU connected to the vehicle network receives a script describing vehicle data collection conditions by one or more commands from a center or the like outside the vehicle by wireless communication, it interprets and executes the script By collecting vehicle data from the onboard ECU connected to the vehicle network and returning it to the center.
  • the repro tool according to Patent Document 1 is not provided exclusively for each vehicle, and can be used in common regardless of the vehicle type when necessary, so that the vehicle cost can be suppressed.
  • the repro tool of Patent Document 1 omits the interface for wireless communication with the outside, and it is not easy to cope with the case where it is desired to manage the execution of the above update process for a plurality of vehicles.
  • At least one embodiment of the present invention aims to provide a maintenance tool for a vehicle capable of efficiently performing maintenance work on an electronic control device while suppressing the cost of the vehicle.
  • a vehicle maintenance tool for a vehicle connected to a vehicle network to which a plurality of electronic control devices mounted on the vehicle are connected, A terminal portion that is detachable from a vehicle-side connector mounted on the vehicle in a state of being connected to the vehicle network;
  • a script command interpretation unit which is a control unit connected to the terminal unit and sequentially interprets one or more commands described in a script for executing a predetermined process in response to reception of an execution command;
  • a control unit having a script instruction execution unit that executes the predetermined processing via the vehicle network by sequentially executing the instructions interpreted by the instruction interpretation unit; And a handy type holding case for holding the terminal unit and the control unit.
  • the maintenance tool for a vehicle is a handy type device, and is not always mounted on the vehicle, and can be attached to the vehicle when needed and used.
  • the vehicle maintenance tool has a script execution function, and is configured to execute a script describing a desired process (for example, software update process, communication log acquisition process, etc.) in response to reception of the execution command. Ru.
  • a handy type vehicle maintenance tool having a script execution function it is necessary to carry out processing specific to each of a plurality of electronic control units (ECUs) while suppressing the cost of the vehicle. It can respond to requirements flexibly and efficiently.
  • each vehicle maintenance tool is attached to each vehicle.
  • execution of the software updating process can be managed, and the efficiency of maintenance work, usability, etc. can be improved.
  • the script includes a description of the instructions needed to perform a software update process on at least one of the electronic control units. According to the configuration of (2), the software of one or more electronic control devices can be easily updated by executing the script.
  • the script is for executing a program that performs an update main process that rewrites the existing software to be updated with update data, and the description of the instruction specific to each of the plurality of electronic control devices in the software update process.
  • a description of the instruction includes at least one of an instruction for reading a failure code from the electronic control device, and an instruction for erasing a failure code of the electronic control device.
  • the software update processing can be appropriately performed by describing the processing specific to each of plural types of electronic control devices such as the engine control ECU and the brake control ECU of the vehicle in the script. And can easily be implemented.
  • the vehicle maintenance tool may further include a wireless communication unit connected to the control unit.
  • the script includes a description of the instruction specific to each of the plurality of electronic control devices. According to the structure of said (4), the same effect as said (3) is show
  • the removable storage medium detachably connected to the handy type holding case, the removable storage medium being at least readable by the control unit,
  • the removable storage medium stores update data for updating the software by the execution of the script.
  • the update data is stored in a removable storage medium such as, for example, a micro SD card.
  • the update data has a very large data size compared to the script and the execution command.
  • the removable storage medium in which the update data is stored in advance is attached to the maintenance tool for a vehicle when updating the software of the electronic control device, for example, when an execution command is received wirelessly from an external computer Even in this case, the influence of the wireless communication state on the time required to complete the software update can be suppressed, and script execution can be completed in a short time.
  • the script contains a description of the instructions necessary to collect transmission data transmitted over the vehicle network. According to the configuration of the above (6), by executing the script, it is possible to collect transmission data flowing through the vehicle network, and it is easy to obtain the communication log that at least one electronic control unit performs via the vehicle network It can be carried out.
  • It further comprises a wireless communication unit that receives the execution command from the outside via wireless
  • the control unit is connected to the terminal unit and the wireless communication unit, respectively.
  • the handy type holding case is configured to hold the terminal unit, the wireless communication unit, and the control unit.
  • the script command interpretation unit starts interpreting the one or more commands described in the script in response to the reception of the execution command from the wireless communication unit.
  • the control unit starts the execution of the script by receiving the execution command from the wireless communication unit. This can improve the efficiency of maintenance work, usability, and the like.
  • the apparatus further comprises a display unit capable of alphanumeric display. According to the configuration of the above (8), for example, by displaying the start, completion, end status, etc. of the script on the display unit, it is possible to inform the user of the maintenance tool for vehicle of the execution status of the script. It can be improved.
  • the said vehicle side connector is provided in the position which can be exposed to the compartment of the said vehicle.
  • the vehicle-side connector is installed not at a position where the electronic control device is installed, but at a position easily accessible from the cabin where the occupants live. Therefore, the handy type maintenance tool for vehicles can be easily attached to the vehicle side connector.
  • a vehicle maintenance tool capable of efficiently performing maintenance work on the electronic control device while suppressing the cost of the vehicle.
  • FIG. 1 It is a figure showing roughly the composition of the maintenance tool for vehicles concerning one embodiment of the present invention. It is a perspective view showing the appearance of the maintenance tool for vehicles concerning one embodiment of the present invention, (a) is a perspective view from the front side of the maintenance tool for vehicles, (b) is a perspective view from the back side is there. It is a figure which shows the state which installed the maintenance tool for vehicles which concerns on one Embodiment of this invention in the tool installation part of a dashboard, (a) is a perspective view of driver's seat vicinity of a dashboard, (b) is a tool It is the figure which expanded setting part vicinity.
  • expressions that indicate that things such as “identical”, “equal” and “homogeneous” are equal states not only represent strictly equal states, but also have tolerances or differences with which the same function can be obtained. It also represents the existing state.
  • expressions representing shapes such as quadrilateral shapes and cylindrical shapes not only represent shapes such as rectangular shapes and cylindrical shapes in a geometrically strict sense, but also uneven portions and chamfers within the range where the same effect can be obtained. The shape including a part etc. shall also be expressed.
  • the expressions “comprising”, “having”, “having”, “including” or “having” one component are not exclusive expressions excluding the presence of other components.
  • FIG. 1 is a view schematically showing the configuration of a vehicle maintenance tool 1 according to an embodiment of the present invention.
  • FIG. 2 is a perspective view showing an appearance of a maintenance tool 1 for a vehicle according to an embodiment of the present invention.
  • FIG. 3 is a view showing a state where the vehicle maintenance tool 1 according to an embodiment of the present invention is installed in the tool installation portion 72 of the dashboard 71.
  • FIG. 4 is a view showing a state where the vehicle maintenance tool 1 according to the embodiment of the present invention is connected to a plurality of vehicles 7, and is attached to the vehicle 7 using an extension cable 93.
  • the vehicle maintenance tool 1 is connected to a vehicle network 7 n to which a plurality of electronic control devices 8 mounted on the vehicle 7 are connected to communicate via the vehicle network 7 n It is an apparatus configured to be able to (transmit and receive data).
  • the vehicle network 7n is a network for interconnecting a plurality of electronic control devices 8 (hereinafter referred to as "ECU 8" as appropriate), and the vehicle 7 includes CAN (Controller Area Network), K lines, LIN (Local Interconnect Network) , FlexRay, etc. is mounted on at least one vehicle network 7n.
  • the vehicle maintenance tool 1 is a handy-type device, is small and light, and is configured to be easy to carry and handle, and is configured to be attached to the vehicle 7 and used at the time of use ((1) See Figure 3).
  • the vehicle maintenance tool 1 includes a terminal unit 2, a wireless communication unit 3, a control unit 4, and a handy type holding case 5.
  • a terminal unit 2 a wireless communication unit 3
  • a control unit 4 a control unit 4
  • a handy type holding case 5 a handy type holding case 5.
  • the terminal unit 2 is configured to be attachable to and detachable from a vehicle side connector 7c mounted on the vehicle 7 in a state of being connected to the vehicle network 7n (see FIG. 3).
  • the terminal portion 2 is a connector configured to be fitted to the above-described vehicle-side connector 7c, and in a state (connection state) fitted to the vehicle-side connector 7c, the terminal portion 2 and the vehicle-side connector 7c And are electrically connected.
  • the vehicle side connector 7c is electrically connected to the ECU 8 through the vehicle network 7n. Therefore, the vehicle maintenance tool 1 and the ECU 8 are electrically connected via the vehicle network 7n by connecting the terminal portion 2 to the vehicle side connector 7c.
  • the terminal unit 2 may be directly connected to the vehicle side connector 7c. In some other embodiments, as shown in FIG. 4, it may be connected to the vehicle side connector 7 c via the extension cable 93.
  • a compartment 7s is formed inside the vehicle 7 by being divided into a dashboard 71, a floor panel 74, etc. (see FIG. 2). Further, inside the vehicle 7 other than the cabin 7s, an ECU 81 for engine control, an ECU 82 for brake control, an ECU 83 for audio control, an ECU 84 for door control, an ECU 85 for collision prevention control, an ECU 86 for meter control, etc. A plurality of types of ECUs 8 are installed, and a vehicle network 7n is installed to mutually connect the plurality of ECUs 8 (see FIG. 1). Then, as shown in FIG.
  • the above-mentioned vehicle-side connector 7c may be exposed to the vehicle compartment 7s, for example, facing the compartment 7s instead of a place where the ECU 8 is installed inside the vehicle 7. It is installed in the possible place.
  • the above-mentioned vehicle-side connector 7 c is disposed downward on the right of the steering wheel (not shown) of the driver's seat in the dashboard 71. It is installed in the above-mentioned space of tool installation part 72 which forms the space which opens.
  • the vehicle side connector 7c is a connector defined by the SAEJ 1962 standard.
  • the present invention is not limited to the present embodiment. In some other embodiments, it may be a connector defined in another standard.
  • a cover may be provided on the tool installation portion 72, and the vehicle side connector 7c may be exposed to the vehicle compartment 7s by opening the cover.
  • the tool installation portion 72 may be provided at a position where it can face the outside of the vehicle 7.
  • the vehicle maintenance tool 1 connects the terminal portion 2 to the vehicle-side connector 7 c to bring it into a connected state, whereby power from the battery 7 b mounted on the vehicle 7 is obtained. Is supplied through the terminal unit 2 and after power conversion from 12 V to a desired voltage (3.3 V, 5 V, etc.) by the converter 64, power is supplied to the control unit 4. As described above, weight reduction is achieved by not providing the power supply unit inside the vehicle maintenance tool 1. However, in some other embodiments, a dry battery, a rechargeable battery or the like may be incorporated. .
  • the wireless communication unit 3 is configured to receive the execution command Ie from outside via wireless.
  • the execution command Ie described above is a command for starting processing (described later) by the control unit 4 and is sent, for example, from an external computer 9 by wireless communication (see FIG. 4).
  • the wireless communication unit 3 is electrically connected to the control unit 4 and transmits the execution command Ie received by wireless communication to the control unit 4.
  • the wireless communication unit 3 is configured to be communicably connected to an external computer 9 by a wireless LAN (Wi-Fi).
  • Wi-Fi wireless LAN
  • the present invention is not limited to the present embodiment.
  • the wireless communication unit 3 is connected by another wireless method such as connecting to an external computer 9 via Bluetooth (registered trademark) or a mobile communication network or the like. Also good.
  • a wired network such as a wired LAN may be interposed between the wireless network and the external computer 9.
  • the control unit 4 is electrically connected to the terminal unit 2 and the wireless communication unit 3 described above, and when receiving the execution command Ie described above, a script in which a desired process is described It has a script execution function to execute.
  • the script is a simplified program having at least one instruction described in a predetermined script language which is an interpreted language, and can be executed without being compiled in advance. It is possible to relatively easily prepare for making it possible to execute desired processing such as updating).
  • the control unit 4 having the script execution function can perform desired processing relatively easily.
  • the script is easy to implement specific processing unique to each of the plurality of ECUs 8, and it is easy to verify the script, such as checking the description content on a text basis, and easily copes with various processes. It becomes possible.
  • the script captures an instruction to transmit / receive data to / from a desired ECU 8 in the vehicle network 7n, an instruction to read out a fault code (DTC: Diagnostic Trouble Code) from the desired ECU 8, data captured through the vehicle network 7n
  • DTC Diagnostic Trouble Code
  • a description such as an instruction for acquiring the command (acquisition of communication data) may be possible.
  • a bus may be specified in these instructions.
  • instructions may be facilitated for each protocol.
  • program control instructions such as moving (call or jump) to a specified line (specified part) or return (return to the line following call) in a script, loop, conditional branch, or sleep.
  • variable declarations and instructions such as logical operations and numerical operations of variables.
  • turn on or turn off the light emitting unit 63 such as LED installed in the vehicle maintenance tool 1
  • display instruction to the display unit 62 such as LCD
  • buzzer sound from a speaker not shown
  • an operation command to the mounted device such as an on command or an off command.
  • the control unit 4 may receive such a script via the wireless communication unit 3, may receive it along with the execution command Ie transmitted by wireless as described above, or may receive it as the execution command Ie.
  • the script is stored in advance in a removable storage medium 61, which is a storage medium such as a micro SD, and is attached to or removed from a memory slot (not shown) for mounting the removable storage medium 61 included in the vehicle maintenance tool 1
  • the control unit 4 may be configured to read the script stored in the removable storage medium 61 in response to the reception of the execution command Ie.
  • the above memory slot (not shown) is protected by the protective cover 12 at the time of attachment by removing the protective cover 12.
  • the main body side interface (not shown) for external connection such as a USB connection port is protected for both the memory slot and the memory slot when the protective cover 12 is attached.
  • a personal computer, USB switch 76 (described later), etc. can be connected.
  • the USB switch 76 shown in FIG. 2 (b) has an interface 77 for external connection (USB in FIG. 2 (b)), and the maintenance tool 1 for a vehicle is configured as described above via the interface 77 for external connection.
  • a memory slot may be provided by being connected to the memory slot.
  • control unit 4 includes a script instruction interpretation unit 41 and a script instruction execution unit 42.
  • the control unit 4 includes a processor (such as an MPU) (not shown) and a memory such as a ROM or RAM, and an instruction of a program (script execution program) for realizing the script instruction interpretation unit 41 and the script instruction execution unit 42 loaded in the RAM.
  • processor such as an MPU
  • memory such as a ROM or RAM
  • script execution program an instruction of a program for realizing the script instruction interpretation unit 41 and the script instruction execution unit 42 loaded in the RAM.
  • the script command interpretation unit 41 is configured to sequentially interpret one or more commands described in the script described above in response to the reception of the execution command Ie.
  • the script instruction interpretation unit 41 can interpret the various instructions described according to a predetermined script language by translating it into a machine language. Then, upon receiving the execution instruction Ie, the script instruction interpretation unit 41 starts the execution of the script and interprets each instruction described from the start to the end of the script sequentially according to the control instruction such as a loop or a conditional branch while interpreting I will.
  • the reception of the execution instruction Ie by the script instruction interpretation unit 41 described above may be performed via the above-described wireless communication unit 3 in some embodiments (see FIG. 4). That is, in response to the reception of the execution instruction Ie from the wireless communication unit 3, the script instruction interpretation unit 41 (control unit 4) starts interpretation of one or more instructions described in the script.
  • the vehicle maintenance tool 1 includes the switch 75 for starting execution, and the control unit 4 outputs a signal when the switch 75 is operated to ON. May be received as the execution command Ie described above.
  • the switch 75 is provided on the main body side interface (not shown) (the USB connection port in FIG. 2 (b)) exposed to the outside with the protective cover 12 shown in FIG.
  • the USB switch 76 is connected, and the switch 75 can be attached when necessary.
  • the control unit 4 may receive, as the execution command Ie, a signal output when the terminal unit 2 is connected to the vehicle connector 7c.
  • the execution command Ie may be a power supply signal.
  • at least one of the above-described embodiments may be combined, and switching may be performed according to mode setting or the like. For example, by switching the mode, the embodiment of the reception of the execution command Ie via the wireless communication unit 3, the reception of the execution command Ie by the on operation of the switch 75, and the connection trigger between the terminal unit 2 and the vehicle connector 7c. And the embodiment of the reception of the execution command Ie according to the embodiment.
  • priority is given to turning off the switch 75, etc.
  • priorities may be provided. In the above example, priority is given to turning off the switch 75 to prevent malfunction due to erroneous transmission of the execution command Ie from the external computer 9 or to avoid operation (reception of the execution command Ie) due to connection trigger etc. it can.
  • the script command execution unit 42 is configured to execute predetermined processing described in the script via the vehicle network 7 n by sequentially executing the commands sequentially interpreted by the script command interpretation unit 41.
  • the script instruction execution unit 42 executes an instruction (machine language) interpreted by the script instruction interpretation unit 41.
  • the script command execution unit 42 transmits a command to the ECU 8 through the terminal unit 2 and the vehicle network 7n according to the input from the script command interpretation unit 41. Also, it receives a response of the transmitted command and delivers it to the script command execution unit 42.
  • the script instruction interpretation unit 41 confirms the execution result (success or failure of the instruction) for the interpreted instruction, advances the script execution while selecting the next instruction of the script according to the execution result of this instruction. Go.
  • the script instruction interpretation unit 41 and the script instruction execution unit 42 connected to each other cooperate to execute the script.
  • the script instruction interpretation unit 41 and the script instruction execution unit 42 are configured to read information for controlling the execution of the instruction described in the script or a setting file describing common contents when executing the script.
  • the setting file describes the contents common to multiple commands such as timeout time and retry count of transmission and reception via vehicle network 7n, waiting time before executing command to read DTC, etc. Also good.
  • processing that is determined to be necessary before execution of a desired processing may be described, such as presence or absence of execution of an ignition on / off check.
  • the handy type holding case 5 is a housing, and is configured to hold the above-described terminal unit 2, the wireless communication unit 3, and the control unit 4.
  • the vehicle maintenance tool 1 is of a handy type. More specifically, in the embodiment shown in FIGS. 1 to 4, as shown in FIG. 1, the handy type holding case 5 accommodates the terminal unit 2, the wireless communication unit 3, and the control unit 4 inside;
  • the terminal portion 2 is configured to be held in a state where at least a part of the terminal portion 2 is exposed to the outside, and the terminal portion 2 exposed to the outside is designed to facilitate connection with the vehicle side connector 7c described above .
  • the vehicle maintenance tool 1 is a handy type device, and is not always installed in the vehicle 7, and can be attached to the vehicle when needed and used. Further, the vehicle maintenance tool 1 has a script execution function, and executes a script describing desired processing (for example, software update processing, communication log acquisition processing, etc.) in response to the reception of the execution command Ie. Configured As described above, since the handy type of vehicle maintenance tool 1 has a script execution function, maintenance that requires specific processing for each of the plurality of electronic control devices 8 while suppressing the cost of the vehicle 7 It can respond to requirements flexibly and efficiently. In addition, by configuring to receive script execution command Ie from outside via wireless, even when a script is executed for a plurality of vehicles 7, vehicle maintenance tool 1 is attached to each vehicle. By doing so, the execution of the software update process can be managed, and the efficiency of maintenance work, usability, etc. can be improved.
  • a script execution function for example, software update processing, communication log acquisition processing, etc.
  • the script described above describes the instructions necessary to execute the software (control program) update process as shown in FIG. 5 to at least one electronic control unit 8 (ECU).
  • FIG. 5 is a diagram showing a flow of updating software of the electronic control unit 8 according to an embodiment of the present invention.
  • the software update process (S1 to S9, hereinafter referred to as the software update process as appropriate) performed by the script execution will be described according to the flow of FIG.
  • Each step in FIG. 5 is executed based on an instruction described in a script.
  • the example of FIG. 5 is described to perform software update for a plurality of types of ECUs 8 and corresponds to a script.
  • the vehicle maintenance tool 1 is connected to the vehicle-side connector 7c of the vehicle 7 before the execution of step S1 in FIG.
  • the maintenance tool 1 for vehicles will be in the state of waiting for reception of execution command Ie mentioned above.
  • step S1 when the control unit 4 receives the execution command Ie, execution of the script is started.
  • step S2 the control unit 4 reads a setting file (repro setting file).
  • step S3 the whole vehicle pre-processing is executed.
  • the whole vehicle pre-processing may include a process of shifting all the ECUs 8 to the sleep mode so that the ECU 8 of the vehicle 7 does not determine a communication error or the like while the software update process is being executed.
  • step S4 it is checked whether the ECU 8 that is the target for software update (software update target) is mounted on the vehicle 7.
  • the ECU 8 subject to software update is described as a list or the like in a script, and sequentially checks the list in accordance with control instructions (a loop or the like) described in the script. Note that such a list may be read from another file such as a setting file. For example, if the engine control ECU 8 has the software update target version and the software is updated as an example, the vehicle 7 has the engine control ECU 8 mounted thereon, and in the ECU 8 of that type It is checked whether or not the software update target version is included, and if this condition is satisfied, it is determined that the ECU 8 as the software update target is mounted on the vehicle.
  • a command for requesting version information from the control unit 4 is sent to the engine control ECU 8 with a destination set, and there is a response from the engine control ECU 8 to the command, and a version in the response If the version is the software update target version, it is determined that the ECU 8 as the software update target is mounted on the vehicle. Conversely, if the above conditions are not satisfied, the engine control ECU 8 is not installed (such as no response), or if the ECU 8 of that type does not have the software update target version, the software is It is determined that the ECU 8 to be updated is not mounted on the vehicle.
  • step S4 When it is determined in step S4 that the software update target ECU 8 is mounted, the software update for the ECU 8 is executed in steps S5 to S7. The details of steps S5 to S7 will be described later.
  • step S8 if there is still the next software update target ECU 8 described in a list etc., the process returns to step S4 to determine whether software update is installed in the software update target ECU 8 or not. .
  • step S8 if the confirmation in step S4 has been completed for all software update target ECUs 8 such as a list, the process proceeds to step S9.
  • updating of software for the plurality of ECUs 9 is possible by the control instruction of the program which can be described in the script.
  • step S9 the entire vehicle post-processing is performed.
  • processing may be included to shift all the ECUs 8 from the sleep mode to the normal mode.
  • the maintenance work is completed by removing the vehicle maintenance tool 1 from the vehicle 7 (vehicle side connector 7c).
  • the software of one or more electronic control units 8 can be easily updated by executing the script.
  • the script described above includes a description of instructions specific to each of the plurality of electronic control devices 8. More specifically, when it is determined in step S4 that the ECU 8 subject to software update is mounted on the vehicle 7, in step S5, a preprocessing specific to that ECU 8 (target ECU specific preprocessing) is executed. Specifically, the control unit 4 executes an instruction for reading out the failure code (DTC) of the software update target ECU 8 and confirms the failure code. Then, after confirming that there is no failure in the failure code, software update (update main processing) is executed in the next step S6. Specifically, the process of rewriting the existing software with the update data U is executed.
  • DTC failure code
  • step S5 when it is confirmed in step S5 that there is a failure in the failure code, the update of the software for that ECU 8 is stopped, and the script is jumped to step S8 or a script by jumping to step S9. Processing may be performed according to the failure, such as stopping the execution of itself.
  • step S7 a post-process (post-process specific to the target ECU) specific to the ECU 8 is executed.
  • the control unit 4 executes an instruction to erase the failure code of the ECU 8 and also executes an instruction to read the failure code again after a predetermined time has elapsed, and confirms that there is no failure code.
  • step S8 or , Or jump to step S9, etc. may be performed according to the failure.
  • the script for the software update process includes an instruction unique to each of at least one electronic control unit 8, such as steps S5 and S7 of FIG. Therefore, software update processing can be executed appropriately and easily by describing in the script the processing specific to each of a plurality of types of electronic control devices 8 such as the engine control ECU 81 and the brake control ECU 82 of the vehicle 7 can do.
  • a script that can be flexibly described such specific processing of the ECU 8 is implemented relatively easily. can do.
  • the update data U of the software of the ECU 8 described above may be stored in the removable storage medium 61 described above. That is, in some embodiments, the vehicle maintenance tool 1 is a removable storage medium 61 that is detachably connected to the handy type holding case 5 and is removable so that the control unit 4 can at least read. The storage medium 61 is further provided. The removable storage medium 61 stores update data U for updating software by executing a script.
  • the update data U has a very large data size compared to the script and the execution command Ie. Therefore, when the removable storage medium 61 in which the update data U is stored in advance is attached to the maintenance tool 1 for vehicle when updating software of the ECU 8, for example, the execution command Ie is received wirelessly from the external computer 9. Even in such a case, the influence on the time required to complete the software update due to the wireless communication state (the time required from the transmission of the execution command Ie from the external computer 9 to the completion of the script execution) is suppressed You can complete the script execution in a short time.
  • the script described above may include a description of the instructions necessary to collect the transmitted data T transmitted over the vehicle network 7n, as shown in FIG.
  • FIG. 6 is a diagram showing a flow of acquiring transmission data T flowing through the vehicle network 7n according to an embodiment of the present invention.
  • Communication log acquisition processing (S11 to S16) performed by execution of a script will be described according to the flow of FIG.
  • Each step of FIG. 6 is executed based on an instruction described in a script.
  • the transmission data T means a unit of communication, and in the case of CAN, it corresponds to a frame. Therefore, although the transmission data T includes communication data communicated between the ECUs 8, collecting or acquiring the transmission data T may not be all of the transmission data T, and communication data etc. included in the transmission data T It also includes collecting or acquiring only the information of the desired field.
  • the vehicle maintenance tool 1 is connected to the vehicle-side connector 7c of the vehicle 7 before the execution of step S11 in FIG.
  • the maintenance tool 1 for vehicles will be in the state of waiting for reception of execution command Ie mentioned above.
  • the control unit 4 receives the execution command Ie
  • the execution of the script is started.
  • the control unit 4 reads a setting file (transmission data collection setting file).
  • the process waits for reception of a transmission data collection start instruction.
  • the start instruction may be received through the above-described wireless communication unit 3 or a signal output when the start switch 75 described above is turned on is used as the transmission data collection start instruction. It may be configured to receive.
  • the transmission data T is collected in step S14.
  • the vehicle maintenance tool 1 starts capturing (acquiring) transmission data T flowing through the vehicle network 7 n through the terminal unit 2.
  • the captured transmission data T is stored as a communication log, but may be stored in the writable removable storage medium 61. Further, by designating a desired ECU 8 in the command for collecting transmission data T in step S14, only the transmission data T related to that ECU 8 may be filtered and stored. Then, capture of the transmission data T in step S14 is executed until an end instruction is received (step S15).
  • This termination instruction may also be received through the above-described wireless communication unit 3 or, as the above-mentioned termination instruction, the signal output when the above-described start switch 75 is turned off is received. You may configure.
  • the end instruction is received in step S15, the capture (acquisition) of the transmission data T is ended in step S16. Thereafter, the maintenance work is completed by removing the vehicle maintenance tool 1 from the vehicle 7 (vehicle side connector 7c).
  • the vehicle maintenance tool 1 may further include a display 62 capable of alphanumeric display.
  • the display unit 62 includes an LCD (Liquid Crystal Display), and is provided with an LCD on the upper surface of the handy type holding case 5 so as to be visible from outside.
  • the LCD for example, two lines may be displayed, and n characters ⁇ m lines (n ⁇ 1, m ⁇ 1) can be displayed.
  • the display on the display unit 62 is executed based on the command described in the script.
  • the start of the software update process is displayed as REPRO GO etc. (see Fig. 2 (a)), and if an error occurs, REPRO ERRx (x is an identification number based on the error number etc.) An instruction is described to display the).
  • REPRO ERRx x is an identification number based on the error number etc.
  • An instruction is described to display the).
  • LOG RUN is displayed during execution of capture of transmission data T.
  • the user of the vehicle maintenance tool can be notified of the execution status of the script, improving usability. It can be done.
  • the vehicle maintenance tool 1 may further include a light emitting unit 63 such as an LED.
  • the light emitting unit 63 may be provided to the vehicle maintenance tool 1 together with the display unit 62 or in place of the display unit 62.
  • the embodiment shown in FIGS. 1 to 4 includes two LEDs (different colors such as red and blue) provided on the top surface of the vehicle maintenance tool 1. Then, according to the command described in the script, it is possible to indicate the current state of the maintenance tool 1 for a vehicle by changing the method of lighting the LED and the light emission.
  • the light emitting unit 63 can indicate that communication with the vehicle network 7 n is being performed, or indicate normal termination or abnormal termination of the process described in the script.
  • the present invention is not limited to the above-described embodiments, and includes the embodiments in which the above-described embodiments are modified, and the embodiments in which these embodiments are appropriately combined.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

A maintenance tool for vehicles is connected to a vehicle network whereto a plurality of electronic control devices installed in a vehicle are connected, and comprises: a terminal unit detachably connected to a vehicle-side connector installed in the vehicle and connected to the vehicle network; a wireless communication unit which wirelessly receives an execution command from the outside; a control unit connected to the terminal unit and wireless communication unit and having a script instruction interpretation unit for sequentially interpreting one or more instructions described in a script for executing a prescribed process in response to receiving an execution command and a script instruction execution unit for executing the prescribed process via the vehicle network by sequentially executing the instructions interpreted by the script instruction interpretation unit; and a portable holding case which holds the terminal unit, wireless communication unit, and control unit.

Description

車両用保守ツールVehicle maintenance tools

 本開示は、車両用保守ツールに関する。 The present disclosure relates to a vehicle maintenance tool.

 従来から、自動車や建設機械等の車両に搭載された電子制御装置(ECU:Electronic Control Unit)のソフトウェア(制御プログラム)を更新する技術が提案されている(例えば、特許文献1~2)。 Conventionally, techniques for updating software (control program) of an electronic control unit (ECU: Electronic Control Unit) mounted on a vehicle such as a car or a construction machine have been proposed (for example, Patent Documents 1 and 2).

 例えば、特許文献1には、小型、軽量化され、持ち運びや取り扱いが容易なハンディ式の車両用プログラム書き換え装置(リプロツール)が開示されている。一般に、車両に搭載される複数のECUはバス型などの車両ネットワークで相互に接続されているが、このリプロツールは、その端子部(ツールコネクタ)を、車両ネットワークに接続された状態でダッシュボードに設置された車両側コネクタに接続することにより、制御プログラムの更新(書き換え)を行うことが可能となっている。より具体的には、制御プログラムの更新は、ツールコネクタの車両側コネクタへの接続を契機に、または、リプロツールの容器部(ハウジング)に設けられたボタンの押下により開始される。また、リプロツールは、無線通信するための受信装置を備えておらず、制御プログラムの更新データは、容器部が備えるSDカードスロットに着脱されるSDカードに記憶される。このように構成することで、無線による通信状態が不安定な場合に更新データの無線受信に時間を要するといったことを回避し、制御プログラムの更新を短時間で可能とする旨が記載されている。 For example, Patent Document 1 discloses a handy type program rewrite device (repro tool) for a vehicle which is small and lightweight, and easy to carry and handle. In general, a plurality of ECUs mounted on a vehicle are mutually connected by a vehicle network such as a bus type, but this repro tool has a dashboard in a state where its terminal portion (tool connector) is connected to the vehicle network The control program can be updated (rewritten) by connecting it to the vehicle-side connector installed in the vehicle. More specifically, the update of the control program is started by the connection of the tool connector to the vehicle side connector or by pressing the button provided on the container portion (housing) of the repro tool. Also, the repro tool does not have a receiver for wireless communication, and the update data of the control program is stored in an SD card that is inserted into and removed from the SD card slot of the container unit. By configuring in this manner, it is described that it is possible to update the control program in a short time, avoiding that it takes time for the wireless reception of the update data when the wireless communication state is unstable. .

 また、特許文献2には、夫々異なる制御ソフト更新処理が必要な複数のECUから構成される自動車システムであっても、夫々のECUの制御ソフト更新を利用に応じた適切な方法で容易に実施することが可能なソフト更新装置が開示されている。具体的には、このソフト更新装置は、車内ネットワークにECUと共に接続された状態で車両に搭載された装置であり、無線(移動体通信網)を介してサーバに接続する一方、車内ネットワークを介して複数の制御装置(ECU)と接続し、データの送受信を行う。また、ソフト更新装置は、複数の制御装置毎に、更新データと、更新データを制御装置に適用するための適用方法を識別するための識別情報と、を含む更新制御情報をサーバから受信し、複数の制御装置毎に、適用される更新データを送信し、識別情報に基づいて更新データを適用するように、複数の制御装置を制御する。より詳細には、このソフト更新装置はECUと共に車内ネットワークに接続された状態で車両に搭載されている。更新データは、エンジン起動時などにサーバからダウンロードし、ソフト更新装置の記憶部に保持される。 In addition, even in the case of an automobile system including a plurality of ECUs that require different control software update processing in Patent Document 2, the control software update of each ECU can be easily implemented by an appropriate method according to the usage. A software update device is disclosed that is capable of Specifically, this software update device is a device mounted on a vehicle in a state of being connected to an in-vehicle network together with an ECU, and while connected to a server via a wireless (mobile communication network), it is via an in-vehicle network It connects with multiple control units (ECUs) and sends and receives data. Also, the software update device receives update control information including update data and identification information for identifying an application method for applying the update data to the control device from the server for each of the plurality of control devices, The applicable update data is transmitted to each of the plurality of control devices, and the plurality of control devices are controlled to apply the update data based on the identification information. More specifically, this software updating device is mounted on a vehicle in a state of being connected to an in-vehicle network together with an ECU. The update data is downloaded from the server at engine startup or the like, and held in the storage unit of the software update device.

 なお、特許文献3には、車両データのリモート収集システムが開示されている。具体的には、車両ネットワークに接続された情報収集ECUが、車両データの収集条件を1乃至複数の命令により記述したスクリプトを車両外部のセンターなどから無線通信により受信すると、そのスクリプトを解釈・実行することによって、車両ネットワークに接続された車載のECUから車両データを収集し、センターに返信する。 Patent Document 3 discloses a remote collection system of vehicle data. Specifically, when the information collection ECU connected to the vehicle network receives a script describing vehicle data collection conditions by one or more commands from a center or the like outside the vehicle by wireless communication, it interprets and executes the script By collecting vehicle data from the onboard ECU connected to the vehicle network and returning it to the center.

特開2015-37899号公報JP, 2015-37899, A 特開2016-170740号公報JP, 2016-170740, A 特開2016-111646号公報JP, 2016-111646, A

 近年、車両の高機能化、高性能化に伴い、車両を制御する電子制御装置(ECU)に搭載されるソフトウェア(制御プログラム)の規模が増大している(特許文献2参照)。ソフトウェアの規模が増大すると不具合が生じる可能性も増えるなど、複数の車両に対してソフトウェアの更新を行う必要が生じる。この際、特許文献2のソフト更新装置や特許文献3の情報収集ECUのように、そのための専用の装置を車両毎に定常的に設置すると、車両コストの増大を招く。 2. Description of the Related Art In recent years, the scale of software (control program) installed in an electronic control unit (ECU) that controls a vehicle has been increasing with the advancement of performance and functionality of the vehicle (see Patent Document 2). There is a need to update software for multiple vehicles, such as increasing the size of the software and increasing the likelihood of failure. At this time, if a dedicated device for that purpose, such as the software update device of Patent Document 2 or the information collection ECU of Patent Document 3, is steadily installed for each vehicle, the cost of the vehicle increases.

 この点、特許文献1のリプロツールは、各車両に専用に設けるものではなく、必要時に車種を問わずに共通に用いることができることから、車両コストの抑制が可能である。しかし、その反面、ソフトウェアの更新に際して各ECUに特有の処理を行う必要がある場合には、このような特有の処理を実行するための機能をECU毎にそれぞれリプロツールに実装する必要があるなど、更新処理を実際に実行するまでの準備に多大な時間を費やすことになる。このような課題は、車両に搭載されるECUの数が多くなるほど顕著となり、作業効率の観点で改善の余地がある。また、特許文献1のリプロツールは、外部と無線通信用のインタフェースを省略しており、複数台の車両に対する上記の更新処理の実行を管理したい場合への対応が容易ではない。 In this respect, the repro tool according to Patent Document 1 is not provided exclusively for each vehicle, and can be used in common regardless of the vehicle type when necessary, so that the vehicle cost can be suppressed. However, on the other hand, if it is necessary to perform processing specific to each ECU when updating software, it is necessary to implement a function for performing such specific processing in each repro tool, etc. , Will spend a lot of time preparing for the actual execution of the update process. Such problems become more remarkable as the number of ECUs mounted on the vehicle increases, and there is room for improvement in terms of work efficiency. Further, the repro tool of Patent Document 1 omits the interface for wireless communication with the outside, and it is not easy to cope with the case where it is desired to manage the execution of the above update process for a plurality of vehicles.

 上述の事情に鑑みて、本発明の少なくとも一実施形態は、車両コストを抑制しつつ、電子制御装置に対する保守作業を効率良く行うことが可能な車両用保守ツールを提供することを目的とする。 In view of the above-described circumstances, at least one embodiment of the present invention aims to provide a maintenance tool for a vehicle capable of efficiently performing maintenance work on an electronic control device while suppressing the cost of the vehicle.

(1)本発明の少なくとも一実施形態に係る車両用保守ツールは、
 車両に搭載される複数の電子制御装置が接続された車両ネットワークに接続される車両用保守ツールであって、
 前記車両ネットワークに接続された状態で前記車両に搭載されている車両側コネクタに対して着脱可能な端子部と、
 前記端子部に接続された制御部であって、実行指令の受信に応じて、所定の処理を実行するためのスクリプトに記述された1以上の命令を順次解釈するスクリプト命令解釈部、及び前記スクリプト命令解釈部によって解釈された前記命令を順次実行することにより前記車両ネットワークを介して前記所定の処理を実行するスクリプト命令実行部を、有する制御部と、
 前記端子部、及び前記制御部を保持するハンディ式保持ケースと、を備える。
(1) A vehicle maintenance tool according to at least one embodiment of the present invention,
A maintenance tool for a vehicle connected to a vehicle network to which a plurality of electronic control devices mounted on the vehicle are connected,
A terminal portion that is detachable from a vehicle-side connector mounted on the vehicle in a state of being connected to the vehicle network;
A script command interpretation unit which is a control unit connected to the terminal unit and sequentially interprets one or more commands described in a script for executing a predetermined process in response to reception of an execution command; A control unit having a script instruction execution unit that executes the predetermined processing via the vehicle network by sequentially executing the instructions interpreted by the instruction interpretation unit;
And a handy type holding case for holding the terminal unit and the control unit.

 上記(1)の構成によれば、車両用保守ツールはハンディ式の装置であり、車両に常時搭載されるのではなく、必要時に車両に取り付けて使用することが可能に構成される。また、車両用保守ツールは、スクリプトの実行機能を有すると共に、実行指令の受信に応じて、所望の処理(例えばソフト更新処理や通信ログ取得処理など)を記述したスクリプトを実行するように構成される。このようにハンディ式の車両用保守ツールがスクリプトの実行機能を有することにより、車両のコストを抑制しつつ、複数の電子制御装置(ECU)毎に特有な処理を実行する必要があるような保守要求にも柔軟に、かつ、効率良く対応することができる。また、例えば、無線を通して外部からスクリプトの実行指令を受信するように構成することによって、複数台の車両に対してスクリプトを実行する場合であっても、各車両に車両用保守ツールをそれぞれ取り付けておくことによりソフト更新処理の実行を管理することができ、保守作業の効率性やユーザビリティなどの向上を図ることができる。 According to the configuration of the above (1), the maintenance tool for a vehicle is a handy type device, and is not always mounted on the vehicle, and can be attached to the vehicle when needed and used. Further, the vehicle maintenance tool has a script execution function, and is configured to execute a script describing a desired process (for example, software update process, communication log acquisition process, etc.) in response to reception of the execution command. Ru. In this way, by having a handy type vehicle maintenance tool having a script execution function, it is necessary to carry out processing specific to each of a plurality of electronic control units (ECUs) while suppressing the cost of the vehicle. It can respond to requirements flexibly and efficiently. Also, for example, by configuring to receive script execution instructions from outside via wireless, even when executing scripts for a plurality of vehicles, each vehicle maintenance tool is attached to each vehicle By doing so, execution of the software updating process can be managed, and the efficiency of maintenance work, usability, etc. can be improved.

(2)幾つかの実施形態では、上記(1)の構成において、
 前記スクリプトは、少なくとも1つの前記電子制御装置に対してソフトウェアの更新処理を実行するのに必要な前記命令の記述を含む。
 上記(2)の構成によれば、スクリプトを実行することにより、1以上の電子制御装置のソフトウェアの更新を容易に行うことができる。
(2) In some embodiments, in the configuration of (1) above,
The script includes a description of the instructions needed to perform a software update process on at least one of the electronic control units.
According to the configuration of (2), the software of one or more electronic control devices can be easily updated by executing the script.

(3)幾つかの実施形態では、上記(2)の構成において、
 前記スクリプトは、前記ソフトウェアの更新処理における前記複数の電子制御装置毎に特有な前記命令の記述と、更新対象となる既存のソフトウェアを更新データで書き換える更新メイン処理を行うプログラムを実行するための前記命令の記述と、を含み、
 前記複数の電子制御装置毎に特有な前記命令の記述は、前記電子制御装置から故障コードを読み出すための命令、または、前記電子制御装置の故障コードを消去するための命令の少なくとも一方を含む。
(3) In some embodiments, in the configuration of (2) above,
The script is for executing a program that performs an update main process that rewrites the existing software to be updated with update data, and the description of the instruction specific to each of the plurality of electronic control devices in the software update process. And a description of the instruction,
The description of the instruction specific to each of the plurality of electronic control devices includes at least one of an instruction for reading a failure code from the electronic control device, and an instruction for erasing a failure code of the electronic control device.

 上記(3)の構成によれば、車両のエンジン制御用ECU、ブレーキ制御用ECUなどの複数種類の電子制御装置の各々に特有な処理をスクリプトに記述することによって、ソフトウェアの更新処理を適切に、かつ、容易に実行することができる。なお、車両用保守ツールは、制御部に接続された無線通信部をさらに備えても良い。 According to the configuration of the above (3), the software update processing can be appropriately performed by describing the processing specific to each of plural types of electronic control devices such as the engine control ECU and the brake control ECU of the vehicle in the script. And can easily be implemented. The vehicle maintenance tool may further include a wireless communication unit connected to the control unit.

(4)幾つかの実施形態では、上記(2)の構成において、
 前記スクリプトは、前記複数の電子制御装置毎に特有な前記命令の記述を含む。
 上記(4)の構成によれば、上記(3)と同様の効果を奏する。
(4) In some embodiments, in the configuration of (2) above,
The script includes a description of the instruction specific to each of the plurality of electronic control devices.
According to the structure of said (4), the same effect as said (3) is show | played.

(5)幾つかの実施形態では、上記(2)~(4)の構成において、
 前記ハンディ式保持ケースに対して着脱可能に接続される着脱可能記憶媒体であって、前記制御部による読み取りが少なくとも可能な着脱可能記憶媒体を、さらに備え、
 前記着脱可能記憶媒体には、前記スクリプトの実行による前記ソフトウェアの更新のための更新データが記憶される。
 上記(5)の構成によれば、更新データは、例えばマイクロSDカードなどの着脱可能記憶媒体に記憶される。更新データは、スクリプトや実行指令に比較してデータサイズが非常に大きい。よって、電子制御装置のソフトウェアの更新に際して、更新データが予め記憶された着脱可能記憶媒体を車両用保守ツールに取り付けるようにすれば、例えば、外部のコンピュータから無線により実行指令を受信するような場合であっても、無線の通信状態によるソフトウェアの更新の完了までに要する時間への影響を抑制することができ、スクリプトの実行を短時間で完了することができる。
(5) In some embodiments, in the above configurations (2) to (4),
The removable storage medium detachably connected to the handy type holding case, the removable storage medium being at least readable by the control unit,
The removable storage medium stores update data for updating the software by the execution of the script.
According to the configuration of (5), the update data is stored in a removable storage medium such as, for example, a micro SD card. The update data has a very large data size compared to the script and the execution command. Therefore, when the removable storage medium in which the update data is stored in advance is attached to the maintenance tool for a vehicle when updating the software of the electronic control device, for example, when an execution command is received wirelessly from an external computer Even in this case, the influence of the wireless communication state on the time required to complete the software update can be suppressed, and script execution can be completed in a short time.

(6)幾つかの実施形態では、上記(1)~(5)の構成において、
 前記スクリプトは、前記車両ネットワークを伝送される伝送データを収集するのに必要な前記命令の記述を含む。
 上記(6)の構成によれば、スクリプトを実行することにより、車両ネットワークを流れる伝送データを収集することができ、少なくとも1つの電子制御装置が車両ネットワークを介して行う通信ログの取得を容易に行うことができる。
(6) In some embodiments, in the above configurations (1) to (5),
The script contains a description of the instructions necessary to collect transmission data transmitted over the vehicle network.
According to the configuration of the above (6), by executing the script, it is possible to collect transmission data flowing through the vehicle network, and it is easy to obtain the communication log that at least one electronic control unit performs via the vehicle network It can be carried out.

(7)幾つかの実施形態では、上記(1)~(6)の構成において、
 無線を介して外部から前記実行指令を受信する無線通信部を、さらに備え、
 前記制御部は、前記端子部及び前記無線通信部にそれぞれ接続されており、
 前記ハンディ式保持ケースは、前記端子部、前記無線通信部、及び前記制御部を保持するように構成されており、
 前記スクリプト命令解釈部は、前記無線通信部からの前記実行指令の受信に応じて、前記スクリプトに記述された前記1以上の命令の解釈を開始する。
 上記(7)の構成によれば、制御部は、無線通信部からの実行指令を受信することにより、スクリプトの実行を開始する。これによって、保守作業の効率性やユーザビリティなどの向上を図ることができる。
(7) In some embodiments, in the configurations of (1) to (6) above,
It further comprises a wireless communication unit that receives the execution command from the outside via wireless,
The control unit is connected to the terminal unit and the wireless communication unit, respectively.
The handy type holding case is configured to hold the terminal unit, the wireless communication unit, and the control unit.
The script command interpretation unit starts interpreting the one or more commands described in the script in response to the reception of the execution command from the wireless communication unit.
According to the configuration of (7), the control unit starts the execution of the script by receiving the execution command from the wireless communication unit. This can improve the efficiency of maintenance work, usability, and the like.

(8)幾つかの実施形態では、上記(1)~(7)の構成において、
 英数字による表示が可能な表示部を、さらに備える。
 上記(8)の構成によれば、例えば、スクリプトの開始、完了、終了状態などを表示部に表示することで、車両用保守ツールの使用者にスクリプトの実行状況を知らせることができ、ユーザビリティを向上させることができる。
(8) In some embodiments, in the configurations of (1) to (7) above,
The apparatus further comprises a display unit capable of alphanumeric display.
According to the configuration of the above (8), for example, by displaying the start, completion, end status, etc. of the script on the display unit, it is possible to inform the user of the maintenance tool for vehicle of the execution status of the script. It can be improved.

(9)幾つかの実施形態では、上記(1)~(8)の構成において、
 前記車両側コネクタは、前記車両の車室に露出することが可能な位置に設けられている。
 上記(9)の構成によれば、車両側コネクタは、電子制御装置が設置されてるような位置ではなく、乗員が居住する車室から容易に手の届く位置に設置される。よって、ハンディ式の車両用保守ツールを車両側コネクタに容易に取り付けることができる。
(9) In some embodiments, in the above configurations (1) to (8),
The said vehicle side connector is provided in the position which can be exposed to the compartment of the said vehicle.
According to the configuration of the above (9), the vehicle-side connector is installed not at a position where the electronic control device is installed, but at a position easily accessible from the cabin where the occupants live. Therefore, the handy type maintenance tool for vehicles can be easily attached to the vehicle side connector.

 本発明の少なくとも一実施形態によれば、車両コストを抑制しつつ、電子制御装置に対する保守作業を効率良く行うことが可能な車両用保守ツールが提供される。 According to at least one embodiment of the present invention, there is provided a vehicle maintenance tool capable of efficiently performing maintenance work on the electronic control device while suppressing the cost of the vehicle.

本発明の一実施形態に係る車両用保守ツールの構成を概略的に示す図である。It is a figure showing roughly the composition of the maintenance tool for vehicles concerning one embodiment of the present invention. 本発明の一実施形態に係る車両用保守ツールの外観を示す斜視図であり、(a)は車両用保守ツールの前面側からの斜視図であり、(b)は後面側からの斜視図である。It is a perspective view showing the appearance of the maintenance tool for vehicles concerning one embodiment of the present invention, (a) is a perspective view from the front side of the maintenance tool for vehicles, (b) is a perspective view from the back side is there. 本発明の一実施形態に係る車両用保守ツールをダッシュボードのツール設置部に設置した状態を示す図であり、(a)はダッシュボードの運転席付近の斜視図であり、(b)はツール設置部付近を拡大した図である。It is a figure which shows the state which installed the maintenance tool for vehicles which concerns on one Embodiment of this invention in the tool installation part of a dashboard, (a) is a perspective view of driver's seat vicinity of a dashboard, (b) is a tool It is the figure which expanded setting part vicinity. 本発明の一実施形態に係る車両用保守ツールを複数の車両にそれぞれ接続した様子を示す図であり、延長ケーブルを用いて車両に取り付けられている。It is a figure which shows a mode that the maintenance tool for vehicles which concerns on one Embodiment of this invention was each connected to several vehicles, and is attached to a vehicle using the extension cable. 本発明の一実施形態に係る電子制御装置のソフトウェアを更新するフローを示す図である。It is a figure which shows the flow which updates the software of the electronic control unit which concerns on one Embodiment of this invention. 本発明の一実施形態に係る車両ネットワークを流れる伝送データを取得するフローを示す図である。It is a figure which shows the flow which acquires the transmission data which flows through the vehicle network which concerns on one Embodiment of this invention.

 以下、添付図面を参照して本発明の幾つかの実施形態について説明する。ただし、実施形態として記載されている又は図面に示されている構成部品の寸法、材質、形状、その相対的配置等は、本発明の範囲をこれに限定する趣旨ではなく、単なる説明例にすぎない。
 例えば、「ある方向に」、「ある方向に沿って」、「平行」、「直交」、「中心」、「同心」或いは「同軸」等の相対的或いは絶対的な配置を表す表現は、厳密にそのような配置を表すのみならず、公差、若しくは、同じ機能が得られる程度の角度や距離をもって相対的に変位している状態も表すものとする。
 例えば、「同一」、「等しい」及び「均質」等の物事が等しい状態であることを表す表現は、厳密に等しい状態を表すのみならず、公差、若しくは、同じ機能が得られる程度の差が存在している状態も表すものとする。
 例えば、四角形状や円筒形状等の形状を表す表現は、幾何学的に厳密な意味での四角形状や円筒形状等の形状を表すのみならず、同じ効果が得られる範囲で、凹凸部や面取り部等を含む形状も表すものとする。
 一方、一の構成要素を「備える」、「具える」、「具備する」、「含む」、又は、「有する」という表現は、他の構成要素の存在を除外する排他的な表現ではない。
Hereinafter, some embodiments of the present invention will be described with reference to the accompanying drawings. However, the dimensions, materials, shapes, relative arrangements, etc. of the components described as the embodiments or shown in the drawings are not intended to limit the scope of the present invention to this, but are merely illustrative. Absent.
For example, a representation representing a relative or absolute arrangement such as “in a direction”, “along a direction”, “parallel”, “orthogonal”, “center”, “concentric” or “coaxial” is strictly Not only does it represent such an arrangement, but also represents a state of relative displacement with an angle or distance that allows the same function to be obtained.
For example, expressions that indicate that things such as "identical", "equal" and "homogeneous" are equal states not only represent strictly equal states, but also have tolerances or differences with which the same function can be obtained. It also represents the existing state.
For example, expressions representing shapes such as quadrilateral shapes and cylindrical shapes not only represent shapes such as rectangular shapes and cylindrical shapes in a geometrically strict sense, but also uneven portions and chamfers within the range where the same effect can be obtained. The shape including a part etc. shall also be expressed.
On the other hand, the expressions "comprising", "having", "having", "including" or "having" one component are not exclusive expressions excluding the presence of other components.

 図1は、本発明の一実施形態に係る車両用保守ツール1の構成を概略的に示す図である。図2は、本発明の一実施形態に係る車両用保守ツール1の外観を示す斜視図である。図3は、本発明の一実施形態に係る車両用保守ツール1をダッシュボード71のツール設置部72に設置した状態を示す図である。また、図4は、本発明の一実施形態に係る車両用保守ツール1を複数の車両7にそれぞれ接続した様子を示す図であり、延長ケーブル93を用いて車両7に取り付けられている。 FIG. 1 is a view schematically showing the configuration of a vehicle maintenance tool 1 according to an embodiment of the present invention. FIG. 2 is a perspective view showing an appearance of a maintenance tool 1 for a vehicle according to an embodiment of the present invention. FIG. 3 is a view showing a state where the vehicle maintenance tool 1 according to an embodiment of the present invention is installed in the tool installation portion 72 of the dashboard 71. As shown in FIG. FIG. 4 is a view showing a state where the vehicle maintenance tool 1 according to the embodiment of the present invention is connected to a plurality of vehicles 7, and is attached to the vehicle 7 using an extension cable 93.

 図1~図4に示すように、車両用保守ツール1は、車両7に搭載される複数の電子制御装置8が接続された車両ネットワーク7nに接続されることによって、車両ネットワーク7nを介した通信(データの送受信)が可能になるように構成された装置である。車両ネットワーク7nは、複数の電子制御装置8(以下、適宜、ECU8という。)を相互に接続するネットワークであり、車両7には、CAN(Controller Area Network)やKライン、LIN(Local Interconnect Network)、FlexRayなどの少なくとも1つの車両ネットワーク7nが搭載される。また、車両用保守ツール1はハンディ式の装置であり、小型、軽量であると共に、持ち運びや取り扱いが容易なように構成されており、その使用時に車両7に取り付けて使用するよう構成される(図3参照)。 As shown in FIGS. 1 to 4, the vehicle maintenance tool 1 is connected to a vehicle network 7 n to which a plurality of electronic control devices 8 mounted on the vehicle 7 are connected to communicate via the vehicle network 7 n It is an apparatus configured to be able to (transmit and receive data). The vehicle network 7n is a network for interconnecting a plurality of electronic control devices 8 (hereinafter referred to as "ECU 8" as appropriate), and the vehicle 7 includes CAN (Controller Area Network), K lines, LIN (Local Interconnect Network) , FlexRay, etc. is mounted on at least one vehicle network 7n. In addition, the vehicle maintenance tool 1 is a handy-type device, is small and light, and is configured to be easy to carry and handle, and is configured to be attached to the vehicle 7 and used at the time of use ((1) See Figure 3).

 そして、車両用保守ツール1は、図1に示すように、端子部2と、無線通信部3と、制御部4と、ハンディ式保持ケース5とを備える。
 以下、車両用保守ツール1が備える上記の構成について、それぞれ説明する。
Then, as shown in FIG. 1, the vehicle maintenance tool 1 includes a terminal unit 2, a wireless communication unit 3, a control unit 4, and a handy type holding case 5.
Hereinafter, the above-mentioned composition with which maintenance tool 1 for vehicles is provided is explained, respectively.

 端子部2は、車両ネットワーク7nに接続された状態で車両7に搭載されている車両側コネクタ7cに対して着脱可能に構成される(図3参照)。換言すれば、端子部2は、上記の車両側コネクタ7cに嵌り合うように構成されたコネクタであり、車両側コネクタ7cに嵌り合った状態(接続状態)でにおいて端子部2と車両側コネクタ7cとは電気的に接続される。また、車両側コネクタ7cは、車両ネットワーク7nを介してECU8に電気的に接続されている。よって、車両側コネクタ7cに端子部2を接続することにより、車両用保守ツール1とECU8とが車両ネットワーク7nを介して電気的に接続される。幾つかの実施形態では、図3に示すように、端子部2は、車両側コネクタ7cに直接接続されも良い。他の幾つかの実施形態では、図4に示すように、延長ケーブル93を介して車両側コネクタ7cに接続されても良い。 The terminal unit 2 is configured to be attachable to and detachable from a vehicle side connector 7c mounted on the vehicle 7 in a state of being connected to the vehicle network 7n (see FIG. 3). In other words, the terminal portion 2 is a connector configured to be fitted to the above-described vehicle-side connector 7c, and in a state (connection state) fitted to the vehicle-side connector 7c, the terminal portion 2 and the vehicle-side connector 7c And are electrically connected. Further, the vehicle side connector 7c is electrically connected to the ECU 8 through the vehicle network 7n. Therefore, the vehicle maintenance tool 1 and the ECU 8 are electrically connected via the vehicle network 7n by connecting the terminal portion 2 to the vehicle side connector 7c. In some embodiments, as shown in FIG. 3, the terminal unit 2 may be directly connected to the vehicle side connector 7c. In some other embodiments, as shown in FIG. 4, it may be connected to the vehicle side connector 7 c via the extension cable 93.

 また、一般に、車両7の内部には、ダッシュボード71やフロアパネル74などに区画されることによって乗員が居住する車室7sが形成される(図2参照)。また、車室7s以外の車両7の内部に、エンジン制御用のECU81、ブレーキ制御用のECU82、オーディオ制御用のECU83、ドア制御用のECU84、衝突防止制御用のECU85、メータ制御用のECU86などの複数種類のECU8が設置されると共に、これらの複数のECU8を相互に接続するように車両ネットワーク7nが設置される(図1参照)。そして、上記の車両側コネクタ7cは、図3に示すように、車両7の内部における、ECU8が設置されるような場所ではなく、車室7sに面するなど、車室7sに露出することが可能な場所に設置されている。図1~図4に示す実施形態では、図3に示すように、上述した車両側コネクタ7cは、ダッシュボード71における運転席のハンドル(不図示)の右部に配置された、下方に向けて開口する空間を形成しているツール設置部72の上記空間内に設置されている。また、車両側コネクタ7cは、SAEJ1962規格で規定されたコネクタとなっている。但し、本実施形態に本発明は限定されない。他の幾つかの実施形態では、他の規格で規定されたコネクタであっても良い。また、ツール設置部72にはカバーが設けられており、カバーを開くことで車両側コネクタ7cが車室7sに露出するように構成しても良い。あるいは、車両7の外部に面することが可能な位置にツール設置部72が設けられても良い。 Generally, a compartment 7s is formed inside the vehicle 7 by being divided into a dashboard 71, a floor panel 74, etc. (see FIG. 2). Further, inside the vehicle 7 other than the cabin 7s, an ECU 81 for engine control, an ECU 82 for brake control, an ECU 83 for audio control, an ECU 84 for door control, an ECU 85 for collision prevention control, an ECU 86 for meter control, etc. A plurality of types of ECUs 8 are installed, and a vehicle network 7n is installed to mutually connect the plurality of ECUs 8 (see FIG. 1). Then, as shown in FIG. 3, the above-mentioned vehicle-side connector 7c may be exposed to the vehicle compartment 7s, for example, facing the compartment 7s instead of a place where the ECU 8 is installed inside the vehicle 7. It is installed in the possible place. In the embodiment shown in FIGS. 1 to 4, as shown in FIG. 3, the above-mentioned vehicle-side connector 7 c is disposed downward on the right of the steering wheel (not shown) of the driver's seat in the dashboard 71. It is installed in the above-mentioned space of tool installation part 72 which forms the space which opens. Further, the vehicle side connector 7c is a connector defined by the SAEJ 1962 standard. However, the present invention is not limited to the present embodiment. In some other embodiments, it may be a connector defined in another standard. In addition, a cover may be provided on the tool installation portion 72, and the vehicle side connector 7c may be exposed to the vehicle compartment 7s by opening the cover. Alternatively, the tool installation portion 72 may be provided at a position where it can face the outside of the vehicle 7.

 また、図1~図4に示す実施形態では、車両用保守ツール1は、車両側コネクタ7cに端子部2を接続して接続状態とすることにより、車両7に搭載されたバッテリ7bからの電力が端子部2を介して供給されるようになっており、コンバータ64によって12Vから所望の電圧(3.3Vや5Vなど)に変圧された後、制御部4に電源が供給される。このように、車両用保守ツール1の内部に電源部を設けないことにより軽量化を図っているが、他の幾つかの実施形態では、乾電池や充電池等を内蔵するよう構成しても良い。 Further, in the embodiment shown in FIGS. 1 to 4, the vehicle maintenance tool 1 connects the terminal portion 2 to the vehicle-side connector 7 c to bring it into a connected state, whereby power from the battery 7 b mounted on the vehicle 7 is obtained. Is supplied through the terminal unit 2 and after power conversion from 12 V to a desired voltage (3.3 V, 5 V, etc.) by the converter 64, power is supplied to the control unit 4. As described above, weight reduction is achieved by not providing the power supply unit inside the vehicle maintenance tool 1. However, in some other embodiments, a dry battery, a rechargeable battery or the like may be incorporated. .

 無線通信部3は、図1に示すように、無線を介して外部から実行指令Ieを受信するよう構成される。上記の実行指令Ieは制御部4による処理(後述)を開始させるための命令であり、例えば、外部のコンピュータ9から無線通信により送られる(図4参照)。図1に示すように、無線通信部3は、制御部4に電気的に接続されており、無線通信によって受信した実行指令Ieを制御部4に送信する。図1~図4に示す実施形態では、図4に示すように、無線通信部3は、無線LAN(Wi-Fi)により、外部のコンピュータ9と通信可能に接続するように構成されている。但し、本実施形態に本発明は限定されない。他の幾つかの実施形態では、無線通信部3は、Bluetooth(登録商標)、あるいは、移動体通信網などを介して外部のコンピュータ9に接続するなど、他の無線方式により両者が接続されても良い。また、無線ネットワークと外部のコンピュータ9との間に有線LANなどといった有線ネットワークが介在していても良い。 As shown in FIG. 1, the wireless communication unit 3 is configured to receive the execution command Ie from outside via wireless. The execution command Ie described above is a command for starting processing (described later) by the control unit 4 and is sent, for example, from an external computer 9 by wireless communication (see FIG. 4). As shown in FIG. 1, the wireless communication unit 3 is electrically connected to the control unit 4 and transmits the execution command Ie received by wireless communication to the control unit 4. In the embodiment shown in FIGS. 1 to 4, as shown in FIG. 4, the wireless communication unit 3 is configured to be communicably connected to an external computer 9 by a wireless LAN (Wi-Fi). However, the present invention is not limited to the present embodiment. In some other embodiments, the wireless communication unit 3 is connected by another wireless method such as connecting to an external computer 9 via Bluetooth (registered trademark) or a mobile communication network or the like. Also good. In addition, a wired network such as a wired LAN may be interposed between the wireless network and the external computer 9.

 制御部4は、図1に示すように、上述した端子部2及び無線通信部3にそれぞれ電気的に接続されると共に、上述した実行指令Ieを受信すると、所望の処理が記述されたスクリプトを実行するスクリプト実行機能を有する。ここで、スクリプトとは、インタプリタ型の言語である所定のスクリプト言語により記述された少なくとも1つの命令を有する簡易プログラムであり、事前にコンパイルすることなく実行可能であるなど、ECU8のソフトウェア(制御プログラム)の更新といった所望の処理を実行可能とするまでの準備が比較的容易に行うことが可能となる。このように制御部4がスクリプト実行機能を有することで、所望の処理を比較的容易に行うことが可能になる。さらに、スクリプトは、複数のECU8毎に特有となる特有処理の実装もが容易であり、また、テキストベースで記述内容をチェックできるなどスクリプトの検証も容易であり、多様な処理に容易に対応することが可能となる。 As shown in FIG. 1, the control unit 4 is electrically connected to the terminal unit 2 and the wireless communication unit 3 described above, and when receiving the execution command Ie described above, a script in which a desired process is described It has a script execution function to execute. Here, the script is a simplified program having at least one instruction described in a predetermined script language which is an interpreted language, and can be executed without being compiled in advance. It is possible to relatively easily prepare for making it possible to execute desired processing such as updating). As described above, the control unit 4 having the script execution function can perform desired processing relatively easily. Furthermore, the script is easy to implement specific processing unique to each of the plurality of ECUs 8, and it is easy to verify the script, such as checking the description content on a text basis, and easily copes with various processes. It becomes possible.

 例えば、スクリプトには、車両ネットワーク7nにおける所望のECU8とデータを送受信するための命令や、所望のECU8から故障コード(DTC:Diagnostic Trouble Code)を読み出すための命令、車両ネットワーク7nを流れるデータをキャプチャするための命令(通信データの取得)などの記述が可能であっても良い。また、車両用保守ツール1がCANやK-Lineなど複数種類の車両ネットワーク7nに対応可能とするために、これらの命令においてバスの指定が可能になっていても良い。また、車両ネットワーク7n上で動作する複数種類のプロトコル(KWP、UDS、K-Lineなど)に対応可能とするために、プロトコル毎に命令が容易されていても良い。また、スクリプトにおける指定行(指定箇所)への移動(callやジャンプ)や復帰(callの次の行へのリターン)、ループ、条件分岐、スリープといったプログラムの制御命令の記述が可能となっている。さらに、変数の宣言や、変数の論理演算や数値演算などの命令が記述可能であっても良い。また、車両用保守ツール1に設置されるLEDなどの発光部63の点灯命令や消灯命令、LCDなどの表示部62(表示装置)への表示命令、スピーカ(不図示)からのブザーの音のオン命令やオフ命令などの搭載機器への操作命令の記述が可能であっても良い。 For example, the script captures an instruction to transmit / receive data to / from a desired ECU 8 in the vehicle network 7n, an instruction to read out a fault code (DTC: Diagnostic Trouble Code) from the desired ECU 8, data captured through the vehicle network 7n A description such as an instruction for acquiring the command (acquisition of communication data) may be possible. Further, in order to enable the vehicle maintenance tool 1 to be compatible with a plurality of types of vehicle networks 7n such as CAN and K-Line, a bus may be specified in these instructions. Also, in order to be able to cope with a plurality of types of protocols (KWP, UDS, K-Line, etc.) operating on the vehicle network 7n, instructions may be facilitated for each protocol. In addition, it is possible to write program control instructions such as moving (call or jump) to a specified line (specified part) or return (return to the line following call) in a script, loop, conditional branch, or sleep. . Furthermore, it may be possible to describe variable declarations and instructions such as logical operations and numerical operations of variables. In addition, turn on or turn off the light emitting unit 63 such as LED installed in the vehicle maintenance tool 1, display instruction to the display unit 62 (display device) such as LCD, and buzzer sound from a speaker (not shown) It may be possible to describe an operation command to the mounted device such as an on command or an off command.

 このようなスクリプトを、制御部4は無線通信部3を介して受信しても良く、上述した無線により送られる実行指令Ieと共に受信しても良いし、実行指令Ieとして受信しても良い。あるいは、スクリプトを、マイクロSDなどの記憶媒体である着脱可能記憶媒体61に予め記憶しておき、車両用保守ツール1が備える着脱可能記憶媒体61を装着するためのメモリスロット(不図示)に着脱可能記憶媒体61を装着することにより、制御部4は、実行指令Ieの受信に応じて着脱可能記憶媒体61に記憶されているスクリプトを読み込むように構成しても良い。図1~図4に示す実施形態では、図2(b)に示すように、保護カバー12を取り外すことにより、取り付け時に保護カバー12で保護された状態にある上記のメモリスロット(不図示)が外部に露出するようになっている。また、図1~図4に示す実施形態では、保護カバー12の取り付け状態において、メモリスロット共に、USB接続口などの外部接続用の本体側インタフェース(不図示)が保護されており、本体側インタフェースに対してパソコンやUSBスイッチ76(後述)などが接続可能となっている。なお、図2(b)に示すUSBスイッチ76は外部接続用インタフェース77(図2(b)ではUSB)を有しており、車両用保守ツール1は、この外部接続用インタフェース77を介して上記のメモリスロットが接続されることで、メモリスロットを備えていても良い。 The control unit 4 may receive such a script via the wireless communication unit 3, may receive it along with the execution command Ie transmitted by wireless as described above, or may receive it as the execution command Ie. Alternatively, the script is stored in advance in a removable storage medium 61, which is a storage medium such as a micro SD, and is attached to or removed from a memory slot (not shown) for mounting the removable storage medium 61 included in the vehicle maintenance tool 1 By mounting the possible storage medium 61, the control unit 4 may be configured to read the script stored in the removable storage medium 61 in response to the reception of the execution command Ie. In the embodiment shown in FIGS. 1 to 4, as shown in FIG. 2 (b), the above memory slot (not shown) is protected by the protective cover 12 at the time of attachment by removing the protective cover 12. It is exposed to the outside. Further, in the embodiment shown in FIGS. 1 to 4, the main body side interface (not shown) for external connection such as a USB connection port is protected for both the memory slot and the memory slot when the protective cover 12 is attached. A personal computer, USB switch 76 (described later), etc. can be connected. The USB switch 76 shown in FIG. 2 (b) has an interface 77 for external connection (USB in FIG. 2 (b)), and the maintenance tool 1 for a vehicle is configured as described above via the interface 77 for external connection. A memory slot may be provided by being connected to the memory slot.

 より詳細には、制御部4は、図1に示すように、スクリプト命令解釈部41と、スクリプト命令実行部42とを備える。制御部4は、図示しないプロセッサ(MPUなど)とROMやRAMといったメモリを備え、RAMにロードされたスクリプト命令解釈部41およびスクリプト命令実行部42を実現させるためのプログラム(スクリプト実行プログラム)の命令に従ってCPUが動作(データの演算など)することで、これらの機能部を実現する。 More specifically, as shown in FIG. 1, the control unit 4 includes a script instruction interpretation unit 41 and a script instruction execution unit 42. The control unit 4 includes a processor (such as an MPU) (not shown) and a memory such as a ROM or RAM, and an instruction of a program (script execution program) for realizing the script instruction interpretation unit 41 and the script instruction execution unit 42 loaded in the RAM. These functional units are realized by the CPU operating (such as data operation) in accordance with the above.

 スクリプト命令解釈部41は、上記の実行指令Ieの受信に応じて、上述したスクリプトに記述された1以上の命令を順次解釈するよう構成される。このスクリプト命令解釈部41は、所定のスクリプト言語に従って記述された各種命令を機械語に翻訳することにより解釈することが可能である。そして、スクリプト命令解釈部41は、実行指令Ieを受信するとスクリプトの実行を開始すると共に、スクリプトの開始から終了まで記述された各命令を、ループや条件分岐などの制御命令に従って順次読み込みつつ、解釈していく。 The script command interpretation unit 41 is configured to sequentially interpret one or more commands described in the script described above in response to the reception of the execution command Ie. The script instruction interpretation unit 41 can interpret the various instructions described according to a predetermined script language by translating it into a machine language. Then, upon receiving the execution instruction Ie, the script instruction interpretation unit 41 starts the execution of the script and interprets each instruction described from the start to the end of the script sequentially according to the control instruction such as a loop or a conditional branch while interpreting I will.

 上述したスクリプト命令解釈部41による実行指令Ieの受信は、幾つかの実施形態では、上述した無線通信部3を介して行われても良い(図4参照)。つまり、スクリプト命令解釈部41(制御部4)は、無線通信部3からの実行指令Ieの受信に応じて、スクリプトに記述された1以上の命令の解釈を開始する。他の幾つかの実施形態では、車両用保守ツール1が、実行開始用のスイッチ75を備えることで、制御部4は、このスイッチ75がオン(ON)に操作された状態で出力される信号を上記の実行指令Ieとして受信するよう構成しても良い。図2に示す実施形態では、図2(b)に示す保護カバー12を取り外した状態で外部に露出する不図示の本体側インタフェース(図2(b)ではUSB接続口)に、スイッチ75を有するUSBスイッチ76を接続するようになっており、スイッチ75を必要な時に取り付けることが可能に構成している。その他の幾つかの実施形態では、制御部4は、端子部2が車両側コネクタ7cに接続された状態で出力される信号を上記の実行指令Ieとして受信しても良い。この場合には、実行指令Ieは電源信号であっても良い。その他の幾つかの実施形態では、上述した実施形態の少なくとも1つを組み合わせても良く、モード設定などによって切り替えるように構成しても良い。例えば、モードを切り替えることで、無線通信部3を介した実行指令Ieの受信や、スイッチ75のオン操作による実行指令Ieの受信の実施形態と、端子部2と車両側コネクタ7cとの接続契機による実行指令Ieの受信の実施形態とを切り替えても良い。また、例えば、スイッチ75がオフ(OFF)の際に無線通信部3からの実行指令Ieを受信した場合や車両側コネクタ7cに接続された場合には、例えばスイッチ75のオフを優先するなど、上述した実施形態の組み合わせた場合には優先順位を設けても良い。上記の例では、スイッチ75のオフを優先することによって、外部のコンピュータ9からの実行指令Ieの誤送信による誤動作の防止や接続契機による作動(実行指令Ieの受信)の回避などを行うことができる。 The reception of the execution instruction Ie by the script instruction interpretation unit 41 described above may be performed via the above-described wireless communication unit 3 in some embodiments (see FIG. 4). That is, in response to the reception of the execution instruction Ie from the wireless communication unit 3, the script instruction interpretation unit 41 (control unit 4) starts interpretation of one or more instructions described in the script. In other embodiments, the vehicle maintenance tool 1 includes the switch 75 for starting execution, and the control unit 4 outputs a signal when the switch 75 is operated to ON. May be received as the execution command Ie described above. In the embodiment shown in FIG. 2, the switch 75 is provided on the main body side interface (not shown) (the USB connection port in FIG. 2 (b)) exposed to the outside with the protective cover 12 shown in FIG. The USB switch 76 is connected, and the switch 75 can be attached when necessary. In some other embodiments, the control unit 4 may receive, as the execution command Ie, a signal output when the terminal unit 2 is connected to the vehicle connector 7c. In this case, the execution command Ie may be a power supply signal. In some other embodiments, at least one of the above-described embodiments may be combined, and switching may be performed according to mode setting or the like. For example, by switching the mode, the embodiment of the reception of the execution command Ie via the wireless communication unit 3, the reception of the execution command Ie by the on operation of the switch 75, and the connection trigger between the terminal unit 2 and the vehicle connector 7c. And the embodiment of the reception of the execution command Ie according to the embodiment. Also, for example, when the execution command Ie from the wireless communication unit 3 is received when the switch 75 is off (OFF) or when the vehicle side connector 7c is connected, for example, priority is given to turning off the switch 75, etc. In the case of combining the embodiments described above, priorities may be provided. In the above example, priority is given to turning off the switch 75 to prevent malfunction due to erroneous transmission of the execution command Ie from the external computer 9 or to avoid operation (reception of the execution command Ie) due to connection trigger etc. it can.

 他方、スクリプト命令実行部42は、スクリプト命令解釈部41によって順次解釈された命令を順次実行することにより車両ネットワーク7nを介して、スクリプトに記述された所定の処理を実行するよう構成される。スクリプト命令実行部42は、スクリプト命令解釈部41が解釈した命令(機械語)を実行する。例えば、スクリプト命令実行部42は、スクリプト命令解釈部41からの入力に従って、端子部2および車両ネットワーク7nを介してECU8に対して命令を送信する。また、送信した命令の応答を受信し、スクリプト命令実行部42に引き渡す。そして、スクリプト命令解釈部41は、解釈した命令に対する実行結果(命令の成功、失敗)を確認し、この命令の実行結果に応じてスクリプトの次の命令を選択しつつ、スクリプトの実行を進めていく。このように、相互に接続されたスクリプト命令解釈部41およびスクリプト命令実行部42が協同して、スクリプトを実行する。 On the other hand, the script command execution unit 42 is configured to execute predetermined processing described in the script via the vehicle network 7 n by sequentially executing the commands sequentially interpreted by the script command interpretation unit 41. The script instruction execution unit 42 executes an instruction (machine language) interpreted by the script instruction interpretation unit 41. For example, the script command execution unit 42 transmits a command to the ECU 8 through the terminal unit 2 and the vehicle network 7n according to the input from the script command interpretation unit 41. Also, it receives a response of the transmitted command and delivers it to the script command execution unit 42. Then, the script instruction interpretation unit 41 confirms the execution result (success or failure of the instruction) for the interpreted instruction, advances the script execution while selecting the next instruction of the script according to the execution result of this instruction. Go. Thus, the script instruction interpretation unit 41 and the script instruction execution unit 42 connected to each other cooperate to execute the script.

 また、スクリプト命令解釈部41およびスクリプト命令実行部42は、スクリプトの実行にあたって、スクリプトに記述された命令の実行を制御する情報や共通となる内容を記述した設定ファイルを読み込むように構成しても良い。具体的には、設定ファイルには、車両ネットワーク7nを介した送信や受信のタイムアウト時間やリトライ回数、DTCを読み出す命令を実行する前の待機時間など、複数の命令に共通する内容を記述しても良い。また、例えば、設定ファイルには、イグニッションのオンやオフのチェックの実行の有無など、所望の処理(所定の処理)を実行する前に必要と判断される処理を記述しても良い。設定ファイルを利用することで、スクリプトの作成時間の短縮化を図ることが可能となる。 Further, even when the script instruction interpretation unit 41 and the script instruction execution unit 42 are configured to read information for controlling the execution of the instruction described in the script or a setting file describing common contents when executing the script. good. Specifically, the setting file describes the contents common to multiple commands such as timeout time and retry count of transmission and reception via vehicle network 7n, waiting time before executing command to read DTC, etc. Also good. Also, for example, in the setting file, processing that is determined to be necessary before execution of a desired processing (predetermined processing) may be described, such as presence or absence of execution of an ignition on / off check. By using the setting file, it is possible to shorten the script creation time.

 ハンディ式保持ケース5はハウジングであり、上述した端子部2、無線通信部3、及び制御部4を保持するよう構成される。これによって、車両用保守ツール1がハンディ式となっている。より詳細には、図1~図4に示す実施形態では、図1に示すように、ハンディ式保持ケース5は、端子部2、無線通信部3、及び制御部4を内部に収容するとともに、端子部2の少なくとも一部が外部に露出した状態で保持するように構成されており、外部に露出した端子部2により、上述した車両側コネクタ7cとの接続が容易に行えるように図っている。 The handy type holding case 5 is a housing, and is configured to hold the above-described terminal unit 2, the wireless communication unit 3, and the control unit 4. Thus, the vehicle maintenance tool 1 is of a handy type. More specifically, in the embodiment shown in FIGS. 1 to 4, as shown in FIG. 1, the handy type holding case 5 accommodates the terminal unit 2, the wireless communication unit 3, and the control unit 4 inside; The terminal portion 2 is configured to be held in a state where at least a part of the terminal portion 2 is exposed to the outside, and the terminal portion 2 exposed to the outside is designed to facilitate connection with the vehicle side connector 7c described above .

 上記の構成によれば、車両用保守ツール1はハンディ式の装置であり、車両7に常時設置されるのではなく、必要時に車両に取り付けて使用することが可能に構成される。また、車両用保守ツール1は、スクリプトの実行機能を有すると共に、実行指令Ieの受信に応じて、所望の処理(例えばソフト更新処理や通信ログ取得処理など)を記述したスクリプトを実行するように構成される。このようにハンディ式の車両用保守ツール1がスクリプトの実行機能を有することにより、車両7のコストを抑制しつつ、複数の電子制御装置8毎に特有な処理を実行する必要があるような保守要求にも柔軟に、かつ、効率良く対応することができる。また、無線を通して外部からスクリプトの実行指令Ieを受信するように構成することによって、複数台の車両7に対してスクリプトを実行する場合であっても、各車両に車両用保守ツール1をそれぞれ取り付けておくことによりソフト更新処理の実行を管理することができ、保守作業の効率性やユーザビリティなどの向上を図ることができる。 According to the above configuration, the vehicle maintenance tool 1 is a handy type device, and is not always installed in the vehicle 7, and can be attached to the vehicle when needed and used. Further, the vehicle maintenance tool 1 has a script execution function, and executes a script describing desired processing (for example, software update processing, communication log acquisition processing, etc.) in response to the reception of the execution command Ie. Configured As described above, since the handy type of vehicle maintenance tool 1 has a script execution function, maintenance that requires specific processing for each of the plurality of electronic control devices 8 while suppressing the cost of the vehicle 7 It can respond to requirements flexibly and efficiently. In addition, by configuring to receive script execution command Ie from outside via wireless, even when a script is executed for a plurality of vehicles 7, vehicle maintenance tool 1 is attached to each vehicle. By doing so, the execution of the software update process can be managed, and the efficiency of maintenance work, usability, etc. can be improved.

 幾つかの実施形態では、上述したスクリプトは、図5に示すようなソフトウェア(制御プログラム)の更新処理を、少なくとも1つの電子制御装置8(ECU)に対して実行するのに必要な命令の記述を含む。図5は、本発明の一実施形態に係る電子制御装置8のソフトウェアを更新するフローを示す図である。図5のフローに従って、スクリプトの実行により行われる、ECU8のソフトウェアの更新処理(S1~S9。以下、適宜、ソフト更新処理という。)を説明する。なお、図5の各ステップは、スクリプトに記述された命令に基づいて実行される。図5の例示は、複数種類のECU8に対してソフトウェアの更新を行うよう記述されスクリプトに対応している。 In some embodiments, the script described above describes the instructions necessary to execute the software (control program) update process as shown in FIG. 5 to at least one electronic control unit 8 (ECU). including. FIG. 5 is a diagram showing a flow of updating software of the electronic control unit 8 according to an embodiment of the present invention. The software update process (S1 to S9, hereinafter referred to as the software update process as appropriate) performed by the script execution will be described according to the flow of FIG. Each step in FIG. 5 is executed based on an instruction described in a script. The example of FIG. 5 is described to perform software update for a plurality of types of ECUs 8 and corresponds to a script.

 まず、図5のステップS1の実行前に、車両用保守ツール1を車両7の車両側コネクタ7cに接続し、両者を接続状態とする。これによって、車両用保守ツール1は、上述した実行指令Ieの受信待ちの状態になる。この状態を前提として、ステップS1において、制御部4が実行指令Ieを受信すると、スクリプトの実行を開始する。また、本実施形態では、ステップS2において、制御部4は、設定ファイル(リプロ設定ファイル)を読み込むようになっている。そして、次のステップS3において、車両全体前処理を実行する。この車両全体前処理は、ソフト更新処理の実行中に車両7のECU8が通信エラーなどを判定しないように、全てのECU8をスリープモードに移行するといった処理を含んでいても良い。 First, the vehicle maintenance tool 1 is connected to the vehicle-side connector 7c of the vehicle 7 before the execution of step S1 in FIG. By this, the maintenance tool 1 for vehicles will be in the state of waiting for reception of execution command Ie mentioned above. Assuming that in this state, in step S1, when the control unit 4 receives the execution command Ie, execution of the script is started. Further, in the present embodiment, in step S2, the control unit 4 reads a setting file (repro setting file). Then, in the next step S3, the whole vehicle pre-processing is executed. The whole vehicle pre-processing may include a process of shifting all the ECUs 8 to the sleep mode so that the ECU 8 of the vehicle 7 does not determine a communication error or the like while the software update process is being executed.

 ステップS4において、ソフトウェアを更新すべき対象(ソフト更新対象)となるECU8が車両7に搭載されているか否かを確認する。ソフト更新対象のECU8は、スクリプトにリストなどとして記述されており、スクリプトに記載された制御命令(ループなど)に従ってリストを順番に確認していく。なお、このようなリストは設定ファイルなどの他のファイルから読み込むようにしても良い。例えば、エンジン制御用ECU8がソフト更新対象のバージョンを有していればソフトウェアを更新する場合を例に説明すると、車両7が、エンジン制御用ECU8を搭載しており、かつ、その種類のECU8におけるソフト更新対象のバージョンを有しているか否かを確認し、この条件が満たされる場合にはソフト更新対象となるECU8が車両に搭載されていると判定する。より詳細には、制御部4からバージョン情報を要求する命令を、宛先をエンジン制御用ECU8にセットして送信し、その命令に対するエンジン制御用ECU8からの応答があり、かつ、その応答にあるバージョンがソフト更新対象のバージョンであれば、ソフト更新対象となるECU8が車両に搭載されていると判定する。逆に、上記の条件が満たされていない場合、エンジン制御用ECU8を搭載されていない(応答なしなど)、または、その種類のECU8におけるソフト更新対象のバージョンを有していない場合には、ソフト更新対象のECU8が車両に搭載されていないと判定する。 In step S4, it is checked whether the ECU 8 that is the target for software update (software update target) is mounted on the vehicle 7. The ECU 8 subject to software update is described as a list or the like in a script, and sequentially checks the list in accordance with control instructions (a loop or the like) described in the script. Note that such a list may be read from another file such as a setting file. For example, if the engine control ECU 8 has the software update target version and the software is updated as an example, the vehicle 7 has the engine control ECU 8 mounted thereon, and in the ECU 8 of that type It is checked whether or not the software update target version is included, and if this condition is satisfied, it is determined that the ECU 8 as the software update target is mounted on the vehicle. More specifically, a command for requesting version information from the control unit 4 is sent to the engine control ECU 8 with a destination set, and there is a response from the engine control ECU 8 to the command, and a version in the response If the version is the software update target version, it is determined that the ECU 8 as the software update target is mounted on the vehicle. Conversely, if the above conditions are not satisfied, the engine control ECU 8 is not installed (such as no response), or if the ECU 8 of that type does not have the software update target version, the software is It is determined that the ECU 8 to be updated is not mounted on the vehicle.

 そして、ステップS4において、ソフト更新対象のECU8が搭載されていると判定した場合には、ステップS5~S7において、そのECU8に対するソフトウェアの更新を実行する。なお、ステップS5~S7の詳細は後述する。また、ステップS8において、リストなどで記述された次のソフト更新対象のECU8がまだあれば、そのソフト更新対象のECU8に対してソフトウェアの更新が搭載されているか否かをステップS4に戻って行う。また、ステップS8において、リストなどの全てのソフト更新対象のECU8に対してステップS4の確認が完了していれば、ステップS9に進む。このように、本実施形態では、スクリプトに記述可能なプログラムの制御命令により、複数のECU9に対するソフトウェアへの更新が可能となっている。 When it is determined in step S4 that the software update target ECU 8 is mounted, the software update for the ECU 8 is executed in steps S5 to S7. The details of steps S5 to S7 will be described later. In step S8, if there is still the next software update target ECU 8 described in a list etc., the process returns to step S4 to determine whether software update is installed in the software update target ECU 8 or not. . In step S8, if the confirmation in step S4 has been completed for all software update target ECUs 8 such as a list, the process proceeds to step S9. As described above, in the present embodiment, updating of software for the plurality of ECUs 9 is possible by the control instruction of the program which can be described in the script.

 ステップS9において、車両全体後処理を実行する。車両全体後処理では、全てのECU8をスリープモードから通常モードへ移行するといった処理を含んでいても良い。その後、車両用保守ツール1を車両7(車両側コネクタ7c)から取り外すことにより、保守作業が完了する。 In step S9, the entire vehicle post-processing is performed. In the entire vehicle post-processing, processing may be included to shift all the ECUs 8 from the sleep mode to the normal mode. Thereafter, the maintenance work is completed by removing the vehicle maintenance tool 1 from the vehicle 7 (vehicle side connector 7c).

 上記の構成によれば、スクリプトを実行することにより、1以上の電子制御装置8(ECU)のソフトウェアの更新を容易に行うことができる。 According to the above configuration, the software of one or more electronic control units 8 (ECUs) can be easily updated by executing the script.

 また、幾つかの実施形態では、図5のステップS5、S7に示すように、上述したスクリプトは、複数の電子制御装置8毎に特有な命令の記述を含む。より詳細には、ステップS4によってソフト更新対象のECU8が車両7に搭載されていると判定されると、ステップS5において、そのECU8に特有な前処理(対象ECU特有前処理)を実行する。具体的には、制御部4は、そのソフト更新対象のECU8の故障コード(DTC)を読み出すための命令を実行し、故障コードを確認する。そして、故障コードで故障がないことを確認した後、次のステップS6において、ソフトウェアの更新(更新メイン処理)を実行する。具体的には更新データUで既存のソフトウェアを書き換える処理を実行する。逆に、ステップS5において、故障コードで故障があることが確認された場合には、そのECU8に対するソフトウェアの更新を中止すると共に、ステップS8にジャンプしたり、あるいは、ステップS9にジャンプすることによりスクリプトの実行自体を中止したりするなど、故障に応じた処理を行っても良い。 Also, in some embodiments, as described in steps S5 and S7 of FIG. 5, the script described above includes a description of instructions specific to each of the plurality of electronic control devices 8. More specifically, when it is determined in step S4 that the ECU 8 subject to software update is mounted on the vehicle 7, in step S5, a preprocessing specific to that ECU 8 (target ECU specific preprocessing) is executed. Specifically, the control unit 4 executes an instruction for reading out the failure code (DTC) of the software update target ECU 8 and confirms the failure code. Then, after confirming that there is no failure in the failure code, software update (update main processing) is executed in the next step S6. Specifically, the process of rewriting the existing software with the update data U is executed. Conversely, when it is confirmed in step S5 that there is a failure in the failure code, the update of the software for that ECU 8 is stopped, and the script is jumped to step S8 or a script by jumping to step S9. Processing may be performed according to the failure, such as stopping the execution of itself.

 そして、ステップS6における更新メイン処理が完了した後、ステップS7において、そのECU8に特有な後処理(対象ECU特有後処理)を実行する。具体的には、制御部4は、そのECU8の故障コードを消去する命令を実行すると共に、所定時間経過後に故障コードを再度読み出す命令を実行し、故障コードがないことを確認する。この際、故障コードを消去したにもかかわらず、故障コードで故障が示される場合には、前処理の場合と同様に、故障コードで故障があることが確認された場合には、ステップS8や、ステップS9にジャンプするなど、故障に応じた処理を行っても良い。 Then, after the update main process in step S6 is completed, in step S7, a post-process (post-process specific to the target ECU) specific to the ECU 8 is executed. Specifically, the control unit 4 executes an instruction to erase the failure code of the ECU 8 and also executes an instruction to read the failure code again after a predetermined time has elapsed, and confirms that there is no failure code. At this time, even if the fault code is erased, if a fault is indicated by the fault code, as in the case of the pre-processing, if it is confirmed that there is a fault by the fault code, step S8 or , Or jump to step S9, etc. may be performed according to the failure.

 上記の構成によれば、ソフト更新処理のためのスクリプトは、図5のステップS5やS7のような、少なくとも1つの電子制御装置8毎に特有な命令を含む。したがって、車両7のエンジン制御用ECU81、ブレーキ制御用ECU82などの複数種類の電子制御装置8の各々に特有な処理をスクリプトに記述することによって、ソフトウェアの更新処理を適切に、かつ、容易に実行することができる。例えば、予めコンパイルされるプログラムに対して、ECU8毎の特有処理をそれぞれ実装するのは労力がかかるが、柔軟に記述可能なスクリプトによれば、そのようなECU8の特有処理を比較的容易に実装することができる。 According to the above configuration, the script for the software update process includes an instruction unique to each of at least one electronic control unit 8, such as steps S5 and S7 of FIG. Therefore, software update processing can be executed appropriately and easily by describing in the script the processing specific to each of a plurality of types of electronic control devices 8 such as the engine control ECU 81 and the brake control ECU 82 of the vehicle 7 can do. For example, although it is laborious to implement specific processing for each ECU 8 for a program to be compiled beforehand, according to a script that can be flexibly described, such specific processing of the ECU 8 is implemented relatively easily. can do.

 また、幾つかの実施形態では、上述したECU8のソフトウェアの更新データUは、上述した着脱可能記憶媒体61に記憶されていても良い。すなわち、幾つかの実施形態では、車両用保守ツール1は、ハンディ式保持ケース5に対して着脱可能に接続される着脱可能記憶媒体61であって、制御部4による読み取りが少なくとも可能な着脱可能記憶媒体61を、さらに備える。そして、着脱可能記憶媒体61には、スクリプトの実行によるソフトウェアの更新のための更新データUが記憶される。 Moreover, in some embodiments, the update data U of the software of the ECU 8 described above may be stored in the removable storage medium 61 described above. That is, in some embodiments, the vehicle maintenance tool 1 is a removable storage medium 61 that is detachably connected to the handy type holding case 5 and is removable so that the control unit 4 can at least read. The storage medium 61 is further provided. The removable storage medium 61 stores update data U for updating software by executing a script.

 更新データUは、スクリプトや実行指令Ieに比較してデータサイズが非常に大きい。よって、ECU8のソフトウェアの更新に際して、更新データUが予め記憶された着脱可能記憶媒体61を車両用保守ツール1に取り付けるようにすれば、例えば、外部のコンピュータ9から無線により実行指令Ieを受信するような場合であっても、無線の通信状態によるソフトウェアの更新の完了までに要する時間(外部のコンピュータ9からの実行指令Ieの送信からスクリプトの実行完了までに要する時間)への影響を抑制することができ、スクリプトの実行を短時間で完了することができる。 The update data U has a very large data size compared to the script and the execution command Ie. Therefore, when the removable storage medium 61 in which the update data U is stored in advance is attached to the maintenance tool 1 for vehicle when updating software of the ECU 8, for example, the execution command Ie is received wirelessly from the external computer 9. Even in such a case, the influence on the time required to complete the software update due to the wireless communication state (the time required from the transmission of the execution command Ie from the external computer 9 to the completion of the script execution) is suppressed You can complete the script execution in a short time.

 また、幾つかの実施形態では、上述したスクリプトは、図6示すような、車両ネットワーク7nを伝送される伝送データTを収集するのに必要な命令の記述を含んでいても良い。図6は、本発明の一実施形態に係る車両ネットワーク7nを流れる伝送データTを取得するフローを示す図である。図6のフローに従って、スクリプトの実行により行われる通信ログ取得処理(S11~S16)を説明する。図6の各ステップは、スクリプトに記述された命令に基づいて実行される。なお、伝送データTは通信の単位を意味しており、CANであればフレームに相当する。よって、伝送データTには、ECU8間で通信する通信データが含まれるが、伝送データTを収集あるいは取得するとは、伝送データTの全てでなくても良く、伝送データTに含まれる通信データなど所望のフィールドの情報のみを収集あるいは取得することも含むものとする。 Also, in some embodiments, the script described above may include a description of the instructions necessary to collect the transmitted data T transmitted over the vehicle network 7n, as shown in FIG. FIG. 6 is a diagram showing a flow of acquiring transmission data T flowing through the vehicle network 7n according to an embodiment of the present invention. Communication log acquisition processing (S11 to S16) performed by execution of a script will be described according to the flow of FIG. Each step of FIG. 6 is executed based on an instruction described in a script. The transmission data T means a unit of communication, and in the case of CAN, it corresponds to a frame. Therefore, although the transmission data T includes communication data communicated between the ECUs 8, collecting or acquiring the transmission data T may not be all of the transmission data T, and communication data etc. included in the transmission data T It also includes collecting or acquiring only the information of the desired field.

 まず、図6のステップS11の実行前に、車両用保守ツール1を車両7の車両側コネクタ7cに接続し、両者を接続状態とする。これによって、車両用保守ツール1は、上述した実行指令Ieの受信待ちの状態になる。この状態を前提として、ステップS11において、制御部4が実行指令Ieを受信すると、スクリプトの実行を開始する。また、本実施形態では、ステップS12において、制御部4は、設定ファイル(伝送データ収集設定ファイル)を読み込む。そして、次のステップS13において、伝送データ収集開始指示の受信待ちを行う。この開始指示は、上述した無線通信部3を介して受信しても良いし、既に述べた開始用のスイッチ75がオンに操作されることで出力される信号を上記の伝送データ収集開始指示として受信するよう構成しても良い。 First, the vehicle maintenance tool 1 is connected to the vehicle-side connector 7c of the vehicle 7 before the execution of step S11 in FIG. By this, the maintenance tool 1 for vehicles will be in the state of waiting for reception of execution command Ie mentioned above. Assuming that in this state, in step S11, when the control unit 4 receives the execution command Ie, the execution of the script is started. Further, in the present embodiment, in step S12, the control unit 4 reads a setting file (transmission data collection setting file). Then, in the next step S13, the process waits for reception of a transmission data collection start instruction. The start instruction may be received through the above-described wireless communication unit 3 or a signal output when the start switch 75 described above is turned on is used as the transmission data collection start instruction. It may be configured to receive.

 そして、ステップS13において、伝送データ収集開始指示を受信すると、ステップS14において伝送データTの収集を実行する。具体的には、車両用保守ツール1は、端子部2を介して、車両ネットワーク7nを流れる伝送データTのキャプチャ(取得)を開始する。キャプチャされた伝送データTは通信ログとして記憶するが、書き込みも可能な着脱可能記憶媒体61に記憶されても良い。また、ステップS14における伝送データTの収集の命令において、所望のECU8を指定することによって、そのECU8に関連する伝送データTのみフィルタして、記憶するようにしても良い。そして、ステップS14による伝送データTのキャプチャは、終了指示を受信するまで実行される(ステップS15)。この終了指示も、上述した無線通信部3を介して受信しても良いし、既に述べた開始用のスイッチ75がオフに操作されることで出力される信号を上記の終了指示として受信するよう構成しても良い。そして、ステップS15において終了指示を受信すると、ステップS16において、伝送データTのキャプチャ(取得)を終了する。その後、車両用保守ツール1を車両7(車両側コネクタ7c)から取り外すことにより、保守作業が完了する。 Then, when the transmission data collection start instruction is received in step S13, the transmission data T is collected in step S14. Specifically, the vehicle maintenance tool 1 starts capturing (acquiring) transmission data T flowing through the vehicle network 7 n through the terminal unit 2. The captured transmission data T is stored as a communication log, but may be stored in the writable removable storage medium 61. Further, by designating a desired ECU 8 in the command for collecting transmission data T in step S14, only the transmission data T related to that ECU 8 may be filtered and stored. Then, capture of the transmission data T in step S14 is executed until an end instruction is received (step S15). This termination instruction may also be received through the above-described wireless communication unit 3 or, as the above-mentioned termination instruction, the signal output when the above-described start switch 75 is turned off is received. You may configure. When the end instruction is received in step S15, the capture (acquisition) of the transmission data T is ended in step S16. Thereafter, the maintenance work is completed by removing the vehicle maintenance tool 1 from the vehicle 7 (vehicle side connector 7c).

 上記の構成によれば、スクリプトを実行することにより、車両ネットワーク7nを流れる伝送データTを収集することができ、少なくとも1つの電子制御装置8が車両ネットワーク7nを介して行う通信ログの取得を容易に行うことができる。 According to the above configuration, by executing the script, it is possible to collect the transmission data T flowing through the vehicle network 7n, and it is easy to obtain the communication log that the at least one electronic control unit 8 performs via the vehicle network 7n Can be done.

 以下、車両用保守ツール1のその他の構成について説明する。
 幾つかの実施形態では、図1~図4に示すように、車両用保守ツール1は、英数字による表示が可能な表示部62を、さらに備えていても良い。図1~図4に示す実施形態では、表示部62は、LCD(Liquid Crystal Display)を含んでいると共に、ハンディ式保持ケース5の上面にLCDを設けることで、外部から視認可能となっている。また、LCDには、例えば2行で表示しても良く、n文字×m行(n≧1、m≧1)で表示可能となっている。
Hereinafter, other configurations of the vehicle maintenance tool 1 will be described.
In some embodiments, as shown in FIGS. 1-4, the vehicle maintenance tool 1 may further include a display 62 capable of alphanumeric display. In the embodiment shown in FIGS. 1 to 4, the display unit 62 includes an LCD (Liquid Crystal Display), and is provided with an LCD on the upper surface of the handy type holding case 5 so as to be visible from outside. . Further, on the LCD, for example, two lines may be displayed, and n characters × m lines (n ≧ 1, m ≧ 1) can be displayed.

 また、表示部62への表示は、スクリプトに記述した命令に基づいて実行される。例えば、スクリプトには、ソフトウェアの更新処理の開始をREPRO GOなどと表示し(図2(a)参照)、何らかのエラーが発生した場合には、REPRO ERRx(xは、エラーの数字などによる識別番号)を表示するように命令が記述されている。他方、通信ログ取得処理では、伝送データTのキャプチャの実行中にLOG RUNと表示するようになっている。このように、例えば、スクリプトに記述された処理の開始、完了、終了状態などを表示部に表示することで、車両用保守ツールの使用者にスクリプトの実行状況を知らせることができ、ユーザビリティを向上させることができる。 Further, the display on the display unit 62 is executed based on the command described in the script. For example, in the script, the start of the software update process is displayed as REPRO GO etc. (see Fig. 2 (a)), and if an error occurs, REPRO ERRx (x is an identification number based on the error number etc.) An instruction is described to display the). On the other hand, in the communication log acquisition process, LOG RUN is displayed during execution of capture of transmission data T. Thus, for example, by displaying the start, completion, end status, etc. of the process described in the script on the display unit, the user of the vehicle maintenance tool can be notified of the execution status of the script, improving usability. It can be done.

 また、幾つかの実施形態では、図1~図4に示すように、車両用保守ツール1は、LEDなどの発光部63をさらに備えていても良い。この発光部63は、表示部62と共に、または、表示部62に代えて、車両用保守ツール1に設けられても良い。図1~図4に示す実施形態では、車両用保守ツール1の上面に設けられた2つのLED(赤と青などの異なる色)を含んでいる。そして、スクリプトに記述された命令に従って、点灯すするLEDや発光の仕方を変えることで、車両用保守ツール1の現在の状態を示すことが可能になっている。例えば、発光部63により、車両ネットワーク7nとの間で通信を行っていることを示したり、スクリプトに記述された処理の正常終了、異常終了などを示したりするなどが可能とになっている。 In some embodiments, as shown in FIGS. 1 to 4, the vehicle maintenance tool 1 may further include a light emitting unit 63 such as an LED. The light emitting unit 63 may be provided to the vehicle maintenance tool 1 together with the display unit 62 or in place of the display unit 62. The embodiment shown in FIGS. 1 to 4 includes two LEDs (different colors such as red and blue) provided on the top surface of the vehicle maintenance tool 1. Then, according to the command described in the script, it is possible to indicate the current state of the maintenance tool 1 for a vehicle by changing the method of lighting the LED and the light emission. For example, the light emitting unit 63 can indicate that communication with the vehicle network 7 n is being performed, or indicate normal termination or abnormal termination of the process described in the script.

 本発明は上述した実施形態に限定されることはなく、上述した実施形態に変形を加えた形態や、これらの形態を適宜組み合わせた形態も含む。 The present invention is not limited to the above-described embodiments, and includes the embodiments in which the above-described embodiments are modified, and the embodiments in which these embodiments are appropriately combined.

1   車両用保守ツール
12  保護カバー
2   端子部
3   無線通信部
4   制御部
41  スクリプト命令解釈部
42  スクリプト命令実行部
5   ハンディ式保持ケース
61  着脱可能記憶媒体
62  表示部
63  発光部
64  コンバータ
7   車両
7b  バッテリ
7c  車両側コネクタ
7n  車両ネットワーク
7s  車室
71  ダッシュボード
72  ツール設置部
74  フロアパル
75  スイッチ
76  USBスイッチ
77  USBスイッチの外部接続用インタフェース
8   電子制御装置(ECU)
9   コンピュータ
93  延長ケーブル
U   更新データ
T   伝送データ
Ie  実行指令
DESCRIPTION OF SYMBOLS 1 Vehicle maintenance tool 12 Protective cover 2 Terminal 3 Wireless communication unit 4 Control unit 41 Script command interpretation unit 42 Script command execution unit 5 Handy type holding case 61 Removable storage medium 62 Display unit 63 Light emitting unit 64 Converter 7 Vehicle 7 b Battery 7c Vehicle side connector 7n Vehicle network 7s Car room 71 Dashboard 72 Tool installation part 74 Floor pull 75 Switch 76 USB switch 77 Interface for external connection of USB switch 8 Electronic control unit (ECU)
9 Computer 93 Extension Cable U Update Data T Transmission Data Ie Execution Command

Claims (9)

 車両に搭載される複数の電子制御装置が接続された車両ネットワークに接続される車両用保守ツールであって、
 前記車両ネットワークに接続された状態で前記車両に搭載されている車両側コネクタに対して着脱可能な端子部と、
 前記端子部に接続された制御部であって、実行指令の受信に応じて、所定の処理を実行するためのスクリプトに記述された1以上の命令を順次解釈するスクリプト命令解釈部、及び前記スクリプト命令解釈部によって解釈された前記命令を順次実行することにより前記車両ネットワークを介して前記所定の処理を実行するスクリプト命令実行部を、有する制御部と、
 前記端子部、及び前記制御部を保持するハンディ式保持ケースと、を備えることを特徴とする車両用保守ツール。
A maintenance tool for a vehicle connected to a vehicle network to which a plurality of electronic control devices mounted on the vehicle are connected,
A terminal portion that is detachable from a vehicle-side connector mounted on the vehicle in a state of being connected to the vehicle network;
A script command interpretation unit which is a control unit connected to the terminal unit and sequentially interprets one or more commands described in a script for executing a predetermined process in response to reception of an execution command; A control unit having a script instruction execution unit that executes the predetermined processing via the vehicle network by sequentially executing the instructions interpreted by the instruction interpretation unit;
A maintenance tool for a vehicle comprising: the terminal unit; and a handy type holding case for holding the control unit.
 前記スクリプトは、少なくとも1つの前記電子制御装置に対してソフトウェアの更新処理を実行するのに必要な前記命令の記述を含むことを特徴とする請求項1に記載の車両用保守ツール。 The vehicle maintenance tool according to claim 1, wherein the script includes a description of the instruction necessary to execute a software update process for at least one of the electronic control devices.  前記スクリプトは、前記ソフトウェアの更新処理における前記複数の電子制御装置毎に特有な前記命令の記述と、更新対象となる既存のソフトウェアを更新データで書き換える更新メイン処理を行うプログラムを実行するための前記命令の記述と、を含み、
 前記複数の電子制御装置毎に特有な前記命令の記述は、前記電子制御装置から故障コードを読み出すための命令、または、前記電子制御装置の故障コードを消去するための命令の少なくとも一方を含むことを特徴とする請求項2に記載の車両用保守ツール。
The script is for executing a program that performs an update main process that rewrites the existing software to be updated with update data, and the description of the instruction specific to each of the plurality of electronic control devices in the software update process. And a description of the instruction,
The description of the instruction specific to each of the plurality of electronic control devices includes at least one of an instruction for reading a failure code from the electronic control device, and an instruction for erasing a failure code of the electronic control device. The maintenance tool for a vehicle according to claim 2, characterized in that.
 前記スクリプトは、前記複数の電子制御装置毎に特有な前記命令の記述を含むことを特徴とする請求項2に記載の車両用保守ツール。 The vehicle maintenance tool according to claim 2, wherein the script includes a description of the instruction specific to each of the plurality of electronic control devices.  前記ハンディ式保持ケースに対して着脱可能に接続される着脱可能記憶媒体であって、前記制御部による読み取りが少なくとも可能な着脱可能記憶媒体を、さらに備え、
 前記着脱可能記憶媒体には、前記スクリプトの実行による前記ソフトウェアの更新のための更新データが記憶されることを特徴とする請求項2~4のいずれか1項に記載の車両用保守ツール。
The removable storage medium detachably connected to the handy type holding case, the removable storage medium being at least readable by the control unit,
The maintenance tool for a vehicle according to any one of claims 2 to 4, wherein update data for updating the software by execution of the script is stored in the removable storage medium.
 前記スクリプトは、前記車両ネットワークを伝送される伝送データを収集するのに必要な前記命令の記述を含むことを特徴とする請求項1~5のいずれか1項に記載の車両用保守ツール。 Vehicle maintenance tool according to any of the preceding claims, wherein the script comprises a description of the instructions necessary to collect transmission data transmitted over the vehicle network.  無線を介して外部から前記実行指令を受信する無線通信部を、さらに備え、
 前記制御部は、前記端子部及び前記無線通信部にそれぞれ接続されており、
 前記ハンディ式保持ケースは、前記端子部、前記無線通信部、及び前記制御部を保持するように構成されており、
 前記スクリプト命令解釈部は、前記無線通信部からの前記実行指令の受信に応じて、前記スクリプトに記述された前記1以上の命令の解釈を開始することを特徴とする請求項1~6のいずれか1項に記載の車両用保守ツール。
It further comprises a wireless communication unit that receives the execution command from the outside via wireless,
The control unit is connected to the terminal unit and the wireless communication unit, respectively.
The handy type holding case is configured to hold the terminal unit, the wireless communication unit, and the control unit.
The script instruction interpretation unit starts interpretation of the one or more instructions described in the script in response to the reception of the execution instruction from the wireless communication unit. A vehicle maintenance tool according to any one of the preceding claims.
 英数字による表示が可能な表示部を、さらに備えることを特徴とする請求項1~7のいずれか1項に記載の車両用保守ツール。 The vehicle maintenance tool according to any one of claims 1 to 7, further comprising a display unit capable of alphanumeric display.  前記車両側コネクタは、前記車両の車室に露出することが可能な位置に設けられていることを特徴とする請求項1~8のいずれか1項に記載の車両用保守ツール。 The vehicle maintenance tool according to any one of claims 1 to 8, wherein the vehicle-side connector is provided at a position where it can be exposed to a compartment of the vehicle.
PCT/JP2018/027278 2017-08-08 2018-07-20 Maintenance tool for vehicles Ceased WO2019031197A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-153389 2017-08-08
JP2017153389A JP6323968B1 (en) 2017-08-08 2017-08-08 Vehicle maintenance tools

Publications (1)

Publication Number Publication Date
WO2019031197A1 true WO2019031197A1 (en) 2019-02-14

Family

ID=62143859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/027278 Ceased WO2019031197A1 (en) 2017-08-08 2018-07-20 Maintenance tool for vehicles

Country Status (2)

Country Link
JP (1) JP6323968B1 (en)
WO (1) WO2019031197A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7428015B2 (en) * 2020-03-04 2024-02-06 住友電気工業株式会社 Pluggable optical module, pluggable optical module maintenance method, and pluggable optical module maintenance device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007052518A (en) * 2005-08-16 2007-03-01 Sony Corp Information processing apparatus and method, and program
JP2013141947A (en) * 2012-01-12 2013-07-22 Denso Corp Gateway device and vehicle communication system
JP2014517378A (en) * 2011-04-30 2014-07-17 ダイムラー・アクチェンゲゼルシャフト System for diagnosing components in a vehicle
JP2015037899A (en) * 2012-12-04 2015-02-26 バブ日立工業株式会社 Vehicle program rewrite device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002257688A (en) * 2001-02-27 2002-09-11 Fuji Heavy Ind Ltd Vehicle inspection method and vehicle inspection device
JP2008285075A (en) * 2007-05-18 2008-11-27 Toyota Motor Corp Vehicle and method for diagnosing fault of vehicle
JP5884716B2 (en) * 2012-12-11 2016-03-15 トヨタ自動車株式会社 In-vehicle system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007052518A (en) * 2005-08-16 2007-03-01 Sony Corp Information processing apparatus and method, and program
JP2014517378A (en) * 2011-04-30 2014-07-17 ダイムラー・アクチェンゲゼルシャフト System for diagnosing components in a vehicle
JP2013141947A (en) * 2012-01-12 2013-07-22 Denso Corp Gateway device and vehicle communication system
JP2015037899A (en) * 2012-12-04 2015-02-26 バブ日立工業株式会社 Vehicle program rewrite device

Also Published As

Publication number Publication date
JP6323968B1 (en) 2018-05-16
JP2019031191A (en) 2019-02-28

Similar Documents

Publication Publication Date Title
JP6397993B2 (en) Personal vehicle diagnostic system and method based on smart mobile terminal
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
US7430465B2 (en) Open-ended PC host interface for vehicle data recorder
US20210117177A1 (en) On-board update device, update process method, and update process program
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
US9911251B2 (en) Vehicle diagnostic system and method
CN103493007A (en) Remote vehicle programming system and method
US20240092276A1 (en) Aftermarket head unit interface and protocol converter cartridge
CN112470118A (en) Vehicle electronic control system, program update consent determination method, and program update consent determination program
CN105320520B (en) Method for integrating data functions in a motion control system for a vehicle
US20130218371A1 (en) Device and method for managing an electronic control unit of a vehicle
DE102016105065A1 (en) Method and device for testing hardware and software in a vehicle
WO2019192343A1 (en) Vehicle diagnosis method, related device and system
CN104731082A (en) Interface conversion device and on-board diagnosis system
CN108370332A (en) Interoperability test equipment for vehicle-mounted information entertainment system
CN101310309B (en) Vehicle operator identification and computer login
CN106465452B (en) Method, apparatus and system for building and operating a wireless network
JP2013182421A (en) Vehicle information recording device, vehicle information recording system and program
EP2892032B1 (en) System and method of interlocking vehicle terminal with portable terminal
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN110758280B (en) Vehicle electronic control unit function setting method and related device
CN111061237B (en) Vehicle identification code flashing method and vehicle identification code flashing system
WO2019031197A1 (en) Maintenance tool for vehicles
CN110336962B (en) Signal processing method, adapter plate, HUD device and storage medium
CN115344030B (en) Automobile fault diagnosis system and method

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: 18845238

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18845238

Country of ref document: EP

Kind code of ref document: A1