A storage battery status detection system based on predator-prey model

Through the energy storage battery status detection system based on the predator model, the ant colony and sparrow algorithms are used to optimize the detection path, which solves the adaptability problem of energy storage battery status detection when historical data is insufficient, and achieves fast and accurate detection efficiency.

CN118133874BActive Publication Date: 2024-10-15SHENZHEN BDCHARGE IOT TECH CO LTD

Patent Information

Application Number
CN202410080976.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2024-10-15
Estimated Expiration
2044-01-19

AI Technical Summary

Technical Problem

When existing energy storage battery status detection technology is used to dynamically detect large-scale energy storage equipment, it is difficult to achieve adaptive detection when there is little historical data, making it difficult to converge the detection results and affecting detection accuracy and efficiency.

Method used

An energy storage battery status detection system based on the predation model is used, combined with the ant colony detection module and the predation analysis module. The ant colony generation unit and the sparrow generation unit generate and detect ant colonies, and the pheromone weight and path response value are used to optimize the detection path to achieve rapid Lock information and generate status detection information.

Benefits of technology

By improving the ant colony and sparrow algorithms to quickly lock information, the detection accuracy and efficiency are improved. The energy storage unit can be calibrated and analyzed within a faster response time, and important information can be extracted with priority to support system judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133874B_ABST
    Figure CN118133874B_ABST
Patent Text Reader

Abstract

The present invention relates to a storage battery state detection system based on a predation model, comprising an ant colony detection module, a predation analysis module and a detection execution device. By improving the ant colony algorithm and the sparrow algorithm, a predation model is formed to quickly lock information. After obtaining accurate analysis results for a local area, the purpose of searching logic migration is obtained by combining other segmented information, so that the system can quickly perform verification and analysis on each energy storage unit in the process of continuous iteration of the two algorithms, and quickly collect abnormal situations, so as to continuously formulate new analysis strategies and quickly analyze the specific situations of the energy storage units through high-frequency simulation, so that the model can give priority to extracting important information under the premise of having a faster response efficiency, so as to ensure the system response efficiency and provide information support for the judgment of the subsequent system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery detection, and more specifically, to a state detection system of an energy storage battery based on a predator-prey model. Background Art

[0002] Due to the development of energy storage technology and the increasing demand for energy storage technology, for example, the detection of the health status of energy storage batteries has become a relatively new proposition, because energy storage batteries are composed of different battery cells. If a unit has a problem, it will affect the entire power supply circuit. For example, CN116545052A proposed a power supply balancing system, which realizes power supply through a balancing circuit, and is applied in the heating field. Obtaining more comprehensive information about energy storage batteries and making targeted adjustments on the load side or the adapter side is already a relatively widespread demand in the field of energy storage batteries. CN116258335A proposed a low-carbon comprehensive energy multi-stage optimization configuration method based on an improved sparrow algorithm, which generates the capacity of each device of the constructed system by adopting an improved sparrow algorithm; the lower layer uses a CPLEX solver to solve the optimal operation plan under the given device capacity of the upper layer. The annual minimum cost is used as the objective function for optimization, and the demand response of various loads is considered, and the constraints of each device are set to solve the optimal device capacity of the constructed comprehensive energy system and the optimal operating state of the system under the capacity. The method used in the present invention is feasible and reliable, and effectively improves the economy of the system. The Sparrow Algorithm searches based on historical data, and its data analysis can only be applied in a specific scenario, but it cannot be popularized in a wider range of data processing technologies. Moreover, if dynamic detection of large-scale energy storage equipment is to be performed, it is difficult to achieve the purpose of adaptive detection when there is less historical data, or the detection results are difficult to converge, which affects the detection accuracy and efficiency. Summary of the invention

[0003] In view of this, an object of the present invention is to provide an energy storage battery status detection system based on a predator-prey model.

[0004] In order to solve the above technical problems, the technical solution of the present invention is: a storage battery state detection system based on a predation model, including an ant colony detection module, a predation analysis module and a detection execution device, the detection execution device includes a plurality of mimicry detection units and a plurality of detection feedback units, the mimicry detection unit is coupled to the energy storage unit to be detected, and is used for the corresponding detection instruction and the energy storage unit to form a corresponding detection loop, the detection feedback unit is used to collect the operating parameter data of the detection loop, the ant colony detection module is configured with an ant colony generation unit, the ant colony generation unit is used to generate a detection ant colony, the detection ant colony includes a preset number of detection ants, each detection ant is pre-configured A corresponding detection task is set, and each detection ant is configured with an ant colony pathfinding strategy for controlling the detection ant to move to different mimic detection units. When the detection ant reaches the mimic detection unit, a detection instruction is generated according to the corresponding detection task and the obtained operation parameter data is processed to generate state detection information. The ant colony pathfinding strategy includes marking pathfinding pheromones on the moving path when each detection ant moves, marking return pheromones on the moving path when each detection ant returns, and calculating the pheromone weight of each possible moving path according to a preset pheromone analysis algorithm when each detection ant needs to move, and randomly selecting a moving path according to the distribution of the pheromone weight until the detection ant is preyed upon;

[0005] The predation analysis module includes a sparrow generation unit and a joint analysis unit. The sparrow generation unit is used to generate a discoverer and a follower. The discoverer is configured with a preset discoverer position update formula for updating the discoverer position, and the follower is configured with a follower position update formula for updating the follower position. When the discoverer finds the detection ant, the corresponding position data is sent to the follower. When the follower and the detection ant positions coincide, the status detection information corresponding to the detection ant is received to complete the predation. The joint analysis unit is configured with a joint analysis condition. When the follower that has completed the predation meets the corresponding joint analysis condition, the corresponding status detection information is analyzed to generate a block status detection result.

[0006] Furthermore, the ant colony generation unit is configured to generate a new detection ant when a detection ant is preyed upon, and configure a corresponding detection task for the new detection ant;

[0007] The ant colony detection module includes a dynamic task unit, which retrieves the current configuration task from the preset task list according to the block status detection result and the preset task trigger condition, and when generating a new detection ant, uses the current configuration task as the detection task of the detection ant.

[0008] Furthermore, each detection task includes a corresponding suspected abnormal feature, and each suspected abnormal feature is configured with a corresponding stop time. When the detection ant identifies a suspected abnormal feature in the operating parameter data, it stays at the current position for the stop time.

[0009] Furthermore, the ant colony pathfinding strategy includes a weight generation algorithm configured to calculate the random distribution width of each moving path, and configure the random number coverage interval corresponding to each moving path according to the random distribution width. When the generated random number falls into the corresponding random number coverage interval, the moving path is determined as the next moving path. ,in, is the random distribution width of the moving path, is the preset total distribution width, is the pheromone weight of the moving path, The first The pheromone weight corresponding to the moving path, is the total number of moving paths corresponding to the location of the detection ant; the pheromone weight calculation formula is: , For the The path-finding pheromone marked by the detection ant that enters the moving path, is the total number of marked pathfinding pheromones, For the The return pheromone marked by the detection ant returning through the moving path, is the total number of marked return pheromones, is the preset reference pheromone, is the distance impact value of the moving path, and the distance impact value is related to the average time length of the data passing through the moving path, is a path response value of the moving path, wherein the path response value is related to the response efficiency of the communication unit corresponding to the moving path, The preset pathfinding influence weight, is the preset return impact weight, The preset benchmark impact weights;

[0010] The path-finding pheromone is configured with a path-finding attenuation factor, and the return pheromone is configured with a return attenuation factor.

[0011] Furthermore, the finder position update formula is: ,in, To update the finder's location, is the position of the discoverer at the previous moment, is the current iteration number, is the maximum number of iterations, Indicates A sparrow in Location information in the dimension, is a random number that follows a normal distribution, Indicates a The matrix of The actual warning risk value obtained, is the preset safety threshold, is a random number between (0,1], is the preset pathfinding information weight, is the preset return information weight, is the pathfinding information mapping angle, which is positively correlated with the total amount of pathfinding pheromones found by the sparrow. is the return information mapping angle, which is positively correlated with the total amount of return pheromone found by the sparrow;

[0012] The follower position update formula is ,in, is the updated follower position, is the position of the follower at the previous moment, is the worst position for the sparrows in the population; is the optimal position of the current finder, It is the default Levy flight strategy. is the fitness judgment value.

[0013] Furthermore, the Levy flight strategy is configured to calculate the flight value of each position, and configure the corresponding flight preference for each position according to the flight value, , is the flight value of the target virtual position, is the hunger value of the sparrow, To dynamically summarize the search requirements, the dynamic summary search requirements are obtained by querying a preset dynamic search requirement table using the obtained block status detection result as an index. It is a preset search cost sacrifice function, which reflects the mapping relationship between the current position search cost value and the corresponding position. is the capture probability of the target virtual position, For preset It is a preset path-finding cost sacrifice function, which reflects the mapping relationship between the path-finding cost value of the current position and the corresponding position.

[0014] Furthermore, the ant colony detection module also includes an ant colony configuration unit, which is configured with an ant colony iteration strategy. The ant colony iteration strategy includes several iteration triggering conditions. When the iteration triggering conditions are met, the maximum number of ant colonies, the path finding attenuation factor and the return attenuation factor are updated.

[0015] Furthermore, it also includes an abnormality verification module, the abnormality verification module is configured with an abnormality analysis database and a risk verification unit, the abnormality analysis database stores abnormality verification information, the abnormality verification information is indexed by the detection abnormality feature, the abnormality verification module extracts the corresponding detection abnormality feature from the block status detection result, and calls the corresponding abnormality verification information according to the detection abnormality feature, the risk verification unit generates a verification ant according to the abnormality verification information, the verification ant moves on the moving path according to the verification path corresponding to the abnormality verification information and performs the corresponding detection task, when the operation parameter data obtained by the verification ant meets the preset verification abnormality condition, the verification ant marks the risk pheromone at the corresponding position;

[0016] The sparrow generation unit also includes generating a sentinel, and the sentinel position update formula is: ,in, For the updated Sentinel position, is the current global optimal position, is a normally distributed random number, is a random number, To share information weight, it is positively correlated with the total amount of risk pheromone. is the individual fitness, is the optimal fitness of an individual, is the worst individual fitness, is the position of the sentinel at the previous moment. The risk is triggered when the sentinel captures the risk pheromone.

[0017] Furthermore, the risk pheromone is configured with a risk attenuation factor.

[0018] The technical effects of the present invention are mainly reflected in the following aspects: by improving the ant colony algorithm and the sparrow algorithm, a predator model is formed to quickly lock information. After obtaining accurate analysis results for the local area, the purpose of searching the logic is obtained by combining other segmented information. The system can quickly perform calibration and analysis on each energy storage unit during the continuous iteration of the two algorithms, and quickly collect abnormal situations, thereby continuously formulating new analysis strategies and performing high-frequency simulations to quickly analyze the specific conditions of the energy storage unit. Under the premise of having a faster response efficiency, the model will give priority to extracting important information, thereby ensuring the system response efficiency and providing information support for the subsequent system judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 : Schematic diagram of the system architecture of the present invention.

[0020] Figure numerals: 100, ant colony detection module; 110, ant colony generation unit; 120, dynamic task unit; 130, ant colony configuration unit; 200, predation analysis module; 210, sparrow generation unit; 220, joint analysis unit; 300, detection execution module; 310, mimicry detection unit; 320, detection feedback unit; 400, anomaly verification module; 401, anomaly analysis database; 410, risk verification unit. DETAILED DESCRIPTION

[0021] The specific implementation modes of the present invention are further described below in conjunction with the accompanying drawings to make the technical solutions of the present invention easier to understand and grasp.

[0022] A system for detecting the state of an energy storage battery based on a predation model includes an ant colony detection module 100, a predation analysis module 200, and a detection execution device, wherein the detection execution device includes a plurality of mimic detection units 310 and a plurality of detection feedback units 320, wherein the mimic detection unit 310 is coupled to the energy storage unit to be detected, and is used for corresponding detection instructions to form a corresponding detection circuit with the energy storage unit, for example, a corresponding charging circuit and a discharging circuit are formed with the energy storage unit, and the charging current and the discharging current can be adjusted. This technology has been widely used in the field of energy storage battery testing, and will not be described in detail here. The difference of the present invention is that a relatively independent loop module is set for each energy storage unit, so as to execute various Different charging and discharging tasks are performed to simulate tests on the energy storage unit in various situations and obtain data such as the battery health status. The detection feedback unit 320 is used to collect the operating parameter data of the detection loop. The detection feedback unit 320 can be configured as voltage detection and current detection at the output end and / or the input end. The feedback format of the operating parameter data is preferably a waveform data format, which is convenient for subsequent feature analysis and extraction. A corresponding communication interface and a number of independently operating control modules are set for each detection execution device. The process of simulating ant colony crawling or sparrow flying is to send the corresponding movement instruction through the communication device, thereby activating the corresponding control module to perform independent information analysis, thereby completing the collection of the operating parameter data.

[0023] The ant colony detection module 100 is configured with an ant colony generation unit 110, and the ant colony generation unit 110 is used to generate a detection ant colony. The detection ant colony includes a preset number of detection ants. Each detection ant is pre-configured with a corresponding detection task. Different detection ants may have different corresponding detection tasks. Each detection task is pre-configured, which includes corresponding detection instructions and detection items. The detection items are configured with corresponding detection features. For example, if the detection task is full discharge detection, then the detection item pre-stores the standard waveform range during the discharge process. If it exceeds the standard waveform range, it is abnormal information. Recording the abnormal information can generate corresponding state detection information, and each detection ant is configured with an ant colony pathfinding strategy for controlling the detection ant to move to different mimic detection units. The configuration of the ant colony pathfinding strategy can make the movement of each detection ant have a certain randomness, so that the detection has a wide coverage efficiency and meets the characteristics of regional clustering detection. Specifically, when the detection ant reaches the mimic detection unit, a detection instruction is generated according to the corresponding detection task and the obtained operating parameter data is processed to generate state detection information. The ant colony pathfinding strategy includes marking pathfinding pheromones on the moving path when each detection ant moves. , each detection ant will mark the return pheromone on the moving path when it returns. When each detection ant needs to move, the pheromone weight of each possible moving path is calculated according to the preset pheromone analysis algorithm, and a moving path is randomly selected according to the distribution of the pheromone weight until the detection ant is preyed; that is, compared with the difference of the ordinary ant colony algorithm, the present invention is configured with path-finding pheromones and return pheromones, so that the ant colony can achieve a transport balance under the joint action of the two pheromones of path-finding and predation. On the one hand, the ant colony can be more concentrated in the detection direction in the initial state until the number of detections in the corresponding direction is completed in large quantities. Then, if the ant colony is preyed, the detection ant will fully move on this path and repeat the detection. The purpose is to ensure that the joint action of different energy storage units in the working state can also be fully reflected in the detection of the detection ant. Since it is difficult to obtain completely accurate results by detecting a large number of energy storage units, by capturing this probable behavior, relatively accurate analysis results can be obtained by fuzzy calculation while consuming less computing power, thereby improving computing efficiency. The probable trend can be guided by pheromones, so that when the detection time is sufficient, accurate results close to complete detection can be obtained.

[0024] The predation analysis module 200 includes a sparrow generation unit 210 and a joint analysis unit 220. The sparrow generation unit 210 is used to generate a discoverer and a follower. The discoverer is configured with a preset discoverer position update formula for updating the discoverer position, and the follower is configured with a follower position update formula for updating the follower position. When the discoverer finds the detection ant, the corresponding position data is sent to the follower. When the follower coincides with the detection ant position, the state detection information corresponding to the detection ant is received to complete the predation. The sparrow search algorithm is different from the original application in the technical field of energy storage battery health detection. This solution is to place the sparrow colony in the same virtual coordinate system as the ant colony, and utilize the high search efficiency of the sparrow algorithm itself, combined with the pheromone of the ant colony, through the dynamic balance of the two, to achieve rapid acquisition of the ant colony in the effective area. The sparrow that completes the predation leaves the area, transmits the obtained information back, and regenerates a new sparrow with the same identity to continue Capture (but this identity will not be affected by the information of the sparrow in the previous link). In this way, each link will have a preset number of followers to complete the predation. The completion efficiency is related to the ant colony efficiency until the corresponding joint analysis conditions are met. The joint analysis unit 220 is configured with joint analysis conditions. When the followers who have completed the predation meet the corresponding joint analysis conditions, the specific joint analysis conditions are preset. The joint analysis conditions are that the energy storage units with fixed position relationships feedback several preset abnormal features, so the fixed position relationship is set in advance, so as to analyze the abnormal features and obtain abnormal results. The background establishes a corresponding database through the pre-configured joint analysis conditions, and configures the corresponding block status detection results, analyzes the corresponding status detection information to generate block status detection results, that is, it can analyze suspected problems within a regional range. Generally, it is still uncertain, but this suspected result can be used as the basis for battery health status analysis.

[0025] In one embodiment, the ant colony generation unit 110 is configured to generate a new detection ant when a detection ant is preyed, and configure a corresponding detection task for the new detection ant; in this way, the number of detection ants can be guaranteed, and at the same time, the preyed detection ant will not produce detection pheromones, and the refreshed detection ant can generate new detection tasks. In this way, dynamic configuration can be performed on the detection tasks, and multiple detection tasks can be performed simultaneously. When a new detection ant is generated, a new moving path will also be generated until it is preyed.

[0026] The ant colony detection module 100 includes a dynamic task unit 120, which retrieves the current configuration task from the preset task list according to the block state detection result and the preset task trigger condition. When a new detection ant is generated, the current configuration task is used as the detection task of the detection ant. The task list is preset, and the task priority change is set for some special abnormal situations. Each configuration task will have a priority. Each time, the detection task with the highest priority is used as the current configuration task. If no special block state detection result is generated, the current configuration task is retrieved based on the task trigger condition as an independent basis. That is, when the preset task trigger condition of the previous task is met, such as reaching a certain time or the generated detection ants reach a certain number, the task trigger condition is regarded as completed and the next detection task is switched. If the preset block state detection result appears, the task priority at this time is adjusted, that is, the priority of the configuration task corresponding to the block state detection result, until the task trigger condition of the previous configuration task is met, the configuration task with the adjusted priority may be retrieved as the current task because of the block state detection result.

[0027] In one embodiment, each detection task includes a corresponding suspected abnormal feature, and each suspected abnormal feature is configured with a corresponding stop time. When the detection ant identifies the suspected abnormal feature in the operating parameter data, it stays at the current position for the said stop time. Through the preset stop time configuration, each detection ant can have a certain independent analysis capability, for example, pre-storing the standard abnormal waveform of the detection task, when the obtained waveform meets the standard abnormal waveform, it is regarded as a suspected abnormal feature, and the stop time of the standard abnormal waveform is executed, so that the detection ant stays, which has two uses. First, if the abnormality occurs repeatedly, it will make multiple detection ants have a greater probability of staying at this position, guiding subsequent detection ants to reach this position. On the other hand, it makes it difficult for the sparrow to be repeatedly captured in one link, so that more accurate information can be obtained, and the probability of returning to this position is reduced, which increases the possibility of being captured at this position.

[0028] In one embodiment, the ant colony pathfinding strategy includes configuring a random distribution width corresponding to each moving path with a weight generation algorithm, and configuring a random number coverage interval corresponding to each moving path according to the random distribution width, that is, the larger the random distribution width, the greater the probability that the next detection ant will select the moving path. When the generated random number falls into the corresponding random number coverage interval, the moving path is determined as the next moving path. ,in, is the random distribution width of the moving path, is the preset total distribution width, is the pheromone weight of the moving path, The first The pheromone weight corresponding to the moving path, is the total number of moving paths corresponding to the location of the detection ant;

[0029] The pheromone weight calculation formula is: , is the pheromone weight of the moving path, For the The path-finding pheromone marked by the detection ant that enters the moving path, is the total number of marked pathfinding pheromones, For the The return pheromone marked by the detection ant returning through the moving path, The total number of marked return pheromones. The fewer the return pheromones and the more the pathfinding pheromones, the path may be abnormal, or the area involved in the path has not been fully detected or captured. It can be understood that the increase in return pheromones indicates that it has not been captured and the detection path has been completed. is the preset benchmark pheromone, that is, the basic probability of each path, is the distance impact value of the mobile path, which is related to the average time it takes for data to pass through the mobile path. The higher the transmission efficiency, the greater the distance impact value, that is, through, is the path response value of the moving path. The path response value is related to the response efficiency of the communication unit corresponding to the moving path. The faster the response efficiency, the greater the path response value. The preset pathfinding influence weight, is the preset return impact weight, The preset benchmark impact weights;

[0030] The path-finding pheromone is configured with a path-finding attenuation factor, and the return pheromone is configured with a return attenuation factor. The path-finding attenuation factor and the return attenuation factor are the same, both of which are functions of time and the corresponding pheromone value, so that the corresponding pheromone will naturally decrease after a certain period of time to ensure that the next link can be detected again.

[0031] In one embodiment, the finder location update formula is: ,in, To update the finder's location, is the position of the discoverer at the previous moment, is the current iteration number, is the maximum number of iterations, Indicates A sparrow in Location information in the dimension, is a random number that follows a normal distribution, Indicates a The matrix of The actual warning risk value obtained, is the preset safety threshold, is a random number between (0,1], is the preset pathfinding information weight, is the preset return information weight, is the pathfinding information mapping angle, which is positively correlated with the total amount of pathfinding pheromones found by the sparrow. is the return information mapping angle, which is positively correlated with the total amount of return pheromones found by the sparrow; that is to say, the two pieces of information can be used to adjust the refresh of the sparrow's position on a macro level, thereby improving the search efficiency of the sparrow algorithm.

[0032] The follower position update formula is ,in, is the updated follower position, is the position of the follower at the previous moment, is the worst position for the sparrows in the population; is the optimal position of the current finder, It is the default Levy flight strategy. is the fitness judgment value. The Levy flight strategy is configured to calculate the flight value of each position, and configure the corresponding flight preference for each position according to the flight value. , is the flight value of the target virtual position, is the hunger value of the sparrow. The hunger value indicates the relationship between the predation interval of the sparrow and the maximum allowed flight span, thereby constraining the search distance span, so that the sparrow with a higher hunger value can allow a larger span. To dynamically summarize the search requirements, the dynamic summary search requirements are obtained by querying a preset dynamic search requirement table using the obtained block status detection results as indexes. Different block status detection results have different dynamic summary search requirement values. It is the preset search cost sacrifice function, the mapping relationship between the current position search cost value and the corresponding position, that is, the communication cost and computation cost required to search for the position. is the capture probability of the target virtual position, It is a preset path-finding cost sacrifice function, which reflects the mapping relationship between the path-finding cost value of the current position and the corresponding position. That is, it is related to the distance of the updated position of the closest discoverer. Through simulation, the flight preference for each follower can be calculated. By bringing the function corresponding to the flight preference into the follower position update function, the corresponding flight update position result can be obtained.

[0033] In one embodiment, the ant colony detection module 100 further includes an ant colony configuration unit 130, and the ant colony configuration unit 130 is configured with an ant colony iteration strategy, and the ant colony iteration strategy includes a number of iteration trigger conditions. When the iteration trigger conditions are met, the maximum number of ant colonies, the path attenuation factor, and the return attenuation factor are updated. The purpose of the ant colony iteration strategy is to adjust the amount of computation and the efficiency of the system according to new requirements. By configuring the maximum number, the path attenuation factor, and the return attenuation factor, the amount of computation and the efficiency can be adjusted. The iteration trigger condition is to meet the preset time length, or the abnormal result of a certain block appears, etc.

[0034] In one embodiment, it also includes an anomaly verification module 400, which is configured with an anomaly analysis database 401 and a risk verification unit 410. The anomaly analysis database 401 stores anomaly verification information, which is indexed by detection anomaly features. The anomaly verification module 400 extracts the corresponding detection anomaly features from the block status detection results, and calls the corresponding anomaly verification information according to the detection anomaly features. The risk verification unit 410 generates verification ants according to the anomaly verification information. The verification ants move on the moving path according to the verification path corresponding to the anomaly verification information and perform the corresponding detection task. When the operating parameter data obtained by the verification ants meets the preset verification anomaly conditions, the verification ants mark the risk pheromone at the corresponding position; the abnormal state is analyzed through the anomaly analysis database 401, and then verified by the verification ants. When it is verified that there is an anomaly in the area, the sparrow algorithm is coordinated to reduce the predation on this area. As the return pheromone in the detection area increases, the computing power is gradually allocated to obtain the corresponding complete verification result, and then the intervention of the ant colony and the sparrow colony in this area will be reduced.

[0035] The sparrow generation unit also includes generating a sentinel, and the sentinel position update formula is: ,in, For the updated Sentinel position, is the current global optimal position, is a normally distributed random number, is a random number, To share information weight, it is positively correlated with the total amount of risk pheromone. is the individual fitness, is the optimal fitness of an individual, is the worst individual fitness, The position of the sentinel at the previous moment. The risk is triggered when the sentinel captures the risk pheromone. Through the setting of the sentinel, the corresponding verification ants can be coordinated to control the sparrow group to gradually move away from the position and change the position for predation. The risk pheromone is configured with a risk attenuation factor.

[0036] Of course, the above are only typical examples of the present invention. In addition, the present invention may also have many other specific implementations. All technical solutions formed by equivalent replacement or equivalent transformation fall within the scope of protection required by the present invention.

Claims

1. A storage battery status detection system based on a predator-prey model, characterized in that: It includes an ant colony detection module, a predation analysis module and a detection execution device, wherein the detection execution device includes a plurality of mimic detection units and a plurality of detection feedback units, wherein the mimic detection unit is coupled to the energy storage unit to be detected, and is used for the corresponding detection instruction and the energy storage unit to form a corresponding detection loop, and the detection feedback unit is used to collect the operation parameter data of the detection loop, and the ant colony detection module is configured with an ant colony generation unit, and the ant colony generation unit is used to generate a detection ant colony, and the detection ant colony includes a preset number of detection ants, each detection ant is pre-configured with a corresponding detection task, and each detection ant is configured with an ant colony. The pathfinding strategy is used to control the detection ants to move to different mimic detection units. When the detection ants arrive at the mimic detection units, detection instructions are generated according to the corresponding detection tasks and the obtained operation parameter data are processed to generate state detection information. The ant colony pathfinding strategy includes marking pathfinding pheromones on the moving path when each detection ant moves, marking return pheromones on the moving path when each detection ant returns, and calculating the pheromone weight of each possible moving path according to a preset pheromone analysis algorithm when each detection ant needs to move, and randomly selecting a moving path according to the distribution of the pheromone weight until the detection ant is preyed upon; The predation analysis module includes a sparrow generation unit and a joint analysis unit, the sparrow generation unit is used to generate a finder and a follower, the finder is configured with a preset finder position update formula for updating the finder position, the follower is configured with a follower position update formula for updating the follower position, when the finder finds the detection ant, the corresponding position data is sent to the follower, when the follower and the detection ant position coincide, the state detection information corresponding to the detection ant is received to complete the predation, the joint analysis unit is configured with a joint analysis condition, when the follower that completes the predation meets the corresponding joint analysis condition, the corresponding state detection information is analyzed to generate a block state detection result; The ant colony pathfinding strategy includes a weight generation algorithm configured to calculate the random distribution width of each moving path, and configure the random number coverage interval corresponding to each moving path according to the random distribution width. When the generated random number falls into the corresponding random number coverage interval, the moving path is determined as the next moving path. ,in, is the random distribution width of the moving path, is the preset total distribution width, is the pheromone weight of the moving path, The first The pheromone weight corresponding to the moving path, is the total number of moving paths corresponding to the location of the detection ant; the pheromone weight calculation formula is: , For the The path-finding pheromone marked by the detection ant that enters the moving path, is the total number of marked pathfinding pheromones, For the The return pheromone marked by the detection ant returning through the moving path, is the total number of marked return pheromones, is the preset reference pheromone, is the distance impact value of the moving path, and the distance impact value is related to the average time length of the data passing through the moving path, is a path response value of the moving path, wherein the path response value is related to the response efficiency of the communication unit corresponding to the moving path, The preset pathfinding influence weight, is the preset return impact weight, The preset benchmark impact weights; The path-finding pheromone is configured with a path-finding attenuation factor, and the return pheromone is configured with a return attenuation factor.

2. The energy storage battery status detection system based on the predator-prey model as claimed in claim 1, characterized in that: The ant colony generation unit is configured to generate a new detection ant when a detection ant is preyed upon, and configure a corresponding detection task for the new detection ant; The ant colony detection module includes a dynamic task unit, which retrieves the current configuration task from the preset task list according to the block status detection result and the preset task trigger condition, and when generating a new detection ant, uses the current configuration task as the detection task of the detection ant.

3. The energy storage battery status detection system based on the predator-prey model as claimed in claim 1, characterized in that: Each detection task includes a corresponding suspected abnormal feature, and each suspected abnormal feature is configured with a corresponding stop time. When the detection ant identifies a suspected abnormal feature in the operating parameter data, it stays at the current position for the stop time.

4. The energy storage battery state detection system based on the predator-prey model as claimed in claim 1, characterized in that: The finder position update formula is: ,in, To update the finder's location, is the position of the discoverer at the previous moment, is the current iteration number, is the maximum number of iterations, Indicates A sparrow in the Location information in the dimension, is a random number that follows a normal distribution, Indicates a The matrix of The actual warning risk value obtained, is the preset safety threshold, is a random number between (0,1], is the preset pathfinding information weight, is the preset return information weight, is the pathfinding information mapping angle, which is positively correlated with the total amount of pathfinding pheromones found by the sparrow. is the return information mapping angle, which is positively correlated with the total amount of return pheromone found by the sparrow; The follower position update formula is ,in, is the updated follower position, is the position of the follower at the previous moment, is the worst position for the sparrows in the population; is the optimal position of the current finder, It is the default Levy flight strategy. is the fitness judgment value.

5. The energy storage battery state detection system based on the predator-prey model as claimed in claim 4, characterized in that: The Levy flight strategy is configured to calculate the flight value of each position, and configure the corresponding flight preference for each position according to the flight value. , is the flight value of the target virtual position, is the hunger value of the sparrow, To dynamically summarize the search requirements, the dynamic summary search requirements are obtained by querying a preset dynamic search requirement table using the obtained block status detection result as an index. is the capture probability of the target virtual position, It is the preset search cost sacrifice function, which reflects the mapping relationship between the current position search cost value and the corresponding position. It is a preset path-finding cost sacrifice function, which reflects the mapping relationship between the path-finding cost value of the current position and the corresponding position.

6. The energy storage battery status detection system based on the predator-prey model as claimed in claim 3, characterized in that: The ant colony detection module also includes an ant colony configuration unit, which is configured with an ant colony iteration strategy. The ant colony iteration strategy includes several iteration triggering conditions. When the iteration triggering conditions are met, the maximum number of ant colonies, the path finding attenuation factor and the return attenuation factor are updated.

7. The energy storage battery status detection system based on the predator-prey model as claimed in claim 1, characterized in that: It also includes an anomaly verification module, which is configured with an anomaly analysis database and a risk verification unit. The anomaly analysis database stores anomaly verification information, and the anomaly verification information is indexed by the detection anomaly feature. The anomaly verification module extracts the corresponding detection anomaly feature from the block status detection result, and calls the corresponding anomaly verification information according to the detection anomaly feature. The risk verification unit generates a verification ant according to the anomaly verification information. The verification ant moves on the moving path according to the verification path corresponding to the anomaly verification information and performs the corresponding detection task. When the operating parameter data obtained by the verification ant meets the preset verification anomaly condition, the verification ant marks the risk pheromone at the corresponding position; The sparrow generation unit also includes generating a sentinel, and the sentinel position update formula is: ,in, For the updated Sentinel position, is the current global optimal position, is a normally distributed random number, is a random number, To share information weight, it is positively correlated with the total amount of risk pheromone. is the individual fitness, is the optimal fitness of an individual, is the worst individual fitness, is the position of the sentinel at the previous moment. The risk is triggered when the sentinel captures the risk pheromone.

8. The energy storage battery status detection system based on the predator-prey model as claimed in claim 7, characterized in that: The risk pheromone is configured with a risk attenuation factor.

Citation Information

Patent Citations

  • Low-carbon comprehensive energy multi-stage optimization configuration method based on improved sparrow algorithm

    CN116258335A

  • Power supply device and energy storage system

    CN116545052A

  • Lithium battery equivalent circuit model parameter identification method based on improved ant colony algorithm

    CN112883632A

  • Method and device for predicting SOH of battery

    CN112924886A

  • AGV path planning method based on improved ant colony algorithm

    CN113093724A

Cited By

  • Lithium battery switching state current test system

    CN120870902A