WO2022143391A1 - Power battery water seepage monitoring method and device, control unit, and medium - Google Patents

Power battery water seepage monitoring method and device, control unit, and medium Download PDF

Info

Publication number
WO2022143391A1
WO2022143391A1 PCT/CN2021/140774 CN2021140774W WO2022143391A1 WO 2022143391 A1 WO2022143391 A1 WO 2022143391A1 CN 2021140774 W CN2021140774 W CN 2021140774W WO 2022143391 A1 WO2022143391 A1 WO 2022143391A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
water seepage
power battery
patch
seepage
Prior art date
Application number
PCT/CN2021/140774
Other languages
French (fr)
Chinese (zh)
Inventor
夏弋茹
杨振
王文帅
郭源科
何忠青
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2022143391A1 publication Critical patent/WO2022143391A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Definitions

  • the present application relates to the technical field of power batteries, for example, to a method, device, control unit and medium for monitoring water seepage of a power battery.
  • High and low voltage connector sockets are arranged on the battery end plate, which are arranged to connect the high voltage wiring harness and the low voltage wiring harness.
  • the purpose of this application is to provide a power battery water seepage monitoring method, device, control unit and medium to solve the problem of high cost of battery water seepage monitoring.
  • the present application provides a power battery water seepage monitoring method, including:
  • the surface of the test paper is provided with a background color area and a water diffusion ink area, and the water diffusion ink area is arranged around the inner edge of the to-be-monitored area, and the test paper After encountering water, the water-diffusing ink area irreversibly diffuses in the base color area and forms the water-seeding patch.
  • generating the outline of the black and white image according to the black and white image includes:
  • the Prewitt operator is used to calculate and generate the contour.
  • the calculation of the water seepage patch area according to the outline includes:
  • the area of the water seepage patch is set as the product of the area of the contour and the coefficient k minus the area of the water diffusion ink area.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the application provides a power battery water seepage monitoring device, including:
  • the first module is configured to obtain a black and white image of the test paper, wherein the black and white image is used to present the water seepage in the area to be monitored of the power battery;
  • a second module configured to generate the outline of the black and white image according to the black and white image
  • the third module is configured to calculate the water seepage patch area according to the outline
  • the fourth module is configured to judge whether the area of the seepage patch is 0;
  • the fifth module is configured to judge whether the area of the seepage patch is greater than a first preset area threshold in response to the area of the seepage patch being not 0, and to respond that the area of the seepage patch is greater than the first preset area Threshold value to determine the water seepage of the power battery.
  • the present application provides a control unit, including a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor implements the above-mentioned power battery water seepage monitoring when the computer program is executed. method.
  • the present application provides a computer storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for monitoring water seepage of a power battery is implemented.
  • FIG. 1 is a schematic structural diagram of a power battery from a first perspective provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a power battery from a second perspective provided by an embodiment of the present application
  • Fig. 3 is a kind of schematic diagram of the test paper after the water-diffusion ink region encounters water and diffuses according to the embodiment of the present application;
  • FIG. 4 is a flowchart of a method for monitoring water seepage in a power battery provided by an embodiment of the present application
  • FIG. 5 is a black and white image of a to-be-detected area of a test paper provided by an embodiment of the present application;
  • Fig. 7 is the schematic diagram of the contour generated according to the black and white image shown in Fig. 5;
  • Fig. 8 is the grayscale image intercepted in the outline of Fig. 7;
  • FIG. 10 is a schematic structural diagram of a power battery water seepage monitoring device provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a control unit provided by an embodiment of the present application.
  • connection should be understood in a broad sense, for example, it may be a fixed connection, a detachable connection, or an integral body; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between the two elements.
  • connection may be a fixed connection, a detachable connection, or an integral body; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between the two elements.
  • a first feature "on” or “under” a second feature may include the first and second features in direct contact, or may include the first and second features not directly in contact The contact is made through additional features between them.
  • the first feature being “above”, “over” and “above” the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature is level higher than the second feature.
  • the first feature is “below”, “below” and “below” the second feature includes the first feature being directly below and diagonally below the second feature, or simply means that the first feature has a lower level than the second feature.
  • the water seepage monitoring method for a power battery in the embodiment of the present application is applied to a power battery.
  • the power battery includes a casing 1, a connector socket 2, a test paper 3, a photographing device 4, a darkroom lamp 5, Alarm device 6 and control unit 7.
  • the casing 1 has a cuboid structure, one of the side surfaces of the casing 1 is set as the battery end plate 11, the battery short plate 11 is a rectangular plate, and the battery end plate 11 is provided with a connector jack.
  • the connector The socket is rectangular and is arranged in the middle of the battery end plate 11. There are certain gaps between the connector socket and the battery end plate 11 in the four directions of up, down, left and right.
  • the connector socket 2 is arranged in the connector socket.
  • the geometric center of the connector socket coincides with the geometric center of the battery end plate 11 , and when the connector socket 2 is placed, it is symmetrical as a whole and looks beautiful.
  • monitoring water seepage is essentially monitoring the water seepage performance between the connector socket 2 and the connector jack. Therefore, the area to be monitored is a certain range of the outer periphery of the connector jack, and the area to be monitored is determined by the camera 4 Determine the shooting range. On the one hand, except for the possible gap between the connector socket and the connector socket 2 , the housing 1 has no gap at other positions. On the other hand, if the power battery needs to monitor water permeability in other locations, test strips 3 can be set in the corresponding places. The present application is not limited to this.
  • test paper 3 is arranged on the inner surface of the battery end plate 11 , and the test paper 3 is arranged around the outer periphery of the connector socket 2 , and the test paper 3 is sealed with the edge of the connector socket.
  • the test paper 3 is a water-changing test paper, and the test paper 3 will not change color when it encounters water vapor.
  • the surface of the test paper 3 is provided with a background color area 31 and a water diffusion ink area 32, the water diffusion ink area 32 is arranged around the inner edge of the area to be monitored, and the background color area 31 has a first color, The water-diffusing ink region 32 has a second color.
  • the first color is white, that is, the background color area 31 is white;
  • the second color is black, that is, the water-diffusing ink area 32 is black, and when the test paper 3 encounters water, the water-diffusion ink area 32 Irreversible diffusion occurs in the background color area 31 and water seepage patches 33 are formed.
  • FIG. 3 is a schematic diagram of the test paper 3 after the ink area 32 is diffused in contact with water.
  • the photographing device 4 is arranged inside the housing 1 and faces the test paper 3.
  • the photographing area of the photographing device 4 completely covers the surface area of the test paper 3 and exceeds the surface area of the test paper 3. Therefore, once the test paper 3 has water seepage patches, the photographing device 4 can take pictures. Watery plaques under. But at the same time, the to-be-monitored area of the embodiment of the present application does not cover the entire test paper 3, but is only a preset certain area, which can reduce the amount of calculation in the later stage.
  • the photographing device 4 is a black and white lens and integrates a black and white complementary metal oxide semiconductor ( Complementary Metal-Oxide-Semiconductor, CMOS) sensor.
  • CMOS Complementary Metal-Oxide-Semiconductor
  • the darkroom light 5 is arranged inside the housing 1 and can at least illuminate the test paper 3 .
  • the light emitted by the darkroom light 5 is red
  • the darkroom light 5 is a red light-emitting diode (Light-Emitting Diode, LED) light.
  • the alarm device 6 is arranged on the outer surface of the casing 1 , and the control unit 7 is arranged inside the casing 1 and connects the photographing production 4 and the warning device 6 .
  • a battery body is provided inside the power battery to supply power to multiple devices.
  • the flowchart of the power battery water seepage monitoring method provided in the first embodiment is shown in FIG. 4 , and the monitoring method includes:
  • the photographing device 4 shoots the test paper 3, and the test paper 3 is focused on the CMOS through the lens of the photographing device 4.
  • the CMOS is composed of a plurality of pixels, and each pixel is composed of a light-emitting diode and related circuits.
  • the diode converts light into electric charges, and the collected The total amount of electric charge is proportional to the light intensity, and the accumulated electric charge is transmitted to the control unit 7 under the control of the mutual circuit, and after filtering, amplification and digital signal processing (Digital Signal Process, DSP) processing, the photographed image of the test paper 3 is obtained, And the captured image is a black and white image.
  • DSP Digital Signal Process
  • the black-and-white image presents a white background color area 31 and a black rectangular frame-shaped ink area 32 that changes color upon exposure to water. If there is water seepage in the power battery, the water flows into the inner surface of the battery end plate 11 from the connector jack, and first penetrates into the discolored ink area 32 of the test paper 3, and the water-diffusing ink area 32 of the test paper 3 irreversibly in the background color area 31 Diffusion occurs and water seepage patches 33 are formed (as shown in FIG. 3 ), and at this time, color patches with grayscale also appear in the black and white image, as shown in FIG. 5 .
  • the monitoring method further includes: S200, generating the outline of the black and white image according to the black and white image.
  • the control unit 7 adopts the Prewitt operator to calculate and generate the contour, and the Prewitt operator calculation formula is as follows:
  • the template is defined by Numpy, and then the filter2D() function of OpenCV is called to realize the convolution operation of the image, and finally the edge extraction is realized by the convertScaleAbs() and addWeighted() functions.
  • the filter2D() function usage is as follows:
  • dst filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])
  • the parameter src represents the input image
  • dst represents the output edge map, whose size and number of channels are the same as the input image
  • ddepth represents the required depth of the target image
  • kernel represents the convolution kernel, a single-channel floating-point matrix
  • anchor represents The reference point of the kernel, whose default value is (-1, -1), is located at the center position
  • delta represents an optional value added to the pixel before storing the target image, the default value is 0
  • borderType represents the border mode.
  • FIG. 7 is a schematic diagram of contours generated from the black and white image shown in FIG. 5 .
  • the present application is not limited to calculating and generating the contour based on the Prewitt operator, and other operators such as the Robert operator and the Sobel operator can also be used to generate the contour.
  • the monitoring method further includes: S300, calculating the water seepage patch area according to the contour.
  • the control unit 7 intercepts the grayscale image in the contour in FIG. 7 , and the grayscale image is shown in FIG. 8 , and calculates the area of the contour.
  • the edge detection algorithm is used to obtain the boundary points of the target area image, and the area of the contour is calculated through the boundary points.
  • the area of the contour is the image area, and there is a certain proportional relationship between it and the area of the actual water seepage patch.
  • the proportional relationship is determined by the lens parameters, and the proportional coefficient k used to characterize the proportional relationship can be preset. , so the area of the water seepage patch is set as the product of the contour area and the coefficient k minus the area of the water diffusion ink area. Of course, the area of the water diffusion ink area is also preset or known.
  • the area of the water diffusion ink area is shown in Figure 2 The actual area of the middle rectangular frame-shaped water diffusion zone 32 .
  • the monitoring method further includes: step S400, judging whether the area of the seepage patch is zero.
  • step S500 determines whether the area of the seepage patch is greater than the first preset area threshold, and if the area of the seepage patch is greater than the first preset area threshold, determine that the power battery sees water.
  • the first preset area threshold is data pre-stored in the control unit 7 . For example, if the area of the water seepage patch is calculated to be 0.5 cm 2 and the first preset area threshold is 0.3 cm 2 , it indicates that water seepage occurs in the power battery.
  • step S400 it further includes: step S401, if the area of the water seepage patch is 0, it is determined that the power battery is not water seeped.
  • step S401 it further includes: step S402, returning to the step S100 after an interval of T1, and acquiring a black and white image of the test paper.
  • the duration of T1 is 1 minute, that is, starting from the first time step S100 is performed to obtain a black and white image of the test paper, and step S401 is completed. Go to step S402, after the interval T1, go back to the step S100, and acquire the black and white image of the test paper. Since the completion time of the S100-S402 process can be controlled in milliseconds, one minute is actually waiting to determine whether water seeps again. Minutes later, step S100 is performed again to obtain a black and white image of the test paper. Since the power battery will not be penetrated by external water most of the time, the monitoring process is maintained for a long time, which saves computing and does not need to consume too much power for monitoring.
  • the duration of T1 may also be a random duration of 1-10 minutes, which is not limited in this embodiment of the present application.
  • Step S500 after judging whether the area of the seepage patch is greater than the first preset area threshold value, further includes, if the area of the seepage patch is not greater than the first preset area threshold value, return to step S402 , and the subsequent steps will not be repeated.
  • step S500 the method further includes: step S600, if the area of the water seepage patch is greater than the first preset area threshold, determine that the power battery sees water, and turn on the first alarm.
  • the first alarm is realized by an alarm device 6, and the alarm device 6 may be an alarm light.
  • the alarm light When the power battery sees water, the alarm light is on.
  • the warning light is red, that is, when the warning light is red, it indicates that the power battery is leaking water.
  • the alarm device 6 can also be a speaker.
  • the speaker sounds.
  • the sound of the speaker is "beep-beep-beep-beep", that is, when the speaker sounds “beep-beep-beep-beep", it indicates that the power battery seeps water.
  • the monitoring method provided in the first embodiment reduces the monitoring cost by acquiring the black and white image of the test paper without adopting a high-quality camera device; if water seepage occurs, water seepage patches will appear in the photographed image of the test paper, and by calculating the amount of water seepage patches The area of the seepage patch is compared with the first preset area threshold to determine whether water seepage occurs in the power battery, so as to avoid disassembling the power battery and reduce the monitoring cost.
  • the flow chart of the power battery water seepage monitoring method provided in the second embodiment is shown in FIG. 9 .
  • the second embodiment is an improvement on the basis of the first embodiment, and the monitoring method includes:
  • the photographing device 4 shoots the test paper 3, and the test paper 3 is focused on the CMOS through the lens of the photographing device 4.
  • the CMOS is composed of a plurality of pixels, and each pixel is composed of a light-emitting diode and related circuits.
  • the diode converts light into electric charges, and the collected The total amount of charge is proportional to the light intensity, and the accumulated charge is transmitted to the control unit 7 under the control of the mutual circuit.
  • the photographed image of the test strip 3 is obtained, and the photographed image is a black and white image.
  • the black-and-white image presents a white background color area 31 and a black rectangular frame-shaped ink area 32 that changes color upon exposure to water. If there is water seepage in the power battery, the water flows into the inner surface of the battery end plate 11 from the connector jack, and first penetrates into the discolored ink area 32 of the test paper 3, and the water-diffusing ink area 32 of the test paper 3 irreversibly in the background color area 31 Diffusion occurs and water seepage patches 33 are formed (as shown in FIG. 3 ), and at this time, color patches with grayscale also appear in the black and white image, as shown in FIG. 5 .
  • the monitoring method further includes: S2000, generating the outline of the black and white image according to the black and white image.
  • the control unit 7 adopts the Prewitt operator to calculate and generate the contour, and the Prewitt operator calculation formula is as follows:
  • the template is defined by Numpy, and then the filter2D() function of OpenCV is called to realize the convolution operation of the image, and finally the edge extraction is realized by the convertScaleAbs() and addWeighted() functions.
  • the filter2D() function usage is as follows:
  • dst filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])
  • the parameter src represents the input image
  • dst represents the output edge map, whose size and number of channels are the same as the input image
  • ddepth represents the required depth of the target image
  • kernel represents the convolution kernel, a single-channel floating-point matrix
  • anchor represents The reference point of the kernel, whose default value is (-1, -1), is located at the center position
  • delta represents an optional value added to the pixel before storing the target image, the default value is 0
  • borderType represents the border mode.
  • FIG. 7 is a schematic diagram of an outline generated according to the black and white image shown in FIG. 5 .
  • the present application is not limited to calculating and generating the contour based on the Prewitt operator, and other operators such as the Robert operator and the Sobel operator can also be used to generate the contour.
  • the monitoring method further includes: S3000, calculating the water seepage patch area according to the contour.
  • the control unit 7 intercepts the grayscale image in the contour in FIG. 7 , and the grayscale image is shown in FIG. 8 in the first embodiment, and calculates the area of the contour.
  • the edge detection algorithm is used to obtain the boundary points of the target area image, and the area of the contour is calculated through the boundary points.
  • the area of the contour is the image area, and there is a certain proportional relationship between it and the area of the actual seepage patch.
  • the scale factor is determined by the lens parameters, and the scale factor k can be preset. Therefore, the area of the seepage patch Set to the product of the contour area and the coefficient k minus the area of the water-spreading ink area.
  • the monitoring method further includes: step S4000, judging whether the area of the seepage patch is zero.
  • Step S4000 after determining whether the area of the water seepage patch is 0, further includes: Step S4001, if the area of the water seepage patch is 0, it is determined that the power battery does not seep water.
  • step S4001 After step S4001, it further includes: step S4002, returning to step S1000 after an interval of T1, and acquiring a black and white image of the test paper.
  • the duration of T1 is 2 minutes, that is, the first time step S1000 is performed, the black and white image of the test paper is obtained, and step S4001 is completed. If the area of the water seepage patch is 0, it is determined that the power battery does not seep water. Then go to step S4002, and return to the step S1000 after the interval T1, and acquire the black and white image of the test paper. Since the completion time of the S1000-S4002 process can be controlled in milliseconds, the two-minute time is actually waiting to determine whether water seeps again, and step S1000 is performed again two minutes later to obtain a black-and-white image of the test paper. Since the power battery will not be penetrated by external water most of the time, the monitoring process is maintained for a long time, which saves computing and does not need to consume too much power for monitoring.
  • the duration of T1 may also be a random duration of 1-10 minutes, which is not limited in this embodiment of the present application.
  • step S5000 If the area of the seepage patch is not 0, then go to step S5000, and continue to judge whether the area of the seepage patch is smaller than the second preset area threshold. If the area of the seepage patch is smaller than the second preset area threshold, then enter the judgment step S600 to determine whether the number of repetitions reaches N times.
  • N is defined as 5, that is, when the area of the seepage patch is determined for the first time
  • step S7000 enters step S7000, return to step S1000 after interval T2, and obtain the black and white image of the test paper, at this time, go through step S2000, step S2000 again Step S3000, Step S4000, if the area of the seepage patch is still smaller than the second preset area threshold when the step S4000 is reached again, at this time, it is judged that the number of repetitions is 2 and has not reached 5, and the above steps are continued to be repeated until the number of judgments is 5
  • step S9000 determine that the power battery seeps slightly, turn on the second alarm, and the second alarm is different from the first An alarm, if the first alarm is that the alarm device 6 emits a "beep-beep-beep-bee
  • the impermeability, water seepage or slight water seepage of the power battery is its own property. If the water seepage of the power battery is poor, if the shell 1 encounters water, the area of the seepage patch must be larger than the first preset within a certain period of time. The area threshold, if the water permeability of the power battery is average, if the casing 1 encounters water, the area of the water seepage patch will be close to the second preset area threshold within a certain period of time, and will not change after that, so it is called slight seepage.
  • step S500 in Example 1 the water seepage area is bound to be greater than the first preset area threshold, and at this time, it can be determined that the power battery sees water. Therefore, the first preset area threshold and the second preset area threshold are safety values designed in advance. After the two values are set, the method can meet the accuracy of determining water seepage or slight water seepage.
  • the T1 duration is longer than the T2 duration.
  • the range of the T2 duration can be set to 3-5 seconds. On the one hand, it takes a process for water seepage plaques to appear on the soaking test paper 3 after the water enters. If the T2 speed is too fast, the water seepage or slight water seepage process is not completed, which is easy to produce Misjudgment; if the T2 speed is too slow, a lot of external water may have entered the power battery, causing short circuit and damage to the power battery, and it is meaningless to make a judgment at this time.
  • the monitoring method provided in the second embodiment reduces the monitoring cost by obtaining black and white images of the area to be monitored, without using a high-quality camera device; if water seepage occurs, water seepage patches will appear in the photographed image of the test paper.
  • the area of the water seepage patch is compared with the first preset area threshold to determine whether water seepage occurs in the power battery, which avoids disassembling the power battery and reduces the monitoring cost.
  • the monitoring method can determine whether the power battery is in slight water seepage. If it is a slight water seepage, a second alarm can be issued to remind the maintenance personnel to take remedial measures in time.
  • the power battery water seepage monitoring device includes:
  • the first module 101 is configured to obtain a black-and-white image of the test paper, wherein the black-and-white image is used to present the water seepage in the area to be monitored of the power battery; the second module 102 is configured to generate the black-and-white image according to the black-and-white image. contour; the third module 103 is configured to calculate the water seepage patch area according to the contour; the fourth module 104 is configured to judge whether the water seepage patch area is 0; the fifth module 105 is configured to respond to the water seepage spot If the block area is not 0, it is determined whether the water seepage patch area is greater than the first preset area threshold, and in response to the water seepage patch area being greater than the first preset area threshold, it is determined that the power battery seeps water.
  • FIG. 11 is a schematic structural diagram of a control unit provided by an embodiment of the present application, which includes a memory 112, a processor 111, and a control unit stored in the memory 112 and available in the processor.
  • a computer program running on 111 when the processor 111 executes the computer program, the method for monitoring water seepage in a power battery as described in any of the foregoing embodiments is implemented.
  • the present application also provides a computer storage medium storing a computer program, and when the program is executed by a processor, the method for monitoring water seepage of a power battery according to any of the foregoing embodiments is implemented.
  • storage medium any of various types of memory devices or storage devices.
  • the term "storage medium” is intended to include: installation media, such as Compact Disc Read-Only Memory (CD-ROM), floppy disks, or tape devices; computer system memory or random access memory, such as dynamic random access memory (Dynamic Random Access Memory, DRAM), Double Data Rate Random Access Memory (Double Data Rate RAM, DDRRAM), Static Random Access Memory (Static RAM, SRAM), Extended Data Output Random Access Memory (Extended Data Output RAM) , EDORAM), Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (eg, hard disk or optical storage); registers or other similar types of memory elements, and the like.
  • the storage medium may also include other types of memory or combinations thereof.
  • the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet.
  • the second computer system may provide program instructions to the first computer for execution.
  • the term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network).
  • a storage medium may store program instructions (eg, implemented as a computer program) executable by one or more processors.
  • a storage medium containing computer-executable instructions provided by the embodiments of the present application the computer-executable instructions of which are not limited to the above-mentioned method for monitoring the water seepage of a power battery, and can also perform the water seepage monitoring of a power battery provided by any embodiment of the present application. related operations in the method.
  • the power battery water seepage monitoring device, device, storage medium and system provided in the above embodiments can execute the power battery water seepage monitoring method provided by any embodiment of the present application, and have corresponding functional modules and effects for executing the method.
  • the water seepage monitoring method for a power battery provided by any embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

Disclosed are a power battery water seepage monitoring method and device, a control unit, and a medium. The power battery water seepage monitoring method comprises: acquiring a black-and-white image of a test strip, wherein the black-and-white image is used for showing a water seepage condition of an area to be monitored of the power battery; generating a contour of the black-and-white image according to the black-and-white image; calculating the area of a water seepage spot according to the contour; determining whether the area of the water seepage spot is 0; in response to the area of the water seepage spot being not 0, determining whether the area of the water seepage spot is greater than a first preset area threshold, and in response to the area of the water seepage spot being greater than the first preset area threshold, determining that the power battery has water seepage.

Description

动力电池渗水监测方法、装置、控制单元及介质Power battery water seepage monitoring method, device, control unit and medium
本申请要求在2020年12月28日提交中国专利局、申请号为202011582302.6的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 202011582302.6 filed with the China Patent Office on December 28, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及动力电池技术领域,例如涉及一种动力电池渗水监测方法、装置、控制单元及介质。The present application relates to the technical field of power batteries, for example, to a method, device, control unit and medium for monitoring water seepage of a power battery.
背景技术Background technique
随着动力电池技术的高速发展,电池的续航能力不断提升,电动汽车的销量逐年上升,对电动汽车的安全性关注也在不断增加,尤其是高压绝缘问题,更是电动汽车高压安全的重中之重。电动车动力电池总成进水在一定程度上会引起绝缘问题,进而导致安全事故发生。所以,针对动力电池总成密封防水的设计方案、监测方法越来越多,但是对气密性的监测多集中在动力电池总成出厂合格监测项中,针对电动车在使用过程中的密封性监测的设计甚少,而随着电池车使用年限的增加,长期的使用易引发扭矩衰减、密封件老化等等问题,进而引发密封性能下降甚至动力电池总成进水引发绝缘故障的问题。With the rapid development of power battery technology, the battery life has been continuously improved, the sales of electric vehicles have increased year by year, and the safety concerns of electric vehicles are also increasing, especially the high-voltage insulation problem, which is the top priority of high-voltage safety of electric vehicles heavy. To a certain extent, the water ingress of the electric vehicle power battery assembly will cause insulation problems, which will lead to safety accidents. Therefore, there are more and more design schemes and monitoring methods for sealing and waterproofing of power battery assemblies, but the monitoring of air tightness is mostly concentrated in the factory qualified monitoring items of power battery assemblies, aiming at the sealing performance of electric vehicles during use. There are very few monitoring designs, and with the increase in the service life of the battery vehicle, long-term use can easily lead to problems such as torque decay and aging of seals, which in turn lead to the decline of sealing performance and even the problem of insulation failure caused by water ingress of the power battery assembly.
电池端板上布置有高、低压连接器插座,设置为连接高压线束与低压线束,插座与端板的连接螺栓连接,通过压紧插座上的密封圈实现插座与端板的密封。车辆运行一定时间后,当密封结构老化、螺栓扭矩不足或衰减、高压连接器发生漏水时,都会引起电池端板密封不达标,电池包内发生进水引发高压安全问题。High and low voltage connector sockets are arranged on the battery end plate, which are arranged to connect the high voltage wiring harness and the low voltage wiring harness. After the vehicle runs for a certain period of time, when the sealing structure is aging, the bolt torque is insufficient or attenuated, and the high-voltage connector leaks, it will cause the battery end plate seal to fail to meet the standard, and the water in the battery pack will cause high-voltage safety problems.
虽然当前技术中有绝缘监测功能,但是当电池包进水点位置特殊或进水量较小未达到设定的绝缘报警阈值,或已知高压系统有渗水情况但是无法判定电池包内部是否已渗水时,均需通过切割等手段破坏电池箱体外壳确认电池包内渗水情况,该渗水确认手段成本过高,对个人用户来讲,若切开电池包后确认内部并无渗水现象,用户依然需支付新的电池箱体费用以及人工费用等等,且维修周期长,容易引起用户抱怨。另一方面,如果电池端部仅发生轻微渗水,如果能够及时采用补救措施则大大提升电池的使用寿命,也能够避免不必要的维修成本。Although there is an insulation monitoring function in the current technology, when the location of the water inlet point of the battery pack is special or the water inlet volume is small and does not reach the set insulation alarm threshold, or it is known that there is water seepage in the high-voltage system, but it is impossible to determine whether there is water seepage inside the battery pack , it is necessary to destroy the battery box shell by cutting and other means to confirm the water seepage in the battery pack. The cost of this water seepage confirmation method is too high. For individual users, if there is no water seepage inside the battery pack after cutting, the user still needs to pay. The cost of new battery boxes and labor costs, etc., and the long maintenance cycle, easily cause users to complain. On the other hand, if there is only slight water seepage at the end of the battery, if remedial measures can be taken in time, the service life of the battery can be greatly improved, and unnecessary maintenance costs can also be avoided.
发明内容SUMMARY OF THE INVENTION
本申请的目的在于提供一种动力电池渗水监测方法、装置、控制单元及介 质,以解决电池渗水监测成本过高的问题。The purpose of this application is to provide a power battery water seepage monitoring method, device, control unit and medium to solve the problem of high cost of battery water seepage monitoring.
本申请提供一种动力电池渗水监测方法,包括:The present application provides a power battery water seepage monitoring method, including:
获取试纸的黑白图像,其中,所述黑白图像用于呈现动力电池的待监测区域的渗水情况;acquiring a black-and-white image of the test strip, wherein the black-and-white image is used to present the water seepage in the to-be-monitored area of the power battery;
根据所述黑白图像生成所述黑白图像的轮廓;generating the outline of the black and white image according to the black and white image;
根据所述轮廓计算渗水斑块面积;Calculate the seepage patch area according to the outline;
判断所述渗水斑块面积是否为0;Determine whether the area of the seepage patch is 0;
响应于所述渗水斑块面积不为0,判断所述渗水斑块面积是否大于第一预设面积阈值,响应于所述渗水斑块面积大于所述第一预设面积阈值,判定动力电池渗水。In response to the water seepage patch area not being 0, determine whether the water seepage patch area is greater than a first preset area threshold, and in response to the water seepage patch area being greater than the first preset area threshold, determine the power battery seepage .
作为上述动力电池渗水监测方法的实施方案,所述试纸的表面设有底色区和遇水扩散油墨区,所述遇水扩散油墨区围设在所述待监测区域的内边缘,所述试纸遇水后,所述水扩散油墨区不可逆地在所述底色区发生扩散并形成所述渗水斑块。As an embodiment of the above-mentioned power battery water seepage monitoring method, the surface of the test paper is provided with a background color area and a water diffusion ink area, and the water diffusion ink area is arranged around the inner edge of the to-be-monitored area, and the test paper After encountering water, the water-diffusing ink area irreversibly diffuses in the base color area and forms the water-seeding patch.
作为上述动力电池渗水监测方法的实施方案,所述根据所述黑白图像生成所述黑白图像的轮廓,包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, generating the outline of the black and white image according to the black and white image includes:
根据所述黑白图像采用Prewitt算子计算生成所述轮廓。According to the black and white image, the Prewitt operator is used to calculate and generate the contour.
作为上述动力电池渗水监测方法的实施方案,所述根据所述轮廓计算渗水斑块面积,包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, the calculation of the water seepage patch area according to the outline includes:
所述渗水斑块面积设置为所述轮廓的面积与系数k的乘积再减去所述遇水扩散油墨区面积。The area of the water seepage patch is set as the product of the area of the contour and the coefficient k minus the area of the water diffusion ink area.
作为上述动力电池渗水监测方法的实施方案,在所述判断所述渗水斑块面积是否为0之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after judging whether the water seepage patch area is 0, the method further includes:
响应于所述渗水斑块面积为0,判定所述动力电池不渗水;In response to the water seepage patch area being 0, it is determined that the power battery does not seep water;
间隔T1时长后返回执行所述获取试纸的黑白图像。After the interval T1, return to execute the acquisition of the black-and-white image of the test strip.
作为上述动力电池渗水监测方法的实施方案,在所述判断所述渗水斑块面积是否大于第一预设面积阈值之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after judging whether the area of the water seepage patch is greater than the first preset area threshold, the method further includes:
响应于所述渗水斑块面积小于或等于所述第一预设面积阈值,间隔T1时长后返回执行所述获取试纸的黑白图像。In response to the area of the water seepage patch being less than or equal to the first preset area threshold, returning to perform the acquiring of the black and white image of the test paper after an interval of T1.
作为上述动力电池渗水监测方法的实施方案,在所述判定动力电池渗水之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after the water seepage of the power battery is determined, the method further includes:
启动第一警报。Activate the first alarm.
作为上述动力电池渗水监测方法的实施方案,在所述响应于渗水斑块面积不为0之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after the area of the water seepage patch is not 0 in response to the water seepage, the method further includes:
判定所述渗水斑块面积是否小于第二预设面积阈值;determining whether the area of the seepage patch is smaller than a second preset area threshold;
响应于所述渗水斑块面积小于所述第二预设面积阈值,判断重复次数是否达到N次;In response to the water seepage patch area being smaller than the second preset area threshold, determining whether the number of repetitions reaches N times;
响应于重复次数达到N次,再次判断所述渗水斑块面积是否小于所述第二预设面积阈值;In response to the number of repetitions reaching N times, judging again whether the area of the water seepage patch is smaller than the second preset area threshold;
响应于所述渗水斑块面积小于所述第二预设面积阈值,判定所述动力电池轻微渗水。In response to the water seepage patch area being smaller than the second preset area threshold, it is determined that the power battery is slightly water seepage.
作为上述动力电池渗水监测方法的实施方案,在所述响应于所述渗水斑块面积小于所述第二预设面积阈值,判断重复次数是否达到N次之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after judging whether the number of repetitions reaches N times in response to the water seepage patch area being smaller than the second preset area threshold, the method further includes:
响应于重复次数不到N次,间隔T2时长后返回执行所述获取试纸的黑白图像。In response to the number of repetitions being less than N times, returning to execute the obtaining of the black and white image of the test strip after an interval of T2.
作为上述动力电池渗水监测方法的实施方案,在所述判定所述动力电池轻微渗水之后,还包括:As an embodiment of the above-mentioned power battery water seepage monitoring method, after determining that the power battery slightly seeps water, the method further includes:
开启第二警报;其中,且所述第二警报区别于所述第一警报。Turn on a second alarm; wherein, and the second alarm is different from the first alarm.
本申请提供一种动力电池渗水监测装置,包括:The application provides a power battery water seepage monitoring device, including:
第一模块,设置为获取试纸的黑白图像,其中,所述黑白图像用于呈现动力电池的待监测区域的渗水情况;The first module is configured to obtain a black and white image of the test paper, wherein the black and white image is used to present the water seepage in the area to be monitored of the power battery;
第二模块,设置为根据所述黑白图像生成所述黑白图像的轮廓;a second module, configured to generate the outline of the black and white image according to the black and white image;
第三模块,设置为根据所述轮廓计算渗水斑块面积;The third module is configured to calculate the water seepage patch area according to the outline;
第四模块,设置为判断所述渗水斑块面积是否为0;The fourth module is configured to judge whether the area of the seepage patch is 0;
第五模块,设置为响应于所述渗水斑块面积不为0,判断所述渗水斑块面积是否大于第一预设面积阈值,响应于所述渗水斑块面积大于所述第一预设面积阈值,判定动力电池渗水。The fifth module is configured to judge whether the area of the seepage patch is greater than a first preset area threshold in response to the area of the seepage patch being not 0, and to respond that the area of the seepage patch is greater than the first preset area Threshold value to determine the water seepage of the power battery.
本申请提供一种控制单元,包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的动力电池渗水监测方法。The present application provides a control unit, including a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor implements the above-mentioned power battery water seepage monitoring when the computer program is executed. method.
本申请提供一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述的动力电池渗水监测方法。The present application provides a computer storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned method for monitoring water seepage of a power battery is implemented.
附图说明Description of drawings
图1是本申请实施例提供的一种动力电池的第一视角的结构示意图;1 is a schematic structural diagram of a power battery from a first perspective provided by an embodiment of the present application;
图2是本申请实施例提供的一种动力电池的第二视角的结构示意图;2 is a schematic structural diagram of a power battery from a second perspective provided by an embodiment of the present application;
图3是本申请实施例提供的一种遇水扩散油墨区遇水发生扩散后的试纸的示意图;Fig. 3 is a kind of schematic diagram of the test paper after the water-diffusion ink region encounters water and diffuses according to the embodiment of the present application;
图4是本申请实施例提供的一种动力电池渗水监测方法的流程图;4 is a flowchart of a method for monitoring water seepage in a power battery provided by an embodiment of the present application;
图5是本申请实施例提供的一种试纸的待检测区域的黑白图像;5 is a black and white image of a to-be-detected area of a test paper provided by an embodiment of the present application;
图6是本申请实施例提供的一种的Prewitt算子的模板;6 is a template of a Prewitt operator provided by an embodiment of the present application;
图7是根据图5所示的黑白图像生成的轮廓的示意图;Fig. 7 is the schematic diagram of the contour generated according to the black and white image shown in Fig. 5;
图8是图7的轮廓中截取的灰度图像;Fig. 8 is the grayscale image intercepted in the outline of Fig. 7;
图9是本申请实施例提供的另一种动力电池渗水监测方法的流程图;9 is a flowchart of another power battery water seepage monitoring method provided by an embodiment of the present application;
图10是本申请实施例提供的一种动力电池渗水监测装置的结构示意图;10 is a schematic structural diagram of a power battery water seepage monitoring device provided by an embodiment of the present application;
图11是本申请实施例提供的一种控制单元的结构示意图。FIG. 11 is a schematic structural diagram of a control unit provided by an embodiment of the present application.
图中:In the picture:
1-壳体;11-电池端板;1-shell; 11-battery end plate;
2-连接器插座;2 - connector socket;
3-试纸;31-底色区;32-遇水扩散油墨区;33-渗水斑块;3-test paper; 31-ground color area; 32-water diffusion ink area; 33-water seepage patch;
4-拍摄装置;4- shooting device;
5-暗室灯;5- Darkroom light;
6-报警装置;6-Alarm device;
7-控制单元。7- Control unit.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的具体实施例仅仅用于解释本申请。为了便于描述,附图中仅示出了与本申请相关的部分。The present application will be described below with reference to the accompanying drawings and embodiments. The specific embodiments described herein are merely used to explain the present application. For the convenience of description, only the parts related to the present application are shown in the drawings.
在本申请的描述中,除非另有规定和限定,术语“相连”、“连接”、“固定”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据情况理解上述术语在本申请中的含义。In the description of this application, unless otherwise specified and limited, the terms "connected", "connected" and "fixed" should be understood in a broad sense, for example, it may be a fixed connection, a detachable connection, or an integral body; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between the two elements. For those of ordinary skill in the art, the meanings of the above terms in the present application can be understood according to the situation.
在本申请中,除非另有规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正下方和斜下方,或仅仅表示第一特征水平高度小于第二特征。In this application, unless otherwise specified and limited, a first feature "on" or "under" a second feature may include the first and second features in direct contact, or may include the first and second features not directly in contact The contact is made through additional features between them. Also, the first feature being "above", "over" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature is level higher than the second feature. The first feature is "below", "below" and "below" the second feature includes the first feature being directly below and diagonally below the second feature, or simply means that the first feature has a lower level than the second feature.
在本实施例的描述中,术语“上”、“下”、“右”、等方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述和简化操作,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅仅用于在描述上加以区分,并没有特殊的含义。In the description of this embodiment, the terms "upper", "lower", "right", etc. are based on the orientation or positional relationship shown in the accompanying drawings, which are only for convenience of description and simplified operation, rather than indicating Or imply that the device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as a limitation of the present application. In addition, the terms "first" and "second" are only used for distinction in description, and have no special meaning.
本申请实施例的动力电池渗水监测方法应用在一种动力电池上,如图1和图2所示,动力电池包括壳体1、连接器插座2、试纸3、拍摄装置4、暗室灯5、报警装置6和控制单元7。The water seepage monitoring method for a power battery in the embodiment of the present application is applied to a power battery. As shown in Figures 1 and 2, the power battery includes a casing 1, a connector socket 2, a test paper 3, a photographing device 4, a darkroom lamp 5, Alarm device 6 and control unit 7.
壳体1呈长方体结构,壳体1的其中一个侧面设为电池端板11,电池短板11为矩形板,电池端板11开设有一个连接器插孔,在本申请实施例中,连接器插孔为矩形并设置在电池端板11的中部,连接器插孔的上下左右四个方向与电池端板11均留有一定间隙,连接器插座2设置在连接器插孔中。The casing 1 has a cuboid structure, one of the side surfaces of the casing 1 is set as the battery end plate 11, the battery short plate 11 is a rectangular plate, and the battery end plate 11 is provided with a connector jack. In the embodiment of the present application, the connector The socket is rectangular and is arranged in the middle of the battery end plate 11. There are certain gaps between the connector socket and the battery end plate 11 in the four directions of up, down, left and right. The connector socket 2 is arranged in the connector socket.
连接器插孔的几何中心与电池端板11的几何中心重合,当放置连接器插座2时,其整体对称,显得美观。The geometric center of the connector socket coincides with the geometric center of the battery end plate 11 , and when the connector socket 2 is placed, it is symmetrical as a whole and looks beautiful.
在本申请实施例中,监测渗水实质是监测连接器插座2与连接器插孔之间的渗水性能,因此,待监测区域为连接器插孔的外周一定范围,待监测区域由拍摄装置4的拍摄范围进行确定。一方面,壳体1除了连接器插孔与连接器插座2之间可能存在缝隙,在其他位置均不存在缝隙。另一方面,如果动力电池要在其他位置监测渗水性,可以在相应地方设置试纸3。本申请不限于此。In the embodiment of the present application, monitoring water seepage is essentially monitoring the water seepage performance between the connector socket 2 and the connector jack. Therefore, the area to be monitored is a certain range of the outer periphery of the connector jack, and the area to be monitored is determined by the camera 4 Determine the shooting range. On the one hand, except for the possible gap between the connector socket and the connector socket 2 , the housing 1 has no gap at other positions. On the other hand, if the power battery needs to monitor water permeability in other locations, test strips 3 can be set in the corresponding places. The present application is not limited to this.
试纸3设置在电池端板11的内表面,并且,试纸3围设在连接器插座2的外周,试纸3与连接器插孔的边缘密封连接。The test paper 3 is arranged on the inner surface of the battery end plate 11 , and the test paper 3 is arranged around the outer periphery of the connector socket 2 , and the test paper 3 is sealed with the edge of the connector socket.
试纸3为遇水变色试纸,并且试纸3遇到水蒸气不会变色。在本申请实施例中,试纸3的表面设有底色区31和遇水扩散油墨区32,遇水扩散油墨区32围设在待监测区域的内边缘,底色区31具有第一颜色,遇水扩散油墨区32具有第二颜色。在本申请实施例中,第一颜色为白色,即底色区31为白色;第二颜色为黑色,即遇水扩散油墨区32为黑色,当试纸3遇水后,遇水扩散油墨区32不可逆地在底色区31发生扩散并形成渗水斑块33,图3为遇水扩散油墨区 32遇水发生扩散后的试纸3的示意图。The test paper 3 is a water-changing test paper, and the test paper 3 will not change color when it encounters water vapor. In the embodiment of the present application, the surface of the test paper 3 is provided with a background color area 31 and a water diffusion ink area 32, the water diffusion ink area 32 is arranged around the inner edge of the area to be monitored, and the background color area 31 has a first color, The water-diffusing ink region 32 has a second color. In the embodiment of the present application, the first color is white, that is, the background color area 31 is white; the second color is black, that is, the water-diffusing ink area 32 is black, and when the test paper 3 encounters water, the water-diffusion ink area 32 Irreversible diffusion occurs in the background color area 31 and water seepage patches 33 are formed. FIG. 3 is a schematic diagram of the test paper 3 after the ink area 32 is diffused in contact with water.
拍摄装置4设置在壳体1的内部并正对试纸3,拍摄装置4的拍摄区域完全覆盖试纸3的表面积且超过试纸3的表面积,因此一旦试纸3出现渗水斑块,拍摄装置4就能够拍下渗水斑块。但同时,本申请实施例的待监测区域并不覆盖整个试纸3,仅为预设的一定区域,这样能够减少后期的计算量,拍摄装置4为黑白镜头并集成有黑白互补金属氧化物半导体(Complementary Metal-Oxide-Semiconductor,CMOS)传感器。The photographing device 4 is arranged inside the housing 1 and faces the test paper 3. The photographing area of the photographing device 4 completely covers the surface area of the test paper 3 and exceeds the surface area of the test paper 3. Therefore, once the test paper 3 has water seepage patches, the photographing device 4 can take pictures. Watery plaques under. But at the same time, the to-be-monitored area of the embodiment of the present application does not cover the entire test paper 3, but is only a preset certain area, which can reduce the amount of calculation in the later stage. The photographing device 4 is a black and white lens and integrates a black and white complementary metal oxide semiconductor ( Complementary Metal-Oxide-Semiconductor, CMOS) sensor.
暗室灯5设置在壳体1的内部,并至少能够照亮试纸3。在本申请实施例中,暗室灯5发出的光为红色,暗室灯5为红色发光二极管(Light-Emitting Diode,LED)灯。The darkroom light 5 is arranged inside the housing 1 and can at least illuminate the test paper 3 . In the embodiment of the present application, the light emitted by the darkroom light 5 is red, and the darkroom light 5 is a red light-emitting diode (Light-Emitting Diode, LED) light.
报警装置6设置在壳体1的外表面,控制单元7设置在壳体1的内部并连接拍摄制作4与报警装置6。另外,动力电池内部设有电池本体为多个装置进行供电。The alarm device 6 is arranged on the outer surface of the casing 1 , and the control unit 7 is arranged inside the casing 1 and connects the photographing production 4 and the warning device 6 . In addition, a battery body is provided inside the power battery to supply power to multiple devices.
多个装置之间如何实现渗水监测请继续参见下文关于动力电池渗水监测方法。For how to implement water seepage monitoring between multiple devices, please continue to refer to the power battery water seepage monitoring method below.
实施例一Example 1
实施例一提供的动力电池渗水监测方法的流程图如图4所示,该监测方法包括:The flowchart of the power battery water seepage monitoring method provided in the first embodiment is shown in FIG. 4 , and the monitoring method includes:
S100、获取试纸的黑白图像,其中,黑白图像用于呈现动力电池的待监测区域的渗水情况。S100. Acquire a black-and-white image of the test strip, where the black-and-white image is used to present the water seepage in the area to be monitored of the power battery.
拍摄装置4拍摄试纸3,试纸3经过拍摄装置4的镜头聚焦到CMOS上,CMOS由多个像素点组成,每个像素由一个发光二极管及相关电路组成,二极管将光线转变为电荷,收集到的电荷总量与光线强度成一定比例,所积累的电荷在相互电路的控制下传输至控制单元7,经过滤波、放大和数字信号处理(Digital Signal Process,DSP)处理后获得试纸3的拍摄图像,且该拍摄图像为黑白图像。The photographing device 4 shoots the test paper 3, and the test paper 3 is focused on the CMOS through the lens of the photographing device 4. The CMOS is composed of a plurality of pixels, and each pixel is composed of a light-emitting diode and related circuits. The diode converts light into electric charges, and the collected The total amount of electric charge is proportional to the light intensity, and the accumulated electric charge is transmitted to the control unit 7 under the control of the mutual circuit, and after filtering, amplification and digital signal processing (Digital Signal Process, DSP) processing, the photographed image of the test paper 3 is obtained, And the captured image is a black and white image.
若不存在渗水,黑白图像呈现出白色的底色区31和黑色矩形框形状的遇水变色油墨区32。若动力电池存在渗水,水从连接器插孔流进电池端板11的内表面,并首先渗透至试纸3的变色油墨区32,试纸3的遇水扩散油墨区32不可逆地在底色区31发生扩散并形成渗水斑块33(如图3所示),此时黑白图像中也出现具有灰度的色块,如图5所示。If there is no water seepage, the black-and-white image presents a white background color area 31 and a black rectangular frame-shaped ink area 32 that changes color upon exposure to water. If there is water seepage in the power battery, the water flows into the inner surface of the battery end plate 11 from the connector jack, and first penetrates into the discolored ink area 32 of the test paper 3, and the water-diffusing ink area 32 of the test paper 3 irreversibly in the background color area 31 Diffusion occurs and water seepage patches 33 are formed (as shown in FIG. 3 ), and at this time, color patches with grayscale also appear in the black and white image, as shown in FIG. 5 .
该监测方法在步骤S100之后还包括:S200、根据黑白图像生成黑白图像的轮廓。After step S100, the monitoring method further includes: S200, generating the outline of the black and white image according to the black and white image.
控制单元7采用Prewitt算子计算生成轮廓,Prewitt算子计算公式如下:The control unit 7 adopts the Prewitt operator to calculate and generate the contour, and the Prewitt operator calculation formula is as follows:
Figure PCTCN2021140774-appb-000001
Figure PCTCN2021140774-appb-000001
图6为本申请实施例提供的一种的Prewitt算子的模板,在像素点P5处x和y方向上梯度g x和g y分别计算为: 6 is a template of a Prewitt operator provided by an embodiment of the application, and the gradients g x and g y in the x and y directions at the pixel point P5 are calculated as:
Figure PCTCN2021140774-appb-000002
Figure PCTCN2021140774-appb-000002
通过Numpy定义模板,再调用OpenCV的filter2D()函数实现对图像的卷积运算,最终通过convertScaleAbs()和addWeighted()函数实现边缘提取。filter2D()函数用法如下所示:The template is defined by Numpy, and then the filter2D() function of OpenCV is called to realize the convolution operation of the image, and finally the edge extraction is realized by the convertScaleAbs() and addWeighted() functions. The filter2D() function usage is as follows:
dst=filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])dst=filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])
其中,参数src表示输入图像;dst表示输出的边缘图,其大小和通道数与输入图像相同;ddepth表示目标图像所需的深度;kernel表示卷积核,一个单通道浮点型矩阵;anchor表示内核的基准点,其默认值为(-1,-1),位于中心位置;delta表示在储存目标图像前可选的添加到像素的值,默认值为0;borderType表示边框模式。Among them, the parameter src represents the input image; dst represents the output edge map, whose size and number of channels are the same as the input image; ddepth represents the required depth of the target image; kernel represents the convolution kernel, a single-channel floating-point matrix; anchor represents The reference point of the kernel, whose default value is (-1, -1), is located at the center position; delta represents an optional value added to the pixel before storing the target image, the default value is 0; borderType represents the border mode.
图7是根据图5所示的黑白图像生成的轮廓的示意图。FIG. 7 is a schematic diagram of contours generated from the black and white image shown in FIG. 5 .
本申请并不限于基于Prewitt算子计算生成所述轮廓,还可使用Robert算子、Sobel算子等其他算子生成所述轮廓。The present application is not limited to calculating and generating the contour based on the Prewitt operator, and other operators such as the Robert operator and the Sobel operator can also be used to generate the contour.
该监测方法在步骤S200后还包括:S300、根据轮廓计算渗水斑块面积。After step S200, the monitoring method further includes: S300, calculating the water seepage patch area according to the contour.
控制单元7将图7中的轮廓中的灰度图像截取,灰度图像如图8所示,并计算轮廓的面积。对于所收集的灰度图像,利用边缘检测算法得到目标区域图像的边界点,通过边界点算出轮廓的面积。The control unit 7 intercepts the grayscale image in the contour in FIG. 7 , and the grayscale image is shown in FIG. 8 , and calculates the area of the contour. For the collected grayscale images, the edge detection algorithm is used to obtain the boundary points of the target area image, and the area of the contour is calculated through the boundary points.
轮廓的面积为图像面积,其和实际的渗水斑块的面积之间存在一定比例关系,该比例关系是由镜头参数所决定,并且用于表征该比例关系的比例系数k是可以预先设置好的,因此渗水斑块面积设置为轮廓面积与系数k的乘积再减去遇水扩散油墨区面积,当然遇水扩散油墨区面积也是预先设置好的或可知的,遇水扩散油墨区面积为图2中矩形框形的遇水扩散区32的实际面积。The area of the contour is the image area, and there is a certain proportional relationship between it and the area of the actual water seepage patch. The proportional relationship is determined by the lens parameters, and the proportional coefficient k used to characterize the proportional relationship can be preset. , so the area of the water seepage patch is set as the product of the contour area and the coefficient k minus the area of the water diffusion ink area. Of course, the area of the water diffusion ink area is also preset or known. The area of the water diffusion ink area is shown in Figure 2 The actual area of the middle rectangular frame-shaped water diffusion zone 32 .
该监测方法在步骤S300后还包括:步骤S400、判断渗水斑块面积是否为0。After step S300, the monitoring method further includes: step S400, judging whether the area of the seepage patch is zero.
若渗水斑块面积不为0,则进入步骤S500、判断渗水斑块面积是否大于第一预设面积阈值,若渗水斑块面积大于第一预设面积阈值,则判定动力电池渗水。第一预设面积阈值是预存在控制单元7内的数据。例如,若计算出渗水斑 块面积为0.5cm 2,第一预设面积阈值为0.3cm 2,则表明该动力电池发生渗水。 If the area of the seepage patch is not 0, enter step S500 to determine whether the area of the seepage patch is greater than the first preset area threshold, and if the area of the seepage patch is greater than the first preset area threshold, determine that the power battery sees water. The first preset area threshold is data pre-stored in the control unit 7 . For example, if the area of the water seepage patch is calculated to be 0.5 cm 2 and the first preset area threshold is 0.3 cm 2 , it indicates that water seepage occurs in the power battery.
步骤S400之后还包括:步骤S401、若渗水斑块面积为0,则判定为动力电池不渗水。After step S400, it further includes: step S401, if the area of the water seepage patch is 0, it is determined that the power battery is not water seeped.
步骤S401之后还包括:步骤S402、间隔T1时长后回到所述步骤S100、获取试纸的黑白图像。After step S401, it further includes: step S402, returning to the step S100 after an interval of T1, and acquiring a black and white image of the test paper.
在本申请实施例中,T1时长为1分钟,即从第一次进行步骤S100、获取试纸的黑白图像开始,并完成步骤S401、若渗水斑块面积为0,则判定为动力电池不渗水再到步骤S402、间隔T1时长后回到所述步骤S100、获取试纸的黑白图像。由于S100-S402过程的完成时长可控制在毫秒级,一分钟的时长实际是在等待再次判定是否渗水,换言之,若发生渗水,则一分钟的时长可以出现较大的渗水斑块,并且在一分钟后再次进行步骤S100,获取试纸的黑白图像。由于大多数时间动力电池不会受到外界水渗透,将监测过程维持在较长时间,节省了运算,不必消耗过多电能进行监测。In the embodiment of the present application, the duration of T1 is 1 minute, that is, starting from the first time step S100 is performed to obtain a black and white image of the test paper, and step S401 is completed. Go to step S402, after the interval T1, go back to the step S100, and acquire the black and white image of the test paper. Since the completion time of the S100-S402 process can be controlled in milliseconds, one minute is actually waiting to determine whether water seeps again. Minutes later, step S100 is performed again to obtain a black and white image of the test paper. Since the power battery will not be penetrated by external water most of the time, the monitoring process is maintained for a long time, which saves computing and does not need to consume too much power for monitoring.
T1的时长也可以为1-10分钟的随机时长,本申请实施例并不限于此。The duration of T1 may also be a random duration of 1-10 minutes, which is not limited in this embodiment of the present application.
步骤S500、判断渗水斑块面积是否大于第一预设面积阈值之后还包括,若渗水斑块面积不大于第一预设面积阈值,则回到步骤S402,之后步骤不赘述。Step S500 , after judging whether the area of the seepage patch is greater than the first preset area threshold value, further includes, if the area of the seepage patch is not greater than the first preset area threshold value, return to step S402 , and the subsequent steps will not be repeated.
步骤S500之后还包括:步骤S600、若渗水斑块面积大于第一预设面积阈值,判定动力电池渗水,开启第一警报。After step S500, the method further includes: step S600, if the area of the water seepage patch is greater than the first preset area threshold, determine that the power battery sees water, and turn on the first alarm.
在本申请实施例中,第一警报由报警装置6实现,报警装置6可以为警报灯,当动力电池渗水时,警报灯亮起。警报灯为红色,即当警报灯亮红色时表明动力电池渗水。In the embodiment of the present application, the first alarm is realized by an alarm device 6, and the alarm device 6 may be an alarm light. When the power battery sees water, the alarm light is on. The warning light is red, that is, when the warning light is red, it indicates that the power battery is leaking water.
报警装置6也可以为扬声器,当动力电池渗水时,扬声器响起。扬声器的响声为“嘀-嘟-嘀-嘟”,即当扬声器响起“嘀-嘟-嘀-嘟”时表明动力电池渗水。The alarm device 6 can also be a speaker. When the power battery sees water, the speaker sounds. The sound of the speaker is "beep-beep-beep-beep", that is, when the speaker sounds "beep-beep-beep-beep", it indicates that the power battery seeps water.
实施例一提供的监测方法通过获取试纸的黑白图像,不需采用高画质摄像装置,降低了监测成本;若发生渗水,则试纸的拍摄图像中会出现渗水斑块,通过计算渗水斑块的面积,并将渗水斑块的面积和第一预设面积阈值对比判定出是否出现动力电池渗水,避免拆卸动力电池,降低了监测成本。The monitoring method provided in the first embodiment reduces the monitoring cost by acquiring the black and white image of the test paper without adopting a high-quality camera device; if water seepage occurs, water seepage patches will appear in the photographed image of the test paper, and by calculating the amount of water seepage patches The area of the seepage patch is compared with the first preset area threshold to determine whether water seepage occurs in the power battery, so as to avoid disassembling the power battery and reduce the monitoring cost.
实施例二 Embodiment 2
实施例二提供的动力电池渗水监测方法的流程图如图9所示,实施例二是在实施例一的基础上进行的改进,该监测方法包括:The flow chart of the power battery water seepage monitoring method provided in the second embodiment is shown in FIG. 9 . The second embodiment is an improvement on the basis of the first embodiment, and the monitoring method includes:
S1000、获取试纸的黑白图像,其中,黑白图像用于呈现动力电池的待监测区域的渗水情况。S1000. Acquire a black-and-white image of the test strip, wherein the black-and-white image is used to present the water seepage in the area to be monitored of the power battery.
拍摄装置4拍摄试纸3,试纸3经过拍摄装置4的镜头聚焦到CMOS上,CMOS由多个像素点组成,每个像素由一个发光二极管及相关电路组成,二极管将光线转变为电荷,收集到的电荷总量与光线强度成一定比例,所积累的电荷在相互电路的控制下传输至控制单元7,经过滤波、放大和DSP处理后获得试纸3的拍摄图像,且该拍摄图像为黑白图像。The photographing device 4 shoots the test paper 3, and the test paper 3 is focused on the CMOS through the lens of the photographing device 4. The CMOS is composed of a plurality of pixels, and each pixel is composed of a light-emitting diode and related circuits. The diode converts light into electric charges, and the collected The total amount of charge is proportional to the light intensity, and the accumulated charge is transmitted to the control unit 7 under the control of the mutual circuit. After filtering, amplification and DSP processing, the photographed image of the test strip 3 is obtained, and the photographed image is a black and white image.
若不存在渗水,黑白图像呈现出白色的底色区31和黑色矩形框形状的遇水变色油墨区32。若动力电池存在渗水,水从连接器插孔流进电池端板11的内表面,并首先渗透至试纸3的变色油墨区32,试纸3的遇水扩散油墨区32不可逆地在底色区31发生扩散并形成渗水斑块33(如图3所示),此时黑白图像中也出现具有灰度的色块,如图5所示。If there is no water seepage, the black-and-white image presents a white background color area 31 and a black rectangular frame-shaped ink area 32 that changes color upon exposure to water. If there is water seepage in the power battery, the water flows into the inner surface of the battery end plate 11 from the connector jack, and first penetrates into the discolored ink area 32 of the test paper 3, and the water-diffusing ink area 32 of the test paper 3 irreversibly in the background color area 31 Diffusion occurs and water seepage patches 33 are formed (as shown in FIG. 3 ), and at this time, color patches with grayscale also appear in the black and white image, as shown in FIG. 5 .
该监测方法在步骤S1000后还包括:S2000、根据黑白图像生成黑白图像的轮廓。After step S1000, the monitoring method further includes: S2000, generating the outline of the black and white image according to the black and white image.
控制单元7采用Prewitt算子计算生成轮廓,Prewitt算子计算公式如下:The control unit 7 adopts the Prewitt operator to calculate and generate the contour, and the Prewitt operator calculation formula is as follows:
Figure PCTCN2021140774-appb-000003
Figure PCTCN2021140774-appb-000003
本申请实施例二的Prewitt算子的模板可参见实施例一中的图6,在像素点P5处x和y方向上梯度g x和g y分别计算为: For the template of the Prewitt operator in the second embodiment of the present application, see FIG. 6 in the first embodiment. The gradients g x and g y in the x and y directions at the pixel point P5 are calculated as:
Figure PCTCN2021140774-appb-000004
Figure PCTCN2021140774-appb-000004
通过Numpy定义模板,再调用OpenCV的filter2D()函数实现对图像的卷积运算,最终通过convertScaleAbs()和addWeighted()函数实现边缘提取。filter2D()函数用法如下所示:The template is defined by Numpy, and then the filter2D() function of OpenCV is called to realize the convolution operation of the image, and finally the edge extraction is realized by the convertScaleAbs() and addWeighted() functions. The filter2D() function usage is as follows:
dst=filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])dst=filter2D(src,ddepth,kernel[,dst[,anchor[,delta[,borderType]]]])
其中,参数src表示输入图像;dst表示输出的边缘图,其大小和通道数与输入图像相同;ddepth表示目标图像所需的深度;kernel表示卷积核,一个单通道浮点型矩阵;anchor表示内核的基准点,其默认值为(-1,-1),位于中心位置;delta表示在储存目标图像前可选的添加到像素的值,默认值为0;borderType表示边框模式。Among them, the parameter src represents the input image; dst represents the output edge map, whose size and number of channels are the same as the input image; ddepth represents the required depth of the target image; kernel represents the convolution kernel, a single-channel floating-point matrix; anchor represents The reference point of the kernel, whose default value is (-1, -1), is located at the center position; delta represents an optional value added to the pixel before storing the target image, the default value is 0; borderType represents the border mode.
参见实施例一中的图7,图7是根据图5所示的黑白图像生成的轮廓的示意图。Referring to FIG. 7 in the first embodiment, FIG. 7 is a schematic diagram of an outline generated according to the black and white image shown in FIG. 5 .
本申请并不限于基于Prewitt算子计算生成所述轮廓,还可使用Robert算子、Sobel算子等其他算子生成所述轮廓。The present application is not limited to calculating and generating the contour based on the Prewitt operator, and other operators such as the Robert operator and the Sobel operator can also be used to generate the contour.
该监测方法在步骤S2000后还包括:S3000、根据轮廓计算渗水斑块面积。After step S2000, the monitoring method further includes: S3000, calculating the water seepage patch area according to the contour.
控制单元7将图7中的轮廓中的灰度图像截取,灰度图像如实施例一中的图8所示,并计算轮廓的面积。对于所收集的灰度图像,利用边缘检测算法得到目标区域图像的边界点,通过边界点算出轮廓的面积。The control unit 7 intercepts the grayscale image in the contour in FIG. 7 , and the grayscale image is shown in FIG. 8 in the first embodiment, and calculates the area of the contour. For the collected grayscale images, the edge detection algorithm is used to obtain the boundary points of the target area image, and the area of the contour is calculated through the boundary points.
轮廓的面积为图像面积,其和实际的渗水斑块的面积之间存在一定比例关系,该比例系数是由镜头参数所决定,并且该比例系数k是可以预先设置好的,因此渗水斑块面积设置为轮廓面积与系数k的乘积减去遇水扩散油墨区面积。The area of the contour is the image area, and there is a certain proportional relationship between it and the area of the actual seepage patch. The scale factor is determined by the lens parameters, and the scale factor k can be preset. Therefore, the area of the seepage patch Set to the product of the contour area and the coefficient k minus the area of the water-spreading ink area.
该监测方法在步骤S3000后还包括:步骤S4000、判断渗水斑块面积是否为0。After step S3000, the monitoring method further includes: step S4000, judging whether the area of the seepage patch is zero.
步骤S4000判断渗水斑块面积是否为0之后还包括:步骤S4001、若渗水斑块面积为0,则判定为动力电池不渗水。Step S4000, after determining whether the area of the water seepage patch is 0, further includes: Step S4001, if the area of the water seepage patch is 0, it is determined that the power battery does not seep water.
步骤S4001之后还包括:步骤S4002、间隔T1时长后回到步骤S1000、获取试纸的黑白图像。After step S4001, it further includes: step S4002, returning to step S1000 after an interval of T1, and acquiring a black and white image of the test paper.
在本申请实施例二中,T1时长为2分钟,即从第一次进行步骤S1000、获取试纸的黑白图像开始,并完成步骤S4001、若渗水斑块面积为0,则判定为动力电池不渗水再到步骤S4002、间隔T1时长后回到所述步骤S1000、获取试纸的黑白图像。由于S1000-S4002过程的完成时长可控制在毫秒级,两分钟的时长实际是在等待再次判定是否渗水,并且在两分钟后再次进行步骤S1000步骤,获取试纸的黑白图像。由于大多数时间动力电池不会受到外界水渗透,将监测过程维持在较长时间,节省了运算,不必消耗过多电能进行监测。In the second embodiment of the present application, the duration of T1 is 2 minutes, that is, the first time step S1000 is performed, the black and white image of the test paper is obtained, and step S4001 is completed. If the area of the water seepage patch is 0, it is determined that the power battery does not seep water. Then go to step S4002, and return to the step S1000 after the interval T1, and acquire the black and white image of the test paper. Since the completion time of the S1000-S4002 process can be controlled in milliseconds, the two-minute time is actually waiting to determine whether water seeps again, and step S1000 is performed again two minutes later to obtain a black-and-white image of the test paper. Since the power battery will not be penetrated by external water most of the time, the monitoring process is maintained for a long time, which saves computing and does not need to consume too much power for monitoring.
T1的时长也可以为1-10分钟的随机时长,本申请实施例并不限于此。The duration of T1 may also be a random duration of 1-10 minutes, which is not limited in this embodiment of the present application.
若渗水斑块面积不为0,则进入步骤S5000、继续判断渗水斑块面积是否小于第二预设面积阈值。若渗水斑块面积小于第二预设面积阈值,则进入判断步骤S600、判断重复次数是否达到N次,在本实施例二中,定义N为5,即当第一次判断出渗水斑块面积小于第二预设面积阈值时,此时判断重复次数为1并且未达到5,则进入步骤S7000、间隔T2时长后回到步骤S1000、获取试纸的黑白图像,此时,再次经过步骤S2000、步骤S3000、步骤S4000,如果再次到步骤S4000时,渗水斑块面积若仍然小于第二预设面积阈值,此时判断重复次数为2并仍然未达到5,则继续重复上述步骤,直到判断次数为5时,进入步骤S8000、再次判断渗水面积是否小于预设面积阈值,若渗水面积小于第二预设面积阈值,进入步骤S9000、判定动力电池轻微渗水,开启第二警报,并且第二警报区别于第一警报,若第一警报为报警装置6发出“嘀-嘟-嘀-嘟”声响,则第二警报可为报警装置6发出“嘟嘟嘟”声响。If the area of the seepage patch is not 0, then go to step S5000, and continue to judge whether the area of the seepage patch is smaller than the second preset area threshold. If the area of the seepage patch is smaller than the second preset area threshold, then enter the judgment step S600 to determine whether the number of repetitions reaches N times. In the second embodiment, N is defined as 5, that is, when the area of the seepage patch is determined for the first time When it is less than the second preset area threshold, it is judged that the number of repetitions is 1 and does not reach 5, then enter step S7000, return to step S1000 after interval T2, and obtain the black and white image of the test paper, at this time, go through step S2000, step S2000 again Step S3000, Step S4000, if the area of the seepage patch is still smaller than the second preset area threshold when the step S4000 is reached again, at this time, it is judged that the number of repetitions is 2 and has not reached 5, and the above steps are continued to be repeated until the number of judgments is 5 If the water seepage area is smaller than the second preset area threshold, go to step S9000, determine that the power battery seeps slightly, turn on the second alarm, and the second alarm is different from the first An alarm, if the first alarm is that the alarm device 6 emits a "beep-beep-beep-beep" sound, the second alarm can be a "beep beep" sound to the alarm device 6 .
动力电池发生不渗水、渗水或轻微渗水的渗水性是自身的自带属性,如果 动力电池的渗水性较差,若壳体1遇水,在一定时间内渗水斑块面积必然大于第一预设面积阈值,如果动力电池的渗水性一般,若壳体1遇水,在一定时间内渗水斑块的面积将接近第二预设面积阈值,之后则不会再发生变化,也因此称之为轻微渗水。若在第三次渗水斑块面积不为零且大于或等于第二预设面积阈值时,则可以理解为将要进行实施例一中步骤S500至步骤S401的阶段及之后步骤,当再次循环到实施例一中步骤S500时,渗水面积必然将大于第一预设面积阈值,此时可以判定动力电池渗水。因此,第一预设面积阈值和第二预设面积阈值是事先设计好的安全数值,将两个数值设定好后,本方法能够满足渗水或轻微渗水的判定准确性。The impermeability, water seepage or slight water seepage of the power battery is its own property. If the water seepage of the power battery is poor, if the shell 1 encounters water, the area of the seepage patch must be larger than the first preset within a certain period of time. The area threshold, if the water permeability of the power battery is average, if the casing 1 encounters water, the area of the water seepage patch will be close to the second preset area threshold within a certain period of time, and will not change after that, so it is called slight seepage. If the area of the seepage patch is not zero and is greater than or equal to the second preset area threshold for the third time, it can be understood that the stage from step S500 to step S401 in the first embodiment and the subsequent steps will be performed, and the cycle will be executed again. In step S500 in Example 1, the water seepage area is bound to be greater than the first preset area threshold, and at this time, it can be determined that the power battery sees water. Therefore, the first preset area threshold and the second preset area threshold are safety values designed in advance. After the two values are set, the method can meet the accuracy of determining water seepage or slight water seepage.
T1时长大于T2时长。在实施例二中,T2时长的范围可以设置在3-5秒,一方面,进水后浸润试纸3出现渗水斑块需要一个过程,T2速度过快则渗水或轻微渗水过程未完成,容易产生误判;若T2速度过慢,较多地外界水可能已经进入动力电池内部,造成动力电池短路、损毁,此时再进行判定已经没有意义。The T1 duration is longer than the T2 duration. In the second embodiment, the range of the T2 duration can be set to 3-5 seconds. On the one hand, it takes a process for water seepage plaques to appear on the soaking test paper 3 after the water enters. If the T2 speed is too fast, the water seepage or slight water seepage process is not completed, which is easy to produce Misjudgment; if the T2 speed is too slow, a lot of external water may have entered the power battery, causing short circuit and damage to the power battery, and it is meaningless to make a judgment at this time.
实施例二提供的监测方法通过获取待监测区域的黑白图像,不需采用高画质摄像装置,降低了监测成本;若发生渗水,则试纸的拍摄图像中会出现渗水斑块,通过计算渗水斑块的面积,并将渗水斑块的面积和第一预设面积阈值对比判定出是否出现动力电池渗水,避免拆卸动力电池,降低了监测成本,同时该监测方法能够判定动力电池是否处于轻微渗水,若为轻微渗水,可进行第二警报提醒检修人员及时采取补救措施。The monitoring method provided in the second embodiment reduces the monitoring cost by obtaining black and white images of the area to be monitored, without using a high-quality camera device; if water seepage occurs, water seepage patches will appear in the photographed image of the test paper. The area of the water seepage patch is compared with the first preset area threshold to determine whether water seepage occurs in the power battery, which avoids disassembling the power battery and reduces the monitoring cost. At the same time, the monitoring method can determine whether the power battery is in slight water seepage. If it is a slight water seepage, a second alarm can be issued to remind the maintenance personnel to take remedial measures in time.
图10是本申请实施例提供的一种动力电池渗水监测装置的结构示意图,该动力电池渗水监测装置,包括:10 is a schematic structural diagram of a power battery water seepage monitoring device provided by an embodiment of the present application. The power battery water seepage monitoring device includes:
第一模块101,设置为获取试纸的黑白图像,其中,所述黑白图像用于呈现动力电池的待监测区域的渗水情况;第二模块102,设置为根据所述黑白图像生成所述黑白图像的轮廓;第三模块103,设置为根据所述轮廓计算渗水斑块面积;第四模块104,设置为判断所述渗水斑块面积是否为0;第五模块105,设置为响应于所述渗水斑块面积不为0,判断所述渗水斑块面积是否大于第一预设面积阈值,响应于所述渗水斑块面积大于所述第一预设面积阈值,判定动力电池渗水。The first module 101 is configured to obtain a black-and-white image of the test paper, wherein the black-and-white image is used to present the water seepage in the area to be monitored of the power battery; the second module 102 is configured to generate the black-and-white image according to the black-and-white image. contour; the third module 103 is configured to calculate the water seepage patch area according to the contour; the fourth module 104 is configured to judge whether the water seepage patch area is 0; the fifth module 105 is configured to respond to the water seepage spot If the block area is not 0, it is determined whether the water seepage patch area is greater than the first preset area threshold, and in response to the water seepage patch area being greater than the first preset area threshold, it is determined that the power battery seeps water.
本实施例还提供了一种控制单元,图11是本申请实施例提供的一种控制单元的结构示意图,包括存储器112、处理器111及存储在所述存储器112上并可在所述处理器111上运行的计算机程序,所述处理器111执行所述计算机程序时 实现如采用上述任一实施例所述的动力电池渗水监测方法。This embodiment also provides a control unit. FIG. 11 is a schematic structural diagram of a control unit provided by an embodiment of the present application, which includes a memory 112, a processor 111, and a control unit stored in the memory 112 and available in the processor. A computer program running on 111 , when the processor 111 executes the computer program, the method for monitoring water seepage in a power battery as described in any of the foregoing embodiments is implemented.
本申请还提供了一种计算机存储介质,存储有计算机程序,所述程序被处理器执行时实现如上述任一实施例所述的动力电池渗水监测方法。The present application also provides a computer storage medium storing a computer program, and when the program is executed by a processor, the method for monitoring water seepage of a power battery according to any of the foregoing embodiments is implemented.
存储介质——任何的多种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如动态随机存取存储器(Dynamic Random Access Memory,DRAM)、双倍数据速率随机存取存储器(Double Data Rate RAM,DDRRAM)、静态随机存取存储器(Static RAM,SRAM)、扩展数据输出随机存取存储器(Extended Data Output RAM,EDORAM),兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as Compact Disc Read-Only Memory (CD-ROM), floppy disks, or tape devices; computer system memory or random access memory, such as dynamic random access memory (Dynamic Random Access Memory, DRAM), Double Data Rate Random Access Memory (Double Data Rate RAM, DDRRAM), Static Random Access Memory (Static RAM, SRAM), Extended Data Output Random Access Memory (Extended Data Output RAM) , EDORAM), Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (eg, hard disk or optical storage); registers or other similar types of memory elements, and the like. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). A storage medium may store program instructions (eg, implemented as a computer program) executable by one or more processors.
本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的动力电池渗水监测方法,还可以执行本申请任意实施例所提供的动力电池渗水监测方法中的相关操作。A storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the above-mentioned method for monitoring the water seepage of a power battery, and can also perform the water seepage monitoring of a power battery provided by any embodiment of the present application. related operations in the method.
上述实施例中提供的动力电池渗水监测装置、设备、存储介质及系统可执行本申请任意实施例所提供的动力电池渗水监测方法,具备执行该方法相应的功能模块和效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的动力电池渗水监测方法。The power battery water seepage monitoring device, device, storage medium and system provided in the above embodiments can execute the power battery water seepage monitoring method provided by any embodiment of the present application, and have corresponding functional modules and effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to the water seepage monitoring method for a power battery provided by any embodiment of the present application.

Claims (13)

  1. 一种动力电池渗水监测方法,包括:A method for monitoring water seepage of a power battery, comprising:
    获取试纸的黑白图像,其中,所述黑白图像用于呈现动力电池的待监测区域的渗水情况;acquiring a black-and-white image of the test strip, wherein the black-and-white image is used to present the water seepage in the to-be-monitored area of the power battery;
    根据所述黑白图像生成所述黑白图像的轮廓;generating the outline of the black and white image according to the black and white image;
    根据所述轮廓计算渗水斑块面积;Calculate the seepage patch area according to the outline;
    判断所述渗水斑块面积是否为0;Determine whether the area of the seepage patch is 0;
    响应于所述渗水斑块面积不为0,判断所述渗水斑块面积是否大于第一预设面积阈值,响应于所述渗水斑块面积大于所述第一预设面积阈值,判定动力电池渗水。In response to the water seepage patch area not being 0, determine whether the water seepage patch area is greater than a first preset area threshold, and in response to the water seepage patch area being greater than the first preset area threshold, determine the power battery seepage .
  2. 根据权利要求1所述的动力电池渗水监测方法,其中,所述试纸的表面设有底色区和遇水扩散油墨区,所述遇水扩散油墨区围设在所述待监测区域的内边缘,所述试纸遇水后,所述水扩散油墨区不可逆地在所述底色区发生扩散并形成所述渗水斑块。The method for monitoring water seepage of a power battery according to claim 1, wherein the surface of the test paper is provided with a background color area and a water diffusion ink area, and the water diffusion ink area is arranged around the inner edge of the to-be-monitored area , after the test paper encounters water, the water diffusion ink area irreversibly diffuses in the background color area and forms the water seepage patch.
  3. 根据权利要求2所述的动力电池渗水监测方法,其中,所述根据所述黑白图像生成所述黑白图像的轮廓,包括:The method for monitoring water seepage of a power battery according to claim 2, wherein the generating the outline of the black and white image according to the black and white image comprises:
    根据所述黑白图像采用Prewitt算子计算生成所述轮廓。According to the black and white image, the Prewitt operator is used to calculate and generate the contour.
  4. 根据权利要求3所述的动力电池渗水监测方法,其中,所述根据所述轮廓计算渗水斑块面积,包括:The power battery water seepage monitoring method according to claim 3, wherein the calculating the water seepage patch area according to the outline comprises:
    所述渗水斑块面积设置为所述轮廓的面积与系数k的乘积再减去所述遇水扩散油墨区面积。The area of the water seepage patch is set as the product of the area of the contour and the coefficient k minus the area of the water diffusion ink area.
  5. 根据权利要求4所述的动力电池渗水监测方法,在所述判断所述渗水斑块面积是否为0之后,还包括:The power battery water seepage monitoring method according to claim 4, after judging whether the water seepage patch area is 0, further comprising:
    响应于所述渗水斑块面积为0,判定所述动力电池不渗水;In response to the water seepage patch area being 0, it is determined that the power battery does not seep water;
    间隔T1时长后返回执行所述获取试纸的黑白图像。After the interval T1, return to execute the acquisition of the black-and-white image of the test strip.
  6. 根据权利要求4所述的动力电池渗水监测方法,在所述判断所述渗水斑块面积是否大于第一预设面积阈值之后,还包括:The method for monitoring water seepage of a power battery according to claim 4, after judging whether the area of the seepage patch is greater than a first preset area threshold, further comprising:
    响应于所述渗水斑块面积小于或等于所述第一预设面积阈值,间隔T1时长后返回执行所述获取试纸的黑白图像。In response to the area of the water seepage patch being less than or equal to the first preset area threshold, returning to perform the acquiring of the black and white image of the test paper after an interval of T1.
  7. 根据权利要求1-6任一项所述的动力电池渗水监测方法,在所述判定动力电池渗水之后,还包括:The method for monitoring water seepage of a power battery according to any one of claims 1-6, after the determination of water seepage of the power battery, further comprising:
    启动第一警报。Activate the first alarm.
  8. 根据权利要求7所述的动力电池渗水监测方法,在所述响应于所述渗水斑块面积不为0之后,所述判断所述渗水斑块面积是否大于第一预设面积阈值之前,还包括:The method for monitoring water seepage of a power battery according to claim 7, after the response to the water seepage patch area not being 0, before the judging whether the water seepage patch area is greater than a first preset area threshold value, further comprising: :
    判定所述渗水斑块面积是否小于第二预设面积阈值;determining whether the area of the seepage patch is smaller than a second preset area threshold;
    响应于所述渗水斑块面积小于所述第二预设面积阈值,判断重复次数是否达到N次;In response to the water seepage patch area being smaller than the second preset area threshold, determining whether the number of repetitions reaches N times;
    响应于重复次数达到N次,再次判断所述渗水斑块面积是否小于所述第二预设面积阈值;In response to the number of repetitions reaching N times, judging again whether the water seepage patch area is smaller than the second preset area threshold;
    响应于所述渗水斑块面积小于所述第二预设面积阈值,判定所述动力电池轻微渗水。In response to the water seepage patch area being smaller than the second preset area threshold, it is determined that the power battery is slightly water seepage.
  9. 根据权利要求8所述的动力电池渗水监测方法,在所述响应于所述渗水斑块面积小于所述第二预设面积阈值,判断重复次数是否达到N次之后,还包括:The method for monitoring water seepage of a power battery according to claim 8, after judging whether the number of repetitions reaches N times in response to the water seepage patch area being smaller than the second preset area threshold, further comprising:
    响应于重复次数不到N次,间隔T2时长后返回执行所述获取试纸的黑白图像。In response to the number of repetitions being less than N times, returning to execute the acquisition of the black-and-white image of the test strip after an interval of T2.
  10. 根据权利要求8所述的动力电池渗水监测方法,在所述判定所述动力电池轻微渗水之后,还包括:The method for monitoring water seepage of a power battery according to claim 8, further comprising:
    开启第二警报;其中,所述第二警报区别于所述第一警报。Turning on a second alarm; wherein the second alarm is different from the first alarm.
  11. 一种动力电池渗水监测装置,包括:A power battery water seepage monitoring device, comprising:
    第一模块,设置为获取试纸的黑白图像,其中,所述黑白图像用于呈现动力电池的待监测区域的渗水情况;The first module is configured to obtain a black and white image of the test paper, wherein the black and white image is used to present the water seepage in the area to be monitored of the power battery;
    第二模块,设置为根据所述黑白图像生成所述黑白图像的轮廓;a second module, configured to generate the outline of the black and white image according to the black and white image;
    第三模块,设置为根据所述轮廓计算渗水斑块面积;The third module is configured to calculate the water seepage patch area according to the outline;
    第四模块,设置为判断所述渗水斑块面积是否为0;The fourth module is configured to judge whether the area of the seepage patch is 0;
    第五模块,设置为响应于所述渗水斑块面积不为0,判断所述渗水斑块面积是否大于第一预设面积阈值,响应于所述渗水斑块面积大于所述第一预设面积阈值,判定动力电池渗水。The fifth module is configured to judge whether the area of the seepage patch is greater than a first preset area threshold in response to the area of the seepage patch being not 0, and to respond that the area of the seepage patch is greater than the first preset area Threshold, to determine the water seepage of the power battery.
  12. 一种控制单元,包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-10任一项所述的动力电池渗水监测方法。A control unit, comprising a processor, a memory and a computer program stored on the memory and running on the processor, the processor implements any one of claims 1-10 when the processor executes the computer program The described power battery water seepage monitoring method.
  13. 一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-10任一项所述的动力电池渗水监测方法。A computer storage medium storing a computer program, when the computer program is executed by a processor, the method for monitoring water seepage of a power battery according to any one of claims 1-10 is implemented.
PCT/CN2021/140774 2020-12-28 2021-12-23 Power battery water seepage monitoring method and device, control unit, and medium WO2022143391A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011582302.6 2020-12-28
CN202011582302.6A CN112614115B (en) 2020-12-28 2020-12-28 Power battery water seepage monitoring method

Publications (1)

Publication Number Publication Date
WO2022143391A1 true WO2022143391A1 (en) 2022-07-07

Family

ID=75248564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140774 WO2022143391A1 (en) 2020-12-28 2021-12-23 Power battery water seepage monitoring method and device, control unit, and medium

Country Status (2)

Country Link
CN (1) CN112614115B (en)
WO (1) WO2022143391A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112614115B (en) * 2020-12-28 2024-03-26 中国第一汽车股份有限公司 Power battery water seepage monitoring method
CN113379690B (en) * 2021-05-31 2023-04-07 山东省科学院激光研究所 Automatic wall seepage detection method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106641738A (en) * 2016-12-27 2017-05-10 上海科勒电子科技有限公司 Pipeline leakage monitoring method and control unit, device and system
CN107358270A (en) * 2017-08-08 2017-11-17 浙江国自机器人技术有限公司 A kind of infiltration detection method and device of tunnel wall
WO2019049316A1 (en) * 2017-09-08 2019-03-14 三菱電機株式会社 Deformation detection device and deformation detection method
CN110775929A (en) * 2019-11-08 2020-02-11 樊俊利 Oil leakage state monitoring platform and method for oil gun and storage medium
CN110793722A (en) * 2019-11-08 2020-02-14 国家计算机网络与信息安全管理中心 Non-contact type leakage detection device and method for lead-acid storage battery based on machine learning
CN112419336A (en) * 2020-11-24 2021-02-26 哈尔滨市科佳通用机电股份有限公司 Motor car gearbox oil leakage fault identification method based on wavelet transformation
CN112614115A (en) * 2020-12-28 2021-04-06 中国第一汽车股份有限公司 Power battery water seepage monitoring method
CN113379690A (en) * 2021-05-31 2021-09-10 山东省科学院激光研究所 Automatic wall seepage detection method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102680191B (en) * 2012-06-07 2015-06-10 北京有色金属研究总院 Leakage detection device for power cells
WO2015111031A2 (en) * 2014-01-27 2015-07-30 Texa S.P.A. Method and tool to determine a brake disk deterioration state
CN208240833U (en) * 2018-06-25 2018-12-14 安徽相源新能源有限公司 A kind of apparatus for testing weeping of li battery shell
CN109740514A (en) * 2018-12-29 2019-05-10 成都指灵瞳科技有限公司 A kind of display screen optical finger print identification electronic device and method
CN111445462A (en) * 2020-03-30 2020-07-24 国家计算机网络与信息安全管理中心 Storage battery leakage detection method based on neural network and thermography

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106641738A (en) * 2016-12-27 2017-05-10 上海科勒电子科技有限公司 Pipeline leakage monitoring method and control unit, device and system
CN107358270A (en) * 2017-08-08 2017-11-17 浙江国自机器人技术有限公司 A kind of infiltration detection method and device of tunnel wall
WO2019049316A1 (en) * 2017-09-08 2019-03-14 三菱電機株式会社 Deformation detection device and deformation detection method
CN110775929A (en) * 2019-11-08 2020-02-11 樊俊利 Oil leakage state monitoring platform and method for oil gun and storage medium
CN110793722A (en) * 2019-11-08 2020-02-14 国家计算机网络与信息安全管理中心 Non-contact type leakage detection device and method for lead-acid storage battery based on machine learning
CN112419336A (en) * 2020-11-24 2021-02-26 哈尔滨市科佳通用机电股份有限公司 Motor car gearbox oil leakage fault identification method based on wavelet transformation
CN112614115A (en) * 2020-12-28 2021-04-06 中国第一汽车股份有限公司 Power battery water seepage monitoring method
CN113379690A (en) * 2021-05-31 2021-09-10 山东省科学院激光研究所 Automatic wall seepage detection method and system

Also Published As

Publication number Publication date
CN112614115A (en) 2021-04-06
CN112614115B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
WO2022143391A1 (en) Power battery water seepage monitoring method and device, control unit, and medium
CN107277356B (en) Method and device for processing human face area of backlight scene
CN108716983B (en) Optical element detection method and device, electronic equipment, storage medium
CN107786785B (en) Illumination processing method and device
CN109788281B (en) Light leakage detection method and device of camera module
TW201215166A (en) Image capture using luminance and chrominance sensors
WO2018099007A1 (en) Control method, control device, and electronic device
TW201939942A (en) Projector, detection method and detection device thereof, image capturing device, electronic device, and computer readable storage medium
TW201419853A (en) Image processor and image dead pixel detection method thereof
CN111726514B (en) Camera and day and night mode switching method, device, equipment and medium thereof
WO2022067762A1 (en) Image processing method and apparatus, photographic device, movable platform, and computer-readable storage medium
WO2021008052A1 (en) Lens accuracy calibration method, apparatus and device for 3d photographic module
KR20170030418A (en) Imaging processing device and Imaging processing method
WO2023279862A1 (en) Image processing method and apparatus, and electronic device
WO2019128539A1 (en) Image definition obtaining method and apparatus, storage medium, and electronic device
BR112020025217A2 (en) METHOD (110) TO EVALUATE AN ADEQUACY OF THE LIGHTING CONDITIONS, DETECTION METHOD TO DETECT AN ANALYTIS, COMPUTER PROGRAMS AND MOBILE DEVICE
KR20140035000A (en) Image capturing apparatus and control method thereof
CN203057299U (en) Camera module
CN113362253B (en) Image shading correction method, system and device
US20210352253A1 (en) Image processing method and apparatus, terminal and storage medium
CN113177886B (en) Image processing method, device, computer equipment and readable storage medium
CN113495422A (en) Projection control method and device, projection equipment and storage medium
CN112153300A (en) Multi-view camera exposure method, device, equipment and medium
KR20200120977A (en) Vehicle status management apparatus and mehtod
CN210401613U (en) Indicator light detection device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21914128

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21914128

Country of ref document: EP

Kind code of ref document: A1