WO2023109735A1 - Image detection system and method for electrical connector sealing ring of battery pack, and battery swapping station - Google Patents

Image detection system and method for electrical connector sealing ring of battery pack, and battery swapping station Download PDF

Info

Publication number
WO2023109735A1
WO2023109735A1 PCT/CN2022/138318 CN2022138318W WO2023109735A1 WO 2023109735 A1 WO2023109735 A1 WO 2023109735A1 CN 2022138318 W CN2022138318 W CN 2022138318W WO 2023109735 A1 WO2023109735 A1 WO 2023109735A1
Authority
WO
WIPO (PCT)
Prior art keywords
electrical connector
sealing ring
battery pack
battery
edge
Prior art date
Application number
PCT/CN2022/138318
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 WO2023109735A1 publication Critical patent/WO2023109735A1/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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/64Analysis of geometric attributes of convexity or concavity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/141Control of illumination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20164Salient point detection; Corner detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Definitions

  • the invention relates to the field of new energy technology, in particular to an image detection system and method for a sealing ring of an electrical connector of a battery pack, a power station and a storage medium.
  • batteries used in battery swapping electric vehicles should be equipped with electrical connectors that facilitate docking with the vehicle end or the charging equipment end of the swapping station.
  • the electrical connectors on the vehicle side and the battery side are made of hard metal materials, and the connection between the two cannot be accurately sealed, which may easily cause external water to enter the connection between the two, affecting the normal use of the battery. Therefore, a sealing ring is provided on the outer edge of the electrical connector at the battery end for waterproof, dustproof and fixed protection.
  • a sealing ring is provided on the outer edge of the electrical connector at the battery end for waterproof, dustproof and fixed protection.
  • the technical problem to be solved by the present invention is to provide an image detection system and method for the electrical connector sealing ring of the battery pack, Replace the power station and storage medium.
  • the present invention provides an image detection system for a sealing ring of an electrical connector of a battery pack.
  • the image detection system includes a photographing device and a control module, and the photographing device and the control module are connected in communication;
  • the photographing device is used to collect target images; the target images at least include images of the corresponding area of the electrical connector sealing ring on the battery pack removed from the battery swap vehicle;
  • the control module is used to obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
  • This solution makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced.
  • By taking images and performing targeted image detection combined with the characteristics of the electrical connector sealing ring it is possible to timely and accurately detect the sealing of the electrical connector.
  • the problems that may exist in the battery pack can be detected, so as to provide a basis for further maintenance or replacement of battery packs, and timely and efficient detection of potential safety hazards of battery replacement vehicles to ensure the safety of people and vehicles.
  • control module includes:
  • An acquisition unit configured to acquire edge pixel parameters corresponding to the electrical connector sealing ring based on the target image
  • the detection unit is used to detect whether the edge pixel point parameters meet the edge detection conditions; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
  • This solution aims at the deformation or shedding that is easy to occur in the sealing ring of the electrical connector, and uses the method of edge pixel detection to screen out its state, so that it can relatively accurately determine whether the state of the sealing ring of the electrical connector is abnormal .
  • the edge pixel parameters include edge pixel coordinate values; the edge detection conditions include a coordinate difference threshold;
  • the detection unit is specifically used to detect whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
  • control module also includes:
  • a division unit configured to divide the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
  • the acquiring unit is configured to acquire at least one edge pixel point corresponding to each of the pixel intervals, so as to acquire edge pixel point parameters corresponding to the electrical connector sealing ring.
  • the acquisition unit is also used for:
  • the detection unit is also used for:
  • This program obtains the parameters of the preset sampling points from the captured images of the electrical connector sealing ring and performs matching analysis with the preset sampling values, so that the preset sampling can be set in a targeted manner according to the model and empirical parameters of the electrical connector sealing ring value, and then detect whether the corresponding type of electrical connector sealing ring falls off.
  • the photographing device is arranged on the path of transferring the battery pack to the battery rack after the battery pack is removed from the battery replacement vehicle, and is located above or below the corresponding position of the electrical connector sealing ring.
  • the image detection system further includes a light source device, and the light source device is communicatively connected to the control module;
  • the light source device is arranged on the shuttle car that transfers the battery pack or on the transfer path of the shuttle car, and corresponds to the position of the electrical connector sealing ring;
  • the control module is further configured to control the light source device to provide illumination when the photographing device captures the target image.
  • the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher, thereby helping to improve the detection accuracy of the edge pixels.
  • the sealing ring of the electrical connector is located between the light source device and the photographing device; the light source device is arranged above or below the sealing ring of the electrical connector, and provides a Lighting from the direction of the sealing ring.
  • the light source device is reasonably set according to the position of the sealing ring of the electrical connector, and the captured image has better pixel quality by increasing the ambient light intensity, thereby providing a more reliable basis for image processing, and when the electrical connection
  • the seal ring When the seal ring is located between the light source device and the photographing device, it can function as a backlight source and increase the edge definition of the image.
  • the present invention also provides an image detection method for the sealing ring of the electrical connector of the battery pack, comprising the following steps:
  • the target image includes at least an image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery replacement vehicle;
  • This solution makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced.
  • By taking images and performing targeted image detection combined with the characteristics of the electrical connector sealing ring it is possible to timely and accurately detect the sealing of the electrical connector.
  • the problems that may exist in the battery pack can be detected, so as to provide a basis for further maintenance or replacement of battery packs, and timely and efficient detection of potential safety hazards of battery replacement vehicles to ensure the safety of people and vehicles.
  • the step of judging whether the state of the sealing ring of the electrical connector is normal according to the target image includes: acquiring edge pixel parameters corresponding to the sealing ring of the electrical connector based on the target image;
  • edge pixel point parameters meet the edge detection condition; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
  • This solution aims at the deformation or shedding that is easy to occur in the sealing ring of the electrical connector, and uses the method of edge pixel detection to screen out its state, so that it can relatively accurately determine whether the state of the sealing ring of the electrical connector is abnormal .
  • the edge pixel parameters include edge pixel coordinate values;
  • the edge detection condition includes a coordinate difference threshold;
  • the step of detecting whether the edge pixel parameter meets the edge detection condition includes:
  • the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the battery pack is in a deformed state; if it does not exist, the coordinate value of the edge pixel point meets the edge detection condition.
  • the step further includes:
  • the step of detecting whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold includes:
  • This solution performs edge segmentation on the image of the sealing ring of the electrical connector, and selects some pixels for sampling detection according to the segmentation results, which can reduce the computational load of the detection process while ensuring the accuracy of the detection results, thus taking into account the detection efficiency. , so that the setting of the application scene of the present invention is more flexible by shortening the detection time.
  • the step of obtaining edge pixel parameters corresponding to the electrical connector sealing ring based on the target image includes:
  • the image detection method also includes:
  • This program obtains the parameters of the preset sampling points from the captured images of the electrical connector sealing ring and performs matching analysis with the preset sampling values, so that the preset sampling can be set in a targeted manner according to the model and empirical parameters of the electrical connector sealing ring value, and then detect whether the corresponding type of electrical connector sealing ring falls off.
  • the present invention also provides a computer-readable storage medium, on which a computer program is stored.
  • a computer program is stored.
  • the above-mentioned method for detecting the sealing ring of the electrical connector of the battery pack is implemented.
  • the computer-readable storage medium of this embodiment executes the image detection method of the electrical connector sealing ring of the battery pack by running the computer program stored thereon, and can make full use of the battery pack being removed from the vehicle for charging when the vehicle is replaced.
  • the possible problems of the electrical connector sealing ring can be found in a timely and accurate manner, which provides a basis for further maintenance or replacement of the battery pack. Timely and efficient detection of potential safety hazards of battery-swapping vehicles to ensure the safety of people and vehicles.
  • the present invention also provides a power exchange station, which includes a power exchange station, a battery rack, a shuttle car, and an image detection system for the sealing ring of the electrical connector of the battery pack, and the shuttle car is used to shuttle back and forth between the battery rack and the battery rack, and after removing the battery pack of the battery swapping vehicle that is staying at the battery rack, transport the battery pack to the battery rack; the imaging device of the image detection system is set on the on the transfer path of the shuttle car, and above or below the corresponding position of the electrical connector sealing ring.
  • the battery pack is removed from the battery pack in the battery swap station and transferred to the battery rack at a reasonable position on the delivery path to set up a shooting device, and the image detection system of the battery pack sealing ring is used to detect the battery pack for power swapping , can make full use of the moving process of the battery pack during the entire battery replacement process for detection.
  • ample time is reserved for detection, and on the other hand, it will not affect the charging and replacement process of the battery pack, taking into account the electrical connector Inspection accuracy and efficiency of sealing rings.
  • the damage degree and damage location can be obtained, and the relevant information will be passed on to the disposal personnel in time, so that timely and proper disposal can be carried out during the battery replacement process, which is helpful for the first time
  • the potential safety hazards of battery replacement vehicles will be discovered within a short period of time to ensure the safety of people and vehicles.
  • the image detection system further includes a light source device, the light source device is arranged on the shuttle car for transferring the battery pack, or is arranged on the transfer path of the shuttle car, and is sealed with the electrical connector
  • the position of the electrical connector seal ring is corresponding; the electrical connector sealing ring is located between the light source device and the photographing device; the light source device is arranged above or below the electrical connector sealing ring, and provides a Lighting in the direction of the connector seal.
  • the positive and progressive effect of the present invention lies in: the image detection system and method, the power exchange station and the storage medium of the electrical connector sealing ring of the battery pack provided by the present invention fully utilize the battery pack to be removed from the battery exchange vehicle for charging when the vehicle is exchanged.
  • the possible problems of the electrical connector sealing ring can be found in a timely and accurate manner, which provides a basis for further maintenance or replacement of the battery pack. Timely and efficient detection of potential safety hazards of battery-swapping vehicles to ensure the safety of people and vehicles.
  • FIG. 1 is a block diagram of an image detection system for an electrical connector sealing ring of a battery pack in Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of a battery pack in Embodiment 1 of the present invention.
  • FIG. 3 is a schematic diagram of an electrical connector of a battery pack and its sealing ring in Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of edge detection of the image detection system in Embodiment 1 of the present invention.
  • FIG. 5 is a schematic diagram of sampling detection of the image detection system in Embodiment 1 of the present invention.
  • FIG. 6 is a schematic diagram of sampling point detection of the image detection system in Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of the installation position of the photographing device in Embodiment 1 of the present invention.
  • FIG. 8 is a flow chart of the image detection method for the sealing ring of the electrical connector of the battery pack in Embodiment 2 of the present invention.
  • FIG. 9 is a flow chart of a preferred embodiment of the image detection method for the sealing ring of the electrical connector of the battery pack in Embodiment 2 of the present invention.
  • Fig. 10 is a schematic diagram of the composition of the power station in Embodiment 3 of the present invention.
  • this embodiment specifically provides an image detection system for a sealing ring of an electrical connector of a battery pack, including a photographing device 1 and a control module 2 , and the photographing device 1 and the control module 2 are connected in communication.
  • the photographing device 1 is used to collect the target image; the target image includes at least the image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery swap vehicle; the control module 2 is used to acquire the target image, and judge according to the target image Whether the condition of the sealing ring of the electrical connector is normal.
  • the electrical connector in this embodiment includes but is not limited to the circuit organization structure connecting the battery packs in the battery pack, and can usually be arranged at the end of the battery pack, and the electrical connector sealing ring is usually attached to it for insulation, Waterproof, dustproof and fixed functions.
  • the shooting device 1 collects the target image; since the target image is used to detect whether the state of the sealing ring of the electrical connector is normal, those skilled in the art can understand that the target image is determined according to the position of the electrical connector on the battery pack, and should at least include
  • the image of the sealing ring of the electrical connector on the battery pack includes the image of the electrical connector when the sealing ring of the electrical connector falls off; that is, the target image may include the whole or part of the image of the battery pack.
  • FIG. 2 shows a battery pack 100
  • FIG. 3 is a partially enlarged view of the battery pack 100 , wherein the electrical connector 200 and its sealing ring 300 are located at the end of the battery pack 100 .
  • the detection system of this embodiment is not limited by the battery pack, its electrical connector, and the sealing ring of the electrical connector shown in the above illustration.
  • the control module 2 is used to obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
  • the control module 2 communicates with the photographing device 1, and after obtaining the target image from the photographing device 1, judges the state of the sealing ring of the electrical connector according to the target image.
  • a common fault of the sealing ring of the electrical connector is It falls off from the sealing port of the electrical connector of the battery pack, which will cause the electrical connector and even the entire battery pack to lose the corresponding protection; another common fault is that the protection of the electrical connector is weakened due to the plastic deformation of the sealing ring.
  • the method of image detection is used in this embodiment to judge, which has high accuracy and reference value.
  • control module 2 includes:
  • the acquisition unit 21 is used to obtain the edge pixel parameters corresponding to the electrical connector sealing ring based on the target image; the detection unit 22 is used to detect whether the edge pixel parameters meet the edge detection conditions; if so, determine the electrical connector sealing ring The state is normal; if not, it is determined that the state of the electrical connector sealing ring is abnormal.
  • the detection unit 22 makes a judgment based on the edge pixel point parameters obtained by the acquisition unit 21 .
  • a pixel is a data structure used to describe image information elements. According to the image structure obtained by the shooting device 1, edge pixel points can be identified and detected through image processing methods including but not limited to RGB color coding or YUV color coding, that is, recognition Edge pixels in the image.
  • the RGB color coding method divides the pixel into three sub-pixels (or called 3 components) of red, green and blue; the YUV color coding method expresses the color through brightness and color difference, where the brightness refers to the black-white signal, and the chroma refers to the color Signal.
  • the edge pixel parameters are divided into Y (brightness) and UV (chroma), and the chroma is divided into two independent signals for storage.
  • image processing for edge pixels is not limited to the above two methods, and can be flexibly selected according to shooting environment, image format, output result standard, application interface, etc.
  • the state of the electrical connector sealing ring can be restored according to the relative position of the pixels, such as whether it has fallen off or deformed; or the color parameters of the edge pixels obtained above can be used to determine the degree of damage, etc.
  • the degree of exposure of the electrical connector can be judged by the color represented by the pixel value, and then the specific damage or displacement of the electrical connector sealing ring can be analyzed when it is deformed.
  • the method of edge pixel point detection is used to screen out its state, and it is possible to relatively accurately determine whether the state of the sealing ring of the electrical connector exists. abnormal.
  • the edge pixel point parameters include the edge pixel point coordinate value; the edge detection condition includes a coordinate difference threshold; the detection unit 22 is specifically used to detect whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold point; if it exists, it is determined that the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the electrical connector is in a deformed state; if it does not exist, it is determined that the coordinate value of the edge pixel point meets the edge detection condition.
  • This embodiment provides a detection method for edge pixels. Since the edge pixels can reflect the state of the sealing ring of the electrical connector at its setting position through the outer contour, if the outer contour represented by the current edge pixels is detected and the specified The shape of the outline does not match, and some abnormal protrusions or depressions are produced, which can be considered as deformation.
  • FIG 4 it shows a specific application example of electrical connector seal ring detection, where the difference between the coordinates of points A and B is greater than the coordinate difference threshold, therefore, it can be considered that the seal ring of the electrical connector in part A-B exists
  • point B with a larger coordinate value is a protruding point
  • the sealing ring at the position of point B is wrinkled and protrudes from the specified position.
  • control module 2 also includes:
  • a division unit 23 configured to divide the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
  • the acquiring unit 21 is configured to acquire at least one edge pixel point corresponding to each pixel interval, so as to acquire edge pixel point parameters corresponding to the sealing ring of the electrical connector.
  • the division unit 23 divides the corresponding portion of the image of the electrical connector sealing ring into several pixel intervals according to its edge direction in the target image, so that the acquisition unit 21 does not need to acquire all the edge pixel points, but only needs to set the interval span reasonably Under the same conditions, it is also possible to obtain enough edge pixels for edge detection, so that by performing edge segmentation on the image of the electrical connector sealing ring, and selecting some pixels for sampling detection according to the segmentation results, while ensuring the accuracy of the detection results At the same time, the calculation amount of the detection process is reduced, and the detection efficiency is taken into consideration. By shortening the detection time, the application scenarios of the image detection system in this embodiment are wider. For example, in Fig.
  • the state of the sealing ring can greatly reduce the amount of calculation compared with the detection method based on all edge pixels, thereby improving the detection efficiency.
  • the acquisition unit 21 is also used to acquire the sampling point parameters of the preset sampling points in the target image; the detection unit 22 is also used to determine the electrical connector according to the matching result of the sampling point parameters and the preset sampling values Whether the sealing ring is falling off.
  • the preset sampling value can be set in a targeted manner; that is, the shape characteristics that the electrical connector sealing ring should have under normal conditions; thus only the target image obtained from The state of the sealing ring of the electrical connector can be deduced by detecting several sampling points in the test and matching the preset sampling values. As shown in FIG.
  • the parameter of the preset sampling point is obtained from the photographed image of the sealing ring of the electrical connector, and the parameters of the preset sampling point are matched and analyzed to detect whether the sealing ring of the corresponding type of electrical connector falls off.
  • the photographing device 1 is arranged on the path where the battery pack is transferred to the battery rack after it is removed from the battery exchange vehicle, and is located above the corresponding position of the sealing ring of the electrical connector.
  • the battery pack is usually removed from the battery swapping vehicle at the battery swapping point, and transported to a preset location such as a battery rack for charging by a transmission tool such as a shuttle car; Take pictures more clearly when the battery pack is blocked by the battery rack or the potential replacement.
  • a transmission tool such as a shuttle car
  • Figure 7 shows the driving direction of the shuttle.
  • the shuttle car can flexibly choose to transport the battery pack to any charging room 51 according to the situation such as full warehouse.
  • Figure 7 only shows the situation that the shuttle car runs to the left charging room 51, and it will be described as an example.
  • the photographing device 1 can be arranged on the path of the transfer. Specifically, the installation range of the photographing device 1 can be determined according to the length and distance of the track Q, and the actual size of the swapping potential 52 and the battery rack 53, such as the battery shown in FIG.
  • the final target image can be obtained through image superposition and stitching, and satisfy the above-mentioned conditions. Since the electrical connector sealing ring is usually attached to the electrical connector, the photographing device 1 is arranged above the corresponding position of the electrical connector sealing ring, preferably directly above and so that the photographing direction is the same as that of the electrical connector sealing ring. The planes at the position are parallel, so that the target image can better restore the state of the electrical connector sealing ring.
  • the image detection system also includes a light source device 3, which is communicatively connected to the control module 2; the light source device 3 is arranged on the shuttle car for transferring the battery pack and corresponds to the position of the electrical connector sealing ring; The control module 2 is also used to control the light source device 3 to provide illumination when the photographing device 1 captures the target image.
  • the installation position of the light source device 3 can be located on the shuttle car for transferring the battery pack; and the position of the light source device 3 and the sealing ring of the electrical connector are set correspondingly, so as to ensure that the illumination range covers the sealing ring of the electrical connector.
  • the control module 2 controls the light source device 3 according to the photographing device 1 to provide illumination for photographing. For example, according to the installation position of the photographing device 1 , the light source device 3 is turned on when the battery pack is transported close to or moved to the installation position, and the corresponding illumination time length is set according to the shutter time of the photographing device 1 .
  • the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher, which is beneficial to improve the detection accuracy of the edge pixels.
  • the sealing ring of the electrical connector is located between the light source device 3 and the photographing device 1 ; the light source device 3 is arranged under the sealing ring of the electrical connector, and provides light toward the sealing ring of the electrical connector.
  • the electrical connector sealing ring is located between the light source device 3 and the photographing device 1.
  • the light source emitted by the light source device 3 can increase the intensity of ambient light to make the captured image have better pixel quality, thereby providing better image processing.
  • Reliable basis and when the electrical connector sealing ring is located between the light source device and the camera device, it can play the role of a backlight and increase the definition of the edge of the image.
  • the photographing device can be arranged on the path where the battery pack is removed from the battery replacement vehicle and then transferred to the battery rack, and located at the location where the electrical connector is sealed.
  • the light source device 3 is also arranged on the path where the battery pack is removed from the battery replacement vehicle and then transferred to the battery rack, and corresponds to the installation position of the camera 1 and is located on the sealing ring of the electrical connector. to ensure that the battery is just positioned between the camera device 1 and the light source device 3 when passing through the installation positions of the camera device 1 and the light source device 3 during transport by the shuttle car, and the light source device 3 provides the camera device with an electrical connection Light from the direction of the seal ring.
  • the setting of the light source device 3 can also refer to the scene shown in FIG. 7 and the corresponding description above. On the premise that the location of the shooting device 1 is determined, the light source device 3 and the shooting device 1 can be set correspondingly according to the aforementioned requirements.
  • the image detection system for the sealing ring of the electrical connector of the battery pack in this embodiment makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced, by taking images and combining the characteristics of the sealing ring of the electrical connector to detect
  • the comprehensive image detection can timely and accurately find possible problems with the sealing ring of the electrical connector, thus providing a basis for further maintenance or replacement of the battery pack, timely and efficiently discovering potential safety hazards of the battery replacement vehicle, and ensuring the safety of people and vehicles.
  • this embodiment specifically provides a method for detecting the sealing ring image of the electrical connector of the battery pack, including steps:
  • the target image at least includes an image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery replacement vehicle;
  • the electrical connector in this embodiment includes but is not limited to the circuit organization structure connecting the battery packs in the battery pack, usually it can be set at the end of the battery pack, and the sealing ring is usually attached to it for insulation, waterproof, waterproof Dust and fixation.
  • Step S31 collects the target image; since the target image is used to detect whether the state of the sealing ring of the electrical connector is normal, those skilled in the art can understand that the target image is determined according to the position of the electrical connector on the battery pack, and should at least include the battery
  • the image of the sealing ring of the electrical connector on the package includes the image of the electrical connector when the sealing ring of the electrical connector falls off; that is, the whole or part of the image of the battery pack can be included in the target image.
  • Step S32 is used to acquire the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image. Judging the state of the electrical connector sealing ring according to the target image, those skilled in the art can understand that a common failure of the electrical connector sealing ring is to fall off from the sealing port of the electrical connector of the battery pack, which will cause the electrical connector and even the entire battery to be damaged. package loses the corresponding protection; another common failure is due to the plastic deformation of the sealing ring, which weakens the protection of the electrical connector. For the above-mentioned situation that the sealing ring of the electrical connector falls off or is deformed, image detection is used in this embodiment to judge, which has high accuracy and reference value.
  • step S32 includes:
  • Step S322 judges based on the edge pixel point parameters obtained in step S321.
  • a pixel is a data structure used to describe image information elements.
  • edge pixel points can be identified and detected through image processing methods including but not limited to RGB color coding or YUV color coding, that is, recognition Edge pixels in the image.
  • the RGB color coding method divides the pixel into three sub-pixels (or called 3 components) of red, green and blue;
  • the YUV color coding method expresses the color through brightness and color difference, where the brightness refers to the black-white signal, and the chroma refers to the color Signal.
  • the edge pixel parameters are divided into Y (brightness) and UV (chroma), and the chroma is divided into two independent signals for storage.
  • image processing for edge pixels is not limited to the above two methods, and can be flexibly selected according to shooting environment, image format, output result standard, application interface, etc.
  • the state of the electrical connector sealing ring can be restored according to the relative position of the pixels, such as whether it has fallen off or deformed; or the color parameters of the edge pixels obtained above can be used to determine the degree of damage, etc.
  • the degree of exposure of the electrical connector can be judged by the color represented by the pixel value, and then the specific damage or displacement of the electrical connector sealing ring can be analyzed when it is deformed.
  • the method of edge pixel point detection is used to screen out its state, and it is possible to relatively accurately determine whether the state of the sealing ring of the electrical connector exists. abnormal.
  • the edge pixel point parameters include edge pixel point coordinate values;
  • the edge detection condition includes a coordinate difference threshold;
  • step S322 includes:
  • the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the battery pack is in a deformed state; if it does not exist, the coordinate value of the edge pixel point meets the edge detection condition.
  • This embodiment provides a detection method for edge pixels. Since the edge pixels can reflect the state of the sealing ring of the electrical connector at its setting position through the outer contour, if the outer contour represented by the current edge pixels is detected and the specified The shape of the outline does not match, and some abnormal protrusions or depressions are produced, which can be considered as deformation.
  • FIG 4 it shows a specific application example of electrical connector seal ring detection, where the difference between the coordinates of points A and B is greater than the coordinate difference threshold, therefore, it can be considered that the seal ring of the electrical connector in part A-B exists
  • point B with a larger coordinate value is a protruding point
  • the sealing ring at the position of point B is wrinkled and protrudes from the specified position.
  • step S3220 divides the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
  • Step S3221 includes: obtaining at least one edge pixel point corresponding to each pixel interval, so as to obtain edge pixel point parameters corresponding to the sealing ring of the electrical connector.
  • step S3220 in the target image, the corresponding portion of the image of the electrical connector sealing ring is divided into several pixel intervals according to its edge direction, so that when step S3221 is executed, it is not necessary to obtain all the edge pixels, but only need to be within a reasonable Under the premise of setting the interval span, it is also possible to obtain enough edge pixels for edge detection, so that by performing edge segmentation on the image of the electrical connector sealing ring, and selecting some pixels for sampling detection according to the segmentation results, the detection is guaranteed. While the accuracy of the result is reduced, the calculation load of the detection process is reduced, and the detection efficiency is taken into account. By shortening the detection time, the application scenarios of the image detection method in this embodiment are wider.
  • step S321 includes: obtaining the sampling point parameters of the preset sampling points in the target image; the image detection method further includes: determining the sealing ring of the electrical connector according to the matching result of the sampling point parameters and the preset sampling values Whether it is off state.
  • preset sampling values can be set in a targeted manner according to the model of the electrical connector sealing ring and empirical parameters obtained through statistics; that is, the shape characteristics that the electrical connector sealing ring should have under normal conditions;
  • the state of the sealing ring of the electrical connector can be deduced by detecting several sampling points in the acquired target image and matching the preset sampling values. As shown in FIG. 6, if the edge position of the electrical connector sealing ring in a normal state should be L, in fact, the edge position of the electrical connector is at L' because the electrical connector sealing ring has fallen off.
  • the parameter of the preset sampling point is obtained from the captured image of the area corresponding to the sealing ring of the electrical connector, and the matching analysis is performed with the preset sampling value to detect whether the sealing ring of the corresponding type of electrical connector is detached.
  • the image detection method for the sealing ring of the electrical connector of the battery pack in this embodiment makes full use of the process that the battery pack is removed from the battery replacement vehicle and transferred to the battery rack when the vehicle is replaced, by taking images and combining the characteristics of the sealing ring of the electrical connector Targeted image detection can timely and accurately discover possible problems with the sealing ring of the electrical connector, thereby providing a basis for further maintenance or replacement of the battery pack, and timely and efficiently discovering potential safety hazards of the battery replacement vehicle to ensure the safety of people and vehicles.
  • this embodiment specifically provides a battery exchange station, which includes a battery exchange station 71, a battery rack 72, a shuttle car 73, and an image detection system 74 for the electrical connector sealing ring of the battery pack in Embodiment 1.
  • the car 73 is used to reciprocate between the battery rack 72 and the battery exchange 71, and after removing the battery pack of the battery exchange vehicle staying at the battery exchange 71, the battery pack is transported to the battery rack 72; the imaging device 742 of the image detection system is set It is on the transfer path of the shuttle car 73 and above the corresponding position of the sealing ring of the electrical connector.
  • the image detection system 74 also includes a light source device 741, the light source device 741 is arranged on the shuttle car 73 for transferring the battery pack, and corresponds to the position of the electrical connector sealing ring; the electrical connector sealing ring is located on the light source Between the device 741 and the camera device 742 of the image detection system; the light source device 741 is arranged under the sealing ring of the electrical connector, and provides light toward the sealing ring of the electrical connector.
  • the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher; and by using the light source device according to the position of the electrical connector sealing ring Reasonably correspond to the setting, increase the intensity of ambient light, and make the captured image have better pixel quality, which can provide a more reliable basis for image processing, and is conducive to the image detection system of the battery pack sealing ring for the electrical connector sealing ring.
  • the detection accuracy of the edge pixels is improved, thereby further increasing the detection accuracy of the sealing ring of the electrical connector.
  • the installation positions can be adjusted according to actual usage requirements.
  • the shooting lens in the shooting device 1 can be composed of a single lens or multiple lenses. If there are multiple lenses, the final target image can be obtained by image superposition and stitching, and satisfy the above-mentioned conditions.
  • the light source device may be set as described above.
  • the specific installation positions of the photographing device 742 and the light source device 741 in this embodiment are not limited thereto.
  • the camera 742 can be set on the path where the battery pack is removed from the battery exchange vehicle and then transferred to the battery rack, and is located below the corresponding position of the electrical connector sealing ring.
  • the light source The device 741 is also installed on the path where the battery pack is removed from the battery exchange vehicle and then transferred to the battery rack, and it corresponds to the installation position of the camera and is located above the sealing ring of the electrical connector to ensure that the battery pack is transported by the shuttle car.
  • the light source device 741 provides the photographing device 742 with light toward the sealing ring of the electrical connector.
  • the working principles of the imaging device 742 and the control device included in the image detection system 74 of the electrical connector sealing ring of the battery pack, and the specific setting method of the light source device 741 are all introduced in the above content, so No longer.
  • FIG. 7 shows the driving direction of the shuttle.
  • the shuttle car can flexibly choose to transport the battery pack to any charging room 51 according to the situation such as full warehouse.
  • Figure 7 only shows the situation that the shuttle car runs to the left charging room 51, and it will be described as an example.
  • the photographing device 1 can be arranged on the path of the transfer.
  • the installation range of the photographing device 1 can be determined according to the length and distance of the track Q, and the actual size of the swapping potential 52 and the battery rack 53, such as the battery shown in FIG. 7
  • CM1, CM2, and CM3 in the figure are only examples. It can be understood that the corresponding setting in the charging chamber 51 on the right side can also set the photographing device 1 .
  • a camera is installed at a reasonable position on the transport path of the battery pack from the battery swap vehicle to the battery rack in the swap station, and the image detection system of the battery pack sealing ring is used to perform related detection on the battery pack for battery swap , can make full use of the moving process of the battery pack during the entire battery replacement process for detection.
  • ample time is reserved for detection, and on the other hand, it will not affect the charging and replacement process of the battery pack, taking into account the electrical connector Inspection accuracy and efficiency of sealing rings.
  • the damage degree and damage location can be obtained, and the relevant information will be passed on to the disposal personnel in time, so that timely and proper disposal can be carried out during the battery replacement process, which is helpful for the first time
  • the potential safety hazards of battery replacement vehicles will be discovered within a short period of time to ensure the safety of people and vehicles.
  • This embodiment provides a computer-readable storage medium, on which a computer program is stored.
  • the program is executed by a processor, the image detection method for the electrical connector sealing ring of the battery pack in Embodiment 2 is implemented.
  • the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.
  • the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute the battery in Embodiment 2.
  • the program product which includes program code
  • the program code is used to make the terminal device execute the battery in Embodiment 2.
  • program code for executing the present invention may be written in any combination of one or more programming languages, and the program code may be completely executed on the user equipment, partially executed on the user equipment, or used as an independent software Package execution, partly on the user device and partly on the remote device, or entirely on the remote device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed are an image detection system and method for an electrical connector sealing ring of a battery pack, a battery swapping station and a storage medium. The image detection system comprises a photographing device and a control module which are in communication connection. The photographing device is used for collecting a target image. The target image at least comprises an electrical connector sealing ring on the battery pack taken off from a vehicle with battery to be swapped. The control module is used for acquiring the target image and determining, according to the target image, whether the electrical connector sealing ring is in a normal state. The present invention makes full use of a battery swapping process wherein the battery pack is taken off from the vehicle with battery to be swapped and charged, performs targeted image detection by photographing images and analyzing the characteristics of the electrical connector sealing ring, and can accurately and timely identify potential problems of the electrical connector sealing ring, thereby providing a basis for further maintenance and replacement of the battery pack, timely and efficiently identifying the potential safety hazard of the vehicle with battery to be swapped, and ensuring the personnel and vehicle safety.

Description

电池包的电连接器密封圈的图像检测系统及方法、换电站Image detection system and method for electrical connector sealing ring of battery pack, battery replacement station
本申请要求申请日为2021/12/14的中国专利申请2021115308532的优先权。本申请引用上述中国专利申请的全文。This application claims the priority of Chinese patent application 2021115308532 with a filing date of 2021/12/14. This application cites the full text of the above-mentioned Chinese patent application.
技术领域technical field
本发明涉及新能源技术领域,尤其涉及一种电池包的电连接器密封圈的图像检测系统及方法、换电站及存储介质。The invention relates to the field of new energy technology, in particular to an image detection system and method for a sealing ring of an electrical connector of a battery pack, a power station and a storage medium.
背景技术Background technique
由于电动汽车具有零排放、低噪音、运维成本低等优点,因而,越来越受到用户的青睐。电动汽车使用的能源为自身搭载的动力电池组提供的电能,电动汽车在电能使用完后需要充电。由于现有的电池技术和充电技术的限制,电动汽车充满电需要花费较长时间,不如燃油汽车直接加油简单快速。因此,为了减少用户的等待时间,在电动汽车的电能快耗尽时更换电池是一种有效的手段。因此,与充电电动汽车不同的是,换电电动车辆使用的电池应设置便于与车辆端或者换电站充电设备端对接的电连接器。Due to the advantages of zero emission, low noise, and low operation and maintenance costs, electric vehicles are increasingly favored by users. The energy used by an electric vehicle is the electric energy provided by its own power battery pack, and the electric vehicle needs to be charged after the electric energy is used up. Due to the limitations of existing battery technology and charging technology, it takes a long time for electric vehicles to be fully charged, which is not as simple and fast as fuel vehicles directly refueling. Therefore, in order to reduce the user's waiting time, it is an effective means to replace the battery when the electric energy of the electric vehicle is almost exhausted. Therefore, different from recharging electric vehicles, batteries used in battery swapping electric vehicles should be equipped with electrical connectors that facilitate docking with the vehicle end or the charging equipment end of the swapping station.
目前,车辆端和电池端的电连接器都是采用硬性金属材质制成,两者的连接处无法做到精确密封,容易导致外部水进入两者的连接处,影响电池的正常使用。因此,在电池端的电连接器外边缘设置有密封圈,用于防水、防尘以及起到固定防护作用。然而在使用中,由于密封圈老化或者在换电过程中由于刮蹭而导致变形甚至脱落;甚至因为电池发热导致自身材质膨胀形变,或是因为电池呼吸阀故障而受到内部气鼓压迫发生形变,这样就会使电池包的工作性能下降,甚至产生安全隐患。同时,由于电池位于车辆底部,对此情况,车主往往也疏于检查,无法及时发现。At present, the electrical connectors on the vehicle side and the battery side are made of hard metal materials, and the connection between the two cannot be accurately sealed, which may easily cause external water to enter the connection between the two, affecting the normal use of the battery. Therefore, a sealing ring is provided on the outer edge of the electrical connector at the battery end for waterproof, dustproof and fixed protection. However, in use, due to the aging of the sealing ring or the deformation or even falling off due to scratches during the battery replacement process; or even the expansion and deformation of the material itself due to the heating of the battery, or the deformation due to the pressure of the internal air drum due to the failure of the battery breathing valve, This will reduce the working performance of the battery pack and even cause potential safety hazards. At the same time, because the battery is located at the bottom of the vehicle, car owners often neglect to check this situation and cannot find it in time.
发明内容Contents of the invention
本发明要解决的技术问题是为了克服现有技术中电池包的电连接器密封圈容易形变但难以被检查发现的缺陷,提供一种电池包的电连接器密封圈的图像检测系统及方法、换电站及存储介质。The technical problem to be solved by the present invention is to provide an image detection system and method for the electrical connector sealing ring of the battery pack, Replace the power station and storage medium.
本发明是通过下述技术方案来解决上述技术问题:The present invention solves the above technical problems through the following technical solutions:
本发明提供了一种电池包的电连接器密封圈的图像检测系统,所述图像检测系统包括拍摄装置和控制模块,所述拍摄装置和所述控制模块通信连接;The present invention provides an image detection system for a sealing ring of an electrical connector of a battery pack. The image detection system includes a photographing device and a control module, and the photographing device and the control module are connected in communication;
所述拍摄装置用于采集目标图像;所述目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;The photographing device is used to collect target images; the target images at least include images of the corresponding area of the electrical connector sealing ring on the battery pack removed from the battery swap vehicle;
所述控制模块用于获取所述目标图像,并根据所述目标图像判断所述电连接器密封圈的状态是否正常。The control module is used to obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
本方案充分利用车辆换电时电池包被从换电车辆取下进行充电的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人车安全。This solution makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced. By taking images and performing targeted image detection combined with the characteristics of the electrical connector sealing ring, it is possible to timely and accurately detect the sealing of the electrical connector. The problems that may exist in the battery pack can be detected, so as to provide a basis for further maintenance or replacement of battery packs, and timely and efficient detection of potential safety hazards of battery replacement vehicles to ensure the safety of people and vehicles.
较佳地,所述控制模块包括:Preferably, the control module includes:
获取单元,用于基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数;An acquisition unit, configured to acquire edge pixel parameters corresponding to the electrical connector sealing ring based on the target image;
检测单元,用于检测所述边缘像素点参数是否符合边缘检测条件;若符合,则确定所述电连接器密封圈状态正常;若不符合,则确定所述电连接器密封圈状态异常。The detection unit is used to detect whether the edge pixel point parameters meet the edge detection conditions; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
本方案针对电连接器密封圈比较容易产生的形变问题或脱落情况,针对性地采用边缘像素点检测的手段对其状态加以甄别,能够相对准确地判断出电连接器密封圈的状态是否存在异常。This solution aims at the deformation or shedding that is easy to occur in the sealing ring of the electrical connector, and uses the method of edge pixel detection to screen out its state, so that it can relatively accurately determine whether the state of the sealing ring of the electrical connector is abnormal .
较佳地,所述边缘像素点参数包括边缘像素点坐标值;所述边缘检测条件包括坐标差值阈值;Preferably, the edge pixel parameters include edge pixel coordinate values; the edge detection conditions include a coordinate difference threshold;
所述检测单元具体用于检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点;The detection unit is specifically used to detect whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
若存在,则确定所述边缘像素点坐标值不符合边缘检测条件,所述电连接器密封圈为变形状态;若不存在,则确定所述边缘像素点坐标值符合边缘检测条件。If it exists, it is determined that the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the electrical connector is in a deformed state; if it does not exist, it is determined that the coordinate value of the edge pixel point meets the edge detection condition.
本方案通过对于边缘像素值的检测,能够发现可能在的边缘凹凸点,进而判断出电连接器密封圈存在变形状态。In this solution, by detecting edge pixel values, possible edge bumps and convex points can be found, and then it can be judged that there is a deformation state of the sealing ring of the electrical connector.
较佳地,所述控制模块还包括:Preferably, the control module also includes:
划分单元,用于将所述目标图像中的所述电连接器密封圈按边缘方向划分为若干像素区间;A division unit, configured to divide the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
所述获取单元用于获取每个所述像素区间对应的至少一个边缘像素点,以获取所述电连接器密封圈对应的边缘像素点参数。The acquiring unit is configured to acquire at least one edge pixel point corresponding to each of the pixel intervals, so as to acquire edge pixel point parameters corresponding to the electrical connector sealing ring.
通过在电连接器密封圈图像进行边缘分段,并按分段结果选择部分像素点进行抽样检测,能够在保证检测结果准确性的同时,降低检测过程的运算量,从而兼顾了检测效率,从而通过缩短检测时间使本发明的应用场景设置更为灵活。By performing edge segmentation on the image of the sealing ring of the electrical connector, and selecting some pixels for sampling detection according to the segmentation results, it is possible to reduce the computational load of the detection process while ensuring the accuracy of the detection results, thereby taking into account the detection efficiency. By shortening the detection time, the setting of the application scene of the present invention is more flexible.
较佳地,所述获取单元还用于:Preferably, the acquisition unit is also used for:
获取预设采样点在所述目标图像中的采样点参数;Obtain the sampling point parameters of the preset sampling points in the target image;
所述检测单元还用于:The detection unit is also used for:
根据所述采样点参数和预设采样值的匹配结果,确定所述电连接器密封圈是否为脱落状态。According to the matching result of the sampling point parameter and the preset sampling value, it is determined whether the sealing ring of the electrical connector is in a detached state.
本方案通过从拍摄的电连接器密封圈图像中,获取预设采样点的参数并和预设采样值进行匹配分析,能够根据电连接器密封圈的型号及经验参数针对性地设置预设采样值,进而检测对应型号的电连接器密封圈是否脱落。This program obtains the parameters of the preset sampling points from the captured images of the electrical connector sealing ring and performs matching analysis with the preset sampling values, so that the preset sampling can be set in a targeted manner according to the model and empirical parameters of the electrical connector sealing ring value, and then detect whether the corresponding type of electrical connector sealing ring falls off.
较佳地,所述拍摄装置设置于所述电池包从换电车辆上取下后,转运至电池架的路径上,且位于所述电连接器密封圈对应位置的上方或下方。Preferably, the photographing device is arranged on the path of transferring the battery pack to the battery rack after the battery pack is removed from the battery replacement vehicle, and is located above or below the corresponding position of the electrical connector sealing ring.
本方案通过在电池包由换电车辆上取下后转运至电池架的运送路径上的合理位置设置拍摄装置,能够充分利用整个换电过程中电池包的移动过程进行检测,一方面为检测预留了充裕的时间,另一方面也不会影响到电池包的充换电的进程,兼顾了电连接器密封圈的检查准确性和效率。In this solution, by installing a camera at a reasonable position on the delivery path where the battery pack is removed from the battery exchange vehicle and then transferred to the battery rack, it can make full use of the movement process of the battery pack during the entire battery exchange process for detection. Ample time is left, and on the other hand, it will not affect the charging and replacing process of the battery pack, taking into account the accuracy and efficiency of the inspection of the electrical connector sealing ring.
较佳地,所述图像检测系统还包括光源装置,所述光源装置和所述控制模块通信连接;Preferably, the image detection system further includes a light source device, and the light source device is communicatively connected to the control module;
所述光源装置设置于转运所述电池包的穿梭车上或设置于所述穿梭车的转运路径上、且与所述电连接器密封圈的位置相对应;The light source device is arranged on the shuttle car that transfers the battery pack or on the transfer path of the shuttle car, and corresponds to the position of the electrical connector sealing ring;
所述控制模块还用于当所述拍摄装置采集所述目标图像时,控制所述光源装置提供光照。The control module is further configured to control the light source device to provide illumination when the photographing device captures the target image.
本方案通过设置光源装置和拍摄装置配合使用,能够使得拍摄到的电连接器的密封圈图像清晰, 边缘像素点的识别度更高,从而有利于提高边缘像素点的检测精度。In this solution, by setting the light source device and the photographing device together, the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher, thereby helping to improve the detection accuracy of the edge pixels.
较佳地,所述电连接器密封圈位于所述光源装置和所述拍摄装置之间;所述光源装置设置于所述电连接器密封圈的上方或下方,且提供朝向所述电连接器密封圈方向的光照。Preferably, the sealing ring of the electrical connector is located between the light source device and the photographing device; the light source device is arranged above or below the sealing ring of the electrical connector, and provides a Lighting from the direction of the sealing ring.
本方案将光源装置根据电连接器密封圈的位置进行合理地对应设置,通过提高环境光照强度使拍摄的图像具有更好的像素质量,从而能够为图像处理提供更可靠的依据,并且当电连接器密封圈位于光源装置和拍摄装置之间时,能够起到背光源的效果,增加图像的边缘清晰度。In this solution, the light source device is reasonably set according to the position of the sealing ring of the electrical connector, and the captured image has better pixel quality by increasing the ambient light intensity, thereby providing a more reliable basis for image processing, and when the electrical connection When the seal ring is located between the light source device and the photographing device, it can function as a backlight source and increase the edge definition of the image.
本发明还提供了一种电池包的电连接器密封圈的图像检测方法,包括如下步骤:The present invention also provides an image detection method for the sealing ring of the electrical connector of the battery pack, comprising the following steps:
采集目标图像;所述目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;Collecting a target image; the target image includes at least an image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery replacement vehicle;
获取所述目标图像,并根据所述目标图像判断所述电连接器密封圈的状态是否正常。Acquiring the target image, and judging whether the state of the sealing ring of the electrical connector is normal according to the target image.
本方案充分利用车辆换电时电池包被从换电车辆取下进行充电的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人车安全。This solution makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced. By taking images and performing targeted image detection combined with the characteristics of the electrical connector sealing ring, it is possible to timely and accurately detect the sealing of the electrical connector. The problems that may exist in the battery pack can be detected, so as to provide a basis for further maintenance or replacement of battery packs, and timely and efficient detection of potential safety hazards of battery replacement vehicles to ensure the safety of people and vehicles.
较佳地,根据所述目标图像判断所述电连接器密封圈的状态是否正常的步骤包括:基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数;Preferably, the step of judging whether the state of the sealing ring of the electrical connector is normal according to the target image includes: acquiring edge pixel parameters corresponding to the sealing ring of the electrical connector based on the target image;
检测所述边缘像素点参数是否符合边缘检测条件;若符合,则确定所述电连接器密封圈状态正常;若不符合,则确定所述电连接器密封圈状态异常。Detecting whether the edge pixel point parameters meet the edge detection condition; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
本方案针对电连接器密封圈比较容易产生的形变问题或脱落情况,针对性地采用边缘像素点检测的手段对其状态加以甄别,能够相对准确地判断出电连接器密封圈的状态是否存在异常。This solution aims at the deformation or shedding that is easy to occur in the sealing ring of the electrical connector, and uses the method of edge pixel detection to screen out its state, so that it can relatively accurately determine whether the state of the sealing ring of the electrical connector is abnormal .
较佳地,所述边缘像素点参数包括边缘像素点坐标值;所述边缘检测条件包括坐标差值阈值;所述检测所述边缘像素点参数是否符合边缘检测条件的步骤包括:Preferably, the edge pixel parameters include edge pixel coordinate values; the edge detection condition includes a coordinate difference threshold; the step of detecting whether the edge pixel parameter meets the edge detection condition includes:
检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点;Detecting whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
若存在,则所述边缘像素点坐标值不符合边缘检测条件,所述电池包密封圈为变形状态;若不存在,则所述边缘像素点坐标值符合边缘检测条件。If it exists, the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the battery pack is in a deformed state; if it does not exist, the coordinate value of the edge pixel point meets the edge detection condition.
本方案通过对于边缘像素值的检测,能够发现可能在的边缘凹凸点,进而判断出电连接器密封圈存在变形状态。In this solution, by detecting edge pixel values, possible edge bumps and convex points can be found, and then it can be judged that there is a deformation state of the sealing ring of the electrical connector.
较佳地,所述检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点的步骤之前还包括:Preferably, before the step of detecting whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold, the step further includes:
将所述目标图像中的所述电连接器密封圈按边缘方向划分为若干像素区间;dividing the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
所述检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点的步骤包括:The step of detecting whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold includes:
获取每个所述像素区间对应的至少一个边缘像素点,以获取所述电连接器密封圈对应的边缘像素点参数。Acquiring at least one edge pixel point corresponding to each of the pixel intervals, so as to obtain edge pixel point parameters corresponding to the electrical connector sealing ring.
本方案通过在电连接器密封圈图像进行边缘分段,并按分段结果选择部分像素点进行抽样检测,能够在保证检测结果准确性的同时,降低检测过程的运算量,从而兼顾了检测效率,从而通过缩短检测时间使本发明的应用场景设置更为灵活。This solution performs edge segmentation on the image of the sealing ring of the electrical connector, and selects some pixels for sampling detection according to the segmentation results, which can reduce the computational load of the detection process while ensuring the accuracy of the detection results, thus taking into account the detection efficiency. , so that the setting of the application scene of the present invention is more flexible by shortening the detection time.
较佳地,所述基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数的步骤包括:Preferably, the step of obtaining edge pixel parameters corresponding to the electrical connector sealing ring based on the target image includes:
获取预设采样点在所述目标图像中的采样点参数;Obtain the sampling point parameters of the preset sampling points in the target image;
所述图像检测方法还包括:The image detection method also includes:
根据所述采样点参数和预设采样值的匹配结果,确定所述电连接器密封圈是否为脱落状态。According to the matching result of the sampling point parameter and the preset sampling value, it is determined whether the sealing ring of the electrical connector is in a detached state.
本方案通过从拍摄的电连接器密封圈图像中,获取预设采样点的参数并和预设采样值进行匹配分析,能够根据电连接器密封圈的型号及经验参数针对性地设置预设采样值,进而检测对应型号的电连接器密封圈是否脱落。This program obtains the parameters of the preset sampling points from the captured images of the electrical connector sealing ring and performs matching analysis with the preset sampling values, so that the preset sampling can be set in a targeted manner according to the model and empirical parameters of the electrical connector sealing ring value, and then detect whether the corresponding type of electrical connector sealing ring falls off.
本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的电池包的电连接器密封圈的检测方法。The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for detecting the sealing ring of the electrical connector of the battery pack is implemented.
本实施例的计算机可读存储介质通过运行存储于其上的计算机程序执行电池包的电连接器密封圈的图像检测方法,能够充分利用车辆换电时电池包被从换电车辆取下进行充电的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人车安全。The computer-readable storage medium of this embodiment executes the image detection method of the electrical connector sealing ring of the battery pack by running the computer program stored thereon, and can make full use of the battery pack being removed from the vehicle for charging when the vehicle is replaced. Through the process of taking images and carrying out targeted image detection combined with the characteristics of the electrical connector sealing ring, the possible problems of the electrical connector sealing ring can be found in a timely and accurate manner, which provides a basis for further maintenance or replacement of the battery pack. Timely and efficient detection of potential safety hazards of battery-swapping vehicles to ensure the safety of people and vehicles.
本发明还提供了一种换电站,所述换电站包括换电位、电池架、穿梭车和上述的电池包的电连接器密封圈的图像检测系统,所述穿梭车用于往复穿梭于所述电池架和所述换电位,并将停留在所述换电位的换电车辆的电池包取下后,将所述电池包运至所述电池架;所述图像检测系统的拍摄装置设置于所述穿梭车的转运路径上,且位于所述电连接器密封圈对应位置的上方或下方。The present invention also provides a power exchange station, which includes a power exchange station, a battery rack, a shuttle car, and an image detection system for the sealing ring of the electrical connector of the battery pack, and the shuttle car is used to shuttle back and forth between the battery rack and the battery rack, and after removing the battery pack of the battery swapping vehicle that is staying at the battery rack, transport the battery pack to the battery rack; the imaging device of the image detection system is set on the on the transfer path of the shuttle car, and above or below the corresponding position of the electrical connector sealing ring.
本方案通过在换电站中电池包由换电车辆上取下转运至电池架的运送路径上的合理位置设置拍摄装置,并采用电池包密封圈的图像检测系统对换电的电池包进行相关检测,能够充分利用整个换电过程中电池包的移动过程进行检测,一方面为检测预留了充裕的时间,另一方面也不会影响到电池包的充换电的进程,兼顾了电连接器密封圈的检查准确性和效率。根据拍摄的电池包的电连接器密封圈的图像分析得到其破损程度及损坏部位,并及时将相关信息传递给处置人员,以便在换电过程中进行及时妥善的处置,有助于在第一时间就发现换电车辆的安全隐患,保证人车安全。In this solution, the battery pack is removed from the battery pack in the battery swap station and transferred to the battery rack at a reasonable position on the delivery path to set up a shooting device, and the image detection system of the battery pack sealing ring is used to detect the battery pack for power swapping , can make full use of the moving process of the battery pack during the entire battery replacement process for detection. On the one hand, ample time is reserved for detection, and on the other hand, it will not affect the charging and replacement process of the battery pack, taking into account the electrical connector Inspection accuracy and efficiency of sealing rings. According to the image analysis of the electrical connector sealing ring of the battery pack, the damage degree and damage location can be obtained, and the relevant information will be passed on to the disposal personnel in time, so that timely and proper disposal can be carried out during the battery replacement process, which is helpful for the first time The potential safety hazards of battery replacement vehicles will be discovered within a short period of time to ensure the safety of people and vehicles.
较佳地,所述图像检测系统还包括光源装置,所述光源装置设置于转运所述电池包的穿梭车上,或设置于所述穿梭车的转运路径上,且与所述电连接器密封圈的位置相对应;所述电连接器密封圈位于所述光源装置和所述拍摄装置之间;所述光源装置设置于所述电连接器密封圈的上方或下方,且提供朝向所述电连接器密封圈方向的光照。Preferably, the image detection system further includes a light source device, the light source device is arranged on the shuttle car for transferring the battery pack, or is arranged on the transfer path of the shuttle car, and is sealed with the electrical connector The position of the electrical connector seal ring is corresponding; the electrical connector sealing ring is located between the light source device and the photographing device; the light source device is arranged above or below the electrical connector sealing ring, and provides a Lighting in the direction of the connector seal.
本方案通过设置光源装置和拍摄装置配合使用,能够使得拍摄到的电连接器的密封圈图像清晰,边缘像素点的识别度更高;并通过将光源装置根据电连接器密封圈的位置进行合理地对应设置,通过提高环境光照强度保证拍摄的图像具有更好的像素质量,为图像处理提供更可靠的依据,有利于电池包密封圈的图像检测系统对于电连接器密封圈的检测过程中,提高对于边缘像素点的检测精度,从而进一步增加对于电连接器密封圈检测的准确性。In this scheme, by setting the light source device and the shooting device together, it can make the image of the sealing ring of the electrical connector captured clearly, and the recognition degree of the edge pixels is higher; and by using the light source device according to the position of the electrical connector sealing ring Corresponding to the setting, by increasing the ambient light intensity to ensure that the captured image has better pixel quality, providing a more reliable basis for image processing, which is conducive to the detection process of the battery pack sealing ring image detection system for the electrical connector sealing ring, The detection accuracy of the edge pixels is improved, thereby further increasing the detection accuracy of the sealing ring of the electrical connector.
本发明的积极进步效果在于:本发明提供的电池包的电连接器密封圈的图像检测系统及方法、换电站及存储介质,充分利用车辆换电时电池包被从换电车辆取下进行充电的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人 车安全。The positive and progressive effect of the present invention lies in: the image detection system and method, the power exchange station and the storage medium of the electrical connector sealing ring of the battery pack provided by the present invention fully utilize the battery pack to be removed from the battery exchange vehicle for charging when the vehicle is exchanged. Through the process of taking images and carrying out targeted image detection combined with the characteristics of the electrical connector sealing ring, the possible problems of the electrical connector sealing ring can be found in a timely and accurate manner, which provides a basis for further maintenance or replacement of the battery pack. Timely and efficient detection of potential safety hazards of battery-swapping vehicles to ensure the safety of people and vehicles.
附图说明Description of drawings
图1为本发明实施例1中的电池包的电连接器密封圈的图像检测系统的模块示意图。FIG. 1 is a block diagram of an image detection system for an electrical connector sealing ring of a battery pack in Embodiment 1 of the present invention.
图2为本发明实施例1中一种电池包的示意图。FIG. 2 is a schematic diagram of a battery pack in Embodiment 1 of the present invention.
图3为本发明实施例1中一种电池包的电连接器及其密封圈的示意图。3 is a schematic diagram of an electrical connector of a battery pack and its sealing ring in Embodiment 1 of the present invention.
图4为本发明实施例1中的图像检测系统的边缘检测的示意图。FIG. 4 is a schematic diagram of edge detection of the image detection system in Embodiment 1 of the present invention.
图5为本发明实施例1中的图像检测系统的抽样检测的示意图。FIG. 5 is a schematic diagram of sampling detection of the image detection system in Embodiment 1 of the present invention.
图6为本发明实施例1中的图像检测系统的采样点检测的示意图。FIG. 6 is a schematic diagram of sampling point detection of the image detection system in Embodiment 1 of the present invention.
图7为本发明实施例1中的拍摄装置的安装位置示意图。FIG. 7 is a schematic diagram of the installation position of the photographing device in Embodiment 1 of the present invention.
图8为本发明实施例2中的电池包的电连接器密封圈的图像检测方法的流程图。FIG. 8 is a flow chart of the image detection method for the sealing ring of the electrical connector of the battery pack in Embodiment 2 of the present invention.
图9为本发明实施例2中的电池包的电连接器密封圈的图像检测方法的较佳实施例的流程图。FIG. 9 is a flow chart of a preferred embodiment of the image detection method for the sealing ring of the electrical connector of the battery pack in Embodiment 2 of the present invention.
图10为本发明实施例3中的换电站的组成示意图。Fig. 10 is a schematic diagram of the composition of the power station in Embodiment 3 of the present invention.
具体实施方式Detailed ways
下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.
实施例1Example 1
参见图1所示,本实施例具体提供了一种电池包的电连接器密封圈的图像检测系统,包括拍摄装置1和控制模块2,拍摄装置1和控制模块2通信连接。Referring to FIG. 1 , this embodiment specifically provides an image detection system for a sealing ring of an electrical connector of a battery pack, including a photographing device 1 and a control module 2 , and the photographing device 1 and the control module 2 are connected in communication.
拍摄装置1用于采集目标图像;目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;控制模块2用于获取目标图像,并根据目标图像判断电连接器密封圈的状态是否正常。The photographing device 1 is used to collect the target image; the target image includes at least the image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery swap vehicle; the control module 2 is used to acquire the target image, and judge according to the target image Whether the condition of the sealing ring of the electrical connector is normal.
本实施例中的电连接器包括但不限于连接电池包内的电池组的电路组织结构,通常可设于电池包的端部,电连接器密封圈通常与其贴合设置,用于进行绝缘、防水、防尘及固定等作用。拍摄装置1采集目标图像;由于目标图像用于检测电连接器密封圈的状态是否正常,因此本领域技术人员可以理解,目标图像根据电连接器在电池包上的设置位置予以确定,应至少包括电池包上的电连接器密封圈的图像,当然,当电连接器密封圈脱落的情况下则包括电连接器的图像;即目标图像中可以包括电池包图像的整体或局部。The electrical connector in this embodiment includes but is not limited to the circuit organization structure connecting the battery packs in the battery pack, and can usually be arranged at the end of the battery pack, and the electrical connector sealing ring is usually attached to it for insulation, Waterproof, dustproof and fixed functions. The shooting device 1 collects the target image; since the target image is used to detect whether the state of the sealing ring of the electrical connector is normal, those skilled in the art can understand that the target image is determined according to the position of the electrical connector on the battery pack, and should at least include The image of the sealing ring of the electrical connector on the battery pack, of course, includes the image of the electrical connector when the sealing ring of the electrical connector falls off; that is, the target image may include the whole or part of the image of the battery pack.
图2示出了一种电池包100,图3为该电池包100的局部放大图,其中电连接器200及其密封圈300位于电池包100的端部。本领域技术人员可知,本实施例的检测系统并不受到上述图示中电池包及其电连接器、电连接器密封圈的限定。FIG. 2 shows a battery pack 100 , and FIG. 3 is a partially enlarged view of the battery pack 100 , wherein the electrical connector 200 and its sealing ring 300 are located at the end of the battery pack 100 . Those skilled in the art know that the detection system of this embodiment is not limited by the battery pack, its electrical connector, and the sealing ring of the electrical connector shown in the above illustration.
控制模块2用于获取目标图像,并根据目标图像判断电连接器密封圈的状态是否正常。The control module 2 is used to obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
控制模块2和拍摄装置1通信连接,并从拍摄装置1获取目标图像后,根据目标图像判断电连接器密封圈的状态,本领域技术人员可以理解,电连接器密封圈的一种常见故障是从电池包的电连接器密封口处脱落,从而会导致电连接器乃至整个电池包失去相应的保护;另一种常见的故障则是由于密封圈塑性形变而削弱对电连接器的保护。对于上述电连接器密封圈脱落或变形的情况,本实施例中采 用图像检测的方式予以判断,具有较高的准确性和参考价值。The control module 2 communicates with the photographing device 1, and after obtaining the target image from the photographing device 1, judges the state of the sealing ring of the electrical connector according to the target image. Those skilled in the art can understand that a common fault of the sealing ring of the electrical connector is It falls off from the sealing port of the electrical connector of the battery pack, which will cause the electrical connector and even the entire battery pack to lose the corresponding protection; another common fault is that the protection of the electrical connector is weakened due to the plastic deformation of the sealing ring. For the situation that the sealing ring of the electrical connector is detached or deformed, the method of image detection is used in this embodiment to judge, which has high accuracy and reference value.
作为较佳的实施方式,控制模块2包括:As a preferred embodiment, the control module 2 includes:
获取单元21,用于基于目标图像,获取电连接器密封圈对应的边缘像素点参数;检测单元22,用于检测边缘像素点参数是否符合边缘检测条件;若符合,则确定电连接器密封圈状态正常;若不符合,则确定电连接器密封圈状态异常。检测单元22基于获取单元21得到的边缘像素点参数进行判断。像素是用来描述图像信息元素的数据结构,根据拍摄装置1获得的图像结构,可以通过包括但不限于基于RGB颜色编码或YUV颜色编码的图像处理方式来对边缘像素点进行识别检测,即识别图像中的边缘像素点。其中,RGB颜色编码方式将像素分成红、绿、蓝3个子像素(或称为3个分量);YUV颜色编码方式通过亮度和色差来表示颜色,其中亮度指黑-白信号,色度指色彩信号。具体地,YUV颜色编码方式中,边缘像素点参数分为Y(亮度)、UV(色度),色度又被分成两个独立信号存储。当然,对于边缘像素点进行图像处理不限于上述两种方式,可以根据拍摄环境、图像格式、输出结果标准、应用接口等进行灵活选用。The acquisition unit 21 is used to obtain the edge pixel parameters corresponding to the electrical connector sealing ring based on the target image; the detection unit 22 is used to detect whether the edge pixel parameters meet the edge detection conditions; if so, determine the electrical connector sealing ring The state is normal; if not, it is determined that the state of the electrical connector sealing ring is abnormal. The detection unit 22 makes a judgment based on the edge pixel point parameters obtained by the acquisition unit 21 . A pixel is a data structure used to describe image information elements. According to the image structure obtained by the shooting device 1, edge pixel points can be identified and detected through image processing methods including but not limited to RGB color coding or YUV color coding, that is, recognition Edge pixels in the image. Among them, the RGB color coding method divides the pixel into three sub-pixels (or called 3 components) of red, green and blue; the YUV color coding method expresses the color through brightness and color difference, where the brightness refers to the black-white signal, and the chroma refers to the color Signal. Specifically, in the YUV color coding method, the edge pixel parameters are divided into Y (brightness) and UV (chroma), and the chroma is divided into two independent signals for storage. Of course, image processing for edge pixels is not limited to the above two methods, and can be flexibly selected according to shooting environment, image format, output result standard, application interface, etc.
在识别确定像素点的基础上,可以根据像素点的相对位置还原电连接器密封圈的状态,例如是否脱落、变形;或是利用上述获得的边缘像素点的颜色参数来确定其破损程度等,例如通过像素值表征的颜色,判断电连接器裸露在外的程度,进而分析电连接器密封圈变形情况下具体的破损或位移情况。On the basis of identifying and determining the pixels, the state of the electrical connector sealing ring can be restored according to the relative position of the pixels, such as whether it has fallen off or deformed; or the color parameters of the edge pixels obtained above can be used to determine the degree of damage, etc. For example, the degree of exposure of the electrical connector can be judged by the color represented by the pixel value, and then the specific damage or displacement of the electrical connector sealing ring can be analyzed when it is deformed.
本实施方式针对电连接器密封圈比较容易产生的形变问题或脱落情况,针对性地采用边缘像素点检测的手段对其状态加以甄别,能够相对准确地判断出电连接器密封圈的状态是否存在异常。In this embodiment, aiming at the deformation problem or falling off situation that is relatively easy to occur in the sealing ring of the electrical connector, the method of edge pixel point detection is used to screen out its state, and it is possible to relatively accurately determine whether the state of the sealing ring of the electrical connector exists. abnormal.
作为较佳的实施方式,边缘像素点参数包括边缘像素点坐标值;边缘检测条件包括坐标差值阈值;检测单元22具体用于检测是否存在坐标值差值大于坐标差值阈值的两个边缘像素点;若存在,则确定边缘像素点坐标值不符合边缘检测条件,电连接器密封圈为变形状态;若不存在,则确定边缘像素点坐标值符合边缘检测条件。As a preferred embodiment, the edge pixel point parameters include the edge pixel point coordinate value; the edge detection condition includes a coordinate difference threshold; the detection unit 22 is specifically used to detect whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold point; if it exists, it is determined that the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the electrical connector is in a deformed state; if it does not exist, it is determined that the coordinate value of the edge pixel point meets the edge detection condition.
本实施方式提供一种边缘像素点的检测方式,由于边缘像素点能够通过外轮廓反应电连接器密封圈在其设置位置的状态,因此,如果检测到当前的边缘像素点表征的外轮廓与规定的轮廓形状不符,产生一些异常的凸起或凹进,即可认为是产生了变形。参见图4,示出了一个电连接器密封圈检测的具体应用例子,其中A、B两点的坐标值差值大于坐标差值阈值,因此,可以认为A-B部分的电连接器密封圈是存在变形,具体地,坐标值更大的B点为凸出点,则可以认为B点所在位置的密封圈产生了褶皱,凸出了规定位置。This embodiment provides a detection method for edge pixels. Since the edge pixels can reflect the state of the sealing ring of the electrical connector at its setting position through the outer contour, if the outer contour represented by the current edge pixels is detected and the specified The shape of the outline does not match, and some abnormal protrusions or depressions are produced, which can be considered as deformation. Referring to Figure 4, it shows a specific application example of electrical connector seal ring detection, where the difference between the coordinates of points A and B is greater than the coordinate difference threshold, therefore, it can be considered that the seal ring of the electrical connector in part A-B exists Deformation, specifically, point B with a larger coordinate value is a protruding point, then it can be considered that the sealing ring at the position of point B is wrinkled and protrudes from the specified position.
本实施方式通过对于边缘像素值的检测,能够发现可能在的边缘凹凸点,进而判断出电连接器密封圈存在变形状态。In this embodiment, by detecting edge pixel values, possible edge bumps and convexities can be found, and then it can be determined that the sealing ring of the electrical connector is deformed.
作为较佳的实施方式,控制模块2还包括:As a preferred embodiment, the control module 2 also includes:
划分单元23,用于将目标图像中的电连接器密封圈按边缘方向划分为若干像素区间;A division unit 23, configured to divide the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
获取单元21用于获取每个像素区间对应的至少一个边缘像素点,以获取电连接器密封圈对应的边缘像素点参数。The acquiring unit 21 is configured to acquire at least one edge pixel point corresponding to each pixel interval, so as to acquire edge pixel point parameters corresponding to the sealing ring of the electrical connector.
划分单元23在目标图像中通过将电连接器密封圈对应部分图像按其边缘方向划分为若干像素区间,使获取单元21无需获取所有的边缘像素点,而是只需要在合理设置区间跨度的前提下,同样能够获取到足以进行边缘检测的边缘像素点,从而通过在在电连接器密封圈图像进行边缘分段,并按分 段结果选择部分像素点进行抽样检测,在保证检测结果准确性的同时降低检测过程的运算量,兼顾了检测效率,通过缩短检测时间使本实施例的图像检测系统的应用场景更为广泛。例如图5中,通过在划分的n个像素区间内,分别获取其中的像素点进行抽样检测,例如获取了像素点T 1~T n,从而针对上述像素点的检测,既能判断电连接器密封圈的状态,又能相较于基于所有边缘像素点的检测方式大幅减小计算量,从而提高检测效率。 The division unit 23 divides the corresponding portion of the image of the electrical connector sealing ring into several pixel intervals according to its edge direction in the target image, so that the acquisition unit 21 does not need to acquire all the edge pixel points, but only needs to set the interval span reasonably Under the same conditions, it is also possible to obtain enough edge pixels for edge detection, so that by performing edge segmentation on the image of the electrical connector sealing ring, and selecting some pixels for sampling detection according to the segmentation results, while ensuring the accuracy of the detection results At the same time, the calculation amount of the detection process is reduced, and the detection efficiency is taken into consideration. By shortening the detection time, the application scenarios of the image detection system in this embodiment are wider. For example, in Fig. 5, by obtaining the pixels in the divided n pixel intervals for sampling detection, for example, obtaining the pixel points T 1 to T n , so as to detect the above pixel points, it is possible to judge the electrical connector The state of the sealing ring can greatly reduce the amount of calculation compared with the detection method based on all edge pixels, thereby improving the detection efficiency.
作为较佳的实施方式,获取单元21还用于获取预设采样点在目标图像中的采样点参数;检测单元22还用于根据采样点参数和预设采样值的匹配结果,确定电连接器密封圈是否为脱落状态。可以根据电连接器密封圈的型号、统计得到的经验参数等,针对性地设置预设采样值;即在正常状态下电连接器密封圈应具有的形状特征;从而只需要从获取的目标图像中检测若干采样点和预设采样值进行匹配,即可推断出电连接器密封圈的状态。如图6所示,如果电连接器密封圈正常状态下的边缘位置应当为L,实际由于电连接器密封圈已经脱落,导致电连接器的边缘位置处于L’。则通过设置采样点L1~L5的采样点参数进行判断,经包括但不限于上述的图像处理方式获知L1~L5的采样点参数和预设采样值不匹配,从而可确定电连接器密封圈是否为脱落状态。As a preferred embodiment, the acquisition unit 21 is also used to acquire the sampling point parameters of the preset sampling points in the target image; the detection unit 22 is also used to determine the electrical connector according to the matching result of the sampling point parameters and the preset sampling values Whether the sealing ring is falling off. According to the model of the electrical connector sealing ring, the empirical parameters obtained by statistics, etc., the preset sampling value can be set in a targeted manner; that is, the shape characteristics that the electrical connector sealing ring should have under normal conditions; thus only the target image obtained from The state of the sealing ring of the electrical connector can be deduced by detecting several sampling points in the test and matching the preset sampling values. As shown in FIG. 6, if the edge position of the electrical connector sealing ring under normal conditions should be L, in fact, the edge position of the electrical connector is at L' because the electrical connector sealing ring has fallen off. Then judge by setting the sampling point parameters of sampling points L1~L5, and know that the sampling point parameters of L1~L5 do not match the preset sampling values through including but not limited to the above-mentioned image processing methods, so as to determine whether the sealing ring of the electrical connector is is off state.
本实施方式通过从拍摄的电连接器密封圈图像中,获取预设采样点的参数并和预设采样值进行匹配分析进而检测对应型号的电连接器密封圈是否脱落。In this embodiment, the parameter of the preset sampling point is obtained from the photographed image of the sealing ring of the electrical connector, and the parameters of the preset sampling point are matched and analyzed to detect whether the sealing ring of the corresponding type of electrical connector falls off.
作为较佳的实施方式,拍摄装置1设置于电池包从换电车辆上取下后,转运至电池架的路径上,且位于电连接器密封圈对应位置的上方。电池包通常在换电位从换电车辆上被取下,通过穿梭车等传动工具运至预设的电池架等位置进行充电;本实施方式在该运送路径上设置拍摄装置1,容易避开在电池架或换电位等处对于电池包的遮挡,更清楚地进行拍摄。作为一个例子,参见图7所示的换电站场景,换电站设置有换电室50,换电室50两侧紧邻均设有充电室51,电池包在换电室50内的换电位52被从换电车辆上取下后,由穿梭车沿着轨道Q被传运至位于充电室51内的电池架53。图7中示出了穿梭车的行车方向。本领域技术人员可以理解,穿梭车可以根据满仓等情况灵活选择将电池包运往任一充电室51,图7中只是示出了穿梭车向左侧充电室51运行的情况,以此为例描述穿梭车的运行路径。拍摄装置1可以设置于该转运的路径上,具体可以根据轨道Q的长度、间距,以及换电位52和电池架53的实际尺寸来确定拍摄装置1的设置范围,例如图7中示出的电池架53下方的区域,如CM1位置;或换电室50与充电室51之间的(充电室51一侧的)隔板511上,例如CM2位置;或电池架53与隔板511之间区域的天花板上,或电池架53与隔板511之间区域设备下方,当电池架53与隔板511之间区域设置有设备时,例如设于CM3位置。图中的CM1、CM2、CM3仅作为示例。可以理解,在右侧充电室51中的相应设置也可以设置拍摄装置1。同时本领域技术人员可知,拍摄装置1中的拍摄镜头可以由单个或多个构成,如果是多个镜头,则最终的目标图像可通过图片叠加拼接处理得到,且满足上文所述的条件。由于电连接器密封圈通常是贴设于电连接器,因此在电连接器密封圈对应位置的上方设置拍摄装置1,较佳地,设置于正上方且使拍摄方向和电连接器密封圈所处的平面平行,从而使目标图像的能够更好地还原电连接器密封圈的状态。As a preferred embodiment, the photographing device 1 is arranged on the path where the battery pack is transferred to the battery rack after it is removed from the battery exchange vehicle, and is located above the corresponding position of the sealing ring of the electrical connector. The battery pack is usually removed from the battery swapping vehicle at the battery swapping point, and transported to a preset location such as a battery rack for charging by a transmission tool such as a shuttle car; Take pictures more clearly when the battery pack is blocked by the battery rack or the potential replacement. As an example, refer to the scene of the power exchange station shown in FIG. After being removed from the battery replacement vehicle, it is transported to the battery rack 53 located in the charging room 51 along the track Q by the shuttle car. Figure 7 shows the driving direction of the shuttle. Those skilled in the art can understand that the shuttle car can flexibly choose to transport the battery pack to any charging room 51 according to the situation such as full warehouse. Figure 7 only shows the situation that the shuttle car runs to the left charging room 51, and it will be described as an example. The running path of the shuttle. The photographing device 1 can be arranged on the path of the transfer. Specifically, the installation range of the photographing device 1 can be determined according to the length and distance of the track Q, and the actual size of the swapping potential 52 and the battery rack 53, such as the battery shown in FIG. 7 The area below the shelf 53, such as the CM1 position; or the partition 511 between the battery exchange chamber 50 and the charging chamber 51 (on the side of the charging chamber 51), such as the CM2 position; or the area between the battery rack 53 and the partition 511 On the ceiling, or below the equipment in the area between the battery rack 53 and the partition 511, when equipment is installed in the area between the battery rack 53 and the partition 511, for example, it is located at the CM3 position. CM1, CM2, and CM3 in the figure are only examples. It can be understood that the corresponding setting in the right charging chamber 51 can also set the shooting device 1 . At the same time, those skilled in the art know that the shooting lens in the shooting device 1 can be composed of a single lens or multiple lenses. If there are multiple lenses, the final target image can be obtained through image superposition and stitching, and satisfy the above-mentioned conditions. Since the electrical connector sealing ring is usually attached to the electrical connector, the photographing device 1 is arranged above the corresponding position of the electrical connector sealing ring, preferably directly above and so that the photographing direction is the same as that of the electrical connector sealing ring. The planes at the position are parallel, so that the target image can better restore the state of the electrical connector sealing ring.
本实施方式通过在电池包由换电车辆至电池架的运送路径上的合理位置设置拍摄装置,能够充分利用整个换电过程中电池包的移动过程进行检测,一方面为检测预留了充裕的时间,另一方面也不会影响到电池包的充换电的进程,兼顾了电连接器密封圈的检查准确性和效率。In this embodiment, by installing a camera at a reasonable position on the delivery path of the battery pack from the battery replacement vehicle to the battery rack, it can make full use of the movement process of the battery pack during the entire battery replacement process for detection. On the one hand, ample space is reserved for detection. Time, on the other hand, will not affect the process of charging and replacing the battery pack, taking into account the accuracy and efficiency of the inspection of the electrical connector seal.
作为较佳的实施方式,图像检测系统还包括光源装置3,光源装置3和控制模块2通信连接;光源装置3设置于转运电池包的穿梭车上且与电连接器密封圈的位置相对应;控制模块2还用于当拍摄装置1采集目标图像时,控制光源装置3提供光照。As a preferred embodiment, the image detection system also includes a light source device 3, which is communicatively connected to the control module 2; the light source device 3 is arranged on the shuttle car for transferring the battery pack and corresponds to the position of the electrical connector sealing ring; The control module 2 is also used to control the light source device 3 to provide illumination when the photographing device 1 captures the target image.
由于拍摄装置1的工作环境中可能存在光照度不足的情况,导致拍摄到含有电连接器密封圈的目标图像的质量不佳,影响后续的图像检测;因此本实施方式设置光源装置3,以满足拍摄装置1的拍摄要求。具体地,光源装置3的设置位置可以位于转运电池包的穿梭车上;并且光源装置3与电连接器密封圈的位置相应设置,从而保证光照范围覆盖电连接器密封圈。Because there may be insufficient illumination in the working environment of the shooting device 1, the quality of the target image containing the sealing ring of the electrical connector is poor, which affects the subsequent image detection; The shooting requirements of device 1. Specifically, the installation position of the light source device 3 can be located on the shuttle car for transferring the battery pack; and the position of the light source device 3 and the sealing ring of the electrical connector are set correspondingly, so as to ensure that the illumination range covers the sealing ring of the electrical connector.
控制模块2根据拍摄装置1控制光源装置3提供光照配合拍摄。例如根据拍摄装置1的设置位置,在电池包运送接近或移动至设置位置时开启光源装置3,根据拍摄装置1的快门时间设置相应的光照时间长度等。The control module 2 controls the light source device 3 according to the photographing device 1 to provide illumination for photographing. For example, according to the installation position of the photographing device 1 , the light source device 3 is turned on when the battery pack is transported close to or moved to the installation position, and the corresponding illumination time length is set according to the shutter time of the photographing device 1 .
本实施方式通过设置光源装置和拍摄装置配合使用,能够使得拍摄到的电连接器的密封圈图像清晰,边缘像素点的识别度更高,从而有利于提高边缘像素点的检测精度。In this embodiment, by using a light source device and a photographing device together, the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher, which is beneficial to improve the detection accuracy of the edge pixels.
作为较佳的实施方式,电连接器密封圈位于光源装置3和拍摄装置1之间;光源装置3设置于电连接器密封圈的下方,且提供朝向电连接器密封圈方向的光照。As a preferred embodiment, the sealing ring of the electrical connector is located between the light source device 3 and the photographing device 1 ; the light source device 3 is arranged under the sealing ring of the electrical connector, and provides light toward the sealing ring of the electrical connector.
电连接器密封圈位于光源装置3和拍摄装置1之间,这样,光源装置3发出的光源即可通过提高环境光照强度,使拍摄的图像具有更好的像素质量,从而能够为图像处理提供更可靠的依据,并且当电连接器密封圈位于光源装置和拍摄装置之间时,能够起到背光源的效果,增加图像边缘的清晰度。The electrical connector sealing ring is located between the light source device 3 and the photographing device 1. In this way, the light source emitted by the light source device 3 can increase the intensity of ambient light to make the captured image have better pixel quality, thereby providing better image processing. Reliable basis, and when the electrical connector sealing ring is located between the light source device and the camera device, it can play the role of a backlight and increase the definition of the edge of the image.
对于拍摄装置1和光源装置3的设置,在另一个较佳实施例中,可以将拍摄装置设置于电池包从换电车辆上取下后转运至电池架的路径上,且位于电连接器密封圈对应位置的下方,对应的,光源装置3也设置于电池包从换电车辆上取下后转运至电池架的路径上,且与拍摄装置1的设置位置相对应并位于电连接器密封圈的上方,以确保电池在被穿梭车运送过程中,在经过拍摄装置1和光源装置3的设置位置时,正好位于拍摄装置1和光源装置3之间,光源装置3为拍摄装置提供朝向电连接器密封圈方向的光照。这样的设置,同样可以获得上述不影响换电进程、拍摄到清晰的图像等优点。光源装置3的设置同样可参照图7示出的场景及上文对应的说明内容,在确定拍摄装置1设置位置的前提下,光源装置3与拍摄装置1按前述要求进行对应设置即可。Regarding the setting of the photographing device 1 and the light source device 3, in another preferred embodiment, the photographing device can be arranged on the path where the battery pack is removed from the battery replacement vehicle and then transferred to the battery rack, and located at the location where the electrical connector is sealed. Correspondingly, the light source device 3 is also arranged on the path where the battery pack is removed from the battery replacement vehicle and then transferred to the battery rack, and corresponds to the installation position of the camera 1 and is located on the sealing ring of the electrical connector. to ensure that the battery is just positioned between the camera device 1 and the light source device 3 when passing through the installation positions of the camera device 1 and the light source device 3 during transport by the shuttle car, and the light source device 3 provides the camera device with an electrical connection Light from the direction of the seal ring. Such a setting can also obtain the above-mentioned advantages of not affecting the battery replacement process and capturing clear images. The setting of the light source device 3 can also refer to the scene shown in FIG. 7 and the corresponding description above. On the premise that the location of the shooting device 1 is determined, the light source device 3 and the shooting device 1 can be set correspondingly according to the aforementioned requirements.
本实施例的电池包的电连接器密封圈的图像检测系统充分利用车辆换电时电池包被从换电车辆取下进行充电的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人车安全。The image detection system for the sealing ring of the electrical connector of the battery pack in this embodiment makes full use of the process that the battery pack is removed from the vehicle for charging when the vehicle is replaced, by taking images and combining the characteristics of the sealing ring of the electrical connector to detect The comprehensive image detection can timely and accurately find possible problems with the sealing ring of the electrical connector, thus providing a basis for further maintenance or replacement of the battery pack, timely and efficiently discovering potential safety hazards of the battery replacement vehicle, and ensuring the safety of people and vehicles.
实施例2Example 2
参见图8,本实施例具体提供了一种电池包的电连接器密封圈像检测方法,包括步骤:Referring to Fig. 8, this embodiment specifically provides a method for detecting the sealing ring image of the electrical connector of the battery pack, including steps:
S31.采集目标图像;目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;S31. Collect the target image; the target image at least includes an image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery replacement vehicle;
S32.获取目标图像,并根据目标图像判断电连接器密封圈的状态是否正常。S32. Obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
本实施例中的电连接器包括但不限于连接电池包内的电池组的电路组织结构,通常可设于电池包的端部,密封圈通常与其贴合设置,用于进行绝缘、防水、防尘及固定等作用。步骤S31采集目标图 像;由于目标图像用于检测电连接器密封圈的状态是否正常,因此本领域技术人员可以理解,目标图像根据电连接器在电池包上的设置位置予以确定,应至少包括电池包上的电连接器密封圈的图像,当然,当电连接器密封圈脱落的情况下则包括电连接器的图像;即目标图像中可以包括电池包图像的整体或局部。The electrical connector in this embodiment includes but is not limited to the circuit organization structure connecting the battery packs in the battery pack, usually it can be set at the end of the battery pack, and the sealing ring is usually attached to it for insulation, waterproof, waterproof Dust and fixation. Step S31 collects the target image; since the target image is used to detect whether the state of the sealing ring of the electrical connector is normal, those skilled in the art can understand that the target image is determined according to the position of the electrical connector on the battery pack, and should at least include the battery The image of the sealing ring of the electrical connector on the package, of course, includes the image of the electrical connector when the sealing ring of the electrical connector falls off; that is, the whole or part of the image of the battery pack can be included in the target image.
步骤S32用于获取目标图像,并根据目标图像判断电连接器密封圈的状态是否正常。根据目标图像判断电连接器密封圈的状态,本领域技术人员可以理解,电连接器密封圈的一种常见故障是从电池包的电连接器密封口脱落,从而会导致电连接器乃至整个电池包失去相应的保护;另一种常见的故障则是由于密封圈塑性形变而削弱对电连接器的保护。对于上述电连接器密封圈脱落或变形的情况,本实施例中采用图像检测的方式予以判断,具有较高的准确性和参考价值。Step S32 is used to acquire the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image. Judging the state of the electrical connector sealing ring according to the target image, those skilled in the art can understand that a common failure of the electrical connector sealing ring is to fall off from the sealing port of the electrical connector of the battery pack, which will cause the electrical connector and even the entire battery to be damaged. package loses the corresponding protection; another common failure is due to the plastic deformation of the sealing ring, which weakens the protection of the electrical connector. For the above-mentioned situation that the sealing ring of the electrical connector falls off or is deformed, image detection is used in this embodiment to judge, which has high accuracy and reference value.
参见图9,作为较佳的实施方式,步骤S32包括:Referring to FIG. 9, as a preferred implementation manner, step S32 includes:
S321.基于目标图像,获取电连接器密封圈对应的边缘像素点参数;S321. Based on the target image, obtain edge pixel parameters corresponding to the sealing ring of the electrical connector;
S322.检测边缘像素点参数是否符合边缘检测条件;若符合,则确定电连接器密封圈状态正常;若不符合,则确定电连接器密封圈状态异常。S322. Detect whether the edge pixel point parameters meet the edge detection condition; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
步骤S322基于步骤S321获得到的边缘像素点参数进行判断。像素是用来描述图像信息元素的数据结构,根据拍摄装置1获得的图像结构,可以通过包括但不限于基于RGB颜色编码或YUV颜色编码的图像处理方式来对边缘像素点进行识别检测,即识别图像中的边缘像素点。其中,RGB颜色编码方式将像素分成红、绿、蓝3个子像素(或称为3个分量);YUV颜色编码方式通过亮度和色差来表示颜色,其中亮度指黑-白信号,色度指色彩信号。具体地,YUV颜色编码方式中,边缘像素点参数分为Y(亮度)、UV(色度),色度又被分成两个独立信号存储。当然,对于边缘像素点进行图像处理不限于上述两种方式,可以根据拍摄环境、图像格式、输出结果标准、应用接口等进行灵活选用。Step S322 judges based on the edge pixel point parameters obtained in step S321. A pixel is a data structure used to describe image information elements. According to the image structure obtained by the shooting device 1, edge pixel points can be identified and detected through image processing methods including but not limited to RGB color coding or YUV color coding, that is, recognition Edge pixels in the image. Among them, the RGB color coding method divides the pixel into three sub-pixels (or called 3 components) of red, green and blue; the YUV color coding method expresses the color through brightness and color difference, where the brightness refers to the black-white signal, and the chroma refers to the color Signal. Specifically, in the YUV color coding method, the edge pixel parameters are divided into Y (brightness) and UV (chroma), and the chroma is divided into two independent signals for storage. Of course, image processing for edge pixels is not limited to the above two methods, and can be flexibly selected according to shooting environment, image format, output result standard, application interface, etc.
在识别确定像素点的基础上,可以根据像素点的相对位置还原电连接器密封圈的状态,例如是否脱落、变形;或是利用上述获得的边缘像素点的颜色参数来确定其破损程度等,例如通过像素值表征的颜色,判断电连接器裸露在外的程度,进而分析电连接器密封圈变形情况下具体的破损或位移情况。On the basis of identifying and determining the pixels, the state of the electrical connector sealing ring can be restored according to the relative position of the pixels, such as whether it has fallen off or deformed; or the color parameters of the edge pixels obtained above can be used to determine the degree of damage, etc. For example, the degree of exposure of the electrical connector can be judged by the color represented by the pixel value, and then the specific damage or displacement of the electrical connector sealing ring can be analyzed when it is deformed.
本实施方式针对电连接器密封圈比较容易产生的形变问题或脱落情况,针对性地采用边缘像素点检测的手段对其状态加以甄别,能够相对准确地判断出电连接器密封圈的状态是否存在异常。In this embodiment, aiming at the deformation problem or falling off situation that is relatively easy to occur in the sealing ring of the electrical connector, the method of edge pixel point detection is used to screen out its state, and it is possible to relatively accurately determine whether the state of the sealing ring of the electrical connector exists. abnormal.
作为较佳的实施方式,边缘像素点参数包括边缘像素点坐标值;边缘检测条件包括坐标差值阈值;步骤S322包括:As a preferred embodiment, the edge pixel point parameters include edge pixel point coordinate values; the edge detection condition includes a coordinate difference threshold; step S322 includes:
S3221.检测是否存在坐标值差值大于坐标差值阈值的两个边缘像素点;S3221. Detect whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
S3222.若存在,则边缘像素点坐标值不符合边缘检测条件,电池包密封圈为变形状态;若不存在,则边缘像素点坐标值符合边缘检测条件。S3222. If it exists, the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the battery pack is in a deformed state; if it does not exist, the coordinate value of the edge pixel point meets the edge detection condition.
本实施方式提供一种边缘像素点的检测方式,由于边缘像素点能够通过外轮廓反应电连接器密封圈在其设置位置的状态,因此,如果检测到当前的边缘像素点表征的外轮廓与规定的轮廓形状不符,产生一些异常的凸起或凹进,即可认为是产生了变形。参见图4,示出了一个电连接器密封圈检测的具体应用例子,其中A、B两点的坐标值差值大于坐标差值阈值,因此,可以认为A-B部分的电连接器密封圈是存在变形,具体地,坐标值更大的B点为凸出点,则可以认为B点所在位置的密封圈产生了褶皱,凸出了规定位置。This embodiment provides a detection method for edge pixels. Since the edge pixels can reflect the state of the sealing ring of the electrical connector at its setting position through the outer contour, if the outer contour represented by the current edge pixels is detected and the specified The shape of the outline does not match, and some abnormal protrusions or depressions are produced, which can be considered as deformation. Referring to Figure 4, it shows a specific application example of electrical connector seal ring detection, where the difference between the coordinates of points A and B is greater than the coordinate difference threshold, therefore, it can be considered that the seal ring of the electrical connector in part A-B exists Deformation, specifically, point B with a larger coordinate value is a protruding point, then it can be considered that the sealing ring at the position of point B is wrinkled and protrudes from the specified position.
本实施方式通过对于边缘像素值的检测,能够发现可能在的边缘凹凸点,进而判断出电连接器密封圈存在变形状态。In this embodiment, by detecting edge pixel values, possible edge bumps and convexities can be found, and then it can be determined that the sealing ring of the electrical connector is deformed.
作为较佳的实施方式,步骤S3221之前还包括步骤S3220,步骤S3220将目标图像中的电连接器密封圈按边缘方向划分为若干像素区间;As a preferred implementation manner, before step S3221, step S3220 is also included, and step S3220 divides the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
步骤S3221包括:获取每个像素区间对应的至少一个边缘像素点,以获取电连接器密封圈对应的边缘像素点参数。Step S3221 includes: obtaining at least one edge pixel point corresponding to each pixel interval, so as to obtain edge pixel point parameters corresponding to the sealing ring of the electrical connector.
参见图5,步骤S3220在目标图像中通过将电连接器密封圈对应部分图像按其边缘方向划分为若干像素区间,使步骤S3221执行时,无需获取所有的边缘像素点,而是只需要在合理设置区间跨度的前提下,同样能够获取到足以进行边缘检测的边缘像素点,从而通过在电连接器密封圈图像进行边缘分段,并按分段结果选择部分像素点进行抽样检测,在保证检测结果准确性的同时降低检测过程的运算量,兼顾了检测效率,通过缩短检测时间使本实施例的图像检测方法的应用场景更为广泛。Referring to Fig. 5, in step S3220, in the target image, the corresponding portion of the image of the electrical connector sealing ring is divided into several pixel intervals according to its edge direction, so that when step S3221 is executed, it is not necessary to obtain all the edge pixels, but only need to be within a reasonable Under the premise of setting the interval span, it is also possible to obtain enough edge pixels for edge detection, so that by performing edge segmentation on the image of the electrical connector sealing ring, and selecting some pixels for sampling detection according to the segmentation results, the detection is guaranteed. While the accuracy of the result is reduced, the calculation load of the detection process is reduced, and the detection efficiency is taken into account. By shortening the detection time, the application scenarios of the image detection method in this embodiment are wider.
作为较佳的实施方式,步骤S321包括:获取预设采样点在目标图像中的采样点参数;图像检测方法还包括:根据采样点参数和预设采样值的匹配结果,确定电连接器密封圈是否为脱落状态。As a preferred implementation, step S321 includes: obtaining the sampling point parameters of the preset sampling points in the target image; the image detection method further includes: determining the sealing ring of the electrical connector according to the matching result of the sampling point parameters and the preset sampling values Whether it is off state.
参见图6,可以根据电连接器密封圈的型号、统计得到的经验参数等,针对性地设置预设采样值;即在正常状态下电连接器密封圈应具有的形状特征;从而只需要从获取的目标图像中检测若干采样点和预设采样值进行匹配,即可推断出电连接器密封圈的状态。如图6中所示,如果电连接器密封圈正常状态下的边缘位置应当为L,实际由于电连接器密封圈已经脱落,导致电连接器的边缘位置处于L’。则通过设置采样点L1~L5的采样点参数进行判断,经包括但不限于上述的图像处理方式获知L1~L5的采样点参数和预设采样值不匹配,从而可确定电连接器密封圈是否为脱落状态。Referring to Figure 6, preset sampling values can be set in a targeted manner according to the model of the electrical connector sealing ring and empirical parameters obtained through statistics; that is, the shape characteristics that the electrical connector sealing ring should have under normal conditions; The state of the sealing ring of the electrical connector can be deduced by detecting several sampling points in the acquired target image and matching the preset sampling values. As shown in FIG. 6, if the edge position of the electrical connector sealing ring in a normal state should be L, in fact, the edge position of the electrical connector is at L' because the electrical connector sealing ring has fallen off. Then judge by setting the sampling point parameters of sampling points L1~L5, and know that the sampling point parameters of L1~L5 do not match the preset sampling values through including but not limited to the above-mentioned image processing methods, so as to determine whether the sealing ring of the electrical connector is is off state.
本实施方式通过从拍摄的电连接器密封圈所对应区域的图像中,获取预设采样点的参数并和预设采样值进行匹配分析进而检测对应型号的电连接器密封圈是否脱落。In this embodiment, the parameter of the preset sampling point is obtained from the captured image of the area corresponding to the sealing ring of the electrical connector, and the matching analysis is performed with the preset sampling value to detect whether the sealing ring of the corresponding type of electrical connector is detached.
本实施例的电池包的电连接器密封圈的图像检测方法充分利用车辆换电时电池包被从换电车辆取下转运至电池架的过程,通过拍摄图像,并结合电连接器密封圈特性进行针对性的图像检测,能够及时准确地发现电连接器密封圈可能存在的问题,从而为进一步采取检修或更换电池包提供了依据,及时高效地发现换电车辆的安全隐患,保证人车安全。The image detection method for the sealing ring of the electrical connector of the battery pack in this embodiment makes full use of the process that the battery pack is removed from the battery replacement vehicle and transferred to the battery rack when the vehicle is replaced, by taking images and combining the characteristics of the sealing ring of the electrical connector Targeted image detection can timely and accurately discover possible problems with the sealing ring of the electrical connector, thereby providing a basis for further maintenance or replacement of the battery pack, and timely and efficiently discovering potential safety hazards of the battery replacement vehicle to ensure the safety of people and vehicles.
实施例3Example 3
参见图10,本实施例具体提供了一种换电站,换电站包括换电位71、电池架72、穿梭车73和实施例1中的电池包的电连接器密封圈的图像检测系统74,穿梭车73用于往复穿梭于电池架72和换电位71,并将停留在换电位71的换电车辆的电池包取下后,将电池包运至电池架72;图像检测系统的拍摄装置742设置于穿梭车73的转运路径上,且位于电连接器密封圈对应位置的上方。Referring to FIG. 10 , this embodiment specifically provides a battery exchange station, which includes a battery exchange station 71, a battery rack 72, a shuttle car 73, and an image detection system 74 for the electrical connector sealing ring of the battery pack in Embodiment 1. The car 73 is used to reciprocate between the battery rack 72 and the battery exchange 71, and after removing the battery pack of the battery exchange vehicle staying at the battery exchange 71, the battery pack is transported to the battery rack 72; the imaging device 742 of the image detection system is set It is on the transfer path of the shuttle car 73 and above the corresponding position of the sealing ring of the electrical connector.
作为较佳的实施方式,图像检测系统74还包括光源装置741,光源装置741设置于转运电池包的穿梭车73上,且与电连接器密封圈的位置相对应;电连接器密封圈位于光源装置741和图像检测系统的拍摄装置742之间;光源装置741设置于电连接器密封圈的下方,且提供朝向电连接器密封圈方向的光照。本实施方式通过设置光源装置和拍摄装置配合使用,能够使得拍摄到的电连接器的密封圈图像清晰,边缘像素点的识别度更高;并通过将光源装置根据电连接器密封圈的位置进行合理地对应设置,提高环境光照强度,使拍摄得到的图像具有更好的像素质量,从而能够为图像处理提供更可 靠的依据,有利于电池包密封圈的图像检测系统对于电连接器密封圈的检测过程中,提高对于边缘像素点的检测精度,从而进一步增加对于电连接器密封圈检测的准确性。As a preferred embodiment, the image detection system 74 also includes a light source device 741, the light source device 741 is arranged on the shuttle car 73 for transferring the battery pack, and corresponds to the position of the electrical connector sealing ring; the electrical connector sealing ring is located on the light source Between the device 741 and the camera device 742 of the image detection system; the light source device 741 is arranged under the sealing ring of the electrical connector, and provides light toward the sealing ring of the electrical connector. In this embodiment, by setting the light source device in conjunction with the photographing device, the photographed image of the sealing ring of the electrical connector can be clear, and the recognition degree of the edge pixels is higher; and by using the light source device according to the position of the electrical connector sealing ring Reasonably correspond to the setting, increase the intensity of ambient light, and make the captured image have better pixel quality, which can provide a more reliable basis for image processing, and is conducive to the image detection system of the battery pack sealing ring for the electrical connector sealing ring. During the detection process, the detection accuracy of the edge pixels is improved, thereby further increasing the detection accuracy of the sealing ring of the electrical connector.
对于图像检测系统74中的拍摄装置742和光源装置741,可以依据实际使用需求调整安装位置。同时本领域技术人员可知,拍摄装置1中的拍摄镜头可以由单个或多个构成,如果是多个镜头,则最终的目标图像可通过图片叠加拼接处理得到,且满足上文所述的条件。此外,光源装置按上文所述设置即可。当然,本实施例中的拍摄装置742及光源装置741的具体设置位置不限于此。在另一个较佳实施例中,可以将拍摄装置742设置于电池包从换电车辆上取下后转运至电池架的路径上,且位于电连接器密封圈对应位置的下方,对应的,光源装置741也设置于电池包从换电车辆上取下后转运至电池架的路径上,且与拍摄装置的设置位置相对应并位于电连接器密封圈的上方,以确保电池在被穿梭车运送过程中,在经过拍摄装置742和光源装置741的设置位置时,正好位于拍摄装置742和光源装置741之间,光源装置741为拍摄装置742提供朝向电连接器密封圈方向的光照。这样的设置,同样可以获得上述不影响换电进程、拍摄到清晰的图像等优点。For the photographing device 742 and the light source device 741 in the image detection system 74, the installation positions can be adjusted according to actual usage requirements. At the same time, those skilled in the art know that the shooting lens in the shooting device 1 can be composed of a single lens or multiple lenses. If there are multiple lenses, the final target image can be obtained by image superposition and stitching, and satisfy the above-mentioned conditions. In addition, the light source device may be set as described above. Of course, the specific installation positions of the photographing device 742 and the light source device 741 in this embodiment are not limited thereto. In another preferred embodiment, the camera 742 can be set on the path where the battery pack is removed from the battery exchange vehicle and then transferred to the battery rack, and is located below the corresponding position of the electrical connector sealing ring. Correspondingly, the light source The device 741 is also installed on the path where the battery pack is removed from the battery exchange vehicle and then transferred to the battery rack, and it corresponds to the installation position of the camera and is located above the sealing ring of the electrical connector to ensure that the battery pack is transported by the shuttle car. During the process, when passing through the installation positions of the photographing device 742 and the light source device 741, it is just between the photographing device 742 and the light source device 741, and the light source device 741 provides the photographing device 742 with light toward the sealing ring of the electrical connector. Such a setting can also obtain the above-mentioned advantages of not affecting the battery replacement process and capturing clear images.
本实施例中,电池包的电连接器密封圈的图像检测系统74中包括的拍摄装置742以及控制装置的工作原理,以及光源装置741的具体设置方式,均在上述内容中有所介绍,故不再赘述。In this embodiment, the working principles of the imaging device 742 and the control device included in the image detection system 74 of the electrical connector sealing ring of the battery pack, and the specific setting method of the light source device 741 are all introduced in the above content, so No longer.
作为本实施例的一个具体例子,参见图7所示的换电站场景,换电站设置有换电室50,换电室50两侧紧邻均设有充电室51,电池包在换电室50内的换电位52被从换电车辆上取下后,由穿梭车沿着轨道Q被传运至位于充电室51内的电池架53。图7中示出了穿梭车的行车方向。本领域技术人员可以理解,穿梭车可以根据满仓等情况灵活选择将电池包运往任一充电室51,图7中只是示出了穿梭车向左侧充电室51运行的情况,以此为例描述穿梭车的运行路径。拍摄装置1可以设置于该转运的路径上,具体可以根据轨道Q的长度、间距,以及换电位52和电池架53的实际尺寸来确定拍摄装置1的设置范围,例如图7中示出的电池架53下方的区域,如CM1位置;或换电室50与充电室51之间的(充电室51一侧的)隔板511上,例如CM2位置;或电池架53与隔板511之间区域的天花板上,或电池架53与隔板511之间区域设备下方,当电池架53与隔板511之间区域设置有设备时,例如设于CM3位置。图中的CM1、CM2、CM3仅作为示例。可以理解,在右侧充电室51中的相应设置也可以设置拍摄装置1。As a specific example of this embodiment, refer to the scene of the power exchange station shown in FIG. After the battery swapping battery 52 is removed from the battery swapping vehicle, it is transported to the battery rack 53 located in the charging room 51 along the track Q by the shuttle car. Figure 7 shows the driving direction of the shuttle. Those skilled in the art can understand that the shuttle car can flexibly choose to transport the battery pack to any charging room 51 according to the situation such as full warehouse. Figure 7 only shows the situation that the shuttle car runs to the left charging room 51, and it will be described as an example. The running path of the shuttle. The photographing device 1 can be arranged on the path of the transfer. Specifically, the installation range of the photographing device 1 can be determined according to the length and distance of the track Q, and the actual size of the swapping potential 52 and the battery rack 53, such as the battery shown in FIG. 7 The area below the frame 53, such as the CM1 position; or the partition 511 between the battery exchange chamber 50 and the charging chamber 51 (on the side of the charging chamber 51), such as the CM2 position; or the area between the battery rack 53 and the partition 511 On the ceiling, or below the equipment in the area between the battery rack 53 and the partition 511, when equipment is installed in the area between the battery rack 53 and the partition 511, for example, it is located at the CM3 position. CM1, CM2, and CM3 in the figure are only examples. It can be understood that the corresponding setting in the charging chamber 51 on the right side can also set the photographing device 1 .
本实施例的换电站通过在换电站中电池包由换电车辆至电池架的运送路径上的合理位置设置拍摄装置,并采用电池包密封圈的图像检测系统对换电的电池包进行相关检测,能够充分利用整个换电过程中电池包的移动过程进行检测,一方面为检测预留了充裕的时间,另一方面也不会影响到电池包的充换电的进程,兼顾了电连接器密封圈的检查准确性和效率。根据拍摄的电池包的电连接器密封圈的图像分析得到其破损程度及损坏部位,并及时将相关信息传递给处置人员,以便在换电过程中进行及时妥善的处置,有助于在第一时间就发现换电车辆的安全隐患,保证人车安全。In the battery swap station of this embodiment, a camera is installed at a reasonable position on the transport path of the battery pack from the battery swap vehicle to the battery rack in the swap station, and the image detection system of the battery pack sealing ring is used to perform related detection on the battery pack for battery swap , can make full use of the moving process of the battery pack during the entire battery replacement process for detection. On the one hand, ample time is reserved for detection, and on the other hand, it will not affect the charging and replacement process of the battery pack, taking into account the electrical connector Inspection accuracy and efficiency of sealing rings. According to the image analysis of the electrical connector sealing ring of the battery pack, the damage degree and damage location can be obtained, and the relevant information will be passed on to the disposal personnel in time, so that timely and proper disposal can be carried out during the battery replacement process, which is helpful for the first time The potential safety hazards of battery replacement vehicles will be discovered within a short period of time to ensure the safety of people and vehicles.
实施例4Example 4
本实施例提供了一种计算机可读存储介质,其上存储有计算机程序,程序被处理器执行时实现实施例2中的电池包的电连接器密封圈的图像检测方法中。This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the image detection method for the electrical connector sealing ring of the battery pack in Embodiment 2 is implemented.
其中,可读存储介质可以采用的更具体可以包括但不限于:便携式盘、硬盘、随机存取存储器、只读存储器、可擦拭可编程只读存储器、光存储器件、磁存储器件或上述的任意合适的组合。Wherein, the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.
在可能的实施方式中,本发明还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行实现实施例2中的电池包的电连接器密封圈的图像检测方法中。In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute the battery in Embodiment 2. In the image detection method of the electrical connector sealing ring of the package.
其中,可以以一种或多种程序设计语言的任意组合来编写用于执行本发明的程序代码,程序代码可以完全地在用户设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户设备上部分在远程设备上执行或完全在远程设备上执行。Wherein, the program code for executing the present invention may be written in any combination of one or more programming languages, and the program code may be completely executed on the user equipment, partially executed on the user equipment, or used as an independent software Package execution, partly on the user device and partly on the remote device, or entirely on the remote device.
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。Although the specific implementation of the present invention has been described above, those skilled in the art should understand that this is only an example, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principle and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims (16)

  1. 一种电池包的电连接器密封圈的图像检测系统,其特征在于,所述图像检测系统包括拍摄装置和控制模块,所述拍摄装置和所述控制模块通信连接;An image detection system for a sealing ring of an electrical connector of a battery pack, wherein the image detection system includes a photographing device and a control module, and the photographing device and the control module are connected in communication;
    所述拍摄装置用于采集目标图像;所述目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;The photographing device is used to collect target images; the target images at least include images of the corresponding area of the electrical connector sealing ring on the battery pack removed from the battery swap vehicle;
    所述控制模块用于获取所述目标图像,并根据所述目标图像判断所述电连接器密封圈的状态是否正常。The control module is used to obtain the target image, and judge whether the state of the sealing ring of the electrical connector is normal according to the target image.
  2. 如权利要求1所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述控制模块包括:The image detection system of the electrical connector sealing ring of the battery pack according to claim 1, wherein the control module comprises:
    获取单元,用于基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数;An acquisition unit, configured to acquire edge pixel parameters corresponding to the electrical connector sealing ring based on the target image;
    检测单元,用于检测所述边缘像素点参数是否符合边缘检测条件;若符合,则确定所述电连接器密封圈状态正常;若不符合,则确定所述电连接器密封圈状态异常。The detection unit is used to detect whether the edge pixel point parameters meet the edge detection conditions; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
  3. 如权利要求2所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述边缘像素点参数包括边缘像素点坐标值;所述边缘检测条件包括坐标差值阈值;The image detection system of the electrical connector sealing ring of the battery pack according to claim 2, wherein the edge pixel parameters include edge pixel coordinate values; the edge detection conditions include a coordinate difference threshold;
    所述检测单元具体用于检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点;The detection unit is specifically used to detect whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
    若存在,则确定所述边缘像素点坐标值不符合边缘检测条件,所述电连接器密封圈为变形状态;若不存在,则确定所述边缘像素点坐标值符合边缘检测条件。If it exists, it is determined that the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the electrical connector is in a deformed state; if it does not exist, it is determined that the coordinate value of the edge pixel point meets the edge detection condition.
  4. 如权利要求3所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述控制模块还包括:The image detection system of the electrical connector sealing ring of the battery pack according to claim 3, wherein the control module further comprises:
    划分单元,用于将所述目标图像中的所述电连接器密封圈按边缘方向划分为若干像素区间;A division unit, configured to divide the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
    所述获取单元用于获取每个所述像素区间对应的至少一个边缘像素点,以获取所述电连接器密封圈对应的边缘像素点参数。The acquiring unit is configured to acquire at least one edge pixel point corresponding to each of the pixel intervals, so as to acquire edge pixel point parameters corresponding to the electrical connector sealing ring.
  5. 如权利要求2所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述获取单元还用于:The image detection system of the electrical connector sealing ring of the battery pack according to claim 2, wherein the acquisition unit is also used for:
    获取预设采样点在所述目标图像中的采样点参数;Obtain the sampling point parameters of the preset sampling points in the target image;
    所述检测单元还用于:The detection unit is also used for:
    根据所述采样点参数和预设采样值的匹配结果,确定所述电连接器密封圈是否为脱落状态。According to the matching result of the sampling point parameter and the preset sampling value, it is determined whether the sealing ring of the electrical connector is in a detached state.
  6. 如权利要求1所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述拍摄装置设置于所述电池包从换电车辆上取下后,转运至电池架的路径上,且位于所述电连接器密封圈对应位置的上方或下方。The image detection system for the sealing ring of the electrical connector of the battery pack according to claim 1, wherein the photographing device is arranged on the path where the battery pack is transferred to the battery rack after it is removed from the battery replacement vehicle , and located above or below the corresponding position of the sealing ring of the electrical connector.
  7. 如权利要求1所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述图像检测系统还包括光源装置,所述光源装置和所述控制模块通信连接;The image detection system for the sealing ring of the electrical connector of the battery pack according to claim 1, wherein the image detection system further comprises a light source device, and the light source device is connected to the control module in communication;
    所述光源装置设置于转运所述电池包的穿梭车上或设置于所述穿梭车的转运路径上、且与所述电连接器密封圈的位置相对应;The light source device is arranged on the shuttle car that transfers the battery pack or on the transfer path of the shuttle car, and corresponds to the position of the electrical connector sealing ring;
    所述控制模块还用于当所述拍摄装置采集所述目标图像时,控制所述光源装置提供光照。The control module is further configured to control the light source device to provide illumination when the photographing device captures the target image.
  8. 如权利要求7所述的电池包的电连接器密封圈的图像检测系统,其特征在于,所述电连接器密封圈位于所述光源装置和所述拍摄装置之间;所述光源装置设置于所述电连接器密封圈的上方或下方,且提供朝向所述电连接器密封圈方向的光照。The image detection system for the sealing ring of the electrical connector of the battery pack according to claim 7, wherein the sealing ring of the electrical connector is located between the light source device and the photographing device; the light source device is arranged on above or below the sealing ring of the electrical connector, and provide light toward the sealing ring of the electrical connector.
  9. 一种电池包的电连接器密封圈的图像检测方法,其特征在于,包括如下步骤:An image detection method for an electrical connector sealing ring of a battery pack, comprising the steps of:
    采集目标图像;所述目标图像至少包括从换电车辆上取下的电池包上的电连接器密封圈所对应区域的图像;Collecting a target image; the target image includes at least an image of the area corresponding to the electrical connector sealing ring on the battery pack removed from the battery replacement vehicle;
    获取所述目标图像,并根据所述目标图像判断所述电连接器密封圈的状态是否正常。Acquiring the target image, and judging whether the state of the sealing ring of the electrical connector is normal according to the target image.
  10. 如权利要求9所述的电池包的电连接器密封圈的图像检测方法,其特征在于,根据所述目标图像判断所述电连接器密封圈的状态是否正常的步骤包括:基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数;The image detection method for the sealing ring of the electrical connector of the battery pack according to claim 9, wherein the step of judging whether the state of the sealing ring of the electrical connector is normal according to the target image comprises: based on the target image , obtaining the edge pixel point parameters corresponding to the electrical connector sealing ring;
    检测所述边缘像素点参数是否符合边缘检测条件;若符合,则确定所述电连接器密封圈状态正常;若不符合,则确定所述电连接器密封圈状态异常。Detecting whether the edge pixel point parameters meet the edge detection condition; if yes, determine that the state of the electrical connector sealing ring is normal; if not, determine that the state of the electrical connector sealing ring is abnormal.
  11. 如权利要求10所述的电池包的电连接器密封圈的图像检测方法,其特征在于,所述边缘像素点参数包括边缘像素点坐标值;所述边缘检测条件包括坐标差值阈值;所述检测所述边缘像素点参数是否符合边缘检测条件的步骤包括:The image detection method of the electrical connector sealing ring of the battery pack according to claim 10, wherein the edge pixel parameters include edge pixel coordinate values; the edge detection conditions include a coordinate difference threshold; The step of detecting whether the edge pixel point parameters meet the edge detection conditions includes:
    检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点;Detecting whether there are two edge pixel points whose coordinate value difference is greater than the coordinate difference threshold;
    若存在,则所述边缘像素点坐标值不符合边缘检测条件,所述电池包密封圈为变形状态;若不存在,则所述边缘像素点坐标值符合边缘检测条件。If it exists, the coordinate value of the edge pixel point does not meet the edge detection condition, and the sealing ring of the battery pack is in a deformed state; if it does not exist, the coordinate value of the edge pixel point meets the edge detection condition.
  12. 如权利要求11所述的电池包的电连接器密封圈的图像检测方法,其特征在于,所述检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点的步骤之前还包括:The image detection method for the sealing ring of the electrical connector of the battery pack according to claim 11, characterized in that, before the step of detecting whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold include:
    将所述目标图像中的所述电连接器密封圈按边缘方向划分为若干像素区间;dividing the electrical connector sealing ring in the target image into several pixel intervals according to the edge direction;
    所述检测是否存在坐标值差值大于所述坐标差值阈值的两个边缘像素点的步骤包括:The step of detecting whether there are two edge pixels whose coordinate value difference is greater than the coordinate difference threshold includes:
    获取每个所述像素区间对应的至少一个边缘像素点,以获取所述电连接器密封圈对应的边缘像素点参数。Acquiring at least one edge pixel point corresponding to each of the pixel intervals, so as to obtain edge pixel point parameters corresponding to the electrical connector sealing ring.
  13. 如权利要求10所述的电池包的电连接器密封圈的图像检测方法,其特征在于,所述基于所述目标图像,获取所述电连接器密封圈对应的边缘像素点参数的步骤包括:The image detection method for the sealing ring of the electrical connector of the battery pack according to claim 10, wherein the step of acquiring edge pixel parameters corresponding to the sealing ring of the electrical connector based on the target image comprises:
    获取预设采样点在所述目标图像中的采样点参数;Obtain the sampling point parameters of the preset sampling points in the target image;
    所述图像检测方法还包括:The image detection method also includes:
    根据所述采样点参数和预设采样值的匹配结果,确定所述电连接器密封圈是否为脱落状态。According to the matching result of the sampling point parameter and the preset sampling value, it is determined whether the sealing ring of the electrical connector is in a detached state.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求9~13中任一项所述的电池包的电连接器密封圈的检测方法。A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the sealing ring of the electrical connector of the battery pack according to any one of claims 9-13 is realized. Detection method.
  15. 一种换电站,其特征在于,所述换电站包括换电位、电池架、穿梭车和权利要求1-8中任一项所述的电池包的电连接器密封圈的图像检测系统,所述穿梭车用于往复穿梭于所述电池架和所述换电位,并将停留在所述换电位的换电车辆的电池包取下后,将所述电池包运至所述电池架;所述图像检测系统的拍摄装置设置于所述穿梭车的转运路径上,且位于所述电连接器密封圈对应位置的上方或下方。A power exchange station, characterized in that the power exchange station includes a power exchange station, a battery rack, a shuttle, and an image detection system for the electrical connector sealing ring of the battery pack according to any one of claims 1-8, the The shuttle car is used to reciprocate between the battery rack and the battery exchange station, and after removing the battery pack of the battery exchange vehicle staying at the battery exchange station, transport the battery pack to the battery rack; The photographing device of the image detection system is arranged on the transfer path of the shuttle, and is located above or below the corresponding position of the sealing ring of the electrical connector.
  16. 如权利要求15所述的换电站,其特征在于,所述图像检测系统还包括光源装置,所述光源装置设置于转运所述电池包的穿梭车上,或设置于所述穿梭车的转运路径上,且与所述电连接器密封圈的位置相对应;所述电连接器密封圈位于所述光源装置和所述拍摄装置之间;所述光源装置设置于所述电连接器密封圈的上方或下方,且提供朝向所述电连接器密封圈方向的光照。The battery swapping station according to claim 15, wherein the image detection system further comprises a light source device, the light source device is arranged on the shuttle car for transferring the battery pack, or is arranged on the transfer path of the shuttle car above, and corresponding to the position of the electrical connector sealing ring; the electrical connector sealing ring is located between the light source device and the photographing device; the light source device is arranged on the electrical connector sealing ring above or below, and provide light toward the direction of the electrical connector sealing ring.
PCT/CN2022/138318 2021-12-14 2022-12-12 Image detection system and method for electrical connector sealing ring of battery pack, and battery swapping station WO2023109735A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111530853.2A CN116266346A (en) 2021-12-14 2021-12-14 Image detection system and method for electric connector sealing ring of battery pack and battery replacement station
CN202111530853.2 2021-12-14

Publications (1)

Publication Number Publication Date
WO2023109735A1 true WO2023109735A1 (en) 2023-06-22

Family

ID=86742754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/138318 WO2023109735A1 (en) 2021-12-14 2022-12-12 Image detection system and method for electrical connector sealing ring of battery pack, and battery swapping station

Country Status (2)

Country Link
CN (1) CN116266346A (en)
WO (1) WO2023109735A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000146856A (en) * 1998-11-13 2000-05-26 Mitsubishi Cable Ind Ltd Method for inspecting annular rubber seal member
CN109671082A (en) * 2018-12-26 2019-04-23 广东嘉铭智能科技有限公司 A kind of sealing ring detection method, device, equipment and computer readable storage medium
CN110774934A (en) * 2018-07-27 2020-02-11 奥动新能源汽车科技有限公司 Visual analysis system and method applied to vehicle battery replacement
CN111384315A (en) * 2018-12-29 2020-07-07 奥动新能源汽车科技有限公司 Quick-change connector for electric connector and battery pack of electric vehicle
CN113295697A (en) * 2021-04-14 2021-08-24 蔚来汽车科技(安徽)有限公司 Battery replacement detection method for battery replacement station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000146856A (en) * 1998-11-13 2000-05-26 Mitsubishi Cable Ind Ltd Method for inspecting annular rubber seal member
CN110774934A (en) * 2018-07-27 2020-02-11 奥动新能源汽车科技有限公司 Visual analysis system and method applied to vehicle battery replacement
CN109671082A (en) * 2018-12-26 2019-04-23 广东嘉铭智能科技有限公司 A kind of sealing ring detection method, device, equipment and computer readable storage medium
CN111384315A (en) * 2018-12-29 2020-07-07 奥动新能源汽车科技有限公司 Quick-change connector for electric connector and battery pack of electric vehicle
CN113295697A (en) * 2021-04-14 2021-08-24 蔚来汽车科技(安徽)有限公司 Battery replacement detection method for battery replacement station

Also Published As

Publication number Publication date
CN116266346A (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN109269474B (en) Online image detection device and method for train-mounted pantograph running state
CN105979125B (en) A kind of photographic method and system based on screen light filling
CN108716983B (en) Optical element detection method and device, electronic equipment, storage medium
CN100542220C (en) Image processing equipment, image processing method and image capture device
CN104134352A (en) Video vehicle characteristic detection system and detection method based on combination of long exposure and short exposure
CN107404647A (en) Camera lens condition detection method and device
CN108600740A (en) Optical element detection method, device, electronic equipment and storage medium
CN106873789B (en) Projection system
CN109297978B (en) Binocular imaging-based power line unmanned aerial vehicle inspection and defect intelligent diagnosis system
CN109326125B (en) Picture quality diagnosis system and method based on embedded system
CN103546723A (en) Monitoring system and monitoring method
KR102336030B1 (en) Electric vehicle charger fire detection and charger condition prediction system
CN111754440A (en) License plate image enhancement method, system, equipment and storage medium
KR101241803B1 (en) Multi-camera video recording device and method for vehicle using multi-camera system
WO2023109735A1 (en) Image detection system and method for electrical connector sealing ring of battery pack, and battery swapping station
CN114113120A (en) Method, system, equipment and medium for detecting damage to bottom of battery pack
CN109945976A (en) Binocular imaging detection device and detection method
JP6451263B2 (en) Image processing apparatus, image processing system, image processing method, and image processing program
US20040257456A1 (en) Digital camera having nonvolatile memory for storing intermediate data associated with image processing
CN104219233A (en) Aviation maintenance inspection method and electric torch used in aviation maintenance inspection
CN111275124A (en) Transformer respirator detection method, classification model construction method, computer readable medium and transformer respirator monitoring system
CN113031386A (en) Method, apparatus, device and medium for detecting abnormality of dual-filter switcher
CN113691730B (en) Task switching control method and device of camera, medium and electronic equipment
CN211481391U (en) Video camera
CN115150560A (en) Light supplementing system, image acquisition system, method, equipment and storage medium

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: 22906480

Country of ref document: EP

Kind code of ref document: A1