Target current value prediction method, device, equipment and computer readable medium
Patent Information
- Application Number
- CN202311094190.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2043-08-28
AI Technical Summary
首先,该区间可能由于工况的环境和多变量的复杂性导致确定出错,这样就无法进行二分法迭代计算
[0017]On the one hand, when the target current prediction interval does not include the target current value of the first operating point to be calculated, the target current prediction interval can be adjusted to ensure that the target current value of the first operating point to be calculated is included within the target current prediction interval. Only in this way can the target current value be calculated, thus improving the accuracy of the target current prediction interval distribution. Based on an accurate target current prediction interval, there is no need to waste a lot of computing resources on the process of calculating the target operating point based on an invalid target current prediction interval, which can improve the efficiency of calculating the target current value.
Smart Images

Figure CN117250398B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic engineering, and more specifically, to a method for predicting a target current value, a device for predicting a target current value, an electronic device, and a computer-readable medium. Background Technology
[0002] Operating point refers to the state or parameter of a system or device measured or recorded under specific operating conditions. For example, in the field of battery or energy storage systems, operating point is often used to describe the performance and behavior of a battery under operating conditions such as different voltages, currents, and temperatures.
[0003] Currently, the target current values at various operating points are often calculated using a bisection iterative method. However, before performing the bisection iterative calculation, the approximate range of the target current value at a given operating point needs to be provided to the computer. First, this range may be incorrectly determined due to the complexity of the operating environment and multiple variables, making bisection iterative calculation impossible. Second, to ensure the target current value at the operating point falls within this range, the range needs to be set as large as possible, which increases the number of iterations and leads to excessively long calculation times.
[0004] Therefore, improving the calculation efficiency of the target current value is an urgent problem to be solved. Summary of the Invention
[0005] Embodiments of this application provide a method and apparatus for predicting target current values, an electronic device, and a computer-readable medium, which can improve the calculation efficiency of target current values.
[0006] In a first aspect, embodiments of this application provide a method for predicting a target current value, including:
[0007] Obtain the target current prediction range and operating point set corresponding to the current operating state of the battery; wherein, the operating point set includes multiple operating points with serial numbers;
[0008] Operating points with operating point numbers less than a preset number threshold are taken as the first operating points to be calculated. If the target current value of the first operating point to be calculated is not within the target current prediction interval, the target current prediction interval is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain a first target current prediction interval containing the target current value of the first operating point to be calculated. Based on the first target current prediction interval, the target current value of the first operating point to be calculated is obtained.
[0009] The operating point whose operating point number is greater than or equal to the preset number threshold is taken as the second operating point to be calculated. Based on the target current values of the two adjacent operating points before the second operating point to be calculated, a second target current prediction interval corresponding to the target current value of the second operating point to be calculated is constructed. Based on the second target current prediction interval, the target current value of the second operating point to be calculated is obtained.
[0010] Secondly, embodiments of this application provide a device for predicting a target current value, comprising:
[0011] The acquisition unit is used to acquire the target current prediction range and the set of operating points corresponding to the current operating state of the battery; wherein, the set of operating points includes multiple operating points with serial numbers.
[0012] The processing unit is configured to take the operating point with the operating point number less than the preset number threshold as the first operating point to be calculated. If it is detected that the target current value of the first operating point to be calculated is not in the target current prediction interval, the target current prediction interval is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain a first target current prediction interval containing the target current value of the first operating point to be calculated, and the target current value of the first operating point to be calculated is calculated based on the first target current prediction interval.
[0013] The processing unit is further configured to take the operating point with the operating point number greater than or equal to the preset number threshold as the second operating point to be calculated, construct a second target current prediction interval corresponding to the target current value of the second operating point to be calculated based on the target current values of the two adjacent operating points before the second operating point to be calculated, and calculate the target current value of the second operating point to be calculated based on the second target current prediction interval.
[0014] Thirdly, embodiments of this application provide an electronic device, including one or more processors; and a memory for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the target current value prediction method as described above.
[0015] Fourthly, embodiments of this application provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method for predicting the target current value as described above.
[0016] In the technical solutions provided by the embodiments of this application:
[0017] On the one hand, when the target current prediction interval does not include the target current value of the first operating point to be calculated, the target current prediction interval can be adjusted to ensure that the target current value of the first operating point to be calculated is included within the target current prediction interval. Only in this way can the target current value be calculated, thus improving the accuracy of the target current prediction interval distribution. Based on an accurate target current prediction interval, there is no need to waste a lot of computing resources on the process of calculating the target operating point based on an invalid target current prediction interval, which can improve the efficiency of calculating the target current value.
[0018] On the other hand, when calculating the target current value of the second operating condition point to be calculated, the target current values of the two adjacent operating conditions points can be used to construct the corresponding second target current prediction interval. The interval is relatively short, which reduces the calculation complexity of the target current value of the second operating condition point to be calculated and improves the calculation efficiency of the target current value.
[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of an implementation environment in which embodiments of this application can be applied;
[0021] Figure 2 This is a flowchart illustrating a method for predicting a target current value, as shown in an exemplary embodiment of this application;
[0022] Figure 3 This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0023] Figure 4 This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0024] Figure 5a This is a schematic diagram illustrating the process of adjusting the target current prediction range to the right according to this application;
[0025] Figure 5b This is a schematic diagram illustrating the process of adjusting the target current prediction range to the left according to this application;
[0026] Figure 6 This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0027] Figure 7 This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0028] Figure 8This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0029] Figure 9 This is a flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application;
[0030] Figure 10 This is a diagram showing the arrangement of target current values at multiple operating points according to this application;
[0031] Figure 11 This is a block diagram of a target current value prediction device according to an embodiment of this application;
[0032] Figure 12 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic devices of the present application embodiments. Detailed Implementation
[0033] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0034] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0035] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0036] It should also be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0037] Before introducing the technical solutions of the embodiments of this application, let's first introduce the technical terms involved in the embodiments of this application.
[0038] A cycle point (CB) refers to the state or parameter value of a system or device measured or recorded under specific operating conditions. It describes the characteristics and performance of a system under different operating states. The meaning of CB may vary across different fields, but generally, it is used to describe the operating state and performance of equipment under various working conditions. In engineering fields such as energy, batteries, automobiles, and machinery, CB typically involves multiple parameters, such as voltage, current, temperature, speed, and load, to describe the system's performance and behavior under different operating conditions. For example, in the battery field, CB can describe the battery's performance characteristics under different charging and discharging currents and temperatures. In the automotive field, CB can describe the vehicle's fuel efficiency and emissions under different speeds and road conditions.
[0039] Binary search is a search algorithm used to find the position of a specific element in a sorted array or list. The algorithm narrows the search range by comparing the target value with the middle element of the array, then compares again within the narrowed range, repeating this process until the target element is found or it is determined that the target element does not exist.
[0040] In related technologies, a crucial consideration when performing bisection method iterative calculations is the target current prediction interval. The target current prediction interval must be deemed reasonable before the bisection method iterative calculations begin, particularly ensuring that it includes the operating condition value; otherwise, the bisection method iterative calculations cannot proceed. However, since it is difficult to obtain a reasonable target current prediction interval before the calculations begin, this can lead to difficulties in the bisection method iterative calculations.
[0041] Furthermore, the problem becomes more complex when calculating a large number of operating points, each with a wide distribution of target current values. In such cases, it is necessary to ensure that the target current prediction interval encompasses the target current values for all operating points. A common approach is to set a large boundary range. However, this method may result in an excessively large target current prediction interval, increasing the number of bisection iterations and consequently lengthening the computation time.
[0042] Based on this, embodiments of this application propose a data processing method, a data processing apparatus, a data processing device, a computer-readable storage medium, and a computer program product. In these embodiments, the computer can first obtain the current state of the battery and the corresponding target current prediction range. If the first operating point to be calculated is not within the target current prediction range, the target current prediction range is adjusted to obtain a first target current prediction range containing the first operating point to be calculated. Then, the target current value of the first operating point to be calculated is calculated based on the first target current prediction range. For the second-generation operating point, a second target current prediction range can be constructed based on the target current values of the two adjacent operating points before the current operating point, thereby calculating the target current value of the second operating point to be calculated.
[0043] In this method, on the one hand, the target current prediction interval does not necessarily have to include the target current value of the operating point to be calculated. The computer can obtain a target current prediction interval that includes the target current value of the corresponding operating point to be calculated by reasonable adjustment, thus ensuring that the target current prediction interval contains the target current value. On the other hand, the second operating point to be calculated can use its two previous adjacent operating points to construct the second target current prediction interval. This interval is smaller, reducing the computational complexity of the target current value.
[0044] The target current value prediction method, apparatus, electronic device, and computer-readable medium proposed in this application relate to the field of electronic engineering technology, and these embodiments will be described in detail below.
[0045] Please see Figure 1 , Figure 1 This is a schematic diagram of one implementation environment involved in this application. For example... Figure 1 As shown, in this implementation environment, the vehicle can be a hybrid vehicle, meaning it is equipped with an engine 130 and a battery 110. The engine 130 can be classified as a fuel-efficient engine, meaning it consumes fuel to provide power. The battery 110 can be a lithium-ion battery. Therefore, when the driver presses the accelerator pedal 120, the vehicle can flexibly choose its power source: either the fuel-efficient engine 130, the battery 110, or both simultaneously.
[0046] The vehicle also includes a sensor 140, which may be a lidar sensor, a gravity sensor, a liquid detection sensor, a temperature sensor, etc., capable of detecting current road conditions, road slope, weather conditions, whether it is raining, etc. This application embodiment does not limit the specific type of sensor 140. Furthermore, the vehicle may also include other components, such as a display screen, operating system, chip, memory, etc., which are not limited in this application embodiment.
[0047] In actual driving of a hybrid vehicle, the driver may press the accelerator pedal 120 as needed, and the vehicle will choose to use the engine 130, the battery 110, or a combination of both to provide power. These different driving situations and power selections will result in different operating conditions. Therefore, in this application, different driving situations and power selections can be regarded as different operating conditions.
[0048] Operating condition status describes the state of a system or device under specific operating conditions. One operating condition status can correspond to multiple operating points. An operating condition status encompasses a set of related operating conditions and environmental parameters, while an operating point is a specific value or condition within that particular operating condition status. For example, in the field of vehicle batteries, an operating condition status may include specific parameters such as temperature, charging / discharging current, and voltage. Within this operating condition status, there may be multiple specific operating points, each corresponding to different combinations of current and voltage. Each operating point represents the specific operating conditions and performance of the battery under that operating condition status.
[0049] For example, the acceleration state of the vehicle can be determined based on the force with which the driver presses the accelerator pedal 120. If the driver presses the accelerator pedal 120 more forcefully, it means that greater power output is required, and the combined operation of the engine 130 and the battery 110 may be selected. Conversely, if the driver presses the accelerator pedal 120 lightly, the battery 110 may be used as the power source alone. Based on these conditions, different acceleration operating points can be determined.
[0050] Optionally, different operating modes can be determined depending on whether the vehicle uses engine 130 or battery 110 as power. For example, when the vehicle uses only engine 130, this can be considered as one operating condition; while when the vehicle uses only battery 110, this can also be considered as another operating condition. At the same time, the switching process between engine 130 and battery 110, that is, the process of switching from one power source to another, can also be considered, and these transition states can also be calculated as operating conditions.
[0051] Under different operating conditions, the maximum allowable charge / discharge current and maximum allowable charge / discharge power of the battery can be calculated based on the actual performance parameters of the engine 130 and battery 110, combined with the prediction method for the target current value of this application. This allows for a more accurate assessment of battery performance and energy consumption under different driving conditions.
[0052] Optionally, in addition to the various types of operating conditions triggered by the driver pressing the accelerator pedal 120, the operating conditions in this application can also be different types of operating conditions formed based on the ambient temperature, ambient humidity, slope, wind resistance, road friction coefficient, and other conditions detected by the sensor. This application embodiment does not limit these conditions.
[0053] Optionally, the method for predicting the target current value in this application is not limited to the vehicle field; it can also be used to calculate the target value of operating points in other fields. The target value can be a current value, speed value, voltage value, etc., and those skilled in the art can change the specific meaning of the target value according to the actual application scenario. For example, in the aerospace field, the method for calculating the target value of operating points can be used to optimize flight control systems, power systems, etc. Based on different flight stages and environmental conditions, the target value under different operating points is determined to optimize system performance. In the building field, the method for calculating the target value of operating points can be applied to building energy efficiency management systems. By considering different indoor and outdoor environmental conditions, the energy use of buildings can be optimized, and building energy efficiency can be improved. In the medical equipment field, the method for calculating the target value of operating points can be used to optimize the use of medical equipment, improve equipment performance and efficiency, while ensuring safety and stability. And so on, the embodiments in this application are not limited.
[0054] For ease of explanation, the embodiments in this application are described using the calculation of the target current value of the battery at various operating conditions as an application scenario, and are not intended to be limiting.
[0055] Figure 2 This is a flowchart illustrating a method for predicting a target current value according to an exemplary embodiment. Figure 2 As shown, in an exemplary embodiment, the method may include steps S210 to S230, and this embodiment may be specifically implemented by a computer mounted in a vehicle. Of course, this method can also be applied to other implementation environments, and there is no limitation on the entity executing the method.
[0056] The following section will elaborate on the method for predicting the target current value, using a computer as an example of the executing entity.
[0057] The details of S210 to S230 are as follows:
[0058] S210: Obtain the target current prediction range and set of operating points corresponding to the current operating state of the battery.
[0059] The set of operating points includes multiple operating points with serial numbers.
[0060] The target current prediction range can be set by those skilled in the art. The set of operating points can contain multiple operating points, and each operating point has a serial number, such as operating point 1, operating point 2, operating point 3, and operating point 4.
[0061] S220: The operating point with the operating point number less than the preset number threshold is taken as the first operating point to be calculated. If the target current value of the first operating point to be calculated is not in the target current prediction interval, the target current prediction interval is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain the first target current prediction interval containing the target current value of the first operating point to be calculated. Based on the first target current prediction interval, the target current value corresponding to the first operating point to be calculated is calculated.
[0062] The first operating point to be calculated can be an operating point with a smaller serial number, such as operating point 1 and operating point 2. In this case, the computer can use the target current prediction range to calculate the target current value of the first operating point to be calculated.
[0063] In this embodiment, each operating point can correspond to a current prediction function, thus encompassing multiple operating values. The current prediction function can be a monotonically increasing function with a zero point in (0, +∞), such as a step function, a linear function, or a logarithmic function. This zero point corresponds to a current value, which can be considered the maximum current value at that operating point and can be used as the target current value for that operating point. For example, at an ambient temperature of 10℃ and a vehicle speed of 50km / h, the vehicle battery's discharge can be varied based on changes in the accelerator pedal's opening and closing angle, resulting in a series of discharge currents. The maximum discharge current among these is the target current value for that operating point.
[0064] Therefore, the target current value of the first operating condition can be calculated based on the current prediction function of the first operating condition.
[0065] Specifically, the computer can first detect whether the target current prediction interval contains the target current value of the first operating condition point to be calculated. If it does, the target current prediction interval can be used as the first target current prediction interval corresponding to the first operating condition point to be calculated. If it does not contain the target current, the target current prediction interval needs to be adjusted according to the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain the first target current prediction interval containing the target current value of the first operating condition point to be calculated.
[0066] Specifically, to determine whether the target current prediction interval contains the target current value of the first operating condition point to be calculated, the initial prediction value and the final prediction value of the target current prediction interval can be substituted into the current prediction function respectively. Based on the positive and negative relationship between the two function values, it can be determined whether the target current prediction interval contains the target current value of the first operating condition point to be calculated.
[0067] When adjusting the target current prediction range, the target current prediction range can be adjusted to the left or right until the first target current prediction range containing the target current value of the first operating condition point to be calculated is obtained.
[0068] After obtaining the first target current prediction interval, the computer can calculate the target current value corresponding to the first operating point to be calculated based on the first target current prediction interval. Specifically, a bisection iterative method can be used to gradually narrow down the first target current prediction interval, while always keeping the function values of the two endpoints of the first target current prediction interval under the current prediction function opposite in sign. Until the length of the prediction interval is less than a preset tolerance, the target current value of the first target operating point can be calculated.
[0069] S230: Take the operating point whose operating point number is greater than or equal to the preset number threshold as the second operating point to be calculated, construct the second target current prediction interval corresponding to the second operating point to be calculated based on the target current values of the two adjacent operating points before the second operating point to be calculated, and calculate the target current value of the second operating point to be calculated based on the second target current prediction interval.
[0070] The second operating condition to be calculated can be an operating condition with a higher serial number, such as operating condition 3, operating condition 4, etc. In this case, the computer can use the target current values of the two adjacent operating conditions to the second operating condition to construct a second target current prediction interval, in order to calculate the target current value of the second operating condition. This is because an operating condition contains multiple operating conditions, and the changes in the target current values of these multiple operating conditions often exhibit a certain pattern, such as a linear function distribution of the target current values of multiple operating conditions.
[0071] In this way, by using the target current values of the two adjacent operating points before the second operating point to be calculated to construct the second target current prediction interval, the length of the prediction interval can be minimized, thereby reducing the need for bisection iteration based on the second target current prediction interval to calculate the target current value corresponding to the second operating point to be calculated.
[0072] This method addresses two key issues. First, when the target current prediction interval does not include the target current value of the first operating point to be calculated, the target current prediction interval can be adjusted to ensure that the target current value of the first operating point to be calculated is included within the target current prediction interval, thus improving the accuracy of the target current prediction interval distribution. Second, based on an accurate target current prediction interval, the efficiency of calculating the target current value can be improved, eliminating the need to waste significant computational resources on calculating the target operating point based on an invalid target current prediction interval.
[0073] On the other hand, when calculating the target current value of the second operating point to be calculated, the target current values of the two adjacent operating points can be used to construct the corresponding second target current prediction interval. This interval is relatively short, reducing the computational complexity of the target current value of the second operating point to be calculated. It eliminates the need to use the aforementioned target current prediction interval for calculation, thus improving the computational efficiency of the target current value. The more operating points in this application, the higher the computational efficiency for the target current value of each operating point to be calculated.
[0074] Please see Figure 3 , Figure 3 A flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application. Figure 3 As shown, in an exemplary embodiment, the method for predicting the target current value can be implemented by a computer, including steps S310 to S330. Steps S310 to S330 can be... Figure 2 The specific implementation process of "adjusting the target current prediction interval based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain the first target current prediction interval containing the target current value of the first operating condition point to be calculated" in S220 is shown.
[0075] The following is a detailed introduction to S310 to S330:
[0076] S310: Obtain the current prediction function corresponding to the first operating condition point to be calculated.
[0077] Under the current operating conditions, when the computer calculates the first operating point to be calculated, it can obtain the corresponding current prediction function. This current prediction function can be represented by f(x).
[0078] S320: Calculate the initial function value corresponding to the initial prediction value based on the current prediction function, and calculate the termination function value corresponding to the termination prediction value.
[0079] The initial prediction value can be represented as a, and the final prediction value as b. Then the corresponding initial function value can be represented as f(a), and the corresponding final function value can be represented as f(b).
[0080] S330: Adjust the target current prediction interval based on the initial function value and the termination function value to obtain the first target current prediction interval.
[0081] The computer can determine whether the target current value of the first operating point to be calculated is within the target current prediction interval based on the signs of f(a) and f(b). If f(a) and f(b) have the same sign, it means that the current prediction function does not have a zero point (i.e., the target operating point) within the interval from a to b. If f(a) and f(b) have opposite signs, it means that the current prediction function has a zero point within the interval from a to b.
[0082] Furthermore, if the computer determines that f(a) and f(b) have the same sign, it also needs to determine the magnitude of f(a) and f(b) relative to zero, and then select different adjustment methods according to different magnitudes to obtain the first target current prediction range.
[0083] This method calculates the function value of the current prediction function, and adjusts the target current prediction interval by judging the positive and negative relationship of the function value and its relationship with zero, so as to obtain a more accurate first target current prediction interval, thereby improving the accuracy and calculation efficiency of the target current value prediction for the operating condition.
[0084] Please see Figure 4 , Figure 4 A flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application. Figure 4 As shown, in an exemplary embodiment, the method for predicting the target current value can be implemented by a computer, including steps S310 to S320 and S410 to S420. That is, steps S410 to S420 are... Figure 3 The specific implementation method of S330 is shown.
[0085] The following is a detailed introduction to S410 to S420:
[0086] S410, if both the initial function value and the termination function value are less than zero, then the target current prediction interval is adjusted to the right to obtain the first target current prediction interval.
[0087] That is, f(a) and f(b) are both less than 0, indicating that the target current prediction interval is to the left of the target current value of the first operating condition point to be calculated. The target current prediction interval needs to be adjusted to the right in order to obtain the target current value containing the first operating condition point to be calculated.
[0088] Specifically, S410 may include S411 to S413.
[0089] The following describes S411 to S413:
[0090] S411: Assign the terminated prediction value to the initial prediction value to obtain the updated initial prediction value.
[0091] The computer can modify the initial prediction value to the final prediction value; that is, by setting a = b, the updated initial prediction value is obtained.
[0092] S412: Amplify the terminated prediction value to obtain an updated terminated prediction value. Repeat the process of assigning the terminated prediction value to the initial prediction value until the initial function value corresponding to the updated initial prediction value and the terminated function value corresponding to the updated terminated prediction value have opposite signs.
[0093] The computer can amplify the termination prediction value by doubling it. For example, setting b = 2b. This yields an updated termination prediction value, which in turn creates an updated target current prediction range. Understandably, before adjusting the target current prediction range once to the right, its range is [a, b]; after one adjustment, the updated range is [b, 2b]; after two adjustments, it's [2b, 4b], and so on, until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs, at which point the target current prediction range remains unchanged.
[0094] S413: Determine the first target current prediction range based on the updated initial prediction value and the updated termination prediction value.
[0095] For example, such as Figure 5a The diagram illustrates a process of adjusting the target current prediction interval to the right. The initial target current prediction interval is [a, b], which is to the left of the target current value. Therefore, adjusting it to the right once results in a target current prediction interval of [b, 2b]. This interval now includes the target current value, and the computer can use this interval as the first target current prediction interval.
[0096] S420, if both the initial function value and the termination function value are greater than zero, then the target current prediction interval is adjusted to the left to obtain the first target current prediction interval.
[0097] That is, if both f(a) and f(b) are greater than 0, it means that the target current prediction interval is to the right of the target current value of the first operating condition point to be calculated. The target current prediction interval needs to be adjusted to the left in order to obtain the target current value containing the first operating condition point to be calculated.
[0098] Specifically, S420 may include S421 to S423.
[0099] The following describes S421 to S423:
[0100] S421: Assign the initial prediction value to the termination prediction value to obtain the updated termination prediction value.
[0101] The computer can modify the initial prediction value to the final prediction value; that is, by setting a = b, the updated final prediction value can be obtained.
[0102] S422: Reduce the initial prediction value to obtain the updated initial prediction value. Repeat the process of assigning the initial prediction value to the termination prediction value until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs.
[0103] The computer can reduce the initial prediction value by half. For example, setting a to a = a / 2. This yields an updated initial prediction value, resulting in an updated target current prediction range. Understandably, before adjusting the target current prediction range to the left once, its range is [a, b]; after one adjustment, the updated range is [a / 2, a]; after two adjustments, it's [1 / 4a, a / 2], and so on, until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs, at which point the target current prediction range remains unchanged.
[0104] S423: Determine the first target current prediction range based on the updated initial prediction value and the updated termination prediction value.
[0105] For example, such as Figure 5b The diagram illustrates a process of adjusting the target current prediction interval to the left. The initial target current prediction interval is [a, b], which is to the right of the target current value. Therefore, adjusting it to the left once results in a target current prediction interval of [a / 2, a]. This interval now includes the target current value, and the computer can use this interval as the first target current prediction interval.
[0106] This method allows the computer to gradually change the initial and final prediction values and update the target current prediction range, ensuring that the target current prediction range gradually includes the target current value for the first operating condition to be calculated. This improves the accuracy of operating condition prediction and ensures that the target current value does not fall outside the target current prediction range.
[0107] Please see Figure 6 , Figure 6 A flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application. Figure 6As shown, in an exemplary embodiment, the method for predicting the target current value can be implemented by a computer, including steps S610 to S620. Steps S610 to S620 can be... Figure 2 The specific implementation process of "calculating the target current value of the first operating condition point to be calculated based on the first target current prediction interval" in S220 is shown.
[0108] The following is a detailed introduction to S610 to S620:
[0109] S610: While keeping the function values of the two endpoints of the first target current prediction interval opposite in sign under the current prediction function, the first target current prediction interval is reduced to obtain an updated first target current prediction interval until the interval length of the updated first target current prediction interval is less than or equal to the preset tolerance.
[0110] Specifically, S610 may include S611 to S615.
[0111] The following describes S611 to S615:
[0112] S611: Calculate the midpoint of the first target current prediction interval.
[0113] First, calculate the midpoint of the first target current prediction interval, that is, take the average of the two endpoint values (i.e., the left endpoint and the right endpoint) of the first target current prediction interval.
[0114] S612: Calculate the function value corresponding to the midpoint.
[0115] Substitute the value of the midpoint into the current prediction function to calculate the function value corresponding to the midpoint.
[0116] S613: Determine the sign relationship between the function values at the midpoint and the endpoints.
[0117] Compare the sign of the midpoint function value with the function values at the two endpoints of the first target current prediction interval. If the midpoint function value has a different sign than one of the endpoint function values, it indicates that the midpoint is near the zero point, meaning a zero point exists. If the midpoint function value has a different sign than both endpoint function values, it indicates that the zero point is located on one side of the midpoint, and the interval containing the midpoint needs to be narrowed.
[0118] S614: Update the target current prediction range.
[0119] If the midpoint function value has a different sign than one of the endpoint function values, the interval containing the midpoint is taken as the updated first target current prediction interval. If the midpoint function value has a different sign than both endpoint function values, the left or right endpoint of the target current prediction interval is narrowed based on which endpoint function value the midpoint function value shares the same sign with, so that the new prediction interval continues to satisfy the condition that the function values of the two endpoints have different signs under the current prediction function.
[0120] S615: Determine whether the interval length meets the requirements.
[0121] Calculate the length of the updated first target current prediction interval and compare it with the preset tolerance. If the interval length is less than or equal to the preset tolerance, stop the narrowing process; otherwise, return to S611 to continue iterating.
[0122] S620: Determine the target current value for the first operating condition to be calculated within the updated first target current prediction interval.
[0123] Ultimately, the computer can calculate an updated first target current prediction interval with an interval length less than or equal to a preset tolerance. The midpoint of this interval can be selected as the target current value of the first operating condition point to be calculated. Alternatively, a specific calculation method can be designed by those skilled in the art. This application does not limit the specific calculation method.
[0124] For example, such as Figure 7 The diagram shows a process of calculating the target current value using a bisection method based on the first target current prediction interval. Figure 7 In this context, assuming the initial left endpoint of the first target current prediction interval is 'a', the right endpoint is 'b', and the current prediction function is f(x), the process of iteratively obtaining the target current value for the first operating point to be calculated using the bisection method can include the following six steps:
[0125] Step 1: Calculate the current prediction function values f(a) and f(b) corresponding to the initial left endpoint a and right endpoint b.
[0126] Step 2: Calculate the midpoint m of the first target current prediction interval: m = (a + b) / 2.
[0127] Step 3: Calculate the current prediction function value corresponding to the midpoint m: f(m).
[0128] Step 4: Determine if the signs of f(m) and f(a) are the same:
[0129] If f(m) and f(a) have the same sign, it means that the target current value is in the interval [m,b], and the left endpoint a is updated to m.
[0130] If f(m) and f(a) have opposite signs, it means that the target current value is in the interval [a,m]. In this case, update the right endpoint b to m.
[0131] Step 5: Repeat steps 2 to 4 until the length of the updated first target current prediction interval is less than or equal to the preset tolerance. At this point, the interval range is small enough that an approximate solution for the target current value can be considered to have been found.
[0132] Step 6: The target current value of the first operating point to be calculated can be taken as the midpoint of the interval, i.e. (a+b) / 2.
[0133] Using this method, the computer can calculate the target charge value of the first operating point with fewer bisection iterations based on the shorter first target current prediction interval, thus improving the calculation efficiency of the target current value of the operating point.
[0134] Please see Figure 8 , Figure 8 A flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application. Figure 8 As shown, in an exemplary embodiment, the method for predicting the target current value can be implemented by a computer, including steps S810 to S830. Wherein, S810 to S830 are... Figure 2 The specific implementation process of "constructing the second target current prediction interval corresponding to the second operating condition point based on the target current values of the two adjacent operating conditions points before the second operating condition point to be calculated" in S230 is shown.
[0135] Among them, the two operating points preceding the second operating point to be calculated are the first operating point and the second operating point. For example, assuming the second operating point to be calculated is operating point 5, then the first operating point and the second operating point can be operating point 3 and operating point 4, respectively.
[0136] The following is a detailed introduction to S810 to S830:
[0137] S810: Calculate the current difference between the target current value at the second operating point and the target current value at the first operating point.
[0138] The difference between the target current value at the second operating point and the target current value at the first operating point can be expressed as delta(Δ).
[0139] S820: Construct an intermediate prediction interval based on the target current value and current difference at the second operating point.
[0140] Specifically, the target current value at the second operating point (which can be represented as r) can be used as the initial value of the intermediate prediction interval, and the sum of the target current value at the second operating point and the current difference (which can be represented as r+delta) can be used as the termination value of the intermediate prediction interval. The resulting intermediate prediction interval is [r, r+delta].
[0141] S830: Adjust the intermediate prediction interval based on the function value corresponding to the endpoint value of the intermediate prediction interval to obtain the second target current prediction interval, until the second target current prediction interval contains the target current value of the second operating condition point to be calculated.
[0142] If the intermediate prediction interval does not contain the target current value for the second operating condition point to be calculated, then the intermediate prediction interval needs to be adjusted. The specific adjustment steps are the same as those for adjusting the aforementioned target current prediction interval to obtain the first target current prediction interval, and will not be repeated here. In this way, a second target current prediction interval containing the target current value for the second operating condition point to be calculated can be obtained.
[0143] After obtaining the second target current prediction interval, the computer can calculate the target current value of the second operating condition point to be calculated based on the second target current prediction interval. The specific calculation method is the same as the method of "calculating the target current value of the first operating condition point to be calculated based on the first target current prediction interval", which will not be elaborated here.
[0144] Using this method, when calculating the target current value of the second operating condition point to be calculated, the target current values of the two adjacent operating conditions points can be used to construct the corresponding second target current prediction interval. The interval is relatively short, which reduces the calculation complexity of the target current value of the second operating condition point to be calculated and improves the calculation efficiency of the target current value.
[0145] Please see Figure 9 , Figure 9 A flowchart illustrating a method for predicting a target current value, as shown in another exemplary embodiment of this application. Figure 9 As shown, in an exemplary embodiment, the method for predicting the target current value can be implemented by a computer, including S901 to S919.
[0146] The following is a detailed introduction to S901 to S919:
[0147] S901: Obtain the target current prediction range and set of operating points corresponding to the current operating state of the battery.
[0148] S902: Calculate the target current value at standby operating point i.
[0149] S903: Determine whether i is less than the preset sequence number threshold.
[0150] If so, then determine that the operating point i to be calculated belongs to the first operating point to be calculated, and execute S904; otherwise, determine that the operating point i to be calculated belongs to the second operating point to be calculated, and execute S905. The preset sequence threshold can be a positive integer, such as 3.
[0151] S904: Determine a and b based on the target current prediction range.
[0152] That is, the left endpoint 'a' of the initial prediction interval is set as the initial prediction value of the target current prediction interval, and the right endpoint 'b' of the initial prediction interval is set as the final prediction value of the target current prediction interval. Both the initial prediction value and the final prediction value are fixed values.
[0153] Furthermore, implement S906.
[0154] S905: Obtain r and calculate delta.
[0155] Wherein, the two adjacent operating points before the operating point i to be calculated are the first operating point (i-1) and the second operating point (i-2), r is the target current value of the second operating point, and delta is the difference between the target current values of the second operating point and the first operating point.
[0156] S906: Let a=min(r, r+delta), b=max(r, r+delta).
[0157] S907: Obtain the initial prediction interval based on a and b.
[0158] S908: Calculate f i (a) and f i (b)
[0159] Among them, f i (x) is the current prediction function corresponding to the operating point i to be calculated. That is, different current prediction functions can be used for different operating points to be calculated. Each current prediction function is a monotonically increasing function that passes through the x-axis and has a zero point.
[0160] S909: Determine f i (a) and f i (b) Whether the signs are opposite. If not, execute S910; if yes, execute S913.
[0161] S910: Determine whether the initial prediction interval is to the right of the target current value at the operating point i to be calculated.
[0162] If yes, then execute S911; otherwise, execute S912.
[0163] S911: Let b=a, a=a / 2.
[0164] That is, the left endpoint of the initial prediction interval is assigned to the right endpoint, and the left endpoint is reduced to a / 2. This gives us the updated initial prediction interval, and we can return to S906 to continue execution.
[0165] S912: Let a = b, b = 2b.
[0166] That is, the right endpoint of the initial prediction interval is assigned to the left endpoint, and the right endpoint is expanded to 2b. This gives us the updated initial prediction interval, and we can return to S906 to continue execution.
[0167] S913: Obtain the target current prediction range.
[0168] It can satisfy f i (a) and f i (b) The initial prediction interval with opposite signs is used as the target current prediction interval, which contains the target current value of the operating point i to be calculated.
[0169] S914: Calculate the target current value using a bisection method iteratively based on the target current prediction interval.
[0170] S915: Determine whether the length of the updated target current prediction interval meets the preset tolerance.
[0171] If yes, then execute S916; otherwise, execute S914.
[0172] Among them, satisfying the preset tolerance means being less than or equal to the preset tolerance.
[0173] S916: Obtain the target current value at the operating point i to be calculated.
[0174] S917: Determine whether the sequence number of the operating point i to be calculated is equal to the maximum sequence number threshold.
[0175] If not, then execute S918; if yes, then execute S919. The maximum sequence number threshold is recorded as the sequence number of the last working point in the set of working points.
[0176] S918: i = i + 1.
[0177] That is, S903 needs to be executed now to calculate the target current value for the next operating point to be calculated.
[0178] S919: End and output the target current value of all operating points in the set of operating points.
[0179] like Figure 10 This is an exemplary diagram showing the arrangement of target current values at multiple operating points in an embodiment of this application. Figure 10 It can be seen that the target current values at each operating point are arranged in a linear function pattern that gradually increases.
[0180] This method addresses two key issues. First, when the target current prediction interval does not include the target current value of the first operating point to be calculated, the prediction interval can be adjusted to ensure that the target current value of the first operating point is included within it. This ensures the target current value can be calculated, thus improving the accuracy of the target current prediction interval distribution. Second, based on an accurate target current prediction interval, significant computational resources are avoided in calculating the target operating point using invalid prediction intervals, thereby improving the efficiency of calculating the target current value.
[0181] On the other hand, when calculating the target current value of the second operating condition point to be calculated, the target current values of the two adjacent operating conditions points can be used to construct the corresponding second target current prediction interval. The interval is relatively short, which reduces the calculation complexity of the target current value of the second operating condition point to be calculated and improves the calculation efficiency of the target current value.
[0182] Figure 11 This is a schematic diagram of a target current value prediction device according to an exemplary embodiment. Figure 11 As shown, in one exemplary embodiment, the device for predicting the target current value includes:
[0183] The acquisition unit 1110 is used to acquire the target current prediction range and the set of operating points corresponding to the current operating state of the battery; wherein, the set of operating points includes multiple operating points with serial numbers.
[0184] The processing unit 1120 is used to take the operating point with the operating point number less than the preset number threshold as the first operating point to be calculated. If it is detected that the target current value of the first operating point to be calculated is not in the target current prediction range, the target current prediction range is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction range to obtain a first target current prediction range containing the target current value of the first operating point to be calculated. Based on the first target current prediction range, the target current value of the first operating point to be calculated is obtained.
[0185] The processing unit 1120 is further configured to take the operating point whose operating point number is greater than or equal to a preset number threshold as the second operating point to be calculated, construct a second target current prediction interval corresponding to the target current value of the second operating point to be calculated based on the target current values of the two adjacent operating points before the second operating point to be calculated, and calculate the target current value of the second operating point to be calculated based on the second target current prediction interval.
[0186] In one embodiment of this application, based on the aforementioned scheme, the acquisition unit 1110 is further configured to acquire the current prediction function corresponding to the first operating condition point to be calculated; the calculation unit 1130 is configured to calculate the initial function value corresponding to the initial prediction value based on the current prediction function, and calculate the termination function value corresponding to the termination prediction value; and adjust the target current prediction interval based on the initial function value and the termination function value to obtain the first target current prediction interval.
[0187] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1120 is further configured to adjust the target current prediction interval to the right to obtain a first target current prediction interval if both the initial function value and the termination function value are less than zero; and to adjust the target current prediction interval to the left to obtain a first target current prediction interval if both the initial function value and the termination function value are greater than zero.
[0188] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1120 is further configured to assign the termination prediction value to the initial prediction value to obtain an updated initial prediction value; amplify the termination prediction value to obtain an updated termination prediction value; repeatedly assign the termination prediction value to the initial prediction value until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs; and determine the first target current prediction interval based on the updated initial prediction value and the updated termination prediction value.
[0189] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1120 is further configured to assign an initial prediction value to a termination prediction value to obtain an updated termination prediction value; reduce the initial prediction value to obtain an updated initial prediction value; repeatedly assign the initial prediction value to the termination prediction value until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs; and determine a first target current prediction interval based on the updated initial prediction value and the updated termination prediction value.
[0190] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1120 is further configured to reduce the first target current prediction interval while keeping the function values of the two endpoints of the first target current prediction interval opposite in sign under the current prediction function, to obtain an updated first target current prediction interval, until the interval length of the updated first target current prediction interval is less than or equal to a preset tolerance; and to determine the target current value of the first operating condition point to be calculated within the updated first target current prediction interval.
[0191] In one embodiment of this application, based on the aforementioned scheme, the two operating points before the second operating point to be calculated are the first operating point and the second operating point; the calculation unit 1130 is further configured to calculate the current difference between the target current value of the second operating point and the target current value of the first operating point; the processing unit 1120 is further configured to construct an intermediate prediction interval based on the target current value of the second operating point and the current difference; and adjust the intermediate prediction interval based on the function value corresponding to the endpoint value of the intermediate prediction interval to obtain the second target current prediction interval, until the second target current prediction interval contains the target current value of the second operating point to be calculated.
[0192] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1120 is further configured to use the target current value of the second operating point as the initial value of the intermediate prediction interval, and the sum of the target current value of the second operating point and the current difference as the termination value of the intermediate prediction interval.
[0193] It should be noted that the target current value prediction device provided in the above embodiments and the target current value prediction method provided in the above embodiments belong to the same concept. The specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.
[0194] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the target current value prediction method provided in the above embodiments.
[0195] Figure 12 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0196] It should be noted that, Figure 12 The computer system 1200 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0197] like Figure 12As shown, the computer system 1200 includes a Central Processing Unit (CPU) 1201, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 1202 or programs loaded from storage portion 1208 into Random Access Memory (RAM) 1203. The RAM 1203 also stores various programs and data required for system operation. The CPU 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An Input / Output (I / O) interface 1205 is also connected to the bus 1204.
[0198] The following components are connected to I / O interface 1205: an input section 1206 including a keyboard, mouse, etc.; an output section 1207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to I / O interface 1205 as needed. Removable media 1211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1210 as needed so that computer programs read from them can be installed into storage section 1208 as needed.
[0199] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1209, and / or installed from removable medium 1211. When the computer program is executed by central processing unit (CPU) 1201, it performs various functions defined in the system of this application.
[0200] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. For example, a computer-readable medium can be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0201] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0202] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0203] Another aspect of this application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the cross-domain data transfer method as described above. This computer-readable medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0204] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable medium. A processor of a computer device reads the computer instructions from the computer-readable medium and executes the computer instructions, causing the computer device to perform the cross-domain data transfer method provided in the various embodiments described above.
[0205] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.
Claims
1. A method for predicting a target current value, characterized in that, include: Obtain the target current prediction range and operating point set corresponding to the current operating state of the battery; wherein, the operating point set includes multiple operating points with serial numbers; Operating points with operating point numbers less than a preset number threshold are taken as the first operating points to be calculated. If the target current value of the first operating point to be calculated is not within the target current prediction interval, the target current prediction interval is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain a first target current prediction interval containing the target current value of the first operating point to be calculated. Based on the first target current prediction interval, the target current value of the first operating point to be calculated is obtained. Operating points with operating point numbers greater than or equal to the preset number threshold are designated as second operating points to be calculated. A second target current prediction interval is constructed based on the target current values of the two adjacent operating points preceding the second operating point to be calculated. The target current value of the second operating point to be calculated is then calculated based on the second target current prediction interval. The two adjacent operating points preceding the second operating point to be calculated are the first operating point and the second operating point. The construction of the second target current prediction interval corresponding to the target current value of the second operating condition point based on the target current values of the two adjacent operating conditions points before the second operating condition point to be calculated includes: Calculate the current difference between the target current value at the second operating point and the target current value at the first operating point; An intermediate prediction interval is constructed based on the target current value at the second operating point and the current difference. The intermediate prediction interval is adjusted based on the function value corresponding to the endpoint value of the intermediate prediction interval to obtain the second target current prediction interval, until the second target current prediction interval contains the target current value of the second operating condition point to be calculated. The step of constructing an intermediate prediction interval based on the target current value at the second operating point and the current difference includes: using the target current value at the second operating point as the initial value of the intermediate prediction interval, and using the sum of the target current value at the second operating point and the current difference as the termination value of the intermediate prediction interval.
2. The method according to claim 1, characterized in that, The step of adjusting the target current prediction interval based on the initial and final prediction values corresponding to the target current prediction interval to obtain a first target current prediction interval containing the target current value of the first operating condition point to be calculated includes: Obtain the current prediction function corresponding to the first operating condition point to be calculated; The initial function value corresponding to the initial prediction value is calculated based on the current prediction function, and the termination function value corresponding to the termination prediction value is calculated. The target current prediction interval is adjusted based on the initial function value and the termination function value to obtain the first target current prediction interval.
3. The method according to claim 2, characterized in that, The step of adjusting the target current prediction interval based on the initial function value and the termination function value to obtain the first target current prediction interval includes: If both the initial function value and the termination function value are less than zero, the target current prediction interval is adjusted to the right to obtain the first target current prediction interval. If both the initial function value and the termination function value are greater than zero, the target current prediction interval is adjusted to the left to obtain the first target current prediction interval.
4. The method according to claim 3, characterized in that, The step of adjusting the target current prediction interval to the right to obtain the first target current prediction interval includes: The terminated prediction value is assigned to the initial prediction value to obtain the updated initial prediction value; The termination prediction value is amplified to obtain an updated termination prediction value. The process of assigning the termination prediction value to the initial prediction value is repeated until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs. The first target current prediction interval is determined based on the updated initial prediction value and the updated termination prediction value.
5. The method according to claim 3, characterized in that, The step of adjusting the target current prediction interval to the left to obtain the first target current prediction interval includes: The initial prediction value is assigned to the termination prediction value to obtain the updated termination prediction value. The initial prediction value is reduced to obtain an updated initial prediction value. The process of assigning the initial prediction value to the termination prediction value is repeated until the initial function value corresponding to the updated initial prediction value and the termination function value corresponding to the updated termination prediction value have opposite signs. The first target current prediction interval is determined based on the updated initial prediction value and the updated termination prediction value.
6. The method according to claim 2, characterized in that, The step of calculating the target current value of the first operating point to be calculated based on the first target current prediction interval includes: While keeping the function values of the two endpoints of the first target current prediction interval opposite in sign under the current prediction function, the first target current prediction interval is reduced to obtain an updated first target current prediction interval until the interval length of the updated first target current prediction interval is less than or equal to the preset tolerance. The target current value of the first operating condition point to be calculated is determined within the updated first target current prediction interval.
7. A device for predicting a target current value, characterized in that, include: The acquisition unit is used to acquire the target current prediction range and the set of operating points corresponding to the current operating state of the battery; wherein, the set of operating points includes multiple operating points with serial numbers. The processing unit is configured to take the operating point with the operating point number less than the preset number threshold as the first operating point to be calculated. If it is detected that the target current value of the first operating point to be calculated is not in the target current prediction interval, the target current prediction interval is adjusted based on the initial prediction value and the termination prediction value corresponding to the target current prediction interval to obtain a first target current prediction interval containing the target current value of the first operating point to be calculated, and the target current value of the first operating point to be calculated is calculated based on the first target current prediction interval. The processing unit is further configured to take operating point numbers greater than or equal to the preset number threshold as second operating point to be calculated, construct a second target current prediction interval corresponding to the target current value of the second operating point to be calculated based on the target current values of the two adjacent operating points before the second operating point to be calculated, and calculate the target current value of the second operating point to be calculated based on the second target current prediction interval; wherein, the two adjacent operating points before the second operating point to be calculated are the first operating point and the second operating point; The construction of the second target current prediction interval corresponding to the target current value of the second operating condition point based on the target current values of the two adjacent operating conditions points before the second operating condition point to be calculated includes: Calculate the current difference between the target current value at the second operating point and the target current value at the first operating point; An intermediate prediction interval is constructed based on the target current value at the second operating point and the current difference. The intermediate prediction interval is adjusted based on the function value corresponding to the endpoint value of the intermediate prediction interval to obtain the second target current prediction interval, until the second target current prediction interval contains the target current value of the second operating condition point to be calculated. Constructing an intermediate prediction interval based on the target current value at the second operating point and the current difference includes: using the target current value at the second operating point as the initial value of the intermediate prediction interval, and using the sum of the target current value at the second operating point and the current difference as the termination value of the intermediate prediction interval.
8. An electronic device, characterized in that, include: One or more processors; A memory for storing one or more programs that, when executed by the electronic device, cause the electronic device to implement the method for predicting the target current value as described in any one of claims 1 to 6.
9. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for predicting the target current value as described in any one of claims 1 to 6.
Citation Information
Patent Citations
MPPT algorithm simulation method based on extrapolation and chasing iteration method
CN106773780A
Numerical solution for semiconductor device simulator
JP1995193212A