Battery sampling mode adjusting method and device, medium and electronic equipment
By using multiple sampling chips and adjusting sampling modes in electric vehicles, the problem of excessive sampling period in the prior art and inability to meet the needs of multifunctional scenarios is solved, and real-time monitoring of high synchronization and high-frequency current is achieved. Support the development of electric vehicles.
Patent Information
- Application Number
- CN202411549653.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-07
AI Technical Summary
The existing battery sampling mode cannot meet the different needs of electric vehicle battery management systems in multifunctional scenarios. The sampling period is too long to achieve real-time monitoring of high synchronization and high-frequency currents.
By sampling the vehicle battery in the default mode using the first sampling chip and the second sampling chip, and adjusting the sampling mode according to different sampling requests, including the first sampling mode, the second sampling mode, the third sampling mode and the fourth sampling mode to meet sampling needs in different scenarios.
It realizes flexible adjustment of sampling mode in different scenarios, meets the real-time monitoring needs of high synchronization and high-frequency currents, enriches the application scenarios of battery sampling, and supports the long-term development of electric vehicles.
Smart Images

Figure CN119389058A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of electric vehicles, and in particular relates to a method for adjusting a battery sampling mode, a device for adjusting a battery sampling mode, a computer-readable storage medium, and an electronic device. Background Art
[0002] Compared with traditional cars, the proportion of electric and electronic systems in electric vehicles has greatly increased. Moreover, compared with traditional cars, the power system of electric vehicles is composed of hundreds of batteries connected in series, with a high-voltage system of several hundred volts. Fast and accurate sampling of high voltage, battery cells, and current is crucial, which directly affects the performance of the battery management system (BMS).
[0003] However, in the existing sampling scheme, only a simple single sampling mode is used to sample high voltage, battery cells, and current, and considering the time allocation for functional safety, electrical diagnosis, etc., it is often unable to meet the different needs of BMS in multi-functional scenarios. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method for adjusting a battery sampling mode, an apparatus for adjusting a battery sampling mode, a computer-readable storage medium and an electronic device.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for adjusting a battery sampling mode is provided, comprising: Using a first sampling chip and a second sampling chip to sample a vehicle battery in a default mode, the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack; When a sampling request is identified, the default mode is adjusted to a sampling mode corresponding to the sampling request for sampling.
[0006] Optionally, the sampling request includes: a first sampling request, and the sampling mode includes a first sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the first sampling request is identified, adjusting the default mode to the first sampling mode for sampling; Obtain a first sampling time of sampling by the first sampling chip and a second sampling time of sampling by the second sampling chip, where one second sampling time corresponds to multiple first sampling times; The voltage of the battery cell and the current of the battery cell are obtained according to the first sampling time and the second sampling time for a plurality of times, and the current of the battery cell and the voltage of the battery cell are synchronized.
[0007] Optionally, obtaining the voltage of the battery cell and the current of the battery cell according to a plurality of the first sampling time and the second sampling time includes: Determine a target sampling time corresponding to the second sampling time among multiple first sampling times, wherein the time interval between the target sampling time and the second sampling time meets a preset requirement; It is determined that the first sampling chip samples the current of the battery cell at the target sampling time, and it is determined that the second sampling chip samples the voltage of the battery cell at the second sampling time.
[0008] Optionally, the sampling request includes: a second sampling request, and the sampling mode includes: a second sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the second sampling request is identified, the default mode is adjusted to the second sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a first preset duration.
[0009] Optionally, the method further comprises: The default mode is adjusted to the second sampling mode to sample the voltage of the battery cell using the second sampling chip, the sampling time of the second sampling chip is a second preset time, and the second preset time is greater than the first preset time.
[0010] Optionally, the sampling request includes: a third sampling request, and the sampling mode includes a third sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the third sampling request is identified, the default mode is adjusted to the third sampling mode to sample the voltage of the battery pack using the first sampling chip, and the sampling duration of the first sampling chip includes a third preset duration, and the third preset duration is less than the first preset duration.
[0011] Optionally, the method further comprises: The default mode is adjusted to a third sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip includes the first preset duration.
[0012] Optionally, the sampling request includes: a fourth sampling request, and the sampling mode includes a fourth sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the fourth sampling request is identified, the default mode is adjusted to the fourth sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a third preset duration.
[0013] Optionally, the method further comprises: Adjusting the default mode to a fourth sampling mode, so as to sample the voltage of the battery pack using the first sampling chip, wherein the sampling duration of the first sampling chip is a second preset duration; The default mode is adjusted to a fourth sampling mode, so as to utilize the second sampling chip to sample the voltage of the battery cell, and the sampling duration of the second sampling chip is a second preset duration.
[0014] According to a second aspect of an embodiment of the present disclosure, there is provided a device for adjusting a battery sampling mode, comprising: a default sampling module, configured to sample a vehicle battery in a default mode using a first sampling chip and a second sampling chip, wherein the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack; The mode adjustment module is configured to adjust the default mode to a sampling mode corresponding to the sampling request for sampling when a sampling request is identified.
[0015] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of any one of the battery sampling mode adjustment methods provided in the first aspect of the present disclosure are implemented.
[0016] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the executable instructions to implement any one of the steps of the method for adjusting the battery sampling mode provided in the first aspect of the present disclosure.
[0017] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects: In the method and apparatus provided in the exemplary embodiments of the present disclosure, on the basis of the default mode, a sampling mode corresponding to the sampling request is provided for sampling, and the method of sampling the automobile battery using a simple single sampling mode is abandoned. Considering the time allocation issues such as functional safety and electrical diagnosis, a new sampling mode is added to adapt to the sampling requirements in different scenarios, which solves the pain points and difficulties of sampling in different scenarios, enriches the application scenarios of battery sampling, and provides support for the long-term development of electric vehicles.
[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] Figure 1 A schematic diagram of a flow chart of a method for adjusting a battery sampling mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 2 A schematic diagram of a mode for sampling in a default mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 3 A schematic diagram of a process of sampling using a first sampling mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 4 A schematic diagram of a flow chart of a method for determining the voltage and current of a battery cell in an exemplary embodiment of the present disclosure is schematically shown; Figure 5 A schematic diagram of a mode of sampling in a first sampling mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 6 A schematic diagram of a mode for sampling in a second sampling mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 7 A schematic diagram of a mode of sampling in a third sampling mode in an exemplary embodiment of the present disclosure is schematically shown; Figure 8 A schematic diagram schematically illustrates a flow chart of sampling in a fourth sampling mode in an exemplary embodiment of the present disclosure; Fig. 9 A schematic diagram schematically illustrates a mode of sampling in a fourth sampling mode in an exemplary embodiment of the present disclosure; Fig.10 A system architecture diagram schematically illustrating a method for adjusting a battery sampling mode in an application scenario in an exemplary embodiment of the present disclosure; Fig.11A schematic diagram schematically illustrates a conventional sampling scheme in the related art in an exemplary embodiment of the present disclosure; Fig.12 A schematic diagram schematically illustrates a flow chart of a method for adjusting a battery sampling mode in an application scenario in an exemplary embodiment of the present disclosure; Fig.13 A schematic diagram schematically shows a structure of a regulating device for a battery sampling mode in an exemplary embodiment of the present disclosure; Fig.14 A schematic diagram schematically shows the structure of another regulating device of a battery sampling mode in an exemplary embodiment of the present disclosure; Fig.15 A schematic structural diagram of another battery sampling mode regulating device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0021] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0022] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0023] Compared with traditional cars, the proportion of electric and electronic systems in electric vehicles has greatly increased. Moreover, compared with traditional cars, the power system of electric vehicles is composed of hundreds of batteries connected in series, with a high-voltage system of several hundred volts. The fast and accurate sampling of high voltage, battery cells and current is crucial, which directly affects the performance of the battery management system.
[0024] However, in the existing sampling scheme, only a simple single sampling mode is used to sample high voltage, battery cells, and current. Taking into account the time allocation for functional safety, electrical diagnosis, etc., the update cycle can often reach 100ms (milliseconds). The cycle is too long, resulting in the inability to meet the different needs of BMS in multi-functional scenarios.
[0025] For example, under normal working conditions in scenario 1, the sampling period of high-voltage sampling, battery cell sampling, and current sampling is generally required to be less than 100ms; Under the SOX algorithm model correction condition of scenario 2, it is generally required that the cell sampling and current sampling are highly synchronized, and the difference between the sampling cycles of the two should be less than 10ms; Among them, the SOX algorithm is a core algorithm in the battery management system, which is used to estimate the state of the battery. The SOX algorithm includes SOC (State of Charge, battery remaining power), SOH (State of Health, battery health status), SOP (State of Power, battery power state) and SOE (State of Energy, battery energy state). These state parameters are crucial for evaluating the performance of the battery and predicting its service life.
[0026] In the high-frequency voltage safety monitoring condition of scenario 3 (used in the upper and lower high voltage scenarios to determine the state of the fast relay), the sampling period of voltage sampling is generally required to be less than 5ms; In the high-frequency current safety monitoring condition of scenario 4 (used for PTC (Positive Temperature Coefficient) heating, pulse heating, fuse disconnection, etc.), the current sampling period is generally required to be less than 5ms.
[0027] In view of the problems existing in the related art, the present disclosure provides a method for adjusting a battery sampling mode. Figure 1 is a flow chart of a method for adjusting a battery sampling mode according to an exemplary embodiment. Figure 1 As shown, the method may at least include the following steps: Step S110. Using a first sampling chip and a second sampling chip to sample a vehicle battery in a default mode, the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack.
[0028] Step S120: When a sampling request is identified, the default mode is adjusted to a sampling mode corresponding to the sampling request for sampling.
[0029] In an exemplary embodiment of the present disclosure, a sampling mode corresponding to a sampling request is provided for sampling on the basis of a default mode, and the method of sampling a vehicle battery using a simple single sampling mode is abandoned. Issues regarding time allocation such as functional safety and electrical diagnosis are taken into consideration, and a new sampling mode is added to adapt to sampling requirements in different scenarios, thereby solving pain points and difficulties in sampling in different scenarios, enriching the application scenarios of battery sampling, and providing support for the long-term development of electric vehicles.
[0030] The following is a detailed description of each step of the battery sampling mode adjustment method.
[0031] In step S110 , a first sampling chip and a second sampling chip are used to sample a vehicle battery in a default mode. The first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack.
[0032] In an exemplary embodiment of the present disclosure, the default mode, as a conventional vehicle battery sampling method, can perform sampling, balancing and diagnosis simultaneously, meeting both the balancing function requirements and the functional safety ASIL D requirements.
[0033] Among them, the ASIL D requirements for battery sampling mainly involve the safety and performance requirements of the battery management system to ensure the safe and efficient operation of the battery in applications such as electric vehicles. ASIL D is the highest level in the automotive safety integrity level and represents extremely high safety requirements. A battery sampling system that meets the ASIL D level can ensure the safety and reliability of the battery under extreme conditions, thereby protecting the safety of the vehicle and passengers.
[0034] During the sampling process of the vehicle battery, the first sampling chip may be a high voltage, current sampling chip for sampling the total voltage of the battery pack of the vehicle battery and sampling the current of the battery pack of the vehicle battery.
[0035] It is worth noting that, since the current of the battery pack of the vehicle battery is the same as the current of the battery cells constituting the battery pack, the current collected by the first sampling chip is also the current of the battery cells.
[0036] The second sampling chip may be a cell sampling chip, which is used to sample the voltage of the battery cells constituting the battery pack, and may also be referred to as cell sampling.
[0037] Figure 2 FIG. 4 shows a schematic diagram of a sampling mode in the default mode, such as Figure 2 As shown, when a controller such as a BMU (Battery Monitoring Unit) is powered on, it enters a default mode to sample the vehicle battery.
[0038] In the default mode, the update period of single-cell sampling, that is, sampling using the second sampling chip, is 100 ms, wherein the sampling period is 10 ms, the diagnosis period is 40 ms, and the balancing period is 50 ms.
[0039] The update period of high voltage and current sampling, that is, sampling using the first sampling chip, is 10 ms, wherein the sampling period is 4 ms and the diagnosis period is 6 ms.
[0040] In step S120 , when a sampling request is identified, the default mode is adjusted to a sampling mode corresponding to the sampling request for sampling.
[0041] In an exemplary embodiment of the present disclosure, when sampling the vehicle battery in the default mode, if other sampling requests are identified, the sampling can be adjusted from the default mode to the sampling mode corresponding to the sampling request.
[0042] In an optional embodiment, the sampling request includes: a first sampling request, and the sampling mode includes a first sampling mode; Figure 3 FIG. 4 shows a schematic diagram of a process of sampling using the first sampling mode, such as Figure 3 As shown, the method may at least include the following steps: in step S310, when a first sampling request is identified, the default mode is adjusted to the first sampling mode for sampling.
[0043] In step S320, a first sampling time of sampling by the first sampling chip and a second sampling time of sampling by the second sampling chip are obtained, and one second sampling time corresponds to multiple first sampling times.
[0044] The first sampling mode may be a sampling mode in which current and monomer voltage sampling are highly synchronized, and is generally used for modifying the SOX algorithm. It may also be applied to other scenarios according to actual conditions and requirements, and this exemplary embodiment does not specifically limit this.
[0045] In the process of adjusting to the first sampling mode for sampling, the timestamp of the MCU (Microcontroller Unit) when the first sampling chip is sampling is recorded as the first sampling time, and the timestamp of the MCU when the second sampling chip is sampling is recorded as the second sampling time.
[0046] Since the first sampling chip and the second sampling chip sample the vehicle battery in parallel, and the sampling period of the first sampling chip is 4 ms, and the sampling period of the second sampling chip is 10 ms, one second sampling time may correspond to multiple first sampling times.
[0047] In step S330 , the voltage of the battery cell and the current of the battery cell are obtained according to the multiple first sampling times and the second sampling times, and the current of the battery cell and the voltage of the battery cell are synchronized.
[0048] In an alternative embodiment, Figure 4 A flow chart of a method for determining the voltage and current of a battery cell is shown, Figure 4As shown, the method may at least include the following steps: In step S410, a target sampling time corresponding to the second sampling time is determined among multiple first sampling times, and the time interval between the target sampling time and the second sampling time meets a preset requirement.
[0049] Since one second sampling time corresponds to multiple first sampling times, the time with the shortest time interval with the second sampling time can be determined as the target sampling time among the multiple first sampling times. Generally, the time interval is less than 2ms.
[0050] It is worth noting that the target sampling time may also be determined from multiple first sampling times for the next time, and this exemplary embodiment does not impose any special limitation on this.
[0051] In step S420 , it is determined that the first sampling chip samples the current of the battery cell at the target sampling time, and it is determined that the second sampling chip samples the voltage of the battery cell at the second sampling time.
[0052] Furthermore, the current sampled by the first sampling chip at the target sampling time is obtained as the current of the battery cell, and the voltage sampled by the second sampling chip at the second sampling time is obtained as the voltage of the battery cell. In addition, since the time interval between the target sampling time and the second sampling time meets the preset requirements, it is considered that the current of the battery cell and the voltage of the battery cell have high synchronization.
[0053] Figure 5 FIG. 4 shows a schematic diagram of a mode for sampling in a first sampling mode, such as Figure 5 As shown, when a SOX algorithm correction request is identified, the first sampling mode is entered, that is, a sampling mode in which current and cell voltage sampling have high synchronization.
[0054] In the first sampling mode, the sampling time points t1 and t2 of current sampling and monomer sampling are recorded by time stamp, and the corresponding current and voltage are taken out from the original update cycle array and reordered by excluding the sampling cycles of diagnosis and balance to output highly synchronized current and voltage with a synchronization time of less than 2ms.
[0055] In an optional embodiment, the sampling request includes: a second sampling request, and the sampling mode includes: a second sampling mode; when the second sampling request is identified, the default mode is adjusted to the second sampling mode to use the first sampling chip to sample the current of the battery pack, and the sampling time of the first sampling chip is the first preset time.
[0056] The second sampling mode can be a pure sampling mode for high voltage and current sampling, which is generally used to record scenarios where a fuse is disconnected or a relay is disconnected under load, so as to record changes in instantaneous current and voltage values. It can also be applied to other scenarios according to actual conditions and needs. This exemplary embodiment does not make any special limitations on this.
[0057] Since traditional sampling methods cannot record current changes at the moment the load is disconnected, they often cannot provide effective voltage and current data for accurate fault location and analysis.
[0058] In the second sampling mode, the sampling duration of the first sampling chip is set to the first preset duration to sample the current of the battery pack and capture instantaneous current changes. Generally, the first preset duration can be set to 4ms.
[0059] It is worth noting that, in addition to sampling the current of the battery pack within 4 ms, the first sampling chip also samples the voltage of the battery pack at the same time.
[0060] In an optional embodiment, the default mode is adjusted to a second sampling mode to sample the voltage of the battery cell using a second sampling chip, and the sampling duration of the second sampling chip is a second preset duration, which is greater than the first preset duration.
[0061] After the default mode is adjusted to the second sampling mode, in addition to the first sampling chip sampling at the first preset time in the second sampling mode, the sampling time of the second sampling chip can also be set to the second preset time to sample the voltage of the battery cell. Generally, the second preset time can be set to 10ms.
[0062] Figure 6 FIG. 4 shows a schematic diagram of a sampling mode in the second sampling mode. Figure 6 As shown, in the pure sampling mode of high voltage and current sampling, the single cell voltage can achieve an update period of less than 10ms, and the voltage and current can meet an update period of less than 4ms.
[0063] In an optional embodiment, the sampling request includes: a third sampling request, and the sampling mode includes a third sampling mode; When the third sampling request is identified, the default mode is adjusted to the third sampling mode to sample the voltage of the battery pack using the first sampling chip, and the sampling duration of the first sampling chip includes a third preset duration, which is shorter than the first preset duration.
[0064] The third sampling mode can be a high-voltage sampling and high-frequency sampling mode, which is generally used in upper and lower high-voltage scenarios to quickly determine the state of the relay. It can also be applied to other scenarios according to actual conditions and needs. This exemplary embodiment does not make special limitations on this.
[0065] In the third sampling mode, the sampling duration of the first sampling chip is set to a third preset duration to sample the voltage of the battery pack. Generally, the third preset duration can be set to 1 ms.
[0066] In an optional embodiment, the default mode is adjusted to a third sampling mode so as to sample the current of the battery pack using a first sampling chip, and the sampling duration of the first sampling chip includes a first preset duration.
[0067] After the default mode is adjusted to the third sampling mode, in addition to the first sampling chip sampling the voltage of the battery pack at the third preset time length, the first sampling chip can also sample the current of the battery pack at the first preset time length. Generally, the first preset time length is 10ms.
[0068] In addition, the sampling method of the second sampling chip can be the same as the sampling method in the default mode.
[0069] Figure 7 FIG. 4 shows a schematic diagram of a sampling mode in the third sampling mode, such as Figure 7 As shown, in this high-voltage sampling and high-frequency sampling mode, the high-voltage sampling period is less than 1ms, which helps the battery management system to achieve faster high-voltage and low-voltage times and make more accurate relay status judgments.
[0070] In an optional embodiment, the sampling request includes: a fourth sampling request, and the sampling mode includes a fourth sampling mode; When the fourth sampling request is identified, the default mode is adjusted to the fourth sampling mode, so as to sample the current of the battery pack using the first sampling chip, and the sampling duration of the first sampling chip is the third preset duration.
[0071] The fourth sampling mode can be a current sampling high-frequency sampling mode, which is generally used to monitor high-frequency current scenarios, such as PTC heating, pulse heating, etc. It can also be applied to other scenarios according to actual conditions and needs. This exemplary embodiment does not make any special limitations on this.
[0072] In the fourth sampling mode, the sampling duration of the first sampling chip is set to the third preset duration to sample the current of the battery pack. Generally, the third preset duration can be set to 1 ms.
[0073] In an alternative embodiment, Figure 8 FIG. 4 shows a flow chart of sampling in the fourth sampling mode. Figure 8As shown, the method may at least include the following steps: In step S810, the default mode is adjusted to the fourth sampling mode to sample the voltage of the battery pack using the first sampling chip, and the sampling time of the first sampling chip is the second preset time.
[0074] After the default mode is adjusted to the fourth sampling mode, in addition to the first sampling chip sampling the current of the battery pack at the third preset time length, the first sampling chip can also sample the voltage of the battery pack at the second preset time length. Generally, the second preset time length can be set to 10ms.
[0075] In step S820, the default mode is adjusted to the fourth sampling mode, so as to use the second sampling chip to sample the voltage of the battery cell, and the sampling time length of the second sampling chip is the second preset time length.
[0076] After the default mode is adjusted to the fourth sampling mode, in addition to the first sampling chip sampling the current of the battery pack at the third preset time length, the second sampling chip can also sample the voltage of the battery cell at the second preset time length. Generally, the second preset time length can be set to 10ms.
[0077] Fig. 9 FIG. 4 shows a schematic diagram of a sampling mode in the fourth sampling mode. Fig. 9 As shown, in this current sampling high-frequency sampling mode, the current sampling time is <1ms, which helps the battery management system obtain more accurate current information under high-frequency conditions and further improve the safety monitoring of the battery cells and the calculation of SOC.
[0078] After the default mode is adjusted to the sampling mode corresponding to the sampling request for sampling and the sampling process is completed, the mode may be adjusted back to the default mode.
[0079] It is worth noting that after the sampling of the sampling mode corresponding to the sampling request is completed, the sampling mode corresponding to another sampling request may be adjusted when another sampling request is identified, and this exemplary embodiment does not specifically limit this.
[0080] The following is a detailed description of the method for adjusting the battery sampling mode in the embodiment of the present disclosure in conjunction with an application scenario.
[0081] Fig.10 The system architecture diagram of the battery sampling mode adjustment method in the application scenario is shown as follows: Fig.10 As shown, the system architecture includes a BMU, wherein the BMU includes an MCU, a high voltage and current sampling chip, a bridge chip, and a battery cell sampling chip.
[0082] Among them, the high-voltage and current sampling chip is used to sample the total voltage of the battery pack of the vehicle battery, as well as the current of the battery pack of the vehicle battery, and transmit it to the MCU through SPI (Serial Peripheral interface); the cell sampling chip is used to sample the voltage of the battery cells that constitute the battery pack, and transmit it to the MCU through the daisy chain and bridge chip.
[0083] Among them, the sampling upper limit of high-voltage, current sampling chips and battery sampling chips depends on the sampling frequency of the chip. At present, the sampling frequency of chips from various manufacturers can basically meet the requirement of less than 5ms, and the main bottleneck lies in the time consumption of diagnosis and balancing.
[0084] Fig.11 A schematic diagram of a conventional sampling scheme in the related art is shown. Fig.11 As shown in the figure, in this conventional sampling scheme, the order and allocation time of tasks such as sampling, diagnosis and balancing are fixed. Generally, the sampling cycle of the battery sampling chip is 5ms, the diagnosis cycle is 45ms, and the balancing cycle is 50ms; the sampling cycle of the high-voltage and current sampling chip is 4ms, and the diagnosis cycle is 6ms.
[0085] Obviously, the update cycle of the battery sampling chip often exceeds 100ms, resulting in a too long update cycle.
[0086] Fig.12 A flow chart of a method for adjusting the battery sampling mode in an application scenario is shown, such as Fig.12 As shown, in step S1201, the default mode 0 is entered.
[0087] After the BMU and other controllers are powered on, they enter the default mode 0: normal sampling mode to sample the vehicle battery.
[0088] In step S1202, a SOX model revision requirement is identified.
[0089] In step S1203, enter mode 1.
[0090] When a SOX model correction requirement is identified, mode 1 is entered: current and single cell voltage sampling high synchronization sampling mode is used to sample the vehicle battery.
[0091] After completing the SOX related model correction, you can switch back to the default mode 0.
[0092] In step S1204 , an upper high voltage requirement is identified.
[0093] In step S1205, enter mode 3.
[0094] After recognizing that there is a high voltage request, enter mode 3: high voltage sampling and high frequency sampling mode to sample the vehicle battery.
[0095] When it is recognized that the high-voltage action has been completed and the high-voltage state has been entered, it can be switched back to the default mode 0.
[0096] In step S1206 , it is identified that the relay is disconnected under load or the fuse is disconnected (large current).
[0097] In step S1207, enter mode 2.
[0098] After identifying the risk of relay disconnection under load or fuse disconnection (high current), enter Mode 2: High voltage, current sampling pure sampling mode to sample the vehicle battery.
[0099] The large current may refer to a current of more than 1000 A, or may refer to other required currents according to actual conditions and scenarios, and this exemplary embodiment does not specifically limit this.
[0100] In step S1208, it is recognized that high pressure has been applied.
[0101] When it is recognized that high voltage has been applied or the current is small enough, it can be switched back to the default mode 0.
[0102] The sufficiently small current may refer to a current below 10 A, or may refer to other required currents according to actual conditions and scenarios, and this exemplary embodiment does not specifically limit this.
[0103] In step S1209, it is recognized that the PTC heating and pulse heating functions have been entered.
[0104] In step S1210, enter mode 4.
[0105] After identifying the PTC heating, pulse heating and other functions, it enters mode 4: current sampling high-frequency sampling mode to sample the vehicle battery.
[0106] After recognizing that the PTC heating, pulse heating and other functions have been exited, the mode can be switched back to the default mode 0.
[0107] In an exemplary embodiment of the present disclosure, a sampling mode corresponding to a sampling request is provided for sampling on the basis of a default mode.
[0108] For example, the high synchronization mode is used to improve the accuracy of core algorithms such as SOX; the high-frequency voltage sampling mode is used to achieve rapid judgment of upper and lower high voltages and relay status; the high-frequency current sampling mode is used to achieve PTC heating, pulse heating, fuse disconnection, etc.
[0109] This solution abandons the method of sampling car batteries using a simple single sampling mode, takes into account time allocation issues such as functional safety and electrical diagnosis, and adds new sampling modes to adapt to sampling needs in different scenarios.
[0110] It not only realizes the time proportion of intelligent adjustment sampling, diagnosis, and balancing, but also realizes the high synchronization requirements of the battery management system during SOX calculation, with a synchronization of <2ms. It also realizes the data requirements of the battery management system to record large current load cut-off, with a sampling period of <10ms for single cell voltage and <4ms for high voltage and current. It also realizes current monitoring under high-frequency current conditions of the battery management system, with a current sampling period of <1ms. It also realizes the requirements of the battery management system to quickly increase and decrease high voltage, with a high voltage sampling period of <1ms.
[0111] Therefore, this solution solves the pain points and difficulties of sampling in different scenarios, enriches the application scenarios of battery sampling, and provides support for the long-term development of electric vehicles.
[0112] In addition, in an exemplary embodiment of the present disclosure, a device for adjusting a battery sampling mode is also provided. Fig.13 The schematic diagram of the structure of the regulating device of the battery sampling mode is shown as follows: Fig.13 As shown, the battery sampling mode adjustment device 1300 may include: a default sampling module 1310 and a mode adjustment module 1320. Among them: A default sampling module 1310 is configured to sample a vehicle battery in a default mode using a first sampling chip and a second sampling chip, wherein the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack; The mode adjustment module 1320 is configured to adjust the default mode to a sampling mode corresponding to the sampling request for sampling when a sampling request is identified.
[0113] In some embodiments of the present disclosure, the sampling request includes: a first sampling request, and the sampling mode includes a first sampling mode; The mode adjustment module 1320 is configured to: When the first sampling request is identified, adjusting the default mode to the first sampling mode for sampling; Obtain a first sampling time of sampling by the first sampling chip and a second sampling time of sampling by the second sampling chip, where one second sampling time corresponds to multiple first sampling times; The voltage of the battery cell and the current of the battery cell are obtained according to the first sampling time and the second sampling time for a plurality of times, and the current of the battery cell and the voltage of the battery cell are synchronized.
[0114] In some embodiments of the present disclosure, the mode adjustment module 1320 is configured to: Determine a target sampling time corresponding to the second sampling time among multiple first sampling times, wherein the time interval between the target sampling time and the second sampling time meets a preset requirement; It is determined that the first sampling chip samples the current of the battery cell at the target sampling time, and it is determined that the second sampling chip samples the voltage of the battery cell at the second sampling time.
[0115] In some embodiments of the present disclosure, the sampling request includes: a second sampling request, and the sampling mode includes: a second sampling mode; The mode adjustment module 1320 is configured to: When the second sampling request is identified, the default mode is adjusted to the second sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a first preset duration.
[0116] In some embodiments of the present disclosure, the battery sampling mode adjustment device 1300 is further configured to: The default mode is adjusted to the second sampling mode to sample the voltage of the battery cell using the second sampling chip, the sampling time of the second sampling chip is a second preset time, and the second preset time is greater than the first preset time.
[0117] In some embodiments of the present disclosure, the sampling request includes: a third sampling request, and the sampling mode includes a third sampling mode; The mode adjustment module 1320 is configured to: When the third sampling request is identified, the default mode is adjusted to the third sampling mode to sample the voltage of the battery pack using the first sampling chip, and the sampling duration of the first sampling chip includes a third preset duration, and the third preset duration is less than the first preset duration.
[0118] In some embodiments of the present disclosure, the battery sampling mode adjustment device 1300 is further configured to: The default mode is adjusted to a third sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip includes the first preset duration.
[0119] In some embodiments of the present disclosure, the sampling request includes: a fourth sampling request, and the sampling mode includes a fourth sampling mode; The mode adjustment module 1320 is configured to: When the fourth sampling request is identified, the default mode is adjusted to the fourth sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a third preset duration.
[0120] In some embodiments of the present disclosure, the battery sampling mode adjustment device 1300 is further configured to: Adjusting the default mode to a fourth sampling mode, so as to sample the voltage of the battery pack using the first sampling chip, wherein the sampling duration of the first sampling chip is a second preset duration; The default mode is adjusted to a fourth sampling mode, so as to utilize the second sampling chip to sample the voltage of the battery cell, and the sampling duration of the second sampling chip is a second preset duration.
[0121] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0122] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the method for adjusting the battery sampling mode provided by the present disclosure are implemented.
[0123] Fig.14 1 is a block diagram of another apparatus 1400 for adjusting a battery sampling mode according to an exemplary embodiment. For example, the apparatus 1400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0124] Reference Fig.14 , the device 1400 may include one or more of the following components: a processing component 1402 , a memory 1404 , a power component 1406 , a multimedia component 1408 , an audio component 1410 , an input / output interface 1412 , a sensor component 1414 , and a communication component 1416 .
[0125] The processing component 1402 generally controls the overall operation of the device 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 1402 may include one or more modules to facilitate the interaction between the processing component 1402 and other components. For example, the processing component 1402 may include a multimedia module to facilitate the interaction between the multimedia component 1408 and the processing component 1402.
[0126] The memory 1404 is configured to store various types of data to support the operation of the device 1400. Examples of such data include instructions for any application or method operating on the device 1400, contact data, phone book data, messages, pictures, videos, etc. The memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0127] The power supply component 1406 provides power to the various components of the device 1400. The power supply component 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1400.
[0128] The multimedia component 1408 includes a screen that provides an output interface between the device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front camera and / or a rear camera. When the device 1400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0129] The audio component 1410 is configured to output and / or input audio signals. For example, the audio component 1410 includes a microphone (MIC), and when the device 1400 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1404 or sent via the communication component 1416. In some embodiments, the audio component 1410 also includes a speaker for outputting audio signals.
[0130] The input / output interface 1412 provides an interface between the processing component 1402 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0131] The sensor assembly 1414 includes one or more sensors for providing various aspects of the status assessment of the device 1400. For example, the sensor assembly 1414 can detect the open / closed state of the device 1400, the relative positioning of components, such as the display and keypad of the device 1400, the sensor assembly 1414 can also detect the position change of the device 1400 or a component of the device 1400, the presence or absence of user contact with the device 1400, the orientation or acceleration / deceleration of the device 1400, and the temperature change of the device 1400. The sensor assembly 1414 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1414 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0132] The communication component 1416 is configured to facilitate wired or wireless communication between the device 1400 and other devices. The device 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0133] In an exemplary embodiment, the apparatus 1400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0134] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including instructions, and the instructions can be executed by a processor 1420 of the device 1400 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0135] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned battery sampling mode adjustment method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned method for adjusting the battery sampling mode may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned method.
[0136] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned battery sampling mode adjustment method when executed by the programmable device.
[0137] Fig.15 FIG. 1 is a block diagram of another adjustment device 1500 for a battery sampling mode according to an exemplary embodiment. For example, the device 1500 may be provided as a server. Fig.15 The apparatus 1500 includes a processing component 1522, which further includes one or more processors, and a memory resource represented by a memory 1532 for storing instructions executable by the processing component 1522, such as an application. The application stored in the memory 1532 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1522 is configured to execute instructions to perform the above-mentioned battery sampling mode adjustment method.
[0138] The device 1500 may also include a power supply component 1526 configured to perform power management of the device 1500, a wired or wireless network interface 1550 configured to connect the device 1500 to a network, and an input / output interface 1558. The device 1500 may operate based on an operating system stored in the memory 1532.
[0139] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0140] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for adjusting a battery sampling mode, characterized in that: include: Using a first sampling chip and a second sampling chip to sample a vehicle battery in a default mode, the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack; When a sampling request is identified, the default mode is adjusted to a sampling mode corresponding to the sampling request for sampling.
2. The method for adjusting the battery sampling mode according to claim 1, characterized in that: The sampling request includes: a first sampling request, and the sampling mode includes a first sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the first sampling request is identified, adjusting the default mode to the first sampling mode for sampling; Obtain a first sampling time of sampling by the first sampling chip and a second sampling time of sampling by the second sampling chip, where one second sampling time corresponds to multiple first sampling times; The voltage of the battery cell and the current of the battery cell are obtained according to the first sampling time and the second sampling time for a plurality of times, and the current of the battery cell and the voltage of the battery cell are synchronized.
3. The method for adjusting the battery sampling mode according to claim 2, characterized in that: The obtaining the voltage of the battery cell and the current of the battery cell according to the first sampling time and the second sampling time for a plurality of times includes: Determine a target sampling time corresponding to the second sampling time among multiple first sampling times, wherein the time interval between the target sampling time and the second sampling time meets a preset requirement; It is determined that the first sampling chip samples the current of the battery cell at the target sampling time, and it is determined that the second sampling chip samples the voltage of the battery cell at the second sampling time.
4. The method for adjusting the battery sampling mode according to claim 1, characterized in that: The sampling request includes: a second sampling request, and the sampling mode includes: a second sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the second sampling request is identified, the default mode is adjusted to the second sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a first preset duration.
5. The method for adjusting the battery sampling mode according to claim 4, characterized in that: The method further comprises: The default mode is adjusted to the second sampling mode to sample the voltage of the battery cell using the second sampling chip, the sampling time of the second sampling chip is a second preset time, and the second preset time is greater than the first preset time.
6. The method for adjusting the battery sampling mode according to claim 1, characterized in that: The sampling request includes: a third sampling request, and the sampling mode includes a third sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the third sampling request is identified, the default mode is adjusted to the third sampling mode to sample the voltage of the battery pack using the first sampling chip, and the sampling duration of the first sampling chip includes a third preset duration, and the third preset duration is less than the first preset duration.
7. The method for adjusting the battery sampling mode according to claim 6, characterized in that: The method further comprises: The default mode is adjusted to a third sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip includes the first preset duration.
8. The method for adjusting the battery sampling mode according to claim 1, characterized in that: The sampling request includes: a fourth sampling request, and the sampling mode includes a fourth sampling mode; When a sampling request is identified, adjusting the default mode to a sampling mode corresponding to the sampling request for sampling includes: When the fourth sampling request is identified, the default mode is adjusted to the fourth sampling mode, so as to use the first sampling chip to sample the current of the battery pack, and the sampling duration of the first sampling chip is a third preset duration.
9. The method for adjusting the battery sampling mode according to claim 8, characterized in that: The method further comprises: Adjusting the default mode to a fourth sampling mode, so as to sample the voltage of the battery pack using the first sampling chip, wherein the sampling duration of the first sampling chip is a second preset duration; The default mode is adjusted to a fourth sampling mode, so as to utilize the second sampling chip to sample the voltage of the battery cell, and the sampling duration of the second sampling chip is a second preset duration.
10. A battery sampling mode adjustment device, characterized in that: include: a default sampling module, configured to sample a vehicle battery in a default mode using a first sampling chip and a second sampling chip, wherein the first sampling chip is used to sample a battery pack of the vehicle battery, and the second sampling chip is used to sample battery cells constituting the battery pack; The mode adjustment module is configured to adjust the default mode to a sampling mode corresponding to the sampling request for sampling when a sampling request is identified.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.
12. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 9.