Information processing device, information processing method, and information processing program
By uniformly aligning data dimensions using principal component analysis, the method addresses varying trip data in vehicle batteries, enhancing model learning and estimation efficiency.
Patent Information
- Application Number
- JP2023032230
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2043-03-02
AI Technical Summary
Conventional methods for predicting vehicle battery life fail to account for varying data dimensions due to different numbers of trips per day, leading to inconsistent model learning and inefficient data utilization.
Accumulating vehicle data for each predetermined period and operation unit, applying principal component analysis to reduce dimensions uniformly, and generating training data to align the number of dimensions for neural network learning.
Enables effective learning and estimation of vehicle battery life by ensuring consistent data dimensions, improving model accuracy and reducing computational load.
Smart Images

Figure 2024124222000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing device, an information processing method, and an information processing program. [Background technology]
[0002] Patent Document 1 discloses a technique for improving the accuracy of predictions when predicting the remaining life of a vehicle battery. In this technique, a prediction model for predicting the remaining life of a vehicle battery is trained based on learning data including time series data of a degradation index at a predetermined point in the past and the remaining life of a learning vehicle battery that has reached the end of its life. In addition, for unmeasured portions of the degradation index, an estimated value of the degradation index is inserted to make a prediction. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-148560 A Summary of the Invention [Problem to be solved by the invention]
[0004] Conventional techniques take into account unmeasured parts. Here, when learning a neural network model, it is necessary to align the number of dimensions of the data used for learning before learning. However, conventional techniques do not take the number of dimensions of the data into consideration.
[0005] Regarding the number of dimensions, vehicle data collected from vehicles is collected, for example, in trip units. A trip is a unit of vehicle movement, and is a unit counted when one trip is defined as from the start of a movement to the end of a movement, and the number of trips corresponds to the dimension of the data. Data related to vehicles may have different numbers of trips per day, resulting in different numbers of dimensions of the data. Therefore, when learning a model, it becomes necessary to align the numbers of dimensions for data with different numbers of dimensions.
[0006] The present disclosure aims to provide an information processing device, an information processing method, and an information processing program that can align the number of dimensions of data and learn a neural network model even if the number of dimensions of the data is different. [Means for solving the problem]
[0007] The information processing method described in claim 1 is a computer-implemented process in which a processor receives as input vehicle data relating to a vehicle accumulated for a predetermined period and for each predetermined unit of operation, the number of units of operation being a different number for each predetermined period depending on user usage, and uses principal components obtained by performing principal component analysis on the vehicle data to reduce the units of operation of the vehicle data and align the number of dimensions, thereby generating training data, and learning a neural network model using the training data.
[0008] The information processing method described in claim 1 creates training data using principal component analysis. This makes it possible to generate training data that includes the characteristics of more data without missing data, such as by using representative values. In addition, by using principal components as elements, it is possible to train a model with a number of dimensions that corresponds to the input of the neural network.
[0009] The information processing method of claim 2 is the information processing device of claim 1, in which the processor groups the vehicle data by dividing the predetermined period into days, sets a maximum number of units related to the operation and a number of days to be calculated within the grouping, creates a first matrix by the maximum number and the number of days to be calculated for each item of the vehicle data, creates a second matrix by principal components obtained by principal component analysis, and generates the training data by computing the first matrix and the second matrix. According to the information processing device of claim 2, training data can be generated so as to reduce the number of data of operation corresponding to a trip. By computing the first matrix and the second matrix, the maximum number of dimensions is reduced, and training data is generated with the number of dimensions aligned to the number of principal components of the second matrix.
[0010] The information processing method according to claim 3 is the information processing device according to claim 2, in which blanks in the first matrix are filled with values by substituting an average value or zero. According to the information device according to claim 3, it is possible to create data that can be calculated even when the number of trips is small or when there is a lack of data acquisition.
[0011] In the information processing method described in claim 4, in the information processing device described in claim 1, the processor uses a trained model trained using the training data to reshape the dimensions of the vehicle data to the number of dimensions of the training data used to train the trained model, and inputs the reshape, and outputs an estimation result of the trained model. According to the information processing device described in claim 4, simple reshaping of the vehicle data can be made compatible with input to the trained model.
[0012] The information processing device described in claim 5 receives as input vehicle data regarding vehicles accumulated for a predetermined period and for predetermined operation units, where the number of the operation units is a number that varies for each predetermined period depending on user usage, and a processor generates training data by compressing the operation units of the vehicle data and aligning the number of dimensions using principal components obtained by principal component analysis of the vehicle data, and uses the training data to learn a neural network model. Effect of the Invention
[0013] According to the technology disclosed herein, it is possible to align the number of dimensions of data and learn a neural network model. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a diagram showing a configuration of an information processing system including an information processing device. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of the information processing device. [Diagram 3] FIG. 3 is a schematic diagram showing vehicle data for each trip obtained by grouping by day. [Figure 4A] FIG. 4A is a diagram that illustrates calculation target data created from vehicle data in a range. [Figure 4B] FIG. 4B is a diagram illustrating training data generated by aligning the number of dimensions of daily vehicle data. [Diagram 5] FIG. 5 is a flowchart illustrating the flow of information processing during model learning as an information processing method executed by the information processing device of this embodiment. [Figure 6] FIG. 6 is a flowchart illustrating the flow of information processing during estimation as an information processing method executed by the information processing device of this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] An outline of an embodiment of the present invention will be described. In estimating battery deterioration in a vehicle, if there are multiple trips in one day, a representative value such as the minimum voltage at start-up on that day is selected for calculation. There are limitations on the data to be input to the neural network for calculation. For example, in a neural network, after a product-sum calculation, the data is input to an activation function, so if the number of dimensions is not uniform, product-sum calculation cannot be performed using the coefficients of the learned values. Also, calculation cannot be performed with blank values. If data can be acquired at equal intervals in one day, the number of dimensions can be uniformed, allowing learning and analysis. However, with equal intervals, data is acquired even when the ignition is off and the engine is not running, which is not efficient in terms of energy efficiency.
[0016] Therefore, data acquisition is expected on a trip basis. However, the number of trips per day is not constant and cannot be specified because it depends on the user's vehicle usage. Therefore, if a neural network model is trained based on the maximum number of trips, the weight map changes depending on the period, and the trained coefficients cannot be used as is. In addition, it is desirable to utilize the information on each trip without being limited to representative values for one trip, such as the maximum or minimum value per day. In addition, the number of dimensions needs to be reduced so as not to increase the calculation load too much.
[0017] Therefore, in this embodiment, a method is proposed in which, while using information on each trip, the data is shaped using a principal component analysis technique to make the number of dimensions uniform, and the data can be used for learning a neural network model.
[0018] Fig. 1 is a diagram showing a configuration of an information processing system 100. As shown in Fig. 1, in the information processing system 10, a plurality of vehicles 102 and an information processing device 110 are connected via a network N.
[0019] The vehicle 102 transmits vehicle data relating to the vehicle 102 to the information processing device 110. For each trip, the vehicle 102 acquires the numerical values of each item of vehicle data based on the time when the ignition was turned on. The items of vehicle data to be acquired include data such as voltage (start-up voltage is an example), temperature (outside air temperature is an example), mileage (accumulated mileage is an example), and parking time. Note that the items acquired for each trip vary depending on the acquisition status of various sensors, and some items are not acquired. Therefore, in the processing of the analysis unit 122 described later, a process is performed to fill in the values of the items that were not acquired. A trip is an example of a unit related to a predetermined operation.
[0020] Fig. 2 is a block diagram showing a hardware configuration of the information processing device 110. As shown in Fig. 2, the information processing device 110 has a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage 14, an input unit 15, a display unit 16, and a communication interface (I / F) 17. Each component is connected to each other via a bus 19 so as to be able to communicate with each other.
[0021] The CPU 11 is a central processing unit, and executes various programs and controls each part. That is, the CPU 11 reads a program from the ROM 12 or the storage 14, and executes the program using the RAM 13 as a working area. The CPU 11 controls each of the above components and performs various arithmetic processing according to the program stored in the ROM 12 or the storage 14. In this embodiment, an information processing program is stored in the ROM 12 or the storage 14. Note that the other components may be general computer hardware components, and therefore description thereof will be omitted.
[0022] When executing the above computer programs, the information processing device 110 realizes various functions using the above hardware resources. The functional configuration realized by the information processing device 110 will be described.
[0023] 1, the information processing device 110 has, as its functional components, a storage unit 112, a data setting unit 120, an analysis unit 122, a learning unit 124, and an estimation unit 130. Each functional component is realized by the CPU 11 reading and executing a computer program stored in the ROM 12 or the storage 14.
[0024] The storage unit 112 accumulates vehicle data acquired from the vehicle 102. The vehicle data is stored with an acquisition date and time assigned for each vehicle ID. The vehicle ID uses the vehicle identification number (VIN). The acquisition date and time corresponds to the time the ignition is turned on. The vehicle data is stored with the acquisition date and time as rows and each item as columns. The vehicle data is accumulated with a number of trips that varies from day to day depending on the user's use of the vehicle 102. This is because the number of trips varies depending on the user's use of the vehicle 102 on that day. The storage unit 112 also stores a trained model that has been trained.
[0025] The data setting unit 120 receives vehicle data as input and sets calculation target data from the vehicle data. The number of days to be acquired may be determined by input from the user or within a preset range, and the vehicle data may be grouped by day and acquired for a certain period based on the calculation time point. In addition, the maximum number of trips a and the number of days to be calculated b are set in the calculation target data. For example, the maximum number of trips a is the maximum number of trips in the acquired period. For example, the number of days to be calculated b is treated as the number of days to be calculated b, which is a predetermined number of days in the past from the day when the calculation is performed. In addition, the calculation target data is organized by day and by trip. One day is an example of a predetermined period in the present disclosure. The maximum number of trips is an example of a maximum number in the present disclosure.
[0026] FIG. 3 is a schematic diagram showing vehicle data for each trip grouped by day. Each circle represents vehicle data acquired for one trip. The numerical value of each item is acquired as vehicle data for each circle. The horizontal axis is time, and the vertical axis is the magnitude of the item value. Since there are multiple items, the trip focusing on one item is shown diagrammatically. In the example of FIG. 3, trips acquired on each day from 7 / 1 to 7 / 4 are shown. 7 / 1 is 1 trip, 7 / 2 is 3 trips, 7 / 3 is 0 trips, and 7 / 4 is 1 trip. In this range group, the maximum number of trips is represented by the direction of the arrow tr, and the maximum number of trips a is 3. In this way, the maximum number of trips in the range changes depending on the vehicle data in the selected range.
[0027] FIG. 4A is a diagram that shows a schematic representation of the calculation target data created from vehicle data in the range. The value of each item is entered where there is a block. The x-axis represents the date unit, the y-axis represents the item unit, and the z-axis represents the trip unit. For example, for each row in the y direction, the values of each item are stored: voltage in (y1), mileage in (y2), temperature in (y3), and parking time in (y4). Since the number of trips differs for each day, the number of blocks extending in the direction of the number of trips on the z-axis differs. Therefore, the parts where there is no value for an item are blank (missing value: NA). Note that the number of blocks is a schematic example and differs from the example in FIG. 3.
[0028] The analysis unit 122 obtains principal components from the analysis data by principal component analysis. The analysis unit 122 uses the principal components obtained by the principal component analysis to align the number of dimensions of the daily vehicle data and generate training data. Details of the process will be explained in the flow.
[0029] FIG. 4B is a diagram showing training data generated by aligning the number of dimensions of daily vehicle data. The example of FIG. 4B is an example in which blocks for each trip in the z-axis direction as shown in FIG. 4A are grouped together and reduced to one dimension. For each day's trip, normalization is performed, and the average is set to zero according to the value of each item. By projecting the principal component (PC: Principal Component) in the one-axis direction in principal component analysis, data for the number of trips is reduced to one-dimensional data. Note that whether the reduction was actually performed efficiently depends on the contribution rate of the principal component analysis. The contribution rate indicates the degree to which the principal component explains the entire data. In this embodiment, the number of dimensions of the vehicle data to be aligned is n (n≧1), and n-dimensional training data is generated. For example, the n-dimension may be set so that the number of dimensions is increased until the contribution rate reaches 90%, or an arbitrary number n less than the original number of trips may be set. In addition, for parts where the value of an item cannot be obtained and is missing, the average value or zero is substituted so that the variance of the value becomes zero.
[0030] The learning unit 124 uses the generated training data to learn a neural network model. The model is a model for estimating the remaining life of a battery from vehicle data. The learning unit 124 stores the learned model in the storage unit 112. The model may also be learned as a model for abnormality determination.
[0031] The estimation unit 130 estimates the remaining battery life of the vehicle from the vehicle data using the trained model trained by the training unit 124. Here, the vehicle data is pre-processed to align the dimensions of the vehicle data with those of the training data used in training the trained model, and then input to the trained model. The estimation unit 130 inputs the pre-processed vehicle data to the trained model, and obtains an output of the estimated remaining battery life from the trained model.
[0032] (Flow of Control) 5 and 6 are flowcharts for explaining the flow of information processing as an information processing method executed by the information processing device 110 of this embodiment. FIG. 5 shows information processing during model learning, and FIG. 6 shows information processing during estimation. The information processing device 110 receives vehicle data for each trip from the vehicle 102, and the vehicle data is accumulated in the storage unit 112. The information processing device 110 executes information processing during model learning at regular intervals. The information processing device 110 executes information processing during estimation when it is an estimation target.
[0033] The information processing during model learning will be explained.
[0034] In step S100, the CPU 11 groups the vehicle data for each vehicle by day to create calculation target data. The calculation target data is created by adding a dimension of data for each trip in the trip number direction to the vehicle data stored in a matrix and arranging the data as calculation target data. The trip number direction corresponds to the z-axis direction in FIG. 4A above, and trip numbers may be assigned and arranged. The number of dimensions to be added is set to the maximum number of trips a included in the grouping range.
[0035] In step S102, the CPU 11 sets the number of days b to be calculated in the calculation data.
[0036] In step S104, the CPU 11 normalizes (or standardizes) the calculation target data for each item using the following formula (1).
number
[0037] In step S106, the CPU 11 assigns zero to any item of the calculation target data that has a standard deviation of zero.
[0038] In step S108, the CPU 11 substitutes zero for the blanks in the calculation target data.
[0039] In step S110, the CPU 11 sets the matrix a×b of the calculation target data, the eigenfunction matrix A(a×a), and the eigenvalue λ.
[0040] In step S112, the CPU 11 searches for the minimum eigenfunction matrix A using the following equation (2).
number
[0041] In step S114, CPU 11 extracts a matrix of principal components (PC(n×a)) from the searched eigenfunction matrix A(a×a) and the dimension n of the principal component to be extracted by principal component analysis. Note that to determine n of the n-th dimension, n is obtained by obtaining the contribution rate of each principal component using the eigenvalue λ and accumulating the sum up to a predetermined contribution rate. PC is an example of a second matrix in the present disclosure.
[0042] In step S116, the CPU 11 generates training data in which vehicle data for b days is arranged in n dimensions by performing an operation between the matrix X and the extracted principal component matrix PC. The training data (S) is obtained by executing S=PC·X, and is an n×b matrix. X is a matrix of items of the data to be calculated. The matrix X will be described later.
[0043] In step S118, the CPU 11 uses the generated training data to learn a neural network model, and stores the learned model in the storage unit 112.
[0044] The information processing during estimation will be described.
[0045] In step S200, the CPU 11 acquires vehicle data to be estimated and formats the data into the same number of dimensions as the number of dimensions of the training data used to train the trained model. By formatting the data into the number of dimensions corresponding to the input of the trained model, it is possible to handle cases where the number of trips is different or where there is a lack of data acquisition for each item.
[0046] In step S202, the CPU 11 inputs the shaped vehicle data to the trained model and outputs the estimation result of the trained model. The trained model calculates a weight matrix of the network according to the label data and outputs the estimation result.
[0047] Here, a specific example of generated training data will be described.
[0048] As an example, a case will be described where, within the range selected by grouping, the maximum number of trips a per day is 8 trips, and the number of days b subject to calculation is 5 days.
[0049] The vehicle data for each trip is expressed as a matrix X{x 11 ,x 12 ...,x ij It is represented by the value of {i = 1, j = 1}, where i is the number corresponding to the trip, and j is the number corresponding to each day. Here, we assume that X is contracted to two dimensions, that is, n = 2. Also, since matrix X is expanded up to the maximum number of trips a, there are blanks for days when there are no values for items or when values could not be obtained. Values are filled in the blanks of matrix X by substituting the average value or zero.
[0050] The matrix X of the data items to be calculated for each trip is expressed as follows (3): 11~X 85 This results in an 8x5 matrix of data.
[0051]
number
[0052] Next, a matrix PC is created by obtaining PC1 and PC2 as shown in the following equation (4). The number of elements of the matrix PC is determined according to the dimension n to be compressed.
number
[0053] The training data S is calculated by compressing five days' worth of data into two dimensions using the following formula (5). The vehicle data for eight trips is compressed into two dimensions.
number
[0054] In addition, when n=1, it is also possible to compress the training data S into one dimension as a one-dimensional matrix of only PC1.
[0055] As described above, the information processing device 110 of this embodiment can learn a neural network model by aligning the number of dimensions of data.
[0056] In the above embodiment, various processes executed by the CPU 11 by reading the software (program) may be executed by various processors other than the CPU. In this case, examples of the processor include a dedicated electric circuit that is a processor having a circuit configuration designed exclusively for executing a specific process, such as a programmable logic device (PLD) whose circuit configuration can be changed after manufacturing, such as a field-programmable gate array (FPGA), a graphics processing unit (GPU), and an application specific integrated circuit (ASIC). The above-mentioned processes may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, and a combination of a CPU and an FPGA). The hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.
[0057] In the above embodiment, the information processing program has been described as being pre-stored (installed) in a non-transitory recording medium that can be read by a computer. For example, the information processing program is pre-stored in the ROM 12 or the storage 14. However, the present invention is not limited to this, and each program may be provided in a form recorded in a non-transitory recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD-ROM (Digital Versatile Disc Read Only Memory), or a USB (Universal Serial Bus) memory. The information processing program may also be downloaded from an external device via a network.
[0058] The process flow described in the above embodiment is merely an example, and unnecessary steps may be deleted, new steps may be added, or the process order may be changed without departing from the spirit of the invention. [Explanation of symbols]
[0059] 100 Information Processing Systems 102 vehicles 110 Information processing device 112 Storage section 120 Data setting section 122 Analysis Department 124 Learning Department 130 Estimation part
Claims
1. Vehicle data is input regarding a vehicle, the vehicle data being accumulated for each predetermined period and for each predetermined unit of operation, the number of units of operation being a number that varies for each predetermined period depending on the use of the user, The processor: generating training data by reducing units related to the operation of the vehicle data and aligning the number of dimensions using principal components obtained by performing principal component analysis on the vehicle data; training a neural network model using the training data; An information processing method in which processing is performed by a computer.
2. The processor, The vehicle data is grouped by day for the predetermined period, and a maximum number of units related to the operation and a number of days to be calculated are set for each group. creating a first matrix by the maximum number and the number of days to be calculated for each item of the vehicle data; A second matrix is created based on the principal components obtained by the principal component analysis. The information processing method according to claim 1 , wherein the training data is generated by performing an operation on the first matrix and the second matrix.
3. The information processing method according to claim 2 , further comprising the step of filling blanks in the first matrix with values by substituting an average value or zero.
4. The processor, 2. The information processing method according to claim 1, further comprising: using a trained model trained using the training data, reshaping the dimensions of the vehicle data to the number of dimensions of the training data used to train the trained model, inputting the reshaped vehicle data, and outputting an estimation result of the trained model.
5. Vehicle data is input regarding a vehicle, the vehicle data being accumulated for each predetermined period and for each predetermined unit of operation, the number of units of operation being a number that varies for each predetermined period depending on the use of the user, The processor: generating training data by reducing units related to the operation of the vehicle data and aligning the number of dimensions using principal components obtained by performing principal component analysis on the vehicle data; training a neural network model using the training data; Information processing device.
Citation Information
Patent Citations
Voltage deviation prediction method based on improved clustering algorithm and neural network
CN108460486A
Battery life learning device, method, and program, and battery life prediction device, method, and program
JP2020148560A
Method and apparatus for estimating state of battery
US20160161567A1
Training method, inference method, training device, inference device, and program
WO2022239245A1
