Method for arranging square batteries in fire hose joint

By establishing a three-dimensional spatial model and genetic algorithm optimization in the annular cavity of the fire hose joint, the number and side length of the square battery pack are determined, and the problem of arranging the maximum capacity batteries in a limited space is solved, and the optimal battery arrangement is achieved.

CN119808187APending Publication Date: 2025-04-11平裕(成都)科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411849913.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

How to arrange the maximum capacity of square batteries in the limited annular cavity of the fire hose joint, especially without changing the existing structure.

Method used

By establishing a three-dimensional spatial model of the ring component, calculate the target control voltage and the rated voltage value of the square battery, determine the number and side length of the square battery pack, and optimize the arrangement position of the cells using genetic algorithms to maximize the pending volume of the battery.

Benefits of technology

It is realized that the optimal battery layout method is quickly determined according to the limited space and battery layout requirements without changing the fire hose joint structure, thereby maximizing battery capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119808187A_ABST
    Figure CN119808187A_ABST
Patent Text Reader

Abstract

The invention relates to a method for arranging square batteries in a fire hose joint, which comprises the following steps of: establishing a three-dimensional space model of an annular assembly, and acquiring spatial data of a battery bin area in the annular assembly; according to the target control voltage and the rated voltage value of the square battery, calculating to obtain a square battery pack formed by connecting n batteries in series; based on the spatial data of the battery compartment area, placing k groups of square battery packs in the battery compartment area, and determining to-be-arranged positions of k * n square batteries; further determining the maximum undetermined volume of the k * n square batteries; and in the set of the maximum undetermined volumes corresponding to all k, finding the maximum volume, which can be obtained in the battery compartment area, of the square batteries, and determining the number of the square batteries and the corresponding size and layout of the square batteries. By means of the method, the batteries with the maximum capacity are arranged in the limited annular cavity of the fire hose connector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method for arranging square batteries in a fire hose joint. Background Art

[0002] Fire hoses are hoses used by firefighters to transport flame-retardant liquids such as high-pressure water or foam at disaster sites during fire rescue. Each section of fire hose and the fire hose and other conversion structures need to be connected through joints. In order to cope with complex and ever-changing disaster sites, fire hoses have integrated more and more functional requirements, so it is necessary to place control chips with different functions and batteries to provide power support for the chips in the annular cavity of the fire hose joint. However, since the space of the fire hose joint is very limited, how to arrange the battery with the maximum capacity in the limited annular cavity without changing the existing fire hose joint structure has become an urgent problem to be solved. Summary of the invention

[0003] The purpose of the present invention is to solve the problem of how to arrange batteries with maximum capacity in a limited annular cavity without changing the existing fire hose joint structure, and to provide a method for arranging square batteries in a fire hose joint.

[0004] In order to achieve the above-mentioned object of the invention, an embodiment of the present invention provides a method for arranging square batteries in a fire hose joint, comprising:

[0005] S1, establishing a three-dimensional spatial model of a ring-shaped component, and obtaining spatial data of a battery compartment area in the ring-shaped component; at least one square battery needs to be placed in the battery compartment area;

[0006] S2, obtaining a target control voltage and a rated voltage value of the square battery, and calculating a square battery pack formed by connecting n square batteries in series based on the target control voltage;

[0007] S3, based on the spatial data of the battery compartment area, k groups of square battery groups are placed in the battery compartment area to determine the pending arrangement positions of k*n square batteries; wherein k is a natural number greater than or equal to 1, starting from k=1, the values ​​of k are traversed in sequence, and the side length of the square battery is inversely proportional to the number of square batteries. When k is larger, the side length of the square battery is smaller; when the side length of the square battery is less than a threshold, stop traversing k;

[0008] S4, based on the undetermined arrangement positions of the k*n square batteries, determining the maximum undetermined volume of the k*n square batteries corresponding to k;

[0009] S5, obtaining a set of k*n square batteries corresponding to all values ​​of k and the maximum volume to be determined obtained in the battery compartment area;

[0010] S6, determining the maximum value in the set of maximum volumes to be determined as the maximum volume that the square battery can obtain in the battery compartment area, and based on the maximum volume, determining the number k of square battery groups, the optimal side length of the square battery, and the optimal arrangement position of k*n square batteries.

[0011] Further, the S3 comprises the following steps:

[0012] S31, based on the spatial data of the battery compartment area, starting from k=1, traversing the value of k in sequence, and evenly dividing the battery compartment area into k*n independent battery compartments, each of which is used to place a square battery;

[0013] S32, obtaining spatial data of each independent battery compartment, and using a genetic algorithm to determine the largest inscribed cuboid in the independent battery compartment;

[0014] S33, determining the arrangement position corresponding to the largest inscribed cuboid in each independent battery compartment as the pending arrangement position of the square batteries.

[0015] Further, the S32 comprises the following steps:

[0016] S321, setting layout conditions, wherein the layout conditions include spatial data of independent battery compartments and a side length threshold of a square battery;

[0017] S322, randomly generating an initialization population by a genetic algorithm, wherein the initialization population refers to individuals obtained within the search range of the side length and rotation angle of the square battery, and the number of individuals in the population is M;

[0018] S323, calculate the space occupancy of each individual in the population;

[0019] S324, performing non-dominated sorting on the M population individuals by non-dominated sorting to determine the spatial occupancy of the M population individuals;

[0020] S325, determining the population individual with the largest space occupancy rate as the largest inscribed cuboid in the independent battery compartment.

[0021] On the other hand, an embodiment of the present invention also provides a computer-readable storage medium including computer-readable instructions, which, when executed, enable a processor to perform the operations in the method described in the embodiment of the present invention.

[0022] On the other hand, an embodiment of the present invention also provides an electronic device, including: a memory, storing program instructions; a processor, connected to the memory, executing the program instructions in the memory, and implementing the steps in the method described in the embodiment of the present invention.

[0023] Compared with the prior art, the method and system of the present invention can automatically and quickly determine the optimal battery arrangement according to the boundary conditions of a limited space and the layout requirements of the batteries. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 is an exemplary flow chart of a method for arranging square batteries in a fire hose joint described in an embodiment;

[0026] Figure 2 It is a structural schematic diagram of the arrangement of square batteries in a fire hose joint described in an embodiment;

[0027] Figure 3 It is a structural schematic diagram of another arrangement of square batteries in a fire hose joint described in an embodiment. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0029] Figure 1 This is an exemplary flow chart of a method for arranging square batteries in a fire hose joint as described in an embodiment, please refer to Figure 1 , the method specifically comprises the following steps:

[0030] S1, establish a three-dimensional spatial model of the annular component, and obtain spatial data of a battery compartment area in the annular component; at least one square battery needs to be placed in the battery compartment area.

[0031] In some embodiments, the annular component may be an annular component of a fire hose connector, such as Figure 2 and Figure 3 , which shows a plan view of a fire hose connector. Specifically, since a control circuit chip or other components need to be placed in the fire hose connector, Figure 2 The shaded area 21 in Figure 3 The shaded area 31 in the middle represents the area where the control circuit chip is placed. The shape of the battery compartment in the ring assembly can be changed according to design requirements. For example, Figure 2 and Figure 3 Two cases of corresponding shapes of the battery compartment inside the annular assembly of the fire hose connector are shown, such as Figure 2 The dotted frame line 22 in the annular component represents the battery compartment area, and the blue frame line represents the square battery.

[0032] Furthermore, a three-dimensional spatial model of the annular component is established. Specifically, the method of establishing the three-dimensional spatial model can be implemented by existing technologies, for example, by manually inputting and / or transmitting these spatial data with the assistance of a computer. The data format can be CAD or other types; it can also be obtained by identifying with a camera and / or a laser scanner. The three-dimensional spatial model of the annular component may include edge coordinate data on the surface of the annular component, the inner circle radius and outer circle radius of the annular component, etc. Further, the spatial data of the battery compartment area in the annular component is obtained through the three-dimensional spatial model of the component. Specifically, the spatial data may include edge coordinate data of the battery compartment area, or the inner angle of the arc corresponding to the battery compartment area.

[0033] S2, obtaining a target control voltage and a rated voltage value of the square battery, and calculating a square battery pack formed by n square batteries connected in series based on the target control voltage.

[0034] In some embodiments, the target control voltage refers to the power support required by the control circuit chip placed in the fire hose connector, such as 12V, 6.4V, etc. Since when multiple batteries are connected in series, the circuit voltage value is equal to the sum of the rated voltage values ​​of each battery, the target control voltage can be achieved by connecting multiple groups of square batteries in series. As shown in the following formula:

[0035] n=U0 / U1,

[0036] Wherein, n represents the number of square batteries connected in series; U0 represents the target control voltage; and U1 represents the rated voltage value of each square battery.

[0037] S3, based on the spatial data of the battery compartment area, place k groups of square battery groups in the battery compartment area, and determine the pending arrangement positions of k*n square batteries; wherein k is a natural number greater than or equal to 1, starting from k=1, traverse the values ​​of k in sequence, the side length of the square battery is inversely proportional to the number of square batteries, and when k is larger, the side length of the battery in the direction is smaller; when the side length of the square battery is less than a threshold, stop traversing k.

[0038] In some embodiments, in order to obtain the maximum battery capacity as much as possible, under the premise of ensuring the target control voltage, k groups of n square battery packs can be placed in series, and each group of batteries is connected in parallel. Under the premise of ensuring that the circuit voltage remains unchanged at the target control voltage, the more square battery packs are connected in parallel, the greater the battery capacity that can be obtained. According to common sense, if Figure 2 As shown, in the annular component, its three-dimensional space is fixed. When the number k of square battery groups in the entire annular component is larger, the side length of the square battery in the square battery group will decrease. Therefore, the number of square battery groups is inversely proportional to the side length of its square battery. k is a natural number greater than or equal to 1, and at least one group of square battery strings needs to be placed in the battery compartment. When the value of k is larger, the number of square batteries increases, and the corresponding side length of the square battery is smaller. However, the side length of the square battery has a minimum threshold requirement according to production requirements. When the side length is less than the threshold, it means that the size of the square battery does not meet the production requirements, and the traversal of the k value is stopped.

[0039] In some embodiments, based on the spatial data of the battery compartment area, k groups of square battery packs are placed in the battery compartment area, and the specific steps of determining the pending arrangement positions of k*n square batteries include:

[0040] S31, based on the spatial data of the battery compartment area, starting from k=1, traverse the value of k in sequence, and evenly divide the battery compartment area into k*n independent battery compartments, where the independent battery compartment is used to place a square battery.

[0041] Figure 3 It is the battery arrangement when traversing k equals 1 and k equals 2.

[0042] like Figure 3 As shown in (a), it indicates that the number of square batteries connected in series n is 2 and the number of groups k is 1. Since two independent battery compartments have been naturally formed in the ring component at this time, there is no need to split it again, where the green frame line 32 represents an independent battery compartment, and 33-1 and 33-2 represent two square batteries placed in the independent battery compartments.

[0043] Figure 3(b) in the figure indicates that the number of batteries in series n is 2 and the number of groups k is 2. At this time, a total of 4 square batteries need to be placed in the battery compartment, and the battery compartment area needs to be evenly divided into 4 areas, where the area within the green frame line 34 represents an independent battery compartment, and there are a total of 4 areas similar to the independent battery compartment. Square batteries 35-1 and square batteries 35-2 represent a group of square battery groups in series, and square batteries 35-3 and square batteries 35-4 represent another group of square battery groups in series.

[0044] S32, obtaining spatial data of each independent battery compartment, and using a genetic algorithm to determine the largest inscribed cuboid in the independent battery compartment.

[0045] In some embodiments, the specific steps of using a genetic algorithm to determine the largest inscribed cuboid in the independent battery compartment include:

[0046] S321, setting layout conditions, wherein the layout conditions include the spatial data of the independent battery compartment and the side length threshold and rotation angle of the square battery; specifically, the spatial data of the independent battery compartment may include edge coordinates and fixed point coordinates, and the side length threshold of the square battery may be set according to production requirements.

[0047] S322, randomly generating an initialization population by a genetic algorithm, wherein the initialization population refers to individuals obtained within the search range of the side length and rotation angle of the square battery, and the number of individuals in the population is M. Specifically, the individuals in the population may refer to a cuboid obtained within the search range based on the side length and rotation angle of the square battery.

[0048] S323, calculate the space occupancy rate of each individual in the population. Specifically, it refers to obtaining the side length data and vertex coordinates of a rectangular parallelepiped obtained based on the side length of the square battery and the search range of the rotation angle, and calculating the proportion of the volume obtained in the independent battery compartment in the independent battery compartment space.

[0049] Furthermore, it is necessary to determine the restriction conditions of the individual, that is, to determine whether the vertex coordinates of the cuboid exceed the edge coordinates of the independent battery compartment. If the vertex coordinates of the cuboid exceed the edge coordinates of the independent battery compartment, the individual is searched again within the search range.

[0050] S324, performing non-dominated sorting on the M population individuals by non-dominated sorting to determine the spatial occupancy of the M population individuals;

[0051] S325, determining the population individual with the largest space occupancy rate as the largest inscribed cuboid in the independent battery compartment.

[0052] like Figure 3As shown in (a), the blue solid line frame line 33-1 can represent the maximum inscribed cuboid available in the independent battery compartment, and the blue dotted line frames 33-1a and 33-1b represent the states of individuals randomly generated by the genetic algorithm within the search range.

[0053] S33, determining the arrangement position corresponding to the largest inscribed cuboid in each independent battery compartment as the pending arrangement position of the square batteries.

[0054] S4, based on the pending arrangement position of the square batteries, determining the maximum pending volume of k*n square batteries corresponding to k.

[0055] S5, the side length of the square battery is inversely proportional to the number of square batteries, and the larger k is, the smaller the side length is; when the side length of the square battery is less than a threshold, stop traversing k, and obtain the set of the maximum undetermined volumes of all square batteries corresponding to k in the battery compartment area.

[0056] S6, determining the maximum value in the set of maximum volumes to be determined as the maximum volume that the square battery can obtain in the battery compartment area, and based on the maximum volume, determining the number of batteries k in each group of square batteries, the optimal side length of the square battery corresponding to k, and the optimal arrangement position of the square battery corresponding to k.

[0057] An embodiment of the present invention further provides a computer-readable instruction, wherein when the instruction is executed in an electronic device, the program causes the electronic device to execute the operation steps included in the method of the present invention.

[0058] An embodiment of the present invention further provides a storage medium storing computer-readable instructions, wherein the computer-readable instructions enable an electronic device to execute the operation steps included in the method of the present invention.

[0059] Those of ordinary skill in the art will appreciate that the steps of each example algorithm described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0060] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0061] Those of ordinary skill in the art will appreciate that the modules of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the constituent modules and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0062] In the several embodiments provided in this application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0063] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for arranging square batteries in a fire hose joint, characterized in that: include: S1, establishing a three-dimensional spatial model of the annular component and obtaining spatial data of a battery compartment area within the annular component; At least one square battery needs to be placed in the battery compartment area; S2, obtaining a target control voltage and a rated voltage value of the square battery, and calculating a square battery pack formed by connecting n square batteries in series based on the target control voltage; S3, based on the spatial data of the battery compartment area, k groups of square battery groups are placed in the battery compartment area to determine the pending arrangement positions of k*n square batteries; wherein k is a natural number greater than or equal to 1, starting from k=1, the values ​​of k are traversed in sequence, and the side length of the square battery is inversely proportional to the number of square batteries. When k is larger, the side length of the square battery is smaller; when the side length of the square battery is less than a threshold, stop traversing k; S4, based on the undetermined arrangement positions of the k*n square batteries, determining the maximum undetermined volume of the k*n square batteries corresponding to k; S5, obtaining a set of k*n square batteries corresponding to all values ​​of k and the maximum volume to be determined obtained in the battery compartment area; S6, determining the maximum value in the set of maximum volumes to be determined as the maximum volume that the square battery can obtain in the battery compartment area, and based on the maximum volume, determining the number k of square battery groups, the optimal side length of the square battery, and the optimal arrangement position of k*n square batteries.

2. A method for arranging square batteries in a fire hose joint according to claim 1, characterized in that: The S3 comprises the following steps: S31, based on the spatial data of the battery compartment area, starting from k=1, traversing the value of k in sequence, and evenly dividing the battery compartment area into k*n independent battery compartments, each of which is used to place a square battery; S32, obtaining spatial data of each independent battery compartment, and using a genetic algorithm to determine the largest inscribed cuboid in the independent battery compartment; S33, determining the arrangement position corresponding to the largest inscribed cuboid in each independent battery compartment as the pending arrangement position of the square batteries.

3. A method for arranging square batteries in a fire hose joint according to claim 2, characterized in that: The S32 comprises the following steps: S321, setting layout conditions, wherein the layout conditions include spatial data of independent battery compartments and a side length threshold of a square battery; S322, randomly generating an initialization population by a genetic algorithm, wherein the initialization population refers to individuals obtained within the search range of the side length and rotation angle of the square battery, and the number of individuals in the population is M; S323, calculate the space occupancy of each individual in the population; S324, performing non-dominated sorting on the M population individuals by non-dominated sorting to determine the spatial occupancy of the M population individuals; S325, determining the population individual with the largest space occupancy rate as the largest inscribed cuboid in the independent battery compartment.