Mechanical equipment battery capacity calculation method and device, equipment and medium
By obtaining and processing the historical operation data of mechanical equipment, normality test and sample extraction are carried out, and battery capacity is calculated using mathematical models, the deviation problem of battery capacity design in electric engineering machinery equipment is solved, and the battery capacity of accuracy and reliability is achieved Calculation reduces costs and shortens R&D cycle.
Patent Information
- Application Number
- CN202411189190.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-06
AI Technical Summary
The existing technology lacks a rationalization plan when designing the battery capacity of electric engineering machinery equipment, which leads to a large deviation between the theoretical battery life and the actual battery life, resulting in problems such as excessive battery life, high cost and poor sales.
By obtaining the historical operating status data of mechanical equipment, performing pre-processing and normality testing, selecting appropriate sample extraction methods, using pre-constructed mathematical models to calculate battery capacity, directly collecting real data, reducing prototype experiments, shortening R&D cycles and improving Calculation accuracy.
It realizes the accuracy and data reliability of battery capacity calculation, reduces R&D costs, and improves the scientificity of battery capacity design and actual battery life.
Smart Images

Figure CN119089089A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engineering machinery, and in particular to a method, device, equipment and medium for calculating the battery capacity of mechanical equipment. Background Art
[0002] When users choose to purchase electric construction machinery products, battery life is a very important reference indicator. Long battery life often means larger battery capacity and higher vehicle purchase cost, but there is currently no mature solution for the design of battery life of electric construction machinery. Construction machinery is a non-road mobile machinery and a production tool. It is difficult to obtain reference from the battery capacity design of passenger cars.
[0003] There are currently two methods for designing the battery capacity of electric construction machinery: one is to test the corresponding model of fuel-fired earth-moving machinery, record the fuel consumption within a certain period of time, and then multiply it by the corresponding oil-to-electricity conversion ratio to obtain the corresponding battery capacity, and then use this capacity to manufacture a prototype for verification; the second is to combine market research and user survey results to manufacture a prototype, test the power consumption within a given period of time under different working conditions, and finally calculate the battery capacity that meets a certain endurance.
[0004] However, due to considerations of test costs, it is difficult to fully simulate the working environment, workplace and operator habits, so the theoretical battery life often deviates greatly from the actual battery life, and it is easy for the battery capacity to be too large, resulting in high prices and poor sales. Summary of the invention
[0005] Based on this, the present invention provides a method, device, equipment and medium for calculating the battery capacity of mechanical equipment to solve the problem of lack of a reasonable design scheme for the battery capacity of electric engineering machinery equipment.
[0006] In a first aspect, an embodiment of the present invention provides a method for calculating battery capacity of a mechanical device, the method comprising:
[0007] Acquire a historical operating status data set of multiple target mechanical equipment under a target model, and preprocess the historical operating status data set to obtain a preprocessed sample;
[0008] Calculate the sample values corresponding to each preprocessed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values;
[0009] Performing a normality test on the sample data set under each statistical rule, and selecting different sample extraction methods to perform sample extraction on the sample data set under each statistical rule according to the normality test results;
[0010] According to the sample sampling results, a pre-built mathematical model for battery capacity estimation is used to calculate the battery capacity value of the target mechanical equipment under the target model.
[0011] In a second aspect, an embodiment of the present invention further provides a device for reconstructing a three-dimensional model of an object, the device comprising:
[0012] A preprocessing sample acquisition module is used to acquire a historical operating status data set of multiple target mechanical equipment under a target model, and preprocess the historical operating status data set to obtain a preprocessing sample;
[0013] A sample data set generation module is used to calculate the sample values corresponding to each pre-processed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values;
[0014] A normality test module is used to perform a normality test on the sample data set under each statistical rule, and select different sample extraction methods to perform sample sampling on the sample data set under each statistical rule according to the normality test result;
[0015] The battery capacity value calculation module is used to calculate the battery capacity value of the target mechanical equipment under the target model according to the sample sampling result using a pre-built mathematical model for battery capacity estimation.
[0016] In a fourth aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for calculating the battery capacity of a mechanical device described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a method for calculating a battery capacity of a mechanical device as described in any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention reduces the collection link of prototype experimental data by directly collecting the actual operation data of mechanical equipment, shortens the research and development cycle and ensures the reliability of the data. Secondly, by setting the normality test, it can select the appropriate sampling method for different samples, thereby improving the accuracy of the battery capacity calculation results.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of a method for calculating battery capacity of mechanical equipment provided in accordance with the first embodiment of the present invention;
[0025] Figure 2 is a flow chart of another mechanical equipment battery capacity calculation method provided in accordance with the second embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of the structure of a mechanical equipment battery capacity calculation device provided according to Embodiment 3 of the present invention;
[0027] Figure 4 It is a structural schematic diagram of an electronic device for implementing a method for calculating battery capacity of mechanical equipment according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1 This is a flowchart of a method for calculating the battery capacity of mechanical equipment provided by the first embodiment of the present invention. This embodiment is applicable to the case of calculating the battery capacity of a certain model of electric engineering machinery. The method can be executed by a mechanical equipment battery capacity calculation device, which can be implemented in the form of hardware and / or software, and can be configured in the electric engineering machinery. Figure 1 As shown, the method includes:
[0032] S110, obtaining a historical operating status data set of a target mechanical device under a target model, and preprocessing the historical operating status data set to obtain a preprocessed sample.
[0033] In the embodiment of the present invention, the historical operation status data set refers to the historical data generated when a mechanical device of a certain target model is operated, which is obtained from the massive Internet of Vehicles data, and may include: data collection time, cumulative fuel consumption, cumulative working time, instantaneous fuel consumption, etc. Preprocessing the data set means cleaning abnormal values or null values in the historical data to ensure the availability and integrity of the data.
[0034] S120, respectively calculating sample values corresponding to each preprocessed sample under different statistical rules, and generating a sample data set corresponding to each statistical rule according to the sample values.
[0035] The statistical rules determine the statistical method used to calculate the samples. Calculating the preprocessed samples according to the corresponding statistical method can generate sample values that describe the current statistical rules. For ease of understanding, the preprocessed samples can be divided according to the statistical rules of one natural day. The preprocessed samples then solve various historical data based on the rule of one natural day, and the resulting sample values are the sample values corresponding to the statistical rules.
[0036] Optionally, respectively calculating sample values corresponding to each preprocessed sample under different statistical rules, and generating a sample data set corresponding to each statistical rule according to the sample values, including:
[0037] Under the statistical rules of one natural day, the fuel consumption and working hours of each target mechanical equipment in one natural day are calculated based on the preprocessed samples;
[0038] Calculate the hourly fuel consumption value of each target mechanical equipment according to the fuel consumption of one natural day and the working time of one natural day corresponding to each target mechanical equipment;
[0039] Under the statistical rules of continuous working time, the continuous working time value of each target mechanical equipment is calculated based on the preprocessed samples;
[0040] The unit hourly fuel consumption value of the target equipment is obtained to construct a first sample data set corresponding to the statistical rule of one natural day, and the continuous working time of all target equipment is obtained to construct a second sample data set corresponding to the statistical rule of the continuous working time.
[0041] Specifically, taking 1 natural day as the statistical rule means calculating the historical data in the sample data set on a daily basis. For example, the daily fuel consumption and daily working hours of the target equipment can be calculated based on the cumulative fuel consumption in the sample data set. Furthermore, according to the formula: unit hourly fuel consumption = daily fuel consumption ÷ daily working hours, the unit hourly fuel consumption value of the target equipment can be calculated, wherein the unit hourly fuel consumption refers to the average fuel consumption of the target equipment per working hour within 1 natural day. In actual operating scenarios, differences in operating environment or operating proficiency will lead to differences in the unit hourly fuel consumption of the same equipment. All calculated unit hourly fuel consumption values are constructed as the first sample data set.
[0042] Similarly, the continuous working time is another statistical rule in the embodiment of the present invention, which reflects the operation rule of the target device by calculating the working time of the target device working uninterruptedly, wherein if the collection time difference between two consecutive adjacent data is less than 0.5 hours, the device is considered to be in an uninterrupted working state. The uninterrupted working time of the target device is calculated and constructed as the second sample data set.
[0043] S130, performing a normality test on the sample data set under each statistical rule, and selecting different sample extraction methods to perform sample extraction on the sample data set under each statistical rule according to the normality test result.
[0044] Normality test is a statistical method used to test whether data obeys normal distribution. For many statistical tests, the population corresponding to the continuous variable is required to obey normal distribution. However, since the population is unknown or cannot be obtained, the normality of the population is judged by examining the normal distribution of the sample in the actual data analysis process. Specifically, by performing normality tests on the first sample data set and the second sample data set, it is tested whether the first sample data set and the second sample data set satisfy normal distribution.
[0045] The results of the normality test include passing the normality test and failing the normality test. Two corresponding sample extraction methods are preset for the two results of passing and failing the normality test to extract samples from the first sample data set or the second sample data set.
[0046] S140: According to the sample sampling result, a pre-constructed mathematical model for battery capacity estimation is used to calculate the battery capacity value of the target mechanical equipment under the target model.
[0047] Furthermore, the pre-built mathematical model for battery capacity estimation is:
[0048]
[0049] Among them, X is the fuel consumption per hour, Y is the continuous working time, k is the oil-to-electricity conversion coefficient, s is the power safety utilization coefficient, and C is the required battery capacity.
[0050] Among them, the hourly fuel consumption (X) is sampled in the first sample data set; the continuous working time (Y) is sampled in the second sample data set; the oil-to-electricity conversion coefficient k means that consuming 1L of fuel is equivalent to consuming k (kwh) of electricity; C is the required battery capacity, in kwh.
[0051] In an embodiment of the present invention, by acquiring the historical operating status data set of the target mechanical equipment, the statistical rules for dividing the heavy and heavy samples of one natural day and continuous working time are defined, and two sample data sets of unit hourly fuel consumption and continuous working time are constructed based on the above statistical rules. By performing normality tests on different sample data sets to determine whether the target sample data set obeys the normal distribution, a suitable sample sampling method can be selected for the target sample data set, and then the sample sampling method is used to extract samples for the calculation of the battery capacity value. The technical solution of the embodiment of the invention directly collects the real operating data of the mechanical equipment, reduces the collection link of the prototype experimental data, shortens the research and development cycle, and ensures the reliability of the data. Secondly, by setting the normality test, a suitable sampling method can be selected for different samples, thereby improving the accuracy of the battery capacity calculation results.
[0052] Embodiment 2
[0053] Figure 2 This is a flow chart of another method for reconstructing a three-dimensional model of an object provided in the second embodiment of the present invention. This embodiment is based on the first embodiment and is refined. Figure 2 As shown, the method includes:
[0054] S210: Acquire historical operating status data sets of multiple target mechanical equipment under target models, and preprocess the historical operating status data sets to obtain preprocessed samples.
[0055] S220 , respectively calculating sample values corresponding to each preprocessed sample under different statistical rules, and generating a sample data set corresponding to each statistical rule according to the sample values.
[0056] S230. Customize the null hypothesis condition and the alternative hypothesis condition corresponding to the null hypothesis condition according to the current sample data set.
[0057] In the embodiment of the present invention, the specific method of normality test is hypothesis test, which is to first make an original hypothesis about the population parameter, and then use sample information to determine whether the original hypothesis is reasonable. Among them, the original hypothesis is also called the null hypothesis, generally represented by H0, and the hypothesis opposite to the original hypothesis is the alternative hypothesis, represented by H1. The original hypothesis and the alternative hypothesis are mutually exclusive, and the test result must be one of the two.
[0058] In most cases, the null hypothesis is generally the hypothesis that the statistician wants to reject, and the alternative hypothesis is the hypothesis that the statistician wants to accept. In this way, by falsifying the null hypothesis, the hypothesis that the statistician really wants to accept can be disproved, but it is not absolute. In an embodiment of the present invention, for the first sample data set, H0 can be defined: the distribution of the first sample data set does not obey the normal distribution, then H1: the distribution of the first sample data set obeys the normal distribution. Similarly, the null hypothesis condition and the alternative hypothesis condition of the second sample data set can be customized.
[0059] Optionally, based on the current sample data set, customize the null hypothesis and the alternative hypothesis relative to the null hypothesis, which can include:
[0060] The null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption satisfies the normal distribution;
[0061] or
[0062] The null hypothesis of the second sample data set is that the distribution of continuous working hours does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the second sample data set is that the distribution of continuous working hours satisfies the normal distribution.
[0063] S240. Determine the rejection region of the current sample data set according to the null hypothesis condition and the alternative hypothesis condition.
[0064] The main function of the rejection region is to determine whether the hypothesis test rejects the null hypothesis. If the null hypothesis is true, the probability that the target sample data set falls into the rejection region is small. That is, if the target sample data set falls into the rejection region, the null hypothesis is rejected.
[0065] S250, calculating a test statistic using the sample values in the current sample data set, and determining whether the test statistic falls within the rejection region.
[0066] In hypothesis testing, statistical inference is required with the help of sample statistics. This sample statistic is called a test statistic. Different test statistics need to be selected for different hypothesis testing problems. The selection of the test statistic needs to comprehensively consider factors such as whether the sample size or variance is known.
[0067] S260. If the test statistic falls within the rejection region, it is determined that the current sample data set passes the normality test; if the test statistic does not fall within the rejection region, it is determined that the current sample data set does not pass the normality test.
[0068] When the test statistic falls into the rejection region, it means that the null hypothesis condition is not established, and the null hypothesis is rejected. In the embodiment of the present invention, taking the first sample data set as an example, the null hypothesis is: the distribution of the first sample data set does not obey the normal distribution. When the null hypothesis condition is not established, the alternative hypothesis is established, indicating that the first sample data set obeys the normal distribution, that is, it passes the normality verification; similarly, if the test statistic does not fall into the rejection region, the null hypothesis condition is established, and the null hypothesis is not rejected at this time, indicating that the first sample data set does not obey the normal distribution, that is, it fails the normality verification.
[0069] S270: If the normality test is passed, the mean and variance of the target sample data set are calculated, and a standardization program is called to randomly extract a sample from the normally distributed target sample data set with the current mean and variance.
[0070] If the target sample data set passes the normality test, it means that the samples in the data set obey the normal distribution. For samples that obey the normal distribution, there are two parameters, namely the mean and the variance. 2 Under the normal distribution of , random sampling can be directly performed to obtain a sample value of unit hourly fuel consumption or continuous working time.
[0071] S280: If the normality test fails, constructing an empirical distribution function using the target sample data set and then randomly extracting a sample from the target sample data set.
[0072] If the target sample data set fails the normality test, it means that the samples in the data set do not obey the normal distribution and are random. The empirical distribution function is calculated based on the sample data and is used to describe the data distribution of the sample. It can describe the probability distribution of random samples at different values. Specifically, the sample data in the target sample data set are first sorted, and then the cumulative probability of each observation is calculated based on the sample data to obtain the empirical distribution function of the sample. When a sample is drawn from the population using the empirical distribution function, statistical parameters such as the sample expectation and variance can be further derived.
[0073] S290, inputting a sample extracted from each sample data set into a pre-built mathematical model for battery capacity estimation to obtain a solution for the battery capacity.
[0074] One sampling can extract a sample value of unit hour fuel consumption in the first sample data set, recorded as X1. Similarly, a sample value of continuous working time can be extracted from the second sample data set, recorded as Y1. In the equation, k and s are both known, so in each sampling, substituting the samples under the two statistical rules into the above mathematical model, a solution for the battery capacity can be obtained, which is denoted as C1.
[0075] S2100 , according to the solutions of the battery capacities calculated by the multiple samples obtained by multiple samplings, the solutions of the battery capacities are sorted in order from small to large, and a sequence set of the battery capacity solutions is constructed.
[0076] After sampling n times, n battery capacity solutions can be obtained. After sorting the n battery capacity solutions in ascending order, a formula of the form [C1, C2, ..., C n The embodiment of the present invention utilizes the basic idea of the Monte Carlo method to obtain a large number of random samples to approximate the value of a system and obtain the battery capacity value of the final target mechanical equipment. The more sampling times in the whole process, the more accurate the result.
[0077] S2110. According to the preset percentile value, select the battery capacity value at the position corresponding to the percentile value in the sequence set as the battery capacity value of the target mechanical equipment under the final target model.
[0078] In the embodiment of the present invention, the percentile value is also called the no-range anxiety coefficient, which is expressed as the proportion of user usage behaviors without range pressure. When the percentile value is too high, it can avoid the user's range anxiety to the greatest extent, but it will lead to excessively high R&D costs. When the percentile value is too low, it cannot balance the user's range anxiety. Therefore, in the embodiment of the present invention, the percentile value can be set to 95%, denoted as α, then α = 95%. When the percentile value is determined, in the sequence set of battery capacity solutions, select the battery capacity value corresponding to the 95th percentile of the total number n, denoted as C α , C α That is, the value of the battery capacity of the final target mechanical equipment.
[0079] In the embodiment of the present invention, the method of normality test of sample data set is specifically described, and the target sample data set is judged whether it satisfies normal distribution by using the self-defined null hypothesis and alternative hypothesis conditions. At the same time, two sample sampling methods are disclosed, namely, random sampling of samples by calling the standardized program and sampling of samples by using the empirical distribution function. The sampled samples are input into the mathematical model of battery capacity estimation to obtain n battery capacity solutions, and the final battery capacity value is determined according to the quantile value. The calculation process of the entire calculation model omits the tedious mathematical derivation and calculation process in conventional means, and the calculation accuracy is high, which realizes the efficient calculation of the battery capacity of the target mechanical equipment in a targeted manner.
[0080] Embodiment 3
[0081] Figure 3 This is a schematic diagram of the structure of a three-dimensional model reconstruction device for an object provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:
[0082] The preprocessing sample acquisition module 310 is used to acquire a historical operating status data set of a plurality of target mechanical devices under a target model, and preprocess the historical operating status data set to obtain a preprocessing sample;
[0083] The sample data set generation module 320 is used to calculate the sample values corresponding to each pre-processed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values;
[0084] A normality test module 330 is used to perform a normality test on the sample data set under each statistical rule, and select different sample extraction methods to perform sample extraction on the sample data set under each statistical rule according to the normality test result;
[0085] The battery capacity value calculation module 340 is used to calculate the battery capacity value of the target mechanical equipment under the target model according to the sample sampling result by using a pre-built mathematical model for battery capacity estimation.
[0086] In an embodiment of the present invention, by acquiring the historical operating status data set of the target mechanical equipment, the statistical rules for dividing the heavy and heavy samples of one natural day and continuous working time are defined, and two sample data sets of unit hourly fuel consumption and continuous working time are constructed based on the above statistical rules. By performing normality tests on different sample data sets to determine whether the target sample data set obeys the normal distribution, a suitable sample sampling method can be selected for the target sample data set, and then the sample sampling method is used to extract samples for the calculation of the battery capacity value. The technical solution of the embodiment of the invention directly collects the real operating data of the mechanical equipment, reduces the collection link of the prototype experimental data, shortens the research and development cycle, and ensures the reliability of the data. Secondly, by setting the normality test, a suitable sampling method can be selected for different samples, thereby improving the accuracy of the battery capacity calculation results.
[0087] Based on the above embodiments, the sample data set generation module 320 includes:
[0088] A random variable acquisition unit is used to calculate the fuel consumption of each target mechanical equipment in one natural day and the working time of one natural day according to the preprocessed samples under the statistical rules of one natural day;
[0089] A first random variable calculation unit is used to calculate the unit hourly fuel consumption value of each target mechanical equipment according to the fuel consumption of one natural day and the working time of one natural day corresponding to each target mechanical equipment;
[0090] A second random variable calculation unit is used to calculate the continuous working time value of each target mechanical equipment according to the preprocessed samples under the statistical rule of the continuous working time;
[0091] The sample data set construction unit is used to obtain the unit hourly fuel consumption value of the target equipment to construct a first sample data set corresponding to the statistical rules of one natural day, and obtain the continuous working time of all target equipment to construct a second sample data set corresponding to the statistical rules of the continuous working time.
[0092] Based on the above embodiments, the sample data set generation module 320 includes:
[0093] The hypothesis testing unit is used to customize the null hypothesis condition and the alternative hypothesis condition relative to the null hypothesis condition according to the current sample data set;
[0094] A rejection region determination unit, used to determine the rejection region of the current sample data set according to the null hypothesis condition and the alternative hypothesis condition;
[0095] A statistics calculation unit, used to calculate the test statistic using the sample values in the current sample data set, and determine whether the test statistic falls within the rejection region;
[0096] The normality determination unit is used to determine that the current sample data set passes the normality test if the test statistic falls within the rejection region; if the test statistic does not fall within the rejection region, it is determined that the current sample data set fails the normality test.
[0097] Based on the above embodiments, the hypothesis testing unit includes:
[0098] The null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption satisfies the normal distribution;
[0099] or
[0100] The null hypothesis of the second sample data set is that the distribution of continuous working hours does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the second sample data set is that the distribution of continuous working hours satisfies the normal distribution.
[0101] Based on the above embodiments, the sample data set generation module 320 further includes:
[0102] The first sample extraction unit is used to calculate the mean and variance of the target sample data set if the normality test is passed, and call the standardization program to randomly extract a sample from the target sample data set with a normal distribution of the current mean and variance;
[0103] The second sample extraction unit is used to construct an empirical distribution function using the target sample data set and then randomly extract a sample from the target sample data set if the normality test fails.
[0104] Based on the above embodiments, the battery capacity value calculation module 340 includes:
[0105] A battery capacity calculation unit, used for inputting a sample extracted from each sample data set into a pre-built mathematical model for battery capacity estimation to obtain a solution for the battery capacity;
[0106] A sequence set construction unit is used to sort the solutions of the battery capacities calculated by the multiple samples obtained by multiple samplings in an ascending order to construct a sequence set of battery capacity solutions;
[0107] The quantile value determination unit is used to select the battery capacity value at the position corresponding to the quantile value in the sequence set according to the preset quantile value as the battery capacity value of the target mechanical equipment under the final target model.
[0108] Based on the above embodiments, the battery capacity calculation unit includes:
[0109] The pre-built mathematical model for battery capacity estimation is:
[0110]
[0111] Among them, X is the fuel consumption per hour, Y is the continuous working time, k is the oil-to-electricity conversion coefficient, s is the power safety utilization coefficient, and C is the required battery capacity.
[0112] A mechanical equipment battery capacity calculation device provided in an embodiment of the present invention can execute a mechanical equipment battery capacity calculation method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0113] Embodiment 4
[0114] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0115] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0116] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0117] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for calculating the battery capacity of a mechanical device.
[0118] That is: obtaining a historical operating status data set of multiple target mechanical equipment under a target model, and preprocessing the historical operating status data set to obtain a preprocessed sample;
[0119] Calculate the sample values corresponding to each preprocessed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values;
[0120] Performing a normality test on the sample data set under each statistical rule, and selecting different sample extraction methods to perform sample extraction on the sample data set under each statistical rule according to the normality test results;
[0121] According to the sample sampling results, a pre-built mathematical model for battery capacity estimation is used to calculate the battery capacity value of the target mechanical equipment under the target model.
[0122] In some embodiments, a mechanical device battery capacity calculation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the mechanical device battery capacity calculation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a mechanical device battery capacity calculation method in any other appropriate manner (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0128] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS servers.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for calculating the battery capacity of mechanical equipment, It is characterized in that include: Acquire a historical operating status data set of a target mechanical device under a target model, and preprocess the historical operating status data set to obtain a preprocessed sample; Calculate the sample values corresponding to each preprocessed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values; Performing a normality test on the sample data set under each statistical rule, and selecting different sample extraction methods to perform sample extraction on the sample data set under each statistical rule according to the normality test results; According to the sample sampling results, a pre-constructed mathematical model for battery capacity estimation is used to calculate the battery capacity value of the target mechanical equipment under the target model.
2. The method according to claim 1, It is characterized in that The sample values corresponding to each preprocessed sample are calculated under different statistical rules, and a sample data set corresponding to each statistical rule is generated according to the sample values, including: Under the statistical rules of one natural day, the fuel consumption of the target mechanical equipment in one natural day and the working hours of one natural day are calculated based on the pre-processed samples; Calculate the hourly fuel consumption value of the target mechanical equipment according to the fuel consumption of the natural day and the working time of the natural day corresponding to each target mechanical equipment; Under the statistical rules of continuous working time, the continuous working time value of the target mechanical equipment is calculated based on the preprocessed samples; The first sample data set corresponding to the statistical rule of one natural day is constructed by using the unit hourly fuel consumption value of the target device, and the second sample data set corresponding to the statistical rule of the continuous working time is constructed by using the continuous working time of the target device.
3. The method according to claim 1, It is characterized in that Perform normality tests on sample data sets under each statistical rule, including: Customize the null hypothesis and the alternative hypothesis relative to the null hypothesis based on the current sample data set; Determine the rejection region of the current sample data set based on the null hypothesis and alternative hypothesis conditions; Calculate the test statistic using the sample values in the current sample data set, and determine whether the test statistic falls within the rejection region; If the test statistic falls within the rejection region, it is determined that the current sample data set passes the normality test; if the test statistic does not fall within the rejection region, it is determined that the current sample data set fails the normality test.
4. The method according to claim 1, It is characterized in that According to the normality test results, different sampling methods are selected to perform sample sampling on the sample data set under each statistical rule, including: If the normality test is passed, the mean and variance of the target sample data set are calculated, and the standardization program is called to randomly draw a sample from the target sample data set with the current mean and variance and the normal distribution; If the normality test fails, an empirical distribution function is constructed using the target sample data set and then a sample is randomly drawn from the target sample data set.
5. The method according to claim 4, It is characterized in that According to the sample sampling results, the battery capacity value of the target mechanical equipment under the target model is calculated using a pre-built mathematical model for battery capacity estimation, including: Inputting a sample extracted from each sample data set into a pre-built mathematical model for battery capacity estimation to obtain a solution for battery capacity; According to the solutions of several battery capacities calculated by multiple samples obtained by multiple samplings, the solutions of several battery capacities are sorted in order from small to large, and a sequence set of battery capacity solutions is constructed; According to the preset percentile value, the battery capacity value at the position corresponding to the percentile value is selected in the sequence set as the battery capacity value of the target mechanical equipment under the final target model.
6. The method according to claim 3, It is characterized in that Based on the current sample data set, customize the null hypothesis and the alternative hypothesis relative to the null hypothesis, including: The null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the first sample data set is: the distribution of unit hourly fuel consumption satisfies the normal distribution; or The null hypothesis of the second sample data set is that the distribution of continuous working hours does not satisfy the normal distribution, and the alternative hypothesis corresponding to the null hypothesis of the second sample data set is that the distribution of continuous working hours satisfies the normal distribution.
7. The method according to claim 1, It is characterized in that The pre-built mathematical model for battery capacity estimation is: Among them, X is the fuel consumption per hour, Y is the continuous working time, k is the oil-to-electricity conversion coefficient, s is the power safety utilization coefficient, and C is the required battery capacity.
8. A device for designing battery capacity of mechanical equipment, It is characterized in that include: A preprocessing sample acquisition module is used to acquire a historical operating status data set of a target mechanical device under a target model, and preprocess the historical operating status data set to obtain a preprocessing sample; A sample data set generation module is used to calculate the sample values corresponding to each pre-processed sample under different statistical rules, and generate a sample data set corresponding to each statistical rule according to the sample values; A normality test module is used to perform a normality test on the sample data set under each statistical rule, and select different sample extraction methods to perform sample sampling on the sample data set under each statistical rule according to the normality test result; The battery capacity value calculation module is used to calculate the battery capacity value of the target mechanical equipment under the target model according to the sample sampling result using a pre-built mathematical model for battery capacity estimation.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for calculating the battery capacity of a mechanical device according to any one of claims 1-7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a mechanical equipment battery capacity calculation method according to any one of claims 1 to 7 when executed.
