TPMS visual inspection method and system based on machine vision
Automatic identification of vehicle information and precise positioning through machine vision technology enables efficient automated detection of the TPMS system, solving the problems of low manual operation efficiency and vulnerability to interference in the existing technology, and improving detection accuracy and production efficiency.
Patent Information
- Application Number
- CN202410818114.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing TPMS detection technology relies on manual operation and photoelectric sensors, resulting in low efficiency, vulnerability to interference, increased labor costs and detection instability.
The TPMS visual inspection method based on machine vision is used to capture vehicle image data through cameras, combine image segmentation and triangulation to calculate the vehicle position and driving direction, and automatically activate the TPMS module to reduce manual intervention and enhance the system's anti-interference ability.
It realizes full automation of TPMS detection, improves detection accuracy and efficiency, reduces labor costs, enhances the anti-interference ability of the system, and ensures the accuracy of detection results and the flexibility of the production line.
Smart Images

Figure CN118552886A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technology, and in particular to a TPMS (tire pressure monitoring system) visual detection method and system based on machine vision. Background Art
[0002] The rapid development of the new energy automobile industry has promoted the advancement of intelligent manufacturing technology, and intelligent manufacturing has gradually become an indispensable part of the production process. In automobile manufacturing, the tire pressure monitoring system (TPMS) is an important part of ensuring driving safety. Existing TPMS detection technology mainly relies on manual operation and photoelectric sensor sensing. Among them, manual code scanning records are when the vehicle enters the detection area, the operator manually scans the code to record the vehicle information. This process requires manual participation, which increases labor costs. Photoelectric sensor sensing uses photoelectric sensors to sense the tire approaching the detection area and send low-frequency signals to activate the TPMS module.
[0003] The above manual operation method not only increases labor costs, but also is prone to operating errors, affecting the accuracy of the test results. The maximum cycle time of manual operation is about 60 seconds. If you want to shorten the operation time to 30 to 40 seconds, you need to increase equipment and operators, resulting in increased costs. Photoelectric sensors are easily affected by external interference during the detection process, such as objects blocking or people passing by, which leads to unstable detection and affects production efficiency.
[0004] In order to improve the automation and efficiency of TPMS detection, reduce the uncertainty of manual operation, improve production cycle and save costs, a new TPMS detection method is needed to solve the shortcomings of existing technology. Summary of the invention
[0005] In view of this, the present invention provides a TPMS (tire pressure monitoring system) visual detection method based on a machine vision system, aiming to solve the problems of manual operation, low efficiency, susceptibility to interference, etc. in the prior art. The purpose is to achieve full automation of the TPMS detection process by introducing machine vision technology, reduce dependence on manual operation, improve detection accuracy and efficiency, and enhance the anti-interference ability of the system. By using a machine vision system to automatically identify vehicle information and accurately locate, efficient and automated detection of the TPMS system can be achieved, thereby improving production efficiency and reducing human interference.
[0006] The present invention is implemented by the following technical solutions: In a first aspect, the present invention provides a TPMS visual detection method based on machine vision, the method comprising the following steps: Deploy a camera in the detection area that covers the target vehicle's entry and exit area, and capture image data of the target vehicle and its tires through the camera; Segmenting vehicle region features and tire region features from image data of a target vehicle and its tires based on image segmentation; In combination with the multi-angle images captured by the camera, the position information and driving direction of the target vehicle are calculated using triangulation, and the optimal TPMS activation point is calculated based on the position information of the target vehicle; When the distance from the target vehicle to the optimal TPMS activation point is lower than a preset threshold, the control system integrated in the computer generates an activation command and sends the activation command to the TPMS module of the target vehicle via a wireless signal. After receiving the activation signal, the TPMS module feeds back the activation status. When the target vehicle leaves the activation area, the control system automatically prepares for the detection of the next vehicle.
[0007] As a further solution of the present invention, the camera is an industrial camera installed above the detection area and having a viewing angle covering the entire vehicle entry and exit area. The camera is connected to an image processing unit that processes image data in real time, and a light source module is also arranged around the camera.
[0008] As a further solution of the present invention, when segmenting the vehicle region features and the tire region features from the image data of the target vehicle and its tire based on image segmentation, the following steps are included: The image data of the target vehicle and its tires captured by the industrial camera deployed in the detection area are pre-processed by image denoising, white balance adjustment and distortion correction; The preprocessed image data is input into the pre-trained Mask R-CNN model, and the region proposal network is used to generate candidate regions for object detection. Each candidate region is classified as a vehicle and a tire, and the corresponding pixel-level mask is generated. The vehicle area and tire area in the image are segmented according to the mask to form independent feature maps, thereby obtaining vehicle area features and tire area features.
[0009] As a further solution of the present invention, the pre-trained Mask R-CNN model is trained on the vehicle and tire annotations on the dataset.
[0010] As a further solution of the present invention, the tire area features include extracted tire pattern features and gas state features, wherein Canny edge detection is used to extract edge features of the tire pattern, and the pattern continuity is enhanced through morphological processing of corrosion and expansion; the tire pressure state is analyzed through tire surface deformation and changes in the contact area between the tire and the ground, as well as a pre-trained air pressure detection model to obtain the gas state characteristics.
[0011] As a further solution of the present invention, the vehicle area features include feature information of the model, color and license plate of the target vehicle.
[0012] As a further solution of the present invention, when the position information and the driving direction of the target vehicle are calculated using triangulation, the following steps are included: Multiple cameras installed in the detection area synchronously capture multi-angle images covering the vehicle entry and exit area; In multi-angle images, the same feature points are identified through ORB to obtain the matching results of the feature points; According to the matching results of the feature points, the three-dimensional coordinates of the feature points are calculated through stereo vision and angle measurement; Based on the extracted 3D feature points, determine the specific coordinate position (x, y, z coordinates) of the vehicle in the detection area; Analyze the positions of the feature points of the front and rear axles of the vehicle and calculate the vehicle's driving direction and posture.
[0013] Through the above steps, the vehicle and tire area features can be segmented from the image data, the tire pattern and air pressure status can be analyzed, and the position and direction of the vehicle in the detection area can be accurately calculated, providing reliable data support for the precise activation of the TPMS system.
[0014] As a further solution of the present invention, when calculating the optimal TPMS activation point according to the position information of the target vehicle, the following steps are included: Divide the TPMS activation area into several small areas, each of which corresponds to a potential activation point; Based on the vehicle's current position and driving direction, the vehicle's driving path within the detection area is predicted, and several potential activation points are selected in the TPMS activation area that the vehicle's path passes through; The signal coverage quality of each candidate activation point is calculated based on the signal strength of the selected potential activation point and the distance from the potential activation point to the signal receiving antenna at the current position of the vehicle, and the potential activation point with the best coverage quality is selected as the optimal activation point; the calculation formula for the signal coverage quality of each candidate activation point is:
[0015] In the formula, is the signal coverage quality, It is The signal strength of each activation point, It is The distance from the activation point to the signal receiving antenna of the vehicle's current position.
[0016] As a further solution of the present invention, when the distance from the position of the target vehicle to the optimal TPMS activation point is lower than a preset threshold, the position of the target vehicle is calculated according to the Euclidean distance. To the optimal TPMS activation point The distance D is calculated as:
[0017] As a further solution of the present invention, the activation instruction generated by the control system includes: Activation point location: 3D coordinates of the optimal activation point
[0018] Activation time: the time when the activation signal is sent; Signal strength: ensure signal strength for effective activation; Protocol information: including communication protocol type and data format; Command ID: An ID that uniquely identifies the activation command for tracking and confirmation.
[0019] As a further solution of the present invention, when the activation status is fed back, the TPMS module generates a status report including the following contents: Activation status: the status of successful activation or activation failure; Feedback time: timestamp of feedback status; Signal strength: received signal strength; Module ID: The unique identifier of the TPMS module being fed back; Error code: If activation fails, the code containing the error reason; When sending feedback, the status report is sent back to the control system via the CAN bus or wireless communication module of the target vehicle communication network.
[0020] In a second aspect, the present invention further includes a TPMS visual detection system based on machine vision, comprising: An image capture module, used for capturing image data of a target vehicle and its tires by deploying a camera in a detection area; An image processing module, which segments vehicle region features and tire region features from image data of a target vehicle and its tires based on image segmentation; A position calculation module is used to combine the multi-angle images captured by the camera, use triangulation to calculate the position information and driving direction of the target vehicle, and calculate the optimal TPMS activation point based on the position information of the target vehicle; A control instruction generation module, used for generating an activation instruction when the distance from the position of the target vehicle to the optimal TPMS activation point is lower than a preset threshold; A wireless communication module, used to send an activation command to a TPMS module of a target vehicle via a wireless signal; The status feedback module is used to feedback the activation status after the TPMS module receives the activation signal.
[0021] As a further solution of the present invention, the image capture module also includes a camera control unit and an image storage unit, wherein the camera control unit is used to control the shooting angle and focal length of the camera; and the image storage unit is used to store image data captured by the camera.
[0022] As a further solution of the present invention, the image processing module also includes an image preprocessing unit, an image segmentation unit and a feature extraction unit. The image preprocessing unit is used to perform preprocessing operations such as denoising, enhancement and correction on the captured image; the image segmentation unit is used to use machine learning to segment the vehicle and tire areas; and the feature extraction unit is used to extract feature information of the vehicle and tire from the segmented image.
[0023] As a further solution of the present invention, the position calculation module includes a triangulation unit, a path prediction unit and an activation point calculation unit. The triangulation unit is used to calculate the three-dimensional coordinates and driving direction of the vehicle based on multi-angle images using a triangulation method; the path prediction unit is used to predict the path of the vehicle according to the current position and driving direction of the vehicle; and the activation point calculation unit is used to calculate the optimal TPMS activation point.
[0024] As a further solution of the present invention, the control instruction generation module includes a threshold detection unit and an instruction generation unit. The threshold detection unit is used to detect whether the distance between the current position of the vehicle and the optimal activation point is lower than a preset threshold; the instruction generation unit is used to generate an activation instruction including the activation point position, activation time, signal strength, protocol type, and instruction ID.
[0025] As a further solution of the present invention, the wireless communication module includes a wireless transmitting unit and a communication protocol unit. The wireless transmitting unit is used to send the activation instruction generated by the control system to the TPMS module via a wireless signal; the communication protocol unit is used to ensure that the wireless communication follows a specific communication protocol to ensure the correct transmission of the instruction.
[0026] As a further solution of the present invention, the state feedback module includes a signal receiving unit and a state feedback unit. The signal receiving unit is used to receive an activation signal from the control system; the state feedback unit is used to generate and send a status report including activation status, feedback time, signal strength, module ID, and error code.
[0027] As a further solution of the present invention, the machine vision-based TPMS visual detection system also includes a system monitoring and management module. When the target vehicle leaves the activation area, the control system automatically prepares for the detection of the next vehicle.
[0028] As a further solution of the present invention, the system monitoring and management module also includes a vehicle detection unit, a system reset unit and a data recording unit. The vehicle detection unit is used to detect the status of the vehicle entering and exiting the activation area; the system reset unit is used to reset the system after the target vehicle leaves to prepare for the detection of the next vehicle; the data recording unit is used to record the execution status and feedback status of each activation instruction for subsequent analysis and optimization.
[0029] Through the collaborative work of the above modules, the complete functions of the TPMS visual inspection system based on machine vision are realized, ensuring that the TPMS module can be accurately activated and the status can be fed back when the vehicle enters the designated activation area.
[0030] The present invention also includes a computer device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the TPMS visual detection method based on machine vision.
[0031] The present invention also includes a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the TPMS visual detection method based on machine vision.
[0032] Compared with the prior art, the TPMS visual inspection method and system based on machine vision provided by the present invention aims to improve the automation and efficiency of the inspection process, enhance the anti-interference ability of the system, support the requirements of flexible production lines, solve the shortcomings of the prior art, and have the following beneficial effects: 1. Improved automation: Reduce reliance on manual operations, realize the entire process of TPMS detection through an automated system, and reduce labor costs; ensure the accuracy of detection data through high-precision image segmentation and feature extraction of the vehicle and tire area, accurately calculate the three-dimensional position and driving direction of the vehicle through multi-angle image capture and triangulation, improve detection accuracy and reliability, and automatically generate TPMS activation instructions by detecting the vehicle position and calculating the optimal activation point without manual intervention. The system can automatically detect the vehicle entering and exiting the activation area, and automatically reset after the vehicle leaves to prepare for the detection of the next vehicle.
[0033] 2. Enhanced anti-interference ability: Improve the system's anti-interference ability, ensure stable operation under various environmental conditions, improve the success rate of detection, and effectively avoid detection errors caused by single-angle and low-precision images in traditional methods. Ensure the accuracy of detection results. Based on real-time image capture and processing, it can quickly respond to vehicles entering and leaving the detection area, improve the system's real-time and response speed, and the system can perform detection and management intelligently to ensure that each vehicle can get accurate TPMS activation and improve overall management efficiency.
[0034] 3. Improved production rhythm: shorten the inspection time and improve the production rhythm to meet the needs of efficient operation of modern production lines. Cameras can be flexibly deployed according to the needs of different inspection areas to adapt to various complex inspection environments. They can also operate stably under different inspection environments and conditions to adapt to various complex vehicle and tire inspection needs. The system should be highly flexible and able to adapt to the requirements of different vehicle models and production rhythms.
[0035] 4. Provide reliable activation status feedback: After receiving the activation signal, the TPMS module can provide real-time feedback on the activation status, including activation success or failure. The system can also detect the cause of activation failure and generate an error code to facilitate subsequent troubleshooting and processing. It can quickly locate and solve problems that arise during the activation process, thereby improving the stability and reliability of the system.
[0036] In summary, the TPMS visual detection method and system based on machine vision of the present invention has significant beneficial effects in detection accuracy, automation and intelligence, adaptability and scalability, feedback reliability, safety and stability, etc. These advantages enable the system to provide efficient, reliable and intelligent TPMS activation and detection services in practical applications, providing strong guarantee for the safe driving of vehicles.
[0037] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings: Figure 1 The figure is a flow chart of a TPMS visual detection method based on machine vision according to an embodiment of the present invention.
[0039] Figure 2 The present invention is a flowchart of segmenting vehicle region features and tire region features in a TPMS visual detection method based on machine vision according to an embodiment of the present invention.
[0040] Figure 3 The figure is a schematic diagram of using triangulation to calculate the position information and driving direction of a target vehicle in a machine vision-based TPMS visual detection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution 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 used to limit the present invention.
[0042] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0043] The following will be combined with the drawings in the exemplary embodiments of the present invention to clearly and completely describe the technical solutions in the exemplary embodiments of the present invention. Obviously, the exemplary embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0044] The present invention provides a TPMS visual inspection method and system based on machine vision, which aims to solve the problems of manual operation, low efficiency, susceptibility to interference, etc. in the prior art. By introducing machine vision technology, the TPMS inspection process is fully automated, the dependence on manual operation is reduced, the accuracy and efficiency of the inspection are improved, and the anti-interference ability of the system is enhanced. By using the machine vision system to automatically identify vehicle information and accurately locate, the TPMS system can be efficiently and automatically inspected, thereby improving production efficiency and reducing human interference.
[0045] The technical solution of the present invention is further described below in conjunction with specific embodiments: See also Figure 1 As shown, Figure 1 A flow chart of a TPMS visual inspection method based on machine vision provided by the present invention. A TPMS visual inspection method based on machine vision provided in one embodiment of the present invention comprises the following steps: Step S10: deploy a camera in the detection area whose viewing angle covers the target vehicle entry and exit area, and capture image data of the target vehicle and its tires through the camera.
[0046] In this step, the camera is an industrial camera installed above the detection area and having a viewing angle covering the entire vehicle entry and exit area. The camera is connected to an image processing unit that processes image data in real time, and a light source module is also arranged around the camera.
[0047] Step S20: Segmenting vehicle region features and tire region features from the image data of the target vehicle and its tires based on image segmentation.
[0048] Step S30, combining the multi-angle images captured by the camera, using triangulation to calculate the location information and driving direction of the target vehicle, and calculating the optimal TPMS activation point according to the location information of the target vehicle; Step S40: When the distance from the target vehicle to the optimal TPMS activation point is lower than a preset threshold, the control system integrated in the computer generates an activation command and sends the activation command to the TPMS module of the target vehicle via a wireless signal. After receiving the activation signal, the TPMS module feeds back the activation status.
[0049] Step S50: When the target vehicle leaves the activation area, the control system automatically prepares for the detection of the next vehicle.
[0050] In the above steps, see Figure 2 As shown, when segmenting the vehicle region features and the tire region features from the image data of the target vehicle and its tires based on image segmentation, the following steps are included: Step S101, preprocessing the image data of the target vehicle and its tires captured by the industrial camera deployed in the detection area by image denoising, white balance adjustment and distortion correction; Step S102: input the preprocessed image data into the pre-trained Mask R-CNN model, and use the region proposal network to generate candidate regions for object detection, classify each candidate region into vehicles and tires, and generate corresponding pixel-level masks; Step S103: Segment the vehicle region and the tire region in the image according to the mask to form an independent feature map, thereby obtaining vehicle region features and tire region features.
[0051] Among them, the pre-trained Mask R-CNN model was trained on the vehicle and tire annotations on the dataset.
[0052] In this embodiment, the tire area features include extracted tire pattern features and gas state features, wherein Canny edge detection is used to extract the edge features of the tire pattern, and the pattern continuity is enhanced through morphological processing of corrosion and expansion; the tire pressure state is analyzed through the tire surface deformation and the change of the tire-ground contact area, as well as a pre-trained air pressure detection model to obtain the gas state feature.
[0053] Among them, the vehicle area features include characteristic information of the target vehicle's model, color and license plate.
[0054] In the above steps, see Figure 3 As shown, when using triangulation to calculate the location information and driving direction of the target vehicle, the following steps are included: Step S201, using multiple cameras installed in the detection area to synchronously capture multi-angle images covering the vehicle entry and exit area; Step S202: In the multi-angle images, identical feature points are identified by ORB to obtain matching results of the feature points; Step S203, according to the matching result of the feature point, the three-dimensional coordinates of the feature point are calculated through stereo vision and angle measurement; Step S204: Determine the specific coordinate position (x, y, z coordinates) of the vehicle in the detection area according to the extracted three-dimensional feature points; Step S205: Analyze the positions of the feature points of the front and rear axles of the vehicle, and calculate the driving direction and posture of the vehicle.
[0055] Through the above steps, the vehicle and tire area features can be segmented from the image data, the tire pattern and air pressure status can be analyzed, and the position and direction of the vehicle in the detection area can be accurately calculated, providing reliable data support for the precise activation of the TPMS system.
[0056] In the above steps, when calculating the optimal TPMS activation point according to the position information of the target vehicle, the following steps are included: Divide the TPMS activation area into several small areas, each of which corresponds to a potential activation point; Based on the vehicle's current position and driving direction, the vehicle's driving path within the detection area is predicted, and several potential activation points are selected in the TPMS activation area that the vehicle's path passes through; The signal coverage quality of each candidate activation point is calculated based on the signal strength of the selected potential activation point and the distance from the potential activation point to the signal receiving antenna at the current position of the vehicle, and the potential activation point with the best coverage quality is selected as the optimal activation point; the calculation formula for the signal coverage quality of each candidate activation point is:
[0057] In the formula, is the signal coverage quality, It is The signal strength of each activation point, It is The distance from the activation point to the signal receiving antenna of the vehicle's current position.
[0058] When the distance from the target vehicle to the optimal TPMS activation point is lower than the preset threshold, the target vehicle's position is calculated based on the Euclidean distance. To the optimal TPMS activation point The distance D is calculated as: .
[0059] For example, assuming that the current position of the vehicle is , the optimal activation point position is , the calculation steps are as follows: (1) Calculate the coordinate difference:
[0060]
[0061]
[0062] (2) Calculate the sum of squares:
[0063]
[0064]
[0065]
[0066] (3) Calculate Euclidean distance:
[0067] Therefore, the distance between the current position of the target vehicle and the optimal TPMS activation point is 7.071 meters.
[0068] In this embodiment, the activation instruction generated by the control system includes: Activation point location: The three-dimensional coordinates of the optimal activation point ( ); Activation time: the time when the activation signal is sent; Signal strength: ensure signal strength for effective activation; Protocol information: including communication protocol type and data format; Command ID: An ID that uniquely identifies the activation command for tracking and confirmation.
[0069] When the activation status is fed back, the TPMS module generates a status report containing the following contents: Activation status: the status of successful activation or activation failure; Feedback time: timestamp of feedback status; Signal strength: received signal strength; Module ID: The unique identifier of the TPMS module being fed back; Error code: If activation fails, the code containing the error reason; When sending feedback, the status report is sent back to the control system via the CAN bus or wireless communication module of the target vehicle communication network.
[0070] Therefore, the machine vision-based tire pressure monitoring system (TPMS) visual detection method of the embodiment of the present invention is an innovative method for realizing automatic activation and detection of a vehicle tire pressure monitoring module (TPMS) by using advanced image processing technology, machine learning algorithm and wireless communication technology. Multiple high-definition cameras are deployed in the detection area, which cover the target vehicle entry and exit area, and the visual information required for detection is obtained by capturing the image data of the target vehicle and its tires in real time. The captured image is denoised, enhanced and corrected using image preprocessing technology, and then the image is segmented using a deep learning algorithm to extract vehicle area features and tire area features from it to ensure the accuracy and reliability of the data. Based on multi-angle images and triangulation technology, the three-dimensional position information of the target vehicle and its driving direction are calculated. Based on this information, the best TPMS activation point is determined to ensure that the activation instruction can be accurately transmitted. When the distance between the position of the target vehicle and the best TPMS activation point is lower than a preset threshold, the system automatically generates an activation instruction. The instruction is sent to the TPMS module of the target vehicle through the wireless communication module. After receiving the activation instruction, the TPMS module feeds back its activation status. The system records and analyzes the feedback information to ensure the normal operation and maintenance of the TPMS. The system monitors the status of the target vehicle entering and leaving the detection area in real time, and automatically prepares for the next vehicle detection after the target vehicle leaves, ensuring the continuity and automation of the detection process. It realizes image capture, image processing, position calculation, activation instruction generation, status feedback and system monitoring and management operations.
[0071] The machine vision-based TPMS visual detection method of the embodiment of the present invention improves detection accuracy and reliability, and realizes high-precision and high-reliability TPMS detection through high-precision image segmentation and feature extraction, multi-angle image fusion and triangulation technology. It enhances system automation and intelligence, automatically generates activation instructions and monitoring management functions, and improves the automation and intelligence level of the system. It improves the adaptability and scalability of the system, flexibly deploys cameras and adapts to the detection of different models, and has good adaptability and scalability. It provides reliable activation status feedback, real-time feedback on activation status and error detection, and improves system reliability. It improves system security and stability, and ensures system security and stability through wireless communication encryption and multiple detection mechanisms.
[0072] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.
[0073] In one embodiment, the present invention provides a TPMS visual inspection system based on machine vision, which is used to perform the above-mentioned TPMS visual inspection method based on machine vision, and the system includes: The image capture module is used to capture image data of the target vehicle and its tires by deploying a camera in the detection area; wherein the image capture module also includes a camera control unit and an image storage unit, the camera control unit is used to control the shooting angle and focal length of the camera; the image storage unit is used to store the image data captured by the camera.
[0074] An image processing module is provided for segmenting vehicle area features and tire area features from image data of a target vehicle and its tires based on image segmentation; wherein the image processing module also includes an image preprocessing unit, an image segmentation unit and a feature extraction unit, wherein the image preprocessing unit is used for performing preprocessing operations such as denoising, enhancement and correction on the captured image; the image segmentation unit is used for segmenting the vehicle and tire areas using machine learning; and the feature extraction unit is used for extracting feature information of the vehicle and tire from the segmented image.
[0075] A position calculation module is used to combine the multi-angle images captured by the camera and use triangulation to calculate the position information and driving direction of the target vehicle, and calculate the optimal TPMS activation point based on the position information of the target vehicle; wherein the position calculation module includes a triangulation unit, a path prediction unit and an activation point calculation unit, wherein the triangulation unit is used to calculate the three-dimensional coordinates and driving direction of the vehicle based on the multi-angle images using a triangulation method; the path prediction unit is used to predict the path of the vehicle based on its current position and driving direction; and the activation point calculation unit is used to calculate the optimal TPMS activation point.
[0076] A control instruction generation module is used to generate an activation instruction when the distance between the target vehicle's position and the optimal TPMS activation point is lower than a preset threshold; wherein the control instruction generation module includes a threshold detection unit and an instruction generation unit, the threshold detection unit is used to detect whether the distance between the vehicle's current position and the optimal activation point is lower than a preset threshold; the instruction generation unit is used to generate an activation instruction including the activation point position, activation time, signal strength, protocol type, and instruction ID.
[0077] A wireless communication module is used to send activation instructions to the TPMS module of the target vehicle via wireless signals; wherein the wireless communication module includes a wireless transmission unit and a communication protocol unit, the wireless transmission unit is used to send the activation instructions generated by the control system to the TPMS module via wireless signals; the communication protocol unit is used to ensure that the wireless communication follows a specific communication protocol to ensure the correct transmission of the instructions.
[0078] The status feedback module is used to feedback the activation status after the TPMS module receives the activation signal, wherein the status feedback module includes a signal receiving unit and a status feedback unit, the signal receiving unit is used to receive the activation signal from the control system; the status feedback unit is used to generate and send a status report including the activation status, feedback time, signal strength, module ID, and error code.
[0079] In an embodiment of the present invention, the machine vision-based TPMS visual detection system further includes a system monitoring and management module. When the target vehicle leaves the activation area, the control system automatically prepares for the detection of the next vehicle.
[0080] Among them, the system monitoring and management module also includes a vehicle detection unit, a system reset unit and a data recording unit. The vehicle detection unit is used to detect the status of the vehicle entering and exiting the activation area; the system reset unit is used to reset the system after the target vehicle leaves to prepare for the detection of the next vehicle; the data recording unit is used to record the execution status and feedback status of each activation instruction for subsequent analysis and optimization.
[0081] Through the collaborative work of the above modules, the complete functions of the TPMS visual inspection system based on machine vision are realized, ensuring that the TPMS module can be accurately activated and the status can be fed back when the vehicle enters the designated activation area.
[0082] The machine vision-based tire pressure monitoring system (TPMS) visual detection system of the embodiment of the present invention is an efficient system that comprehensively utilizes machine vision technology, wireless communication technology and intelligent control technology to provide automatic activation and detection services for vehicle tire pressure monitoring modules (TPMS). The system is composed of the above-mentioned main modules, and the image capture module is a plurality of high-definition cameras deployed in the detection area, which are used to capture the image data of the target vehicle and its tires in real time. The camera control unit adjusts the shooting angle and focal length of the camera, and the image storage unit stores the captured image data; the image processing module pre-processes the captured image (such as denoising, enhancement and correction), and then performs image segmentation through a deep learning algorithm to extract feature information of the vehicle and tire area to ensure the accuracy of the data; the position calculation module calculates the three-dimensional position and driving direction of the target vehicle based on multi-angle images and triangulation technology, and determines the optimal TPMS activation point to ensure the accurate transmission of the activation instruction; when the distance between the position of the target vehicle and the optimal TPMS activation point is lower than the preset threshold, the control instruction generation module automatically generates an activation instruction containing information such as the activation point position, activation time and signal strength; the wireless communication module sends the activation instruction generated by the control system to the TPMS module of the target vehicle through a wireless signal to ensure the correct transmission of the instruction; the state feedback module receives the activation state information fed back by the TPMS module and transmits it back to the control system for recording and analysis; the system monitoring and management module monitors the status of the vehicle entering and exiting the detection area in real time, and automatically resets the system and prepares for the detection of the next vehicle after the target vehicle leaves, to ensure the continuity of the detection process.
[0083] The TPMS visual detection system based on machine vision in the embodiment of the present invention realizes high-precision and high-reliability detection of TPMS through high-precision image processing and position calculation technology, automatically generates activation instructions and real-time monitoring management functions, improves the automation and intelligence level of the system, flexibly deploys cameras and adapts to the detection needs of different models, has wide adaptability and high scalability, provides real-time and accurate activation status feedback, and has powerful fault handling capabilities. The TPMS visual detection system based on machine vision performs well in detection accuracy, automation, adaptability, feedback reliability, safety and stability, and is an ideal solution for realizing automatic activation and detection of vehicle TPMS modules.
[0084] In this embodiment, the TPMS visual inspection system based on machine vision adopts the steps of the aforementioned TPMS visual inspection method based on machine vision during execution. Therefore, the operation process of the TPMS visual inspection system based on machine vision will not be described in detail in this embodiment.
[0085] In one embodiment, a computer device is also provided in an embodiment of the present invention, comprising at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the machine vision-based TPMS visual detection method.
[0086] In one embodiment, the present invention further provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the steps of the machine vision-based TPMS visual detection method.
[0087] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be realized by instructing the relevant hardware through a computer program represented by computer instructions, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory.
[0088] Non-volatile memory may include read-only memory, magnetic tape, floppy disk, flash memory or optical storage, etc. Volatile memory may include random access memory or external cache memory. As an illustration and not limitation, RAM may be in various forms, such as static random access memory or dynamic random access memory, etc.
[0089] 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 TPMS visual detection method based on machine vision, characterized in that: The method comprises the following steps: Deploy a camera in the detection area that covers the target vehicle's entry and exit area, and capture image data of the target vehicle and its tires through the camera; Segmenting vehicle region features and tire region features from image data of a target vehicle and its tires based on image segmentation; In combination with the multi-angle images captured by the camera, the position information and driving direction of the target vehicle are calculated using triangulation, and the optimal TPMS activation point is calculated based on the position information of the target vehicle; When the distance from the target vehicle to the optimal TPMS activation point is lower than a preset threshold, the control system integrated in the computer generates an activation command and sends the activation command to the TPMS module of the target vehicle via a wireless signal. After receiving the activation signal, the TPMS module feeds back the activation status. When the target vehicle leaves the activation area, the control system automatically prepares for the detection of the next vehicle.
2. The TPMS visual detection method based on machine vision according to claim 1, characterized in that: The camera is an industrial camera installed above the detection area and having a viewing angle covering the entire vehicle entry and exit area. The camera is connected to an image processing unit that processes image data in real time, and a light source module is also arranged around the camera.
3. The TPMS visual detection method based on machine vision as claimed in claim 2, characterized in that: When segmenting the vehicle region features and the tire region features from the image data of the target vehicle and its tire based on image segmentation, the following steps are included: The image data of the target vehicle and its tires captured by the industrial camera deployed in the detection area are pre-processed by image denoising, white balance adjustment and distortion correction; The preprocessed image data is input into the pre-trained Mask R-CNN model, and the region proposal network is used to generate candidate regions for object detection. Each candidate region is classified as a vehicle and a tire, and the corresponding pixel-level mask is generated. The vehicle area and tire area in the image are segmented according to the mask to form independent feature maps, thereby obtaining vehicle area features and tire area features.
4. The TPMS visual detection method based on machine vision as claimed in claim 3, characterized in that: The tire area features include extracted tire pattern features and gas state features, wherein the edge features of the tire pattern are extracted using Canny edge detection, and the pattern continuity is enhanced through morphological processing of corrosion and expansion; the tire pressure state is analyzed through tire surface deformation and changes in the tire-ground contact area, as well as a pre-trained air pressure detection model to obtain the gas state features; the vehicle area features include feature information of the target vehicle's model, color, and license plate.
5. The TPMS visual detection method based on machine vision as claimed in claim 3, characterized in that: When using triangulation to calculate the location information and driving direction of the target vehicle, the following steps are included: Multiple cameras installed in the detection area synchronously capture multi-angle images covering the vehicle entry and exit area; In multi-angle images, the same feature points are identified through ORB to obtain the matching results of the feature points; According to the matching results of the feature points, the three-dimensional coordinates of the feature points are calculated through stereo vision and angle measurement; Determine the specific coordinate position of the vehicle in the detection area based on the extracted three-dimensional feature points; Analyze the positions of the feature points of the front and rear axles of the vehicle and calculate the vehicle's driving direction and posture.
6. The TPMS visual inspection method based on machine vision according to claim 5, characterized in that: When calculating the optimal TPMS activation point based on the target vehicle's position information, the following steps are included: Divide the TPMS activation area into several small areas, each of which corresponds to a potential activation point; Based on the vehicle's current position and driving direction, the vehicle's driving path within the detection area is predicted, and several potential activation points are selected in the TPMS activation area that the vehicle's path passes through; The signal coverage quality of each candidate activation point is calculated based on the signal strength of the selected potential activation point and the distance from the potential activation point to the signal receiving antenna at the current position of the vehicle, and the potential activation point with the best coverage quality is selected as the optimal activation point.
7. The TPMS visual inspection method based on machine vision according to claim 6, characterized in that: When the distance from the position of the target vehicle to the optimal TPMS activation point is lower than a preset threshold, the distance from the position of the target vehicle to the optimal TPMS activation point is calculated according to the Euclidean distance.
8. The TPMS visual inspection method based on machine vision according to claim 7, characterized in that: The activation commands generated by the control system include: Activation point position: the three-dimensional coordinates of the best activation point; Activation time: the time when the activation signal is sent; Signal strength: ensure signal strength for effective activation; Protocol information: including communication protocol type and data format; Command ID: An ID that uniquely identifies the activation command.
9. The TPMS visual inspection method based on machine vision as claimed in claim 8, characterized in that: When the activation status is fed back, the TPMS module generates a status report containing the following: Activation status: the status of successful activation or activation failure; Feedback time: timestamp of feedback status; Signal strength: received signal strength; Module ID: The unique identifier of the TPMS module being fed back; Error code: If activation fails, the code containing the error reason; When sending feedback, the status report is sent back to the control system via the CAN bus or wireless communication module of the target vehicle communication network.
10. A TPMS visual inspection system based on machine vision, characterized in that: Used to execute the TPMS visual inspection method based on machine vision according to any one of claims 1 to 9, the TPMS visual inspection system based on machine vision comprises: An image capture module, used for capturing image data of a target vehicle and its tires by deploying a camera in a detection area; An image processing module, which segments vehicle region features and tire region features from image data of a target vehicle and its tires based on image segmentation; A position calculation module is used to combine the multi-angle images captured by the camera, use triangulation to calculate the position information and driving direction of the target vehicle, and calculate the optimal TPMS activation point based on the position information of the target vehicle; A control instruction generation module, used for generating an activation instruction when the distance from the position of the target vehicle to the optimal TPMS activation point is lower than a preset threshold; A wireless communication module, used to send an activation command to a TPMS module of a target vehicle via a wireless signal; The status feedback module is used to feedback the activation status after the TPMS module receives the activation signal.
