Distributed system and diagnostic method
The distributed system offloads diagnostic processing from in-vehicle devices to a cloud server, enhancing diagnosis quality and reducing device load by using a separate diagnostic controller.
Patent Information
- Application Number
- JP2021047876
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-22
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-03-22
AI Technical Summary
Existing vehicle diagnostic systems burden the diagnostic device with both data acquisition and diagnosis processing, potentially affecting the quality and efficiency of the diagnosis.
A distributed system with a diagnostic controller separate from the in-edge controller, which manages diagnostic sequences and data acquisition, reducing the load on the in-vehicle device by offloading processing to a diagnostic data computer and cloud server.
Improves the quality of vehicle diagnosis and reduces the processing load on in-vehicle devices by distributing diagnostic tasks across a cloud server and edge system.
Smart Images

Figure 0007564033000001 
Figure 0007564033000002 
Figure 0007564033000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for diagnosing edge systems such as vehicles. [Background technology]
[0002] Patent Document 1 discloses a system for diagnosing a vehicle, which is an edge system. The system includes a server and a diagnostic device mounted on the vehicle, and transmits a diagnostic script from the server to the vehicle, and the diagnostic device in the vehicle executes diagnosis according to the diagnostic script upon receiving the diagnostic script. The diagnostic script is generated by a script generating device. The script generating device creates a platform-independent script. The script is preferably a combination of an OTX script and an ODX-control device-diagnostic data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Special Publication No. 2014-517378 Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, no consideration is given to improving the quality of the diagnosis itself by the diagnostic script. In addition, in the method of Patent Document 1, the diagnostic device mounted on the vehicle is connected to a sensor and is also responsible for processing to acquire sensor data measured by the sensor. Therefore, the diagnostic device is burdened with both the processing to acquire sensor data measured by the sensor and the processing to execute diagnosis according to the diagnostic script. If a large load is placed on the diagnostic device, there is a possibility that one or both of these processings will be affected.
[0005] An object of the present disclosure is to provide a technique that enables improvement in the quality of diagnosis and reduces the load on an in-vehicle device. [Means for solving the problem]
[0006] A distributed system according to one aspect of the present disclosure is a distributed system having an edge system which is a mobile body or equipment capable of operating automatically, and a diagnostic data calculator capable of communicating with the edge system, wherein the edge system has a mechanical unit for operation, an intra-edge controller which controls the mechanical unit, and a diagnostic controller which can communicate with the intra-edge controller via an in-vehicle network, wherein the diagnostic controller: acquires diagnostic data according to a first diagnostic sequence set indicating a procedure for diagnosing the intra-edge controller by one or more diagnostic sequences which specify the type and timing of information to be acquired as diagnostic data indicating an internal state of the intra-edge controller, and transmits the acquired diagnostic data to the diagnostic data calculator, wherein the diagnostic data calculator: determines the type and timing of information to be acquired as diagnostic data from the intra-edge controller based on the received diagnostic data, and transmits a diagnostic update notification to the diagnostic controller to update to a second diagnostic sequence set including a diagnostic sequence which specifies the determined type and timing of information, and wherein the diagnostic controller: updates from the first diagnostic sequence set to the second diagnostic sequence set, acquires diagnostic data according to the second diagnostic sequence set, and transmits the acquired diagnostic data to the diagnostic data calculator. Effect of the Invention
[0007] According to one aspect of the present disclosure, it is possible to improve the quality of diagnosis and reduce the load on an in-vehicle device. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a block diagram of a distributed system according to a first embodiment. [Diagram 2]FIG. 4 is a diagram showing a data configuration of a sequence memory in the first embodiment. [Diagram 3] FIG. 11 is a sequence diagram showing a process flow for updating a diagnostic sequence set in the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a hardware configuration of a computer 400 that constitutes a server. [Diagram 5] FIG. 11 is a block diagram of a distributed system according to a second embodiment. [Figure 6] FIG. 11 is a diagram showing a data configuration of a sequence memory in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] In the following embodiments, for convenience, when necessary, the description will be divided into multiple sections or embodiments, but unless otherwise expressly stated, they are not unrelated to each other and one is a partial or complete variation, detail, supplementary explanation, etc. of the other.
[0010] In addition, in the following embodiments, when referring to the number of elements (including the number, numerical value, amount, range, etc.), unless specifically stated or clearly limited to a specific number in principle, the number is not limited to that specific number and may be more than or less than the specific number.
[0011] Furthermore, it goes without saying that in the following embodiments, the components (including element steps, etc.) are not necessarily essential unless specifically stated otherwise or unless they are clearly considered essential in principle.
[0012] Similarly, in the following embodiments, when referring to the shapes, positional relationships, etc. of components, etc., unless otherwise specified or considered to be obviously different in principle, it includes those that are substantially similar or similar to the shapes, etc. The same applies to the above numerical values and ranges.
[0013] In addition, in all the drawings for explaining the embodiments, the same members are generally given the same reference numerals, and repeated explanations thereof will be omitted.
[0014] In the following, for the sake of simplicity, an example will be given in which the various servers are realized by a cloud server; however, some or all of the various servers may be realized by a computer. Examples will be described below. EXAMPLES
[0015] <System configuration>
[0016] FIG. 1 is a block diagram of a distributed system according to a first embodiment.
[0017] The distributed system 1000 includes a manufacturer server 101, a diagnostic cloud server 104, and an edge system 108.
[0018] The edge system 108 is a mobile object or facility that can operate automatically, and is a device that is a target for diagnosis by the distributed system 1000. Details of the edge system 108 will be described later.
[0019] The diagnostic cloud server 104 is a server constructed on a cloud and capable of communicating with the edge system 108 via the communication network 121, and is a diagnostic data computer that collects diagnostic data of the edge system 108. The diagnostic cloud server 104 will be described in detail later.
[0020] The manufacturer server 101 is a computer owned by a company that designs or manufactures the edge system 108, and can cooperate with the diagnostic cloud server 104 through communication. The manufacturer server 101 will be described in detail later. <Edge system>
[0021] The edge system 108 may be, for example, a mobile object capable of automatic operation (e.g., a vehicle, a drone, a robot) or equipment (e.g., a robot arm, a machine tool, a numerically controlled lathe, etc.). Note that automatic driving is an example of "automatic operation". The edge system 108 is not limited to devices manufactured by the same company, but includes devices of multiple generations and types. Furthermore, it is not limited to either a mobile object or equipment, but may be both.
[0022] The edge system 108 has a mechanism unit 122 which is a moving mechanism (in the case of a moving body, for example, an engine or a motor) or an operating mechanism (in the case of equipment, for example, a motor or a hydraulic actuator). Here, "operation" means at least "performing a certain operation, causing the equipment to change its state in accordance with the operation command (JIS B 0132 compliant)." In the following explanation, for the sake of simplicity, the edge system 108 will be explained as a moving body.
[0023] Therefore, if the mechanical unit 122 is a moving mechanism, it may be, for example, a force transmission structure such as a wheel, shaft, belt, or gear, or a component that generates or suppresses force such as a motor, hydraulic actuator, brake, or motor, but it may also be other mechanisms.
[0024] The edge system 108 also has a communication control unit 109, a data communication network 110, a sensor unit 111, a recognition calculation unit 112, a diagnosis control unit 113, and an actuator control unit 115.
[0025] The communication control unit 109 is a communication device that is connected to a data communication network 110 in the edge system 108 and is connectable to a communication network 121, and enables devices in the edge system 108 to communicate with external devices. The communication with the external devices by the communication control unit 109 is typically realized by a wireless communication module (e.g., a Wi-Fi (registered trademark) module or a 5G communication module), but each component of the edge system 108 does not necessarily have to have a wireless communication module. Instead, the edge system 108 may include a gateway device (e.g., an ECU, a smartphone, a wireless router) having a wireless communication module, and communication processing with the outside may be consolidated in the gateway device.
[0026] The data communication network 110 is connected to the recognition calculation unit 112, the actuator control unit 115, and the diagnosis control unit 113 within the edge system 108, and is an in-vehicle network that transmits data within the edge system 108.
[0027] The sensor unit 111 is a sensor that measures various data such as speed, temperature, and current position, and outputs the data as an electric signal. Examples of the sensor unit 111 include devices such as a GPS, a fuel system, a speedometer, a tachometer (for a motor, an engine, and a wheel), a rangefinder (for example, a rangefinder using LiDAR (Light Detection And Ranging) or ultrasonic waves), a position or displacement sensor, and an angle detection sensor.
[0028] The recognition calculation unit 112 and the actuator control unit 115 are in-edge controllers. The recognition calculation unit 112 recognizes an electric signal output from the sensor unit 111 and converts it into status information. The actuator control unit 115 controls actuators (not shown) arranged in each part of the edge system 108 including the mechanism unit 122 based on the status information acquired by the recognition calculation unit 112. When the in-edge controller operates, the status of the hardware constituting the edge system 108 including the mechanism unit 122 and the sensor unit 111 is stored as the internal status of the in-edge controller. Examples of in-edge controllers include an ECU (Electronic Control Unit) of a vehicle, a drone controller, a PLC (Programmable Logic Controller) in the industrial field, and an NC controller of a machine tool.
[0029] When the edge system 108 is a vehicle and the in-edge controller is an ECU, the edge system 108 may include multiple in-edge controllers, and each in-edge controller may be assigned a different role (lane keeping, vehicle distance control, engine speed control, communication control with the outside of the edge device 12). Also, multiple roles may be assigned to a common in-edge controller. Note that in the automotive industry, such roles are sometimes called "functions" or "system functions." Also, such a method of assigning roles may be applied to cases where the in-edge controller is not an ECU.
[0030] The hardware that makes up the edge controller may include, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an ASIC (Application Specific Integrated Circuit) for data processing, a bus, and sensors, but not all of these are necessarily required.
[0031] The in-edge controller is realized by executing a software program (hereinafter, sometimes referred to as a control program) by the hardware constituting the in-edge controller. In the case of an in-edge controller having a role of maintaining speed, the control program is a program that executes a process of transmitting an instruction to open / close the engine throttle and an instruction to accelerate / decelerate the motor while comparing the speed (one of the sensor data) measured by a speedometer, which is one of the sensor units 111, with a designated speed. The control program may be installed, updated, or parameters may be updated by the data received by the in-edge controller.
[0032] The edge controller is responsible for at least a part of the processing for realizing the automatic operation of the edge system 108, and therefore the hardware and / or software tends to become more complex. For example, examples of the complexity of the hardware include a GPU, a field-programmable gate array (FPGA), a processor dedicated to neural networks, and other hardware that accelerates machine learning in order to introduce machine learning processing and processing for recognizing and determining data input from various sensors and cameras in real time.
[0033] The diagnosis control unit 113 is a diagnosis controller that controls the diagnosis of the edge system 108. The diagnosis controller has physical resources such as a processor and a memory configured separately and independently from the intra-edge controller. By adopting this configuration, the processing load of the intra-edge controller is reduced.
[0034] The diagnosis control unit 113, which is a diagnosis controller, and the recognition calculation unit 112 and the actuator control unit 115, which are in-edge controllers, are connected to a data communication network 110 and communicate with each other via the data communication network 110. In addition, when the edge system 108 is a vehicle, it is considered possible to connect an OBD2 (On Board Diagnosis 2nd generation) diagnostic device (hereinafter also referred to as an "OBD2 diagnostic device") to the data communication network 110, which is an in-vehicle network, via a connector. When the recognition calculation unit 112 or the actuator control unit 115 is an ECU capable of communicating with the OBD2 diagnostic device, the diagnosis control unit 113 may obtain information from the recognition calculation unit 112 or the actuator control unit 115 via the OBD2 diagnostic device.
[0035] The diagnosis control unit 113 has a diagnosis data interface 116 , an internal device communication processing unit 114 , a diagnosis memory map 117 , a sequence update processing unit 118 , a diagnosis sequence control processing unit 119 , and a sequence memory 120 .
[0036] Fig. 2 is a diagram showing a data configuration of a sequence memory in the first embodiment. In the first embodiment, a plurality of specifiable diagnostic sequence sets are stored in advance as a library in the sequence memory 120. In the example of Fig. 2, n diagnostic sequence sets Seq01-n are stored in the sequence memory 120. The diagnostic sequence set is definition information that specifies a series of procedures for acquiring status data of the edge system 108.
[0037] The diagnostic sequence set includes information about the status of each item of status information acquired by the diagnostic sequence operating in each edge controller, and information about the status information to be acquired and the timing at which the information is to be acquired. The timing is determined by, for example, a polling period.
[0038] For example, a diagnostic sequence for diagnosing in-vehicle network communication may involve the intra-edge controller communicating over the data communication network 110, counting packet losses, and calculating an error rate per unit time. Also, a diagnostic sequence for diagnosing a microcomputer may involve comparing the processing results of multiple cores included in the CPU of the intra-edge controller between the cores to determine whether or not there is an abnormality in the cores. The comparison results obtained by comparing the processing results between the cores are stored in a register outside the cores, and the diagnostic control unit 113 reads the comparison results from the register at a predetermined period. Other diagnostic sequences may include diagnosing various sensors and checking memories.
[0039] The multiple diagnostic sequence sets stored in the sequence memory 120 each have a different setting, and by changing the diagnostic sequence set to be specified, the diagnostic sequence set to be applied to the edge system 108 can be updated.
[0040] The diagnostic sequence control processing unit 119 specifies the diagnostic sequence set to be applied using a pointer, and in accordance with the specified diagnostic sequence set, acquires status information indicating the hardware status (which is one of the internal states of the intra-edge controller 10) of each part that constitutes the edge system 108 from the recognition calculation unit 112 and the actuator control unit 115 via the diagnostic data interface 116.
[0041] Furthermore, the diagnostic sequence control processing unit 119 generates diagnostic data by mapping the status information acquired from each unit to the diagnostic memory map 117. The diagnostic sequence control processing unit 119 may also acquire information indicating the status of the recognition calculation unit 112 and / or the actuator control unit 115 by monitoring the recognition calculation unit 112 and / or the actuator control unit 115 (more specifically, the control program), and include the information in the diagnostic data in the same manner as information indicating the internal status of the in-edge controller.
[0042] The intra-device communications processor 114 transmits the diagnostic data stored in the diagnostic memory map 117 to the diagnostic cloud server 104. The intra-device communications processor 114 also receives a notification of a diagnostic sequence or a diagnostic sequence set from the diagnostic cloud server 104 and passes it to the sequence update processor 118.
[0043] The sequence update processing unit 118 updates the diagnostic sequence set on the sequence memory 120 based on the notified diagnostic sequence set, or updates a portion of the diagnostic sequence set on the sequence memory 120 that corresponds to the notified diagnostic sequence based on the notified diagnostic sequence. When the diagnostic sequence on the sequence memory 120 is updated, the diagnostic sequence set executed by the diagnostic sequence control processing unit 119 thereafter becomes the updated one. <Manufacturer's server>
[0044] The manufacturer's server 101 includes an edge function update content generation processing unit 102 and a function update instruction processing unit 103 .
[0045] The edge function update content generation processing unit 102 determines the update content when updating the function of the intra-edge controller.
[0046] The function update instruction processing unit 103 generates function update information including information on the update contents determined by the edge function update content generation processing unit 102, and transmits the information to the diagnostic cloud server 104 together with an instruction for the function update. <Diagnosis cloud server>
[0047] The diagnostic cloud server 104 is a device that manages the diagnostic contents of the edge system and updates thereof, and includes a status diagnostic processing unit 105, a cause analysis processing unit 106, and a diagnostic processing update instruction unit 107.
[0048] The status diagnosis processing unit 105 classifies the status information included in the diagnosis data received from the edge system 108 according to the importance corresponding to the diagnosis code, and passes the status information having an importance equal to or higher than a predetermined level to the cause analysis processing unit 106.
[0049] The cause analysis processing unit 106 performs a cause analysis on the status information delivered from the status diagnosis processing unit 105, identifies what has occurred in the edge system 108, specifically, the cause of the anomaly, and notifies the diagnosis processing update instruction unit 107 and the manufacturer server 101 of the analysis result. The manufacturer server 101 uses the result of the cause analysis to decide on a function update.
[0050] The causal analysis may identify an abnormality factor from status information, for example, by a rule base. The analysis rule is information that defines a chain relationship of abnormalities, that is, a chain relationship of abnormal states that occur in a chain based on a causal relationship of an abnormality. The analysis rule may be generated based on the design data 13 or the diagnostic model. Therefore, the analysis rule may be generated by the manufacturer server 101 and transmitted to the causal analysis processing unit 106 of the diagnostic cloud server 104. Also, the manufacturer server 101 may notify the diagnostic cloud server 104 of the design data and the diagnostic model of the edge system 108, and the analysis rule may be generated by the diagnostic cloud server 104.
[0051] Based on the analysis result, the diagnostic process update instruction unit 107 determines whether to update all or part of the diagnostic sequences in the diagnostic sequence set as necessary, and determines the type of status information to be acquired as diagnostic data after the update and the timing to acquire the status information. The diagnostic process update instruction unit 107 sends a diagnostic update notification specifying the updated diagnostic sequence set to the diagnostic control unit 113 in the edge system 108, and instructs the diagnostic sequence set to be updated.
[0052] Furthermore, the diagnostic process update instruction unit 107 determines to update all or part of the diagnostic sequences of the diagnostic sequence set as necessary based on an update by the manufacturer server 101 of the functions handled by the intra-edge controller in the edge system 108, and determines the type of status information to be acquired as diagnostic data after the update and the timing to acquire the status information. In this case as well, the diagnostic process update instruction unit 107 sends a diagnostic update notification specifying the updated diagnostic sequence set to the diagnostic control unit 113 in the edge system 108, and instructs the update of the diagnostic sequence set. <Interoperability between devices in a distributed system>
[0053] FIG. 3 is a sequence diagram illustrating a process flow for updating the diagnostic sequence set in the first embodiment.
[0054] (Step S101) An edge system 108 is designed and manufactured by a manufacturing company that uses a manufacturing company server 101.
[0055] (Step S102) The edge system 108 manufactured by the manufacturer is handed over to the user and starts operation. While the edge system 108 is operating, the recognition calculation unit 112 monitors the state based on the sensor data input from the sensor unit 111.
[0056] (Step S103) If any abnormality occurs in edge system 108, diagnosis control unit 113 detects the occurrence of the abnormality. For example, if a communication error occurs in edge system 108, diagnosis control unit 113 detects the occurrence of the communication error. Other examples of abnormalities include a cable coming loose between ECUs, packet loss caused by excessive communication traffic on data communication network 110, garbled data in memory, and the like.
[0057] (Step S104) When the diagnostic control unit 113 detects the occurrence of an abnormality, it executes a diagnosis according to the diagnostic sequence set to generate diagnostic data, and notifies the diagnostic cloud server 104 of the diagnostic data. When an abnormality actually occurs, it often occurs that an abnormal state occurs in multiple locations. In such a case, a diagnostic code indicating abnormalities in multiple locations as a result of the diagnosis is notified to the diagnostic cloud server 104 as diagnostic data.
[0058] (Step S105) In the diagnostic cloud server 104, the condition diagnosis processing unit 105 assigns importance to the abnormal state indicated by the diagnostic code included in the diagnostic data, and instructs the cause analysis processing unit 106 to perform a cause analysis as necessary. The importance of the diagnostic code may be determined in advance based on the seriousness obtained from experience. In addition, the importance of a diagnostic code whose cause has been identified and resolved in the past is set low since there is little need for a cause analysis.
[0059] (Step S106) Having received the instruction, the cause analysis processing unit 106 performs a cause analysis to identify the cause of the abnormality, records and stores the analysis results including the abnormality and its cause as abnormality cause data, and notifies the manufacturer server 101. In the cause analysis, for example, a rule-based judgment logic is used to determine the cause of what kind of abnormality exists in which part of the edge system 108, starting from the diagnostic code with the highest importance. Also, for example, the cause may be judged only for diagnostic codes with a certain level of importance or higher. The notification to the manufacturer server 101 may be a real-time process or a batch process.
[0060] (Step S107) In the manufacturer server 101, the edge function update content generation processor 102 determines the update content of the functions to improve the problems in the edge system 108 based on the analysis results notified from the diagnostic cloud server 104, and further based on the judgment of the designer as necessary. For example, function updates are performed on a control program that controls the opening and closing amount of a throttle valve, and an image processing program that performs image recognition, such as recognizing white lines, from camera images for automatic driving.
[0061] (Step S108) The function update instruction processing unit 103 transmits function update information indicating the function update and the update content of the function to the edge system 108 and the diagnostic cloud server 104.
[0062] (Step S109) The edge system 108 receives the function update information, and updates the function in the edge controller including the recognition calculation unit 112 and the actuator control unit 115 based on the update data.
[0063] (Step S110) Meanwhile, the diagnostic cloud server 104 receives the function update information, and in the sequence update processing unit 118, determines a diagnostic sequence corresponding to the function update based on the function update information and the abnormality cause data on which the function update indicated in the function update information is based, and transmits a diagnostic update notification specifying a diagnostic sequence set including the determined diagnostic sequence to the edge system 108. As the content of the diagnostic update, for example, it is possible to increase the frequency of acquiring status information of a type related to an abnormality cause.
[0064] (Step S111) In the edge system 108, the sequence update processing unit 118 updates the diagnostic sequence set to be applied by changing the designated destination of the pointer to the diagnostic sequence set designated by the received diagnostic update notification.
[0065] If it is necessary to synchronize the function update in step S109 and the diagnostic sequence set update in step S111, these updates are applied simultaneously. If there is no particular need to synchronize them, the function and the diagnostic sequence set may be updated sequentially. In this case, it does not matter which of the function and the diagnostic sequence set is updated first.
[0066] The edge system 108 with updated functions and / or diagnostic sequence sets continues operation and status monitoring using the new functions and / or diagnostic sequence sets.
[0067] (Step S121) In addition, in the manufacturer's server 101, there may be cases where functions are improved or added that are not attributable to the results of the analysis of the cause of the abnormality. In that case, too, the process may proceed to step S107 and the function and the corresponding diagnostic sequence may be updated.
[0068] In this case, in step S107, the edge function update content generation processing unit 102 determines the update content of the function for improving or adding the function of the edge system 108 based on the judgment of the designer as necessary. <Server hardware configuration>
[0069] 4 is a diagram showing an example of the hardware configuration of a computer 400 constituting a server. The server referred to here includes a manufacturer server 101 and a diagnostic cloud server 104. Note that a computer is one type of device, and may therefore be called a computer device.
[0070] The computer 400 includes a processor 401 such as a CPU, a memory 402 which is a main storage device, an external storage device 403 such as a hard disk or SSD (Solid State Drive), an audio output device 404 such as a speaker, a biometric information input device 405 such as a camera, an eye-gaze input device, or a microphone, an input device 406 such as a keyboard, a mouse, or a touch panel, an output device 407 such as a display or a printer, a communication device 408 such as a NIC (Network Interface Card), and a bus connecting these. Note that all of these components are not essential.
[0071] The memory 402 is, for example, a memory such as a RAM (Random Access Memory).
[0072] The external storage device 403 is a non-volatile storage device capable of storing digital information, such as a hard disk, SSD, or flash memory.
[0073] The communication device 408 is a wired communication device that performs wired communication via a network cable, or a wireless communication device that performs wireless communication via an antenna. The communication device 408 communicates with other devices connected to the same network. For this communication, packet communication according to TCP / IP (Transmission Control Protocol / Internet Protocol) is adopted, but this is not limited thereto, and communication according to other protocols such as UDP (User Datagram Protocol) may also be adopted.
[0074] A communication unit (not shown) that is communicatively connected to a LAN (Local Area Network) or the like is realized by the communication device 408.
[0075] The above is an example of the hardware configuration of the computer 400 constituting the server in this embodiment. However, the configuration of the computer 400 is not limited to this, and the computer 400 may be configured using other hardware. Furthermore, the computer 400 may be various information processing devices such as a server computer, a personal computer, a notebook personal computer, a tablet device, a smartphone, a television device, etc.
[0076] Although not shown, the computer 400 may have known programs such as an OS (Operating System), middleware, and applications. These programs, like other programs, are executed by the processor 401 to cause the computer 400 to perform a predetermined process. Also, components described as "units" in each server in this specification may be realized by the above-mentioned programs. Also, the processor 401 is not limited to a CPU, and may be realized by other processors, such as a GPU or FPGA.
[0077] Furthermore, as the functional boundaries between the memory 402 and the external storage device 403 are becoming ambiguous due to technologies such as virtualization, there is no need to make a strict distinction between them as long as they can be used as storage resources. Furthermore, the concept of including the processor, storage resources, and communication device 408 is sometimes called cloud resources. Note that the cloud can also be considered as the entire data center. In this case, network switches, routers, and power supplies and cooling equipment of the data center can also be considered as part of the cloud resources. Furthermore, the computer 400 may be a virtual entity, such as a virtual machine, which is a virtualized version of the hardware of the physical computer 400.
[0078] In addition, in a computer for server use such as Web, an input device and an output device may be omitted. In this case, the computer for server use receives input from an input device of another computer for client use (client computer) connected to the server computer as input data using the communication device 408. Similarly, the computer for server use transmits data to be output to the client computer using the communication device 408, and outputs the data to an output device of the client computer using the output data. Regardless of the presence or absence of an input device and an output device, what is common is that input data is received and output processing is performed by a program executed on the computer for server use. In addition, in a Web application using HTML (HyperText Markup Language) and JavaScript, text to be displayed on an output device is generated by executing HTML and JavaScript on a client computer that executes a Web browser. In this case, the "output processing" also includes the transmission processing of HTML data and JavaScript data by a Web server program executed on a computer for Web server use. EXAMPLES
[0079] In the second embodiment, similarly to the first embodiment, a configuration for updating the diagnostic procedure of an edge system that can operate automatically will be described. The distributed system according to the second embodiment has a basic configuration similar to that of the first embodiment. However, unlike the first embodiment, the distributed system of the second embodiment has a function for performing a simulation test of a diagnostic sequence set in a diagnostic cloud server. Also, unlike the first embodiment, the distributed system of the second embodiment can add a new diagnostic sequence set to a diagnostic control unit of the edge system from the diagnostic cloud server.
[0080] 5 is a block diagram of a distributed system according to Example 2. Example 2 differs from Example 1 in the diagnostic cloud server and the diagnostic control unit in the edge system.
[0081] 5, the diagnostic cloud server 200 according to the second embodiment includes a condition diagnosis processing unit 105, a cause analysis processing unit 106, a diagnostic sequence creation processing unit 201, a diagnostic sequence simulation unit 202, a diagnostic sequence storage memory 203, and a diagnostic process update instruction unit 204. The condition diagnosis processing unit 105 and the cause analysis processing unit 106 are similar to those in the first embodiment.
[0082] 5, the diagnostic control unit 205 according to the second embodiment includes an intra-device communication processing unit 114, a diagnostic data interface 116, a diagnostic memory map 117, a diagnostic sequence control processing unit 119, a sequence update processing unit 206, and a sequence memory 207. The intra-device communication processing unit 114, the diagnostic data interface 116, the diagnostic memory map 117, and the diagnostic sequence control processing unit 119 are the same as those in the first embodiment.
[0083] The diagnostic sequence creation processing unit 201 determines to update all or part of the diagnostic sequences of the diagnostic sequence set as necessary based on an update by the manufacturer server 101 of the functions handled by the edge controller in the edge system 108. Furthermore, the diagnostic sequence creation processing unit 201 determines the type of status information to be acquired as diagnostic data after the update and the timing to acquire the status information, and creates an updated diagnostic sequence set based on the type and timing of the status information.
[0084] In the diagnostic cloud server 200, the data configuration of the sequence memory 207 is different from that in the first embodiment.
[0085] 6 is a diagram showing a data configuration of the sequence memory 207 in the second embodiment. In the second embodiment, the sequence memory 120 stores a plurality of specifiable diagnostic sequence sets Seq01-n in advance, and has a free area in which a new diagnostic sequence set SeqE can be additionally stored. Similarly, in the first embodiment, the sequence memory 207 may be configured to have a free area, and a new diagnostic sequence may be written from the diagnostic cloud server 104.
[0086] The diagnostic sequence simulation unit 202 performs a simulation test on the updated diagnostic sequence set by simulating the recognition calculation unit 112 and the actuator control unit 115 of the edge system 108. At this time, the diagnostic sequence simulation unit 202 confirms, for example, that the desired type of state information is acquired at the desired timing for the updated diagnostic sequence set.
[0087] When a software program (hereinafter also referred to as a function program) that realizes the updated function is applied to the recognition calculation unit 112 or the actuator control unit 115 in order to update the function, the function program may be transmitted from the manufacturer server 101 to the diagnostic cloud server 104 in order to simulate the recognition calculation unit 112 or the actuator control unit 115. In this case, the diagnostic cloud server 104 may simulate the recognition calculation unit 112 or the actuator control unit 115 based on the received function program.
[0088] If the result of the simulation test is normal, the diagnostic sequence simulation unit 202 stores the data of the tested diagnostic sequence set in the diagnostic sequence storage memory 203 .
[0089] The diagnostic processing update instruction unit 204 sends the updated diagnostic sequence set stored in the diagnostic sequence storage memory 203 and a diagnostic update notification specifying the updated diagnostic sequence set to the diagnostic control unit 205 in the edge system 108, instructing the diagnostic sequence set to be updated.
[0090] In the diagnostic control unit 205 of the edge system 108, when the sequence update processing unit 206 receives an instruction to update the diagnostic sequence set from the diagnostic cloud server 200, it stores the updated diagnostic sequence set in the free space of the sequence memory 207 and changes the specified destination to the updated diagnostic sequence set.
[0091] The above-described embodiment includes the following items. However, the items included in the above-described embodiment are not limited to the following items.
[0092] (Item 1) An edge system is a mobile object or equipment that can operate autonomously; a diagnostic data calculator capable of communicating with the edge system; A distributed system having: The edge system includes a mechanism for operation, an in-edge controller that controls the mechanism, and a diagnosis controller that can communicate with the in-edge controller via an in-vehicle network, The diagnostic controller: acquiring diagnostic data according to a first diagnostic sequence set indicating a procedure for diagnosing the intra-edge controller using one or more diagnostic sequences that specify the type and timing of information to be acquired as diagnostic data indicating an internal state of the intra-edge controller; transmitting the acquired diagnostic data to the diagnostic data calculator; The diagnostic data calculator: Based on the received diagnostic data, a type and timing of information to be acquired as diagnostic data from the edge controller are determined; Transmitting a diagnostic update notification to the diagnostic controller to update the diagnostic sequence set to a second diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: updating from the first diagnostic sequence set to the second diagnostic sequence set; acquiring diagnostic data according to the second diagnostic sequence set; The acquired diagnostic data is transmitted to the diagnostic data calculator. This makes it possible to improve the quality of diagnosis by updating the diagnostic sequence set based on the diagnostic data, and also makes it possible to reduce the load on the in-vehicle device by providing a diagnostic controller separate from the edge controller.
[0093] (Item 2) 2. A distributed system according to claim 1, The edge system further includes a manufacturing company computer that is a computer owned by a manufacturer of the edge system and can communicate with the diagnostic data computer, The manufacturer's computer: generating function update information for updating a function of the intra-edge controller; Sending the feature update information to the edge controller and the diagnostic data calculator; The edge controller updates a function according to the function update information; The diagnostic data calculator: determining a type and timing of information to be acquired as diagnostic data from the edge controller based on the function update information; Transmitting a diagnostic update notification to the diagnostic controller for a third diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: The first diagnostic sequence set is changed to the third diagnostic sequence set to acquire diagnostic data. According to this, by updating the diagnostic sequence set based on the function update information, it is possible to perform diagnosis suited to the updated functions of the intra-edge controller.
[0094] (Item 3) Item 2. A distributed system according to item 2, The diagnostic data calculator: Based on the diagnostic data, a cause analysis process of the state of the edge controller is performed; transmitting the factor analysis result data obtained by the factor analysis processing to the manufacturing company computer; The manufacturing company's computer generates the function update information based on the cause analysis result data. According to this, by updating the function of the intra-edge controller based on the results of the factor analysis and updating the diagnostic sequence set based on the function update information, it is possible to perform diagnosis that matches the updated function of the intra-edge controller.
[0095] (Item 4) 2. A distributed system according to claim 1, The diagnostic data calculator performs a simulation test of the second diagnostic sequence set, and then transmits a diagnostic update notification for the second diagnostic sequence set to the diagnostic controller. According to this, since a simulation test of the diagnostic sequence set is performed before it is applied to the edge system, the diagnostic sequence set can be safely updated.
[0096] (Item 5) 2. A distributed system according to claim 1, The diagnostic controller: a sequence memory storing data of a plurality of diagnostic sequence sets including the first diagnostic sequence set and the second diagnostic sequence set in a specifiable manner; The first diagnostic sequence set is changed to the second diagnostic sequence set by changing the designated destination in the sequence memory. According to this, a plurality of diagnostic sequence sets are preset, and which diagnostic sequence set is to be used can be designated by a pointer, so that the diagnostic sequence set can be easily updated.
[0097] (Item 6) 6. A distributed system according to item 5, The sequence memory has a free space in which a diagnostic sequence set can be added, the diagnostic data calculator transmits to the diagnostic controller a diagnostic update notification for a fourth diagnostic sequence set that includes a diagnostic sequence that specifies the determined information type and timing and is not stored in the sequence memory; The diagnostic controller: recording data of the fourth diagnostic sequence set in the free area; The first diagnostic sequence set is changed to the fourth diagnostic sequence set by changing the designated destination in the sequence memory. This allows updating to a diagnostic sequence set that is not previously stored in the sequence memory.
[0098] (Item 7) 2. A distributed system according to claim 1, the edge system is a vehicle; The in-edge controller is an electronic control unit. This can reduce the load imposed on the ECU of an automobile having low processing power due to the execution of the diagnosis.
[0099] It should be noted that the above-described embodiments are merely illustrative examples of the present invention, and are not intended to limit the scope of the present invention to these embodiments. Those skilled in the art may embody the present invention in various other forms without departing from the scope of the present invention. [Explanation of symbols]
[0100] 10...Internal edge controller, 12...Edge device, 13...Design data, 101...Manufacturer server, 102...Edge function update content generation processing unit, 103...Function update instruction processing unit, 104...Diagnostic cloud server, 105...Status diagnosis processing unit, 106...Cause analysis processing unit, 107...Diagnostic processing update instruction unit, 108...Edge system, 109...Communication control unit, 110...Data communication network, 111...Sensor unit, 112...Recognition calculation unit, 113...Diagnostic control unit, 114...Intra-device communication processing unit, 115...Actuator control unit, 116...Diagnostic data interface, 117...Diagnostic memory map, 118...Sequence update processing unit, 119...diagnostic sequence control processing unit, 120...sequence memory, 121...communication network, 122...mechanism unit, 200...diagnostic cloud server, 201...diagnostic sequence creation processing unit, 202...diagnostic sequence simulation unit, 203...diagnostic sequence storage memory, 204...diagnostic process update instruction unit, 205...diagnostic control unit, 206...sequence update processing unit, 207...sequence memory, 400...computer, 401...processor, 402...memory, 403...external storage device, 404...audio output device, 405...biometric information input device, 406...input device, 407...output device, 408...communication device, 1000...distributed system
Claims
1. An edge system is a mobile object or equipment that can operate autonomously; a diagnostic data calculator capable of communicating with the edge system; a manufacturer's computer that is owned by a manufacturer of the edge system and that can communicate with the diagnostic data computer; A distributed system having: The edge system includes a mechanism for operation, an in-edge controller that controls the mechanism, and a diagnosis controller that can communicate with the in-edge controller via an in-vehicle network, The diagnostic controller: acquiring diagnostic data according to a first diagnostic sequence set indicating a procedure for diagnosing the intra-edge controller using one or more diagnostic sequences that specify the type and timing of information to be acquired as diagnostic data indicating an internal state of the intra-edge controller; transmitting the acquired diagnostic data to the diagnostic data calculator; The diagnostic data calculator: Based on the received diagnostic data, a cause analysis process is performed to identify an abnormality cause of the state of the edge controller, and cause analysis result data obtained by the cause analysis process is transmitted to the manufacturing company's computer. Based on the cause analysis result of the cause analysis process, a type and timing of information to be acquired as diagnostic data from the edge controller are determined. Transmitting a diagnostic update notification to the diagnostic controller to update the diagnostic sequence set to a second diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: updating from the first diagnostic sequence set to the second diagnostic sequence set; acquiring diagnostic data according to the second diagnostic sequence set; transmitting the acquired diagnostic data to the diagnostic data calculator; It is something that The manufacturing company computer: generating function update information for updating a function of the edge controller based on the factor analysis result data; Sending the feature update information to the edge controller and the diagnostic data calculator; The edge controller updates a function according to the function update information; The diagnostic data calculator: determining a type and timing of information to be acquired as diagnostic data from the edge controller based on the function update information; Transmitting a diagnostic update notification to the diagnostic controller for a third diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: changing from the first diagnostic sequence set to the third diagnostic sequence set to acquire diagnostic data; It is something like, Distributed systems.
2. 2. The distributed system of claim 1, the diagnostic data calculator performs a simulation test of the second diagnostic sequence set, and then transmits a diagnostic update notification for the second diagnostic sequence set to the diagnostic controller; Distributed systems.
3. 2. The distributed system of claim 1, The diagnostic controller: a sequence memory storing data of a plurality of diagnostic sequence sets including the first diagnostic sequence set and the second diagnostic sequence set in a specifiable manner; changing the designated destination in the sequence memory to change from the first diagnostic sequence set to the second diagnostic sequence set; Distributed systems.
4. 4. The distributed system of claim 3, The sequence memory has a free space in which a diagnostic sequence set can be added, the diagnostic data calculator transmits to the diagnostic controller a diagnostic update notification for a fourth diagnostic sequence set that includes a diagnostic sequence that specifies the determined information type and timing and is not stored in the sequence memory; The diagnostic controller: recording data of the fourth diagnostic sequence set in the free area; changing the designated destination in the sequence memory to change from the first diagnostic sequence set to the fourth diagnostic sequence set; Distributed systems.
5. 2. The distributed system of claim 1, the edge system is a vehicle; The edge controller is an electronic control unit. Distributed systems.
6. A diagnostic method for diagnosing an edge system, which is a mobile object or equipment capable of operating automatically, a diagnostic data calculator capable of communicating with the edge system, and a manufacturer's computer that is a computer owned by a manufacturer of the edge system and capable of communicating with the diagnostic data calculator, the edge system being a distributed system having a mechanical unit for operation, an in-edge controller that controls the mechanical unit, and a diagnostic controller that can communicate with the in-edge controller via an in-vehicle network, comprising: The diagnostic controller: acquiring diagnostic data according to a first diagnostic sequence set indicating a procedure for diagnosing the intra-edge controller using one or more diagnostic sequences that specify the type and timing of information to be acquired as diagnostic data indicating an internal state of the intra-edge controller; transmitting the acquired diagnostic data to the diagnostic data calculator; The diagnostic data calculator: Based on the received diagnostic data, a cause analysis process is performed to identify an abnormality cause of the state of the edge controller, and cause analysis result data obtained by the cause analysis process is transmitted to the manufacturing company's computer. Based on the cause analysis result of the cause analysis process, a type and timing of information to be acquired as diagnostic data from the edge controller are determined. Transmitting a diagnostic update notification to the diagnostic controller to update the diagnostic sequence set to a second diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: updating from the first diagnostic sequence set to the second diagnostic sequence set; acquiring diagnostic data according to the second diagnostic sequence set; transmitting the acquired diagnostic data to the diagnostic data calculator; It is something that The manufacturing company computer: generating function update information for updating a function of the edge controller based on the factor analysis result data; Sending the feature update information to the edge controller and the diagnostic data calculator; The edge controller updates a function according to the function update information; The diagnostic data calculator: determining a type and timing of information to be acquired as diagnostic data from the edge controller based on the function update information; Transmitting a diagnostic update notification to the diagnostic controller for a third diagnostic sequence set including a diagnostic sequence that specifies the determined information type and timing; The diagnostic controller: changing from the first diagnostic sequence set to the third diagnostic sequence set to acquire diagnostic data; Diagnostic methods.
Citation Information
Patent Citations
Abnormality analysis system for vehicle and abnormality analysis method for vehicle
JP2010055545A
A system for diagnosing components inside a vehicle.
JP2014517378A
Energy infrastructure sensor data rectification using regression models
US20150371151A1
