Vehicle visual detection device and detection method
By using a detection frame and multiple detection axes in the vehicle visual inspection device to adjust the position and angle of the image recognition component, the problem of low efficiency in traditional vehicle appearance detection is solved and a more efficient and accurate detection effect is achieved.
Patent Information
- Application Number
- CN202410970168.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-29
AI Technical Summary
Traditional vehicle appearance visual inspection relies on manual labor or collaborative robots and industrial cameras, which is inefficient and costly and cannot meet the quality control needs of the modern automotive industry.
A vehicle visual detection device is designed, which includes a detection frame, multiple detection axes and an image recognition component. The position and angle adjustment of the image recognition component is realized through the driving mechanism and control components to ensure the best shooting of each point of the vehicle.
It improves the efficiency and quality of vehicle appearance inspection, reduces the movement path of the image recognition component, reduces the camera focusing time, extends the service life of the equipment, and saves inspection time.
Smart Images

Figure CN118858291A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle appearance inspection, and in particular relates to a vehicle visual inspection device and inspection method. Background Art
[0002] Cars are a very convenient means of transportation. With the rapid development of science and technology, there are more and more types of cars, and each car includes thousands of parts and components. Therefore, the production and assembly of cars is also a very tedious process. Moreover, based on the different performance and needs of cars, the parts and components used in different cars are also different. In order to ensure the safety performance of the car, the whole car needs to be tested after the assembly is completed.
[0003] Traditional visual inspection of vehicle appearance mainly relies on manual inspection. This inspection method is inefficient, has high labor costs, and is affected by the inspectors' own inspection expertise and inspection status. It is easy to make mistakes during the manual inspection process. This method can no longer meet the quality control needs of the modern automotive industry.
[0004] In order to solve the defects of traditional manual inspection methods, there are inspection methods that use collaborative robots and industrial cameras on the market. However, this method requires the collaborative robot to move frequently for collection and adjust the displacement of the industrial camera to obtain the best shooting point. Due to the large number of inspection points on the car body, the cost of using collaborative robots and industrial cameras is high and the shooting efficiency is low, which seriously affects the efficiency of vehicle appearance inspection. Summary of the invention
[0005] In view of one or more of the above defects or improvement needs in the prior art, the present invention provides a vehicle visual inspection device and a detection method to solve the problem of low efficiency of existing vehicle appearance inspection. To achieve the above object, the present invention provides a vehicle visual detection device, which includes: A detection frame, wherein the detection frame is provided with a detection channel for vehicles to pass along a first direction; The detection frame is provided with a plurality of detection axes along a first direction, and the plurality of detection axes at least include a first detection axis and a second detection axis provided at both sides of the detection channel, and a third detection axis provided above the detection channel; The first detection axis, the second detection axis and the third detection axis are each provided with an image recognition component, and the image recognition component is slidably arranged on the first detection axis, the second detection axis and the third detection axis; The image recognition component includes a driving mechanism, and the driving mechanism is used to drive the image recognition component to swing horizontally or vertically; A control component is communicatively connected with the driving mechanism, and is used to control the position of the image recognition component on each of the detection axes and the swing angles of the image recognition component in the horizontal and vertical directions, so that the lenses of each of the image recognition components can respectively face each shooting point of the vehicle.
[0006] As a further improvement of the present invention, the image recognition component includes a driving mechanism and a shooting component; The driving mechanism comprises a swing arm, a groove space is left on the swing arm, and the shooting assembly is arranged in the groove space; The two ends of the shooting assembly are respectively provided with swing beams, the two swing beams are respectively rotatably connected to the swing arms, a first servo motor is provided between the swing arm and one of the swing beams, and the first servo motor is used to drive the shooting assembly to rotate along the radial direction of the swing beam; The swing arm is provided with a rotating shaft along a direction perpendicular to the swing arm, one end of the rotating shaft is connected to the swing arm, and the other end is sleeved with a mounting flange, and the mounting flange is slidably arranged on the detection shaft; a second servo motor is provided at one end of the rotating shaft connected to the swing arm, and the second servo motor is used to drive the swing arm to rotate radially along the rotating shaft.
[0007] As a further improvement of the present invention, the shooting assembly includes an installation shell, which is connected to the two swing beams; a focusing camera is provided on the installation shell, a circumferential sleeve of the focusing camera is provided with a camera ring light, and a fill light is provided on the installation shell, and the fill light is arranged coplanar with the focusing camera.
[0008] As a further improvement of the present invention, the focus camera includes a mounting plate, and the mounting plate is connected to the mounting housing; The mounting plate is provided with a first mounting hole and a second mounting hole along the thickness direction, a camera is installed in the first mounting hole, and a lens of the camera passes through the first mounting hole and falls on the other side of the mounting plate; A third servo motor is installed in the second mounting hole, and a driving shaft of the third servo motor passes through the second mounting hole and is arranged on the same side as the lens; The outer periphery of the lens is sleeved with a focus gear ring, the driving shaft of the third servo motor is connected with a focus size, and the focus gear is meshed with the focus gear ring.
[0009] As a further improvement of the present invention, at least one rolling positioning shaft is further provided on the side of the focusing gear ring away from the focusing gear, the rolling positioning shaft is provided on the mounting plate, and the rolling positioning shaft rolls against the focusing gear ring.
[0010] The present application also includes a vehicle visual detection method, which is detected by the vehicle visual detection device, and includes the following steps: S1. Obtain the initial position information and moving speed of the vehicle to be inspected, and calculate the time when the vehicle to be inspected enters the area where the detection frame is located; S2, obtaining a first shooting time of the vehicle to be inspected at a first set point, a second shooting time at a second set point, ..., and an Nth shooting time at an Nth set point according to the moving speed of the vehicle to be inspected; S3, control each image recognition component on the first detection axis, the second detection axis, and the third detection axis to move to the Nth shooting position, adjust each image recognition component to the Nth shooting angle, shoot at the Nth shooting time, and obtain the Nth group of detection data, where N is a natural number, and N is determined according to the number of shooting point groups required on the vehicle; S4, obtaining the Nth group of standard test data of the vehicle to be inspected, comparing the difference between the Nth group of test data and the Nth group of standard test data, when the difference between the Nth group of test data and the Nth group of standard test data is less than or equal to a preset threshold, the Nth group of test data is qualified; when the difference between the Nth group of test data and the Nth group of standard test data is greater than the preset threshold, the Nth group of test data is unqualified; S5. When all N groups of test data are qualified, the appearance test of the vehicle to be inspected is qualified; when at least one group of test data among the N groups of test data is unqualified, the appearance test of the vehicle to be inspected is unqualified.
[0011] As a further improvement of the present invention, it also includes tire visual detection, and the detection frame is also provided with a tire image recognition component, and the tire image recognition component is fixedly arranged on the detection frame; The tire visual inspection comprises the following steps: The time for the tire of the vehicle to be inspected to move to the set position is obtained according to the initial position information and the moving speed of the vehicle to be inspected, and the tire image recognition component takes pictures at the set position time to obtain the detection data at the tire; The standard test data at the tire is compared with the test data at the tire. When the difference between the two is less than or equal to the preset threshold, the tire test is qualified; when the difference between the two is greater than the preset threshold, the tire test is unqualified.
[0012] As a further improvement of the present invention, before step S1, the method further includes: Obtain the body code of the vehicle to be inspected, obtain the position information and quantity information of the required shooting point group of the vehicle to be inspected according to the body code of the vehicle to be inspected, and obtain the Nth shooting time, Nth shooting position and Nth shooting angle of each image recognition component on the first detection axis, the second detection axis and the third detection axis at the Nth shooting position according to the body code of the vehicle to be inspected; The vehicles to be inspected are arranged in sequence along a first direction, and at least one of the vehicles to be inspected is of a different model from the other vehicles to be inspected.
[0013] As a further improvement of the present invention, the initial position information and moving speed of the vehicle to be inspected are obtained in the following manner: The vehicle to be inspected is placed on the plate chain line for transportation. The position of the vehicle to be inspected on the plate chain line is the initial position information of the vehicle to be inspected, and the transmission speed of the plate chain line is used as the moving speed of the vehicle to be inspected; or, The vehicle to be inspected is placed on a bottom plate for transportation, initial position information of the bottom plate is obtained, the initial position information of the bottom plate is used as initial position information of the vehicle to be inspected, and the transmission speed of the bottom plate is used as the moving speed of the vehicle to be inspected; or, The vehicle to be inspected is placed on an AGV for transportation, the initial position information of the AGV is obtained, the initial position information of the AGV is used as the initial position information of the vehicle to be inspected, and the transmission speed of the AGV is used as the moving speed of the vehicle to be inspected.
[0014] As a further improvement of the present invention, the detection framework detects multiple vehicles to be inspected in sequence; The Nth group of standard test data may be iteratively optimized according to a plurality of Nth groups of test data, and the iterative optimization specifically includes: The Nth group of test data is compared with the Nth group of standard test data. When the difference between the Nth group of test data and the Nth group of standard test data is less than a preset threshold, the Nth group of test data is included in the Nth group of standard test database, and multiple Nth group of standard test data in the Nth group of standard test database are fitted to obtain new Nth group of standard test data.
[0015] The above-mentioned improved technical features can be combined with each other as long as they do not conflict with each other.
[0016] In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects: (1) The vehicle visual inspection device of the present invention is provided with an inspection frame, an inspection channel is provided on the inspection frame, and a plurality of inspection axes are arranged on both sides and above the inspection channel. The image recognition assembly can be adjusted on the inspection axis by sliding between the image recognition assembly and the inspection axis. Secondly, the present application is provided with a driving mechanism, and the image recognition assembly is driven by the driving mechanism to swing in the horizontal direction and the vertical direction to adjust the shooting angle of the image recognition assembly accordingly. The shooting position and shooting angle of each image recognition assembly are adjusted by the control assembly to achieve the best shooting of each point on the vehicle to be inspected. The present application controls the shooting position and shooting angle of the image recognition assembly by the control assembly, so that when the image recognition assembly shoots each inspection point on the vehicle to be inspected, the image recognition assembly can be adjusted to the shooting angle facing the inspection point to obtain a better shooting effect, so as to ensure the quality of vehicle appearance inspection as much as possible. At the same time, the present application realizes the best shooting of each point on the vehicle body by the image recognition assembly through the cooperation of the inspection axis and the driving mechanism. The motion path of the image recognition assembly itself is short, and the position and angle of the image recognition assembly can be adjusted separately, which greatly shortens the time for the image recognition assembly to move to the set position and improves the efficiency of vehicle appearance inspection.
[0017] (2) The position adjustment, direction angle adjustment and focal length adjustment of the image recognition component of the vehicle visual inspection device of the present invention are all preset adjustments, which are all adjusted by mechanical control. The overall process is preset and the vehicle visual inspection device can execute it accordingly. It avoids the process of pre-identifying the image, calculating and adjusting the position information according to the image, and then making adjustments in the conventional vehicle appearance inspection process. It does not require complicated calculations and adjustments, which greatly improves the efficiency of vehicle appearance inspection.
[0018] (3) The vehicle visual inspection device of the present invention adopts a mechanical focusing method of the third servo motor. When focusing, it only needs to make the third servo motor control the focusing gear to rotate a set number of times to complete the focusing, so that the control component can directly adjust the camera to the set focal length, which greatly reduces the focusing time of the camera. The mechanical focusing method of the present application is different from the soft zoom method of conventional cameras. It abandons the method in which conventional cameras need to use software or control systems to analyze the clarity of the image to determine the imaging value and correspondingly correct the focusing parameters. The mechanical focusing is adjusted in one step, which greatly reduces the focusing time of the camera and improves the shooting efficiency of the image recognition component.
[0019] (4) In the vehicle vision detection device of the present invention, since the focus gear is arranged on one side of the focus ring gear, when the focus gear drives the focus ring gear to rotate, the focus ring gear is correspondingly subjected to lateral pressure from the focus gear. During long-term use, the lens is continuously subjected to lateral pressure and is easily damaged. Therefore, a rolling positioning shaft is arranged on the other side of the focus ring gear to offset the lateral pressure of the focus gear, thereby increasing the service life of the image recognition component.
[0020] (5) The vehicle visual inspection method of the present invention can obtain the relative position information of the vehicle to be inspected and the inspection frame by acquiring the initial position information and moving speed information of the vehicle to be inspected, thereby facilitating the image recognition component to pre-adjust the position, shooting angle and focal length according to the detection point information on the vehicle to be inspected. When the vehicle to be inspected moves to the set position, the image recognition component quickly shoots. The present application obtains the position information and moving speed of the vehicle to be inspected and pre-adjusts the image recognition component so that the vehicle to be inspected is photographed as soon as it reaches the preset position, thereby improving the vehicle appearance inspection efficiency; secondly, the present application uses a preset method so that after the vehicle to be inspected is photographed at the first set point along the length direction of the vehicle, the image recognition component can be quickly adjusted according to the pre-set data, and when the second set point of the vehicle to be inspected reaches the set position, the vehicle is quickly photographed, and the whole vehicle is photographed in sequence. By pre-adjusting the position, angle and focal length of the shooting camera, the vehicle appearance inspection time is greatly saved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a schematic diagram of the overall structure of a vehicle visual detection device in an embodiment of the present invention; Figure 2 is a schematic diagram of the overall structure of the image recognition component in an embodiment of the present invention; Figure 3 is a schematic diagram of the back structure of the image recognition component in an embodiment of the present invention; Figure 4 is a schematic diagram of the internal structure of a focus camera in an embodiment of the present invention; Figure 5 1 is a flow chart of a vehicle visual detection method in an embodiment of the present invention.
[0022] In all the drawings, the same reference numerals represent the same technical features, specifically: 1. Detection frame; 2. Detection axis; 3. Image recognition component; 4. Tire image recognition component; 5. Motion control cabinet; 6. AI vision cabinet; 7. Plate chain line; 8. Vehicle to be inspected; 301. Swing arm; 302. Swing beam; 303. Mounting shell; 304. Focus camera; 305. Camera ring light; 306. Fill light; 307. Mounting plate; 308. Camera; 309. Lens; 310. First servo motor; 311. Second servo motor; 312. Rotating shaft; 313. Third servo motor; 314. Focusing gear ring; 315. Focusing gear; 316. Rolling positioning shaft; 317. Mounting flange. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0024] In the description of the present invention, it should be understood that, unless otherwise specified, terms such as “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention.
[0025] In addition, unless otherwise specified, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0026] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0027] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0028] Example: See also Figures 1 to 5 The vehicle visual detection device in the preferred embodiment of the present invention includes a detection frame 1, which is provided with a detection channel for the vehicle to pass through along a first direction; at the same time, the detection frame 1 is provided with a plurality of detection axes 2 along the first direction, and the plurality of detection axes 2 at least include a first detection axis 2, a second detection axis 2, and a third detection axis 2 arranged on both sides of the detection channel; wherein, the first detection axis 2, the second detection axis 2 and the third detection axis 2 are all provided with an image recognition component 3, and the image recognition component 3 is slidably arranged on the first detection axis 2, the second detection axis 2 and the third detection axis 2; the image recognition component 3 includes a driving mechanism, which is used to drive the image recognition component 3 to swing horizontally or vertically; and a control component, which is communicatively connected with the driving mechanism and is used to control the position of the image recognition component 3 on each detection axis 2 and the swing of the image recognition component 3 in the horizontal direction and the vertical direction, so that the lens 309 of each image recognition component 3 can respectively face each shooting point of the vehicle.
[0029] Specifically, the vehicle visual inspection device in the present application sets a detection frame 1, opens a detection channel on the detection frame 1, and arranges multiple detection axes 2 on both sides and above the detection channel. The image recognition component 3 can adjust its position on the detection axis 2 through the sliding setting between the image recognition component 3 and the detection axis 2; secondly, the present application sets a corresponding driving mechanism, which drives the image recognition component 3 to swing horizontally and vertically to adjust the shooting angle of the image recognition component 3 accordingly; the shooting position and shooting angle of each image recognition component 3 are adjusted accordingly through the control component to complete the optimal shooting of each point on the vehicle to be inspected 8; the present application controls the shooting position and shooting angle of the image recognition component 3 through the control component, so that when the image recognition component 3 correspondingly shoots each detection point on the vehicle to be inspected 8, the image recognition component 3 can be adjusted to the facing shooting angle to obtain a better shooting effect, so as to ensure the vehicle appearance inspection quality as much as possible.
[0030] At the same time, the present application realizes the optimal shooting of various points on the vehicle body by the image recognition component 3 through the cooperation of the detection axis 2 and the driving mechanism. The movement path itself is short, and the position and angle of the image recognition component 3 can be adjusted separately, which greatly shortens the time for the image recognition component 3 to move to the set position and improves the efficiency of vehicle appearance detection.
[0031] Preferably, the first direction in the present application is the transportation direction of the vehicle into the detection channel. Preferably, the detection frame 1 in the present application includes two gantry structures arranged side by side along the first direction, and the first detection axis 2, the second detection axis 2 and the third detection axis 2 are arranged between the two gantries to achieve accurate and stable displacement of the image recognition component 3 on each detection axis 2.
[0032] Further, as a preferred embodiment of the present invention, the image recognition component 3 in the present application includes a driving mechanism and a shooting component; the driving mechanism includes a swing arm 301, and a groove space is reserved on the swing arm 301, and the shooting component is arranged in the groove space; and swing beams 302 are respectively provided at both ends of the shooting component, and the two swing beams 302 are respectively rotatably connected to the swing arm 301, and a first servo motor 310 is provided between the swing arm 301 and one of the swing beams 302, and the shooting component is driven to rotate along the radial direction of the swing beam 302 by the first servo motor 310; at the same time, the swing arm 301 is provided with a rotating shaft 312 in a direction perpendicular to the swing arm 301, one end of the rotating shaft 312 is connected to the swing arm 301, and the other end thereof is sleeved with a mounting flange 317, and the mounting flange 317 is slidably arranged on the detection shaft 2; at the same time, a second servo motor 311 is provided at one end of the rotating shaft 312 connected to the swing wall, and the swing arm 301 is driven to rotate along the radial direction of the rotating shaft 312 by the second servo motor 311.
[0033] Specifically, the swing arm 301 in the present application is Y-shaped as a whole, and the swing arm 301 swings in the first movement direction of the shooting component formed by the swing beam 302, so that the shooting component can swing under the drive of the first servo motor 310; at the same time, through the cooperation of the rotating shaft 312 and the second servo motor 311, the swing arm 301 swings in the second movement direction as a whole, so as to realize the rotation adjustment of the shooting component in two movement directions, and then realize the angle adjustment of the camera lens 309. At the same time, the present application adopts the first servo motor 310 and the second servo motor 311 to drive the shooting component to rotate, and the servo motor is mainly used to execute the control component to transmit instructions, so that the shooting component is pre-adjusted to the set angle, so that the vehicle can be quickly photographed after it travels to the set position, so as to shorten the vehicle detection time and improve the vehicle detection efficiency.
[0034] Preferably, the mounting flange 317 in the present application can be mounted and matched with the sliding structure on the detection axis 2, thereby realizing the sliding setting of the image recognition component 3 along the detection axis 2. Correspondingly, the present application needs to set a fourth servo motor on the detection axis 2 to drive the movement and positioning of the image recognition component 3 along the detection axis 2.
[0035] Further, as a preferred embodiment of the present invention, the shooting assembly in the present application includes a mounting shell 303, which is mainly used as the main body of the shooting assembly, and serves to place various structural parts and connect with the swing arm 301. The mounting shell 303 is connected to the two swing beams 302; at the same time, a focus camera 304 is arranged on the mounting shell 303, and the focus camera 304 is mainly used to shoot the vehicle to obtain the vehicle appearance data, which is convenient for the subsequent vehicle appearance detection and identification; the camera ring light 305 is arranged around the focusing camera 304, and the camera ring light 305 is composed of multiple light sources, which mainly provides basic imaging lighting for the camera to ensure the shooting quality of the focusing camera 304; at the same time, a fill light 306 is arranged on the mounting shell 303, and the fill light 306 is arranged on the same plane as the focusing camera 304, and the fill light 306 mainly provides a supplementary light source for the long-distance shooting of the focusing camera 304.
[0036] Further preferably, the focusing camera 304 in the present application includes a mounting plate 307, which is connected to the mounting shell 303 and is arranged in the mounting shell 303, and the mounting plate 307 is provided with a first mounting hole and a second mounting hole along the thickness direction, and the two mounting holes are arranged side by side; a camera 308 is installed in the first mounting hole, and a lens 309 of the camera 308 passes through the first mounting hole and falls on the other side of the mounting plate 307; a third servo motor 313 is installed in the second mounting hole, and a driving shaft of the third servo motor 313 passes through the second mounting hole and is arranged on the same side as the lens 309; at the same time, a focusing gear ring 314 is provided on the outer periphery of the lens 309, and a focusing gear 315 is connected to the driving shaft of the third servo motor 313, and the focusing gear 315 is meshed with the focusing gear ring 314.
[0037] Specifically, the present application sets a third servo motor 313 beside the camera 308, and uses the meshing setting of the focus gear ring 314 and the focus gear 315, so that the third servo motor 313 can adjust the focal length of the camera 308 accordingly. And because the present application adopts the mechanical focusing method of the third servo motor 313, it only needs to make the third servo motor 313 control the focus gear 315 to rotate a set number of circles when corresponding to the focus adjustment to complete the focusing, so that the control component can directly adjust the camera 308 to the set focal length, which greatly reduces the focusing time of the camera 308. The mechanical focusing method of the present application is different from the soft zoom method of conventional cameras. It abandons the conventional camera's need to use software or control system to analyze the clarity of the image to determine the imaging value and correspondingly correct the focusing parameters. The mechanical focus is adjusted in one step, which greatly reduces the focusing time of the camera and improves the shooting efficiency of the image recognition component 3.
[0038] Specifically, the position adjustment, direction angle adjustment and focal length adjustment of the image recognition component 3 in the present application are all preset adjustments, which are all adjusted through mechanical control. The overall process is preset, and the vehicle visual inspection device can execute accordingly. It avoids the process of pre-identifying the image in the conventional vehicle appearance inspection process, adjusting the position information according to the image calculation, and then adjusting the process. It does not require complicated calculations and adjustments, which greatly improves the efficiency of vehicle appearance inspection.
[0039] Preferably, the camera 308 is a high-definition area array industrial camera.
[0040] Further, as a preferred embodiment of the present invention, at least one rolling positioning shaft 316 is further provided on the side of the focus gear ring 314 away from the focus gear 315 in the present application. The rolling positioning shaft 316 is provided on the mounting plate 307, and the rolling positioning shaft 316 rolls against the focus gear ring 314. The rolling positioning shaft 316 is mainly used to provide a lateral support force to the focus gear 315 to the focus camera 304, so as to ensure the focusing accuracy of the focus camera 304. Specifically, since the focus gear 315 is provided on one side of the focus gear ring 314, when the focus gear 315 drives the focus gear ring 314 to rotate, the focus gear ring 314 is correspondingly subjected to the lateral pressure of the focus gear 315. During long-term use, the lens 309 is continuously subjected to the lateral pressure and is easily damaged. Therefore, by providing the rolling positioning shaft 316 on the other side of the focus gear ring 314, the lateral pressure of the focus gear 315 is offset, so as to improve the service life of the focus camera 304.
[0041] Furthermore, as a preferred embodiment of the present invention, the detection frame 1 in the present application is also provided with a tire image recognition component 4, which is correspondingly arranged on both sides of the detection channel, and the tire image recognition component 4 is arranged below the first detection axis and the second detection axis, and the setting height of the tire image recognition component 4 matches the center position of the vehicle tire, so as to detect whether the vehicle tire is installed in place and whether the vehicle tire has defects. Optionally, the tire image recognition component 4 can be used to detect the wheel hub size, tire model, clamp color, and whether the wheel hub cover is installed in place at the tire.
[0042] Optionally, the vertical height of the tire image recognition component 4 in the present application is adjustable. By adjusting the vertical height of the tire image recognition component 4, it can be adapted to vehicles with different wheel hub sizes to obtain optimal image information at the vehicle tire.
[0043] Further, as a preferred embodiment of the present invention, a plate chain line 7 is also provided at the detection channel in the present application, and the plate chain line 7 is arranged along the first direction. The plate chain line 7 is mainly used to drive the vehicle to be inspected 8 at the detection channel to move, so that the image recognition component 3 can complete the shooting of various points on the whole vehicle.
[0044] Further preferably, the control component in the present application includes a motion control cabinet 5 and an AI vision cabinet 6. The motion control cabinet 5 is mainly used to control the position of the image recognition component 3 on the detection axis 2, the horizontal and vertical angles of the image recognition component 3, and the focal length of the image recognition component 3; the AI vision cabinet 6 is mainly used to obtain and control the position and motion information of the detected vehicle, so as to cooperate with the image recognition component 3 to perform the vehicle appearance detection process.
[0045] Furthermore, the present application also includes a vehicle visual detection method, which is detected by the above-mentioned vehicle visual detection device, and specifically includes the following steps: S1, obtaining the initial position information and moving speed of the vehicle 8 to be inspected, and calculating the time when the vehicle 8 to be inspected enters the area where the detection frame 1 is located; S2, obtaining a first shooting time of the vehicle 8 to be inspected at a first set point, a second shooting time at a second set point, ..., and an Nth shooting time at an Nth set point according to the moving speed of the vehicle 8 to be inspected; S3. Control each image recognition component 3 on the first detection axis 2, the second detection axis 2 and the third detection axis 2 to move to the Nth shooting position, adjust each image recognition component 3 to the Nth shooting angle, shoot within the Nth shooting time, and obtain the Nth group of detection data, wherein N is a natural number, and N is determined according to the number of shooting point groups required on the vehicle 8 to be inspected; specifically, the shooting point group here refers to the point information of the image recognition components 3 on the first detection axis 2, the second detection axis 2 and the third detection axis 2 on the vehicle 8 to be inspected, respectively.
[0046] S4, obtaining the Nth group of standard test data of the vehicle to be inspected 8, and comparing the difference between the Nth group of test data and the Nth group of standard test data. When the difference between the Nth group of test data and the Nth group of standard test data is less than or equal to a preset threshold, the Nth group of test data is qualified; when the difference between the Nth group of test data and the Nth group of standard test data is greater than the preset threshold, the Nth group of test data is unqualified; S5. When all N groups of test data are qualified, the appearance test of the vehicle 8 to be tested is qualified; when at least one group of test data among the N groups of test data is unqualified, the appearance test of the vehicle 8 to be tested is unqualified. In the actual testing process, the value of N is selected in a progressive manner of 1, 2, 3, ...
[0047] Specifically, the present application can obtain the relative position information of the vehicle 8 to be inspected and the detection frame 1 by obtaining the initial position information and moving speed information of the vehicle 8 to be inspected, so as to facilitate the image recognition component 3 to pre-adjust the position, shooting angle and focal length according to the detection point information on the vehicle 8 to be inspected. When the vehicle 8 to be inspected moves to the set position, the image recognition component 3 performs rapid shooting. The present application obtains the position information and moving speed of the vehicle 8 to be inspected, and pre-adjusts the image recognition component 3, so that the vehicle 8 to be inspected is photographed when it reaches the preset position, thereby improving the vehicle appearance detection efficiency. Secondly, the present application uses a preset method so that after the first set point position of the vehicle 8 to be inspected along the length direction of the vehicle is photographed, the image recognition component 3 can be quickly adjusted according to the pre-set data, and the second set point position of the vehicle 8 to be inspected is quickly photographed after reaching the set position, and the whole vehicle shooting is completed in sequence. The position, angle and focal length of the image recognition component 3 are pre-adjusted, which greatly saves the vehicle appearance detection time.
[0048] It is worth noting that since the overall shooting points of the vehicle to be inspected 8 are not evenly distributed and the overall appearance dimensions of different positions are different, when the image recognition component 3 is in place and does not move, when the two shooting points are close or the height difference between the distance and the nearness is large, it is difficult to achieve the optimal shooting position by adjusting the angle and focal length of the image recognition component 3. Therefore, it is necessary to adjust the position of the image recognition component 3 along the first direction in conjunction with the detection axis 2 so that the image recognition component 3 is in the optimal shooting position.
[0049] Preferably, the best shooting position of the image recognition component 3 refers to the arrangement where the center of the lens 309 of the image recognition component 3 is directly opposite to the center of the shooting area.
[0050] Furthermore, as a preferred embodiment of the present invention, the present application also includes tire visual inspection, which includes the following steps: The time when the tire of the vehicle to be inspected 8 moves to the set position is obtained according to the initial position information and the moving speed of the vehicle to be inspected 8, and the tire image recognition component 4 takes pictures at the set position time to obtain the detection data at the tire; The standard test data at the tire is compared with the test data at the tire. When the difference between the two is less than or equal to the preset threshold, the tire test is qualified; when the difference between the two is greater than the preset threshold, the tire test is unqualified.
[0051] Since the tire image recognition component 4 in the present application is fixed on the detection frame 1, it is irrelevant to the position adjustment, angle adjustment and focal length adjustment of the image recognition component 3. Therefore, the tire image recognition component 4 only needs to obtain the position information of the vehicle 8 to be inspected according to the control component. When the vehicle 8 to be inspected reaches the set position, the tire image recognition component 4 will take a corresponding photo to obtain the detection data of the tire, and compare it with the standard detection data of the tire to determine whether the tire is qualified.
[0052] Preferably, the detection data in the present application mainly refers to the image information captured by the image recognition component 3. By comparing the difference between the captured image information and the standard image information, it is determined whether the appearance detection of the corresponding point of the vehicle is qualified.
[0053] Furthermore, as a preferred embodiment of the present invention, before step S1 in the present application, the following steps are further included: Obtain the body code of the vehicle to be inspected 8, obtain the position information and quantity information of the required shooting point group of the vehicle to be inspected 8 according to the body code of the vehicle to be inspected 8, and obtain the Nth shooting time, Nth shooting position and Nth shooting angle of each image recognition component 3 on the first detection axis 2, the second detection axis 2 and the third detection axis 2 at the Nth shooting position according to the body code of the vehicle to be inspected 8; wherein the vehicles to be inspected 8 are arranged in sequence along the first direction, and at least one of the vehicles to be inspected 8 is of a different model from the other vehicles to be inspected 8.
[0054] As mentioned above, the image recognition component 3 in the present application is pre-adjusted, and its adjustment basis is the vehicle information. The present application obtains the body code of the vehicle 8 to be inspected, thereby obtaining the model, size, appearance information, location and number of detection points of the vehicle 8 to be inspected, and then obtains the time for each detection point to arrive at the shooting position based on the initial position and moving speed of the vehicle 8 to be inspected, so as to adjust the position, angle and focal length of the image recognition component 3 accordingly.
[0055] At the same time, since the vehicle visual inspection method in this application can be pre-adjusted according to the vehicle body code, it can adapt to different models of vehicles to be inspected 8. It only needs to adjust the position, angle, focal length and other information of the image recognition component 3 according to the vehicle model to complete the inspection of different models. After the inspection is completed, the corresponding inspection data is stored in the data column of the corresponding body code to achieve a one-to-one match between the inspection data and the vehicle information. And the vehicle visual inspection method in this application can complete the appearance inspection of different models based on the same vehicle visual inspection device, which greatly increases the application scope of the vehicle visual inspection device and realizes multiple uses of one machine.
[0056] Further, as an optional embodiment of the present invention, the initial position information and moving speed of the vehicle to be inspected 8 in this application are obtained as follows: The vehicle 8 to be inspected is placed on the plate chain line 7 for transportation. The position where the vehicle 8 to be inspected is placed on the plate chain line 7 is the initial position information of the vehicle 8 to be inspected, and the transmission speed of the plate chain line 7 is used as the moving speed of the vehicle 8 to be inspected.
[0057] Optionally, the vehicle 8 to be inspected is placed on a bottom plate for transportation, initial position information of the bottom plate is obtained, the initial position information of the bottom plate is used as the initial position information of the vehicle 8 to be inspected, and the transmission speed of the bottom plate is used as the moving speed of the vehicle 8 to be inspected.
[0058] Optionally, the vehicle to be inspected 8 is placed on an AGV for transportation, the initial position information of the AGV is obtained, the initial position information of the AGV is used as the initial position information of the vehicle to be inspected 8, and the transmission speed of the AGV is used as the moving speed of the vehicle to be inspected 8.
[0059] The above-mentioned method of driving the vehicle to be inspected 8 to move by the plate chain line 7, the bottom plate or the AGV trolley can obtain the initial position information and moving speed of the vehicle to be inspected 8 by capturing the position and controlling the speed of the plate chain line 7, the bottom plate and the AGV trolley.
[0060] Further, as a preferred embodiment of the present invention, the detection framework 1 in the present application detects multiple vehicles 8 to be inspected in sequence; and the Nth group of standard detection data can be iteratively optimized according to multiple Nth groups of detection data, and the iterative optimization specifically includes: The Nth group of test data is compared with the Nth group of standard test data. When the difference between the Nth group of test data and the Nth group of standard test data is less than a preset threshold, the Nth group of test data is included in the Nth group of standard test database, and multiple Nth groups of standard test data in the Nth group of standard test database are fitted to obtain new Nth group of standard test data. At the same time, after obtaining the new Nth group of standard test data, the Nth shooting position, Nth shooting angle and Nth shooting focal length of the image recognition component 3 corresponding to the current standard test data are used as new preset information of the current point. When the current point of the next vehicle to be inspected 8 is photographed, the updated shooting position, shooting angle and shooting focal length are correspondingly selected as preset values to adjust the image recognition component 3.
[0061] Specifically, the present application can also adjust the iterative standard detection data based on the shooting information in the actual detection process. When a better shooting image is obtained at the set position, angle and focal length, the position, angle and focal length of the current point image recognition component 3 can be adjusted accordingly to optimize the image capture quality and improve the detection speed and quality of the vehicle visual detection method.
[0062] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle visual inspection device, characterized in that: include: A detection frame, wherein the detection frame is provided with a detection channel for vehicles to pass along a first direction; The detection frame is provided with a plurality of detection axes along a first direction, and the plurality of detection axes at least include a first detection axis and a second detection axis provided at both sides of the detection channel, and a third detection axis provided above the detection channel; The first detection axis, the second detection axis and the third detection axis are each provided with an image recognition component, and the image recognition component is slidably arranged on the first detection axis, the second detection axis and the third detection axis; The image recognition component includes a driving mechanism, and the driving mechanism is used to drive the image recognition component to swing horizontally or vertically; A control component is communicatively connected with the driving mechanism, and is used to control the position of the image recognition component on each of the detection axes and the swing angles of the image recognition component in the horizontal and vertical directions, so that the lenses of each of the image recognition components can respectively face each shooting point of the vehicle.
2. The vehicle visual inspection device according to claim 1, characterized in that: The image recognition component includes a driving mechanism and a shooting component; The driving mechanism comprises a swing arm, a groove space is left on the swing arm, and the shooting assembly is arranged in the groove space; The two ends of the shooting assembly are respectively provided with swing beams, the two swing beams are respectively rotatably connected to the swing arms, a first servo motor is provided between the swing arm and one of the swing beams, and the first servo motor is used to drive the shooting assembly to rotate along the radial direction of the swing beam; The swing arm is provided with a rotating shaft along a direction perpendicular to the swing arm, one end of the rotating shaft is connected to the swing arm, and the other end is sleeved with a mounting flange, and the mounting flange is slidably arranged on the detection shaft; a second servo motor is provided at one end of the rotating shaft connected to the swing arm, and the second servo motor is used to drive the swing arm to rotate radially along the rotating shaft.
3. The vehicle visual inspection device according to claim 2, characterized in that: The shooting assembly includes a mounting shell, which is connected to the two swing beams; a focusing camera is arranged on the mounting shell, a camera ring light is arranged around the focusing camera, and a fill light is arranged on the mounting shell, and the fill light is arranged coplanar with the focusing camera.
4. The vehicle visual inspection device according to claim 3, characterized in that: The focusing camera comprises a mounting plate, and the mounting plate is connected to the mounting housing; The mounting plate is provided with a first mounting hole and a second mounting hole along the thickness direction, a camera is installed in the first mounting hole, and a lens of the camera passes through the first mounting hole and falls on the other side of the mounting plate; A third servo motor is installed in the second mounting hole, and a driving shaft of the third servo motor passes through the second mounting hole and is arranged on the same side as the lens; A focus gear ring is sleeved on the outer periphery of the lens, a focus gear is connected to the driving shaft of the third servo motor, and the focus gear is meshed with the focus gear ring.
5. The vehicle visual inspection device according to claim 4, characterized in that: At least one rolling positioning shaft is further provided on the side of the focusing gear ring away from the focusing gear. The rolling positioning shaft is provided on the mounting plate, and the rolling positioning shaft rolls against the focusing gear ring.
6. A vehicle visual inspection method, which is performed by using the vehicle visual inspection device as claimed in any one of claims 1 to 5, characterized in that: The steps include: S1. Obtain the initial position information and moving speed of the vehicle to be inspected, and calculate the time when the vehicle to be inspected enters the area where the detection frame is located; S2, obtaining a first shooting time of the vehicle to be inspected at a first set point, a second shooting time at a second set point, ..., and an Nth shooting time at an Nth set point according to the moving speed of the vehicle to be inspected; S3, control each image recognition component on the first detection axis, the second detection axis and the third detection axis to move to the Nth shooting position, adjust each image recognition component to the Nth shooting angle, shoot at the Nth shooting time, and obtain the Nth group of detection data, where N is a natural number, and N is determined according to the number of shooting point groups required on the vehicle to be inspected; S4, obtaining the Nth group of standard test data of the vehicle to be inspected, comparing the difference between the Nth group of test data and the Nth group of standard test data, when the difference between the Nth group of test data and the Nth group of standard test data is less than or equal to a preset threshold, the Nth group of test data is qualified; when the difference between the Nth group of test data and the Nth group of standard test data is greater than the preset threshold, the Nth group of test data is unqualified; S5. When all N groups of test data are qualified, the appearance test of the vehicle to be inspected is qualified; when at least one group of test data among the N groups of test data is unqualified, the appearance test of the vehicle to be inspected is unqualified.
7. The vehicle visual detection method according to claim 6, characterized in that: It also includes tire visual detection, and the detection frame is also provided with a tire image recognition component, and the tire image recognition component is fixedly arranged on the detection frame; The tire visual inspection comprises the following steps: The time for the tire of the vehicle to be inspected to move to the set position is obtained according to the initial position information and the moving speed of the vehicle to be inspected, and the tire image recognition component takes pictures at the set position time to obtain the detection data at the tire; The standard test data at the tire is compared with the test data at the tire. When the difference between the two is less than or equal to the preset threshold, the tire test is qualified; when the difference between the two is greater than the preset threshold, the tire test is unqualified.
8. The vehicle visual detection method according to claim 6, characterized in that: Before step S1, the method further includes: Obtain the body code of the vehicle to be inspected, obtain the position information and quantity information of the required shooting point group of the vehicle to be inspected according to the body code of the vehicle to be inspected, and obtain the Nth shooting time, Nth shooting position and Nth shooting angle of each image recognition component on the first detection axis, the second detection axis and the third detection axis at the Nth shooting position according to the body code, initial position information and moving speed of the vehicle to be inspected; The vehicles to be inspected are arranged in sequence along a first direction, and at least one of the vehicles to be inspected is of a different model from the other vehicles to be inspected.
9. The vehicle visual inspection method according to claim 6, characterized in that: The initial position information and moving speed of the vehicle to be inspected are obtained in the following manner: The vehicle to be inspected is placed on the plate chain line for transportation. The position of the vehicle to be inspected on the plate chain line is the initial position information of the vehicle to be inspected, and the transmission speed of the plate chain line is used as the moving speed of the vehicle to be inspected; or, The vehicle to be inspected is placed on a bottom plate for transportation, initial position information of the bottom plate is obtained, the initial position information of the bottom plate is used as initial position information of the vehicle to be inspected, and the transmission speed of the bottom plate is used as the moving speed of the vehicle to be inspected; or, The vehicle to be inspected is placed on an AGV for transportation, the initial position information of the AGV is obtained, the initial position information of the AGV is used as the initial position information of the vehicle to be inspected, and the transmission speed of the AGV is used as the moving speed of the vehicle to be inspected.
10. The vehicle visual detection method according to claim 6, characterized in that: The detection framework detects multiple vehicles to be inspected in sequence; The Nth group of standard test data may be iteratively optimized according to a plurality of Nth groups of test data, and the iterative optimization specifically includes: The Nth group of test data is compared with the Nth group of standard test data. When the difference between the Nth group of test data and the Nth group of standard test data is less than a preset threshold, the Nth group of test data is included in the Nth group of standard test database, and multiple Nth group of standard test data in the Nth group of standard test database are fitted to obtain new Nth group of standard test data.
