A robot-based full-automatic detection method for positive and negative signals of automobile bottom

By using a robotic actuator for automatic positioning and clamping, combined with image recognition and filtering, fully automated detection of positive and negative signals at the bottom of a car is achieved. This solves the safety hazards and low efficiency caused by manual clamping, and improves the efficiency and consistency of detection.

CN123136226APending Publication Date: 2026-11-20SHANDONG DENGLANPU ROBOT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611304060.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In the current process of detecting positive and negative signals at the bottom of a car, the lack of manual clamping leads to safety hazards, low efficiency, and inconsistent measurement results, making it impossible to achieve full automation.

Method used

The system employs a robotic actuator for automatic positioning and clamping, combined with image recognition for automatic parameter retrieval. Through contact force quantitative discrimination and three-level filtering, it dynamically calculates thresholds based on historical data to determine compliance, thus achieving fully automated inspection throughout the entire process.

Benefits of technology

It eliminates the safety hazards of manual entry under the vehicle, improves detection efficiency and result consistency, realizes full-process automation, and reduces the time consumption and measurement deviation of manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136226A_ABST
    Figure CN123136226A_ABST
Patent Text Reader

Abstract

The application provides a kind of full-automatic detection method of robot-based automobile bottom positive and negative signal, belongs to the technical field of automobile electrical performance detection.The method comprises: triggering image acquisition after obtaining hoist platform in place signal, decoding bar code image to extract vehicle identity information, and calling detection parameter set to load to resistance detection module; reading detection parameter set generates motion trajectory data and drives execution mechanism to carry detection device to move to each detection point in turn; after reaching each calibration position, collect analog electric signal to obtain digital voltage value and digital resistance value after processing, and write into memory buffer area after being associated with detection point position identification and detection sequence number; read the digital value of each detection point and compare with standard threshold range to generate eligibility determination result, generate overall detection conclusion by integrating all determination results, and output release control signal according to overall detection conclusion.The application realizes full-process automation of automobile bottom positive and negative signal detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automotive electrical performance testing technology, and more specifically relates to a robot-based fully automated detection method for positive and negative signals at the bottom of a car. Background Technology

[0002] In the automotive production and quality inspection process, the detection of positive and negative signals at the bottom of the vehicle is a crucial step in verifying whether the potential balance and grounding resistance of the vehicle's electrical system meet the requirements. This test typically involves measuring the voltage and resistance values ​​between each positive and negative test point to determine whether the grounding performance of the vehicle's electrical system meets the standards.

[0003] Currently, mainstream automakers widely employ automated safety testing systems or equipotential bonding testing systems in their vehicle manufacturing inspection processes. These systems typically integrate barcode scanning capabilities, automatically recognizing vehicle VIN codes or barcodes and retrieving corresponding test parameters and procedures. During testing, the system automatically performs a series of operations, including voltage application, potential difference measurement, and data recording. After testing, all test data is uploaded to the quality management system in real time. Some advanced production lines also utilize integrated testing platforms to simultaneously perform multiple safety compliance tests, such as insulation and equipotential bonding, at multiple workstations.

[0004] However, the automation scope of the aforementioned automated systems is mainly concentrated on signal measurement and data management, and has not yet extended to the physical contact and acquisition of positive and negative signals under the vehicle. Regardless of whether the system itself has multi-channel testing capabilities or automatic data management functions, the testing personnel still need to bend over and enter under the vehicle to hold the test clamps and clamp them to each positive and negative test point. After clamping, they still need to manually check whether the clamps have fallen off or become loose. In the entire testing process, the step of automatically positioning and clamping the electrodes with the test clamps is completely missing. Manual operation remains the irreplaceable physical interface between the automated measuring equipment and the vehicle under test.

[0005] The lack of automation in this physical contact process has led to several practical problems. First, frequent entry of inspection personnel into the confined space under the vehicle poses safety hazards such as accidental vehicle movement and parts falling. Second, manual clamping is time-consuming and highly dependent on the operator's skill level, becoming a bottleneck in the efficiency of the inspection line. Third, the clamping force and contact position of different operators are difficult to standardize, which may affect the accuracy and consistency of the measurement results. Summary of the Invention

[0006] To address the above problems, the present invention aims to provide a fully automated method for detecting positive and negative signals at the bottom of a vehicle based on a robot. This invention achieves full automation of the detection process for positive and negative signals at the bottom of a vehicle by automatically positioning and clamping the actuator, automatically retrieving matching parameters through image recognition, quantitatively judging contact force, and performing three-level filtering. It also dynamically calculates thresholds based on historical data for qualification judgment and automatic release. This eliminates the need for manual entry under the vehicle, improving detection efficiency and result consistency.

[0007] To achieve the above objectives, the present invention employs the following technical solution: In a first aspect, embodiments of this application provide a fully automated method for detecting positive and negative signals at the bottom of a car based on a robot, comprising the following steps: S1: Obtain the platform's arrival signal, confirm that the vehicle has stopped at the preset fixed detection position, and generate an arrival trigger signal; S2: In response to the arrival trigger signal, trigger image acquisition and receive image data of the vehicle front barcode; decode the image data to extract vehicle identity information; use the vehicle identity information as a search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; synchronously transmit the detection parameter set to the built-in resistance detection module; the detection parameter set includes at least: negative electrode calibration position coordinates and three positive electrode calibration position coordinates, detection sequence number corresponding to each calibration position coordinate, and standard voltage threshold range and standard resistance threshold range corresponding to each detection point; S3: Read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, convert the motion trajectory data into a motion control command sequence, and output it to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection sequence number; S4: After the actuator reaches each calibrated position, a clamping control signal is sent to make the gripper of the detection device make electrical contact with the corresponding electrode; the analog electrical signal returned by the detection device is received through the data acquisition interface, and the analog electrical signal is transmitted to the resistance detection module. The resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage and digital resistance values, and writes them into the memory cache after associating them with the position identifier of the current detection point and the detection sequence number. S5: Read the digital voltage and digital resistance values ​​of each test point sequentially from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; combine the pass / fail judgment results of all test points to generate the overall test conclusion; S6: Associate the overall detection conclusion with the vehicle identity information to generate a detection record containing the vehicle identity information and the overall detection conclusion and store it in the database; at the same time, generate a corresponding release control signal based on the overall detection conclusion and output it to the crane controller through the control interface to control the crane to continue moving forward or stop.

[0008] In an optional implementation, step S1 includes: The digital input interface receives the switch level signal output from the position sensor installed at the detection station in real time. When the switch signal is detected to change from an invalid level to an effective level, it is determined that the platform has stopped at the preset fixed detection position; Record the timestamp of the transition moment and encapsulate the timestamp into an on-time trigger signal.

[0009] In an optional implementation, step S2 includes: In response to the arrival trigger signal, a trigger acquisition command is sent to the industrial camera fixed in front of the inspection station via the image acquisition interface, and the barcode image data transmitted back by the camera is received. ; right Grayscale image is obtained by performing grayscale conversion. Calculate the grayscale image global grayscale mean and standard deviation If the global grayscale mean Below the preset illuminance threshold Then, multi-scale Retinex illumination compensation processing is performed based on the following formula:

[0010] in, and These are the horizontal and vertical coordinates of the image pixels; It is a Gaussian loop function. , The normalization constant is is the scaling parameter of the Gaussian wrap function; This is the convolution operator; This is a lighting-compensated image; When performing multi-scale Retinex illumination compensation, three Gaussian wrap functions of different scales were used. , , The calculation yields the reflection components corresponding to each of the three scales. , , The illumination-compensated image is obtained by taking a weighted average of the three reflection components and then performing an exponential operation. ; For the illumination compensation image Perform adaptive histogram equalization to obtain the equalized image. The equalized image The cumulative grayscale distribution function is mapped to the full grayscale range; The equalized image is detected using Hough transform. The edge line cluster of the barcode area is used to determine the coordinates of the four corner points of the barcode, and the perspective transformation matrix is ​​calculated. Correct the distorted region to a standard rectangle: To obtain the perspective-corrected image ; The perspective-corrected image Adaptive threshold binarization is performed to divide the image into several sub-blocks, using the formula... Calculate the threshold for each sub-block Obtain the binarized image ;in The average grayscale value of the sub-block. This is a preset constant; For the binarized image Run a barcode decoding algorithm to extract vehicle identification information ; Based on the vehicle identity information To retrieve keywords, the corresponding detection parameter set is retrieved from the detection parameter database via a database query interface. The detection parameter set Includes a subset of detection parameters for each detection point. ,in The detection point indices correspond to the negative electrode and the three positive electrodes, respectively; For the first The coordinates of the calibration location of each detection point; For the first The detection sequence number of each detection point; and The first The standard voltage lower limit threshold and standard voltage upper limit threshold corresponding to each detection point; and The first The lower and upper limits of the standard resistance corresponding to each detection point; The detection parameter set Loaded into memory and synchronously transmitted to the built-in resistance detection module, the resistance detection module then determines the value based on the received data. The range and gain parameters of its analog-to-digital conversion unit are automatically configured, and after configuration, the resistance detection module enters the acquisition state.

[0011] In an optional implementation, step S3 includes: Read the detection parameter set from memory. Obtain the coordinates of the negative electrode calibration position and the coordinates of the three positive electrodes. ; Acquire the measurement values ​​from at least three laser rangefinders installed at the inspection station. Calculate the actual position deviation vector of the lifting platform in the vehicle under-body coordinate system. ,in and For translational deviation, For yaw angle deviation, via: Calculation, Middle The installation distance between sensor 1 and sensor 2; According to the actual position deviation vector Apply the formula to the coordinates of each calibration position. Perform position compensation and calculate the compensated calibration position coordinates. ;in, Let be the rotation matrix about the Z-axis; It is a translation vector; The compensated calibration position coordinates Rewrite to memory to update the detection parameter set Position coordinate data in the middle; Read the compensated calibration position coordinates from memory. The inverse kinematics transformation converts the values ​​into target angles for each joint of the actuator. ,in For the number of joints, For the first The first joint corresponds to the first The target angle value at each detection point; For any joint At the angle of adjacent targets and The motion trajectory is planned using the following fifth-order polynomial interpolation:

[0012] The following boundary conditions must be met:

[0013] in, It is a time variable; The time of motion between adjacent target angle points; and The first The velocity boundary values ​​of each joint at adjacent target angle points; and The first The acceleration boundary values ​​of each joint at adjacent target angle points; The coefficients are those of a fifth-degree polynomial. Substituting the boundary conditions into the fifth-degree polynomials respectively and its first derivative and second derivative To obtain information about the coefficients Solve the system of six linear equations in variables to obtain the coefficients. Generate motion trajectory data; The motion trajectory data is converted into a sequence of motion control commands that the actuator can recognize, and then output to the actuator drive module through the motion control interface to drive the actuator to carry the detection device in the specified detection sequence. Move sequentially to the compensated negative electrode calibration position. and the three positive electrode calibration positions after compensation And the compensated and calibrated position coordinates of the current detection point. Fetch back to memory.

[0014] In an optional implementation, step S4 includes: After the actuator reaches each calibrated position, a clamping control signal is sent through the digital output interface to close the grippers of the detection device to form electrical contact with the corresponding electrode. Continuously sample the contact force values ​​at the gripper to construct a contact force sequence. ;in The number of sampling points. For the first Contact force values ​​at each sampling point ; The steady-state value of the contact force is calculated using the following formula. :

[0015] in This is the width of the transient window; Using formula Calculate the contact force fluctuation coefficient ,in For the contact force sequence Standard deviation; Using formula Calculate the rate of increase of contact force, where The sampling interval; If satisfied , and ,in and If the preset threshold is met, it is determined to be a reliable contact and data acquisition is initiated; otherwise, it is determined to be an unreliable contact, and a re-clamping command is issued. If the number of re-clamping attempts exceeds the preset threshold, an alarm signal is generated and data acquisition at the current detection point is terminated. After confirming reliable contact, the analog electrical signal returned by the detection device is received via the data acquisition interface at a preset sampling frequency. A preset number of data points are continuously collected to obtain the original voltage sequence. and the original resistance sequence And transmit it to the resistance detection module; where For sampling point index, , The preset total number of data points; The resistance detection module performs smoothing processes on the original voltage sequence and the original resistance sequence sequentially based on the range and gain parameters configured according to the detection parameter set. These processes include amplitude limiting filtering to remove outliers, adaptive median filtering to smooth noise, and recursive weighted moving average filtering. The recursive weighted moving average filtering formula is as follows:

[0016] in, The sequence after recursive weighted moving average filtering is at the 1st... The values ​​of each sampling point; For the adaptive median filtered sequence at the th The values ​​of each sampling point; For adaptive weights, , For scale parameters; The final values ​​of the voltage and resistance sequences generated after recursive weighted moving average filtering are taken as the effective voltage values ​​of the detection point. and effective resistance value And the effective voltage value is obtained through direct memory access. and effective resistance value Write to memory cache ; From memory cache Read the effective voltage value and the effective resistance value The compensated calibrated position coordinates of the current detection point and detection sequence number Join to generate associated data tuples Then rewrite to the memory cache .

[0017] In an optional implementation, step S5 includes: From memory cache Read the associated data tuples of each detection point sequentially. Obtain the effective voltage value at each detection point. and effective resistance value ; For the Each detection point reads its standard voltage threshold range from memory. and standard resistance threshold range And read the historical average voltage of the same vehicle model and the same test point from the historical database. Historical voltage variance Historical average resistance Historical resistance variance ; Calculate the dynamic voltage lower limit threshold using the following formula. and dynamic voltage upper limit threshold :

[0018]

[0019] In the formula, These are statistical coefficients; This is the environmental compensation coefficient; ,in This is the voltage temperature drift coefficient. The current ambient temperature. Standard ambient temperature; Calculate the lower limit threshold of dynamic resistance using the following formula. and dynamic resistance upper limit threshold :

[0020]

[0021] in , This is the temperature drift coefficient of the resistance. Dynamic voltage threshold range and dynamic resistance threshold range Write to memory, replacing the original standard voltage threshold range and standard resistance threshold range ; effective voltage value With dynamic voltage threshold range Compare the effective resistance values. With dynamic resistance threshold range In comparison, if and , then the detection point is determined to be qualified, otherwise it is unqualified, and the qualification determination result of each detection point is generated in sequence , where indicates qualification, indicates unqualified; a logical AND operation is performed on the qualification determination results of all detection points to obtain an overall detection conclusion ; when the value of the overall detection conclusion is , it indicates that the overall detection conclusion is qualified, and when it is , it indicates that the overall detection conclusion is unqualified; for each detection point, the detection confidence is calculated as follows :

[0022] wherein, the voltage term and the resistance term are respectively:

[0023] when , takes a value of 0; when , takes a value of 0; if the detection confidence is lower than the preset confidence threshold, low confidence warning information is generated and associated with the detection record.

[0024] In an optional embodiment, the step S6 comprises: associating the overall detection conclusion with the vehicle identity information ; assembling the vehicle identity information , the effective voltage value of each detection point , the effective resistance value , the dynamic voltage threshold interval , the dynamic resistance threshold interval , the qualification determination result of each detection point , the overall detection conclusion , the detection confidence , the low confidence warning information and the detection timestamp into a complete detection record , storing the same in a local database, and synchronously uploading the same to a production management system through a network interface; Based on the overall test results Generate the corresponding release control signal; if If the signal is triggered, a control signal is generated to allow passage, which is sent to the crane controller via a digital output interface or fieldbus, causing the crane to release the brakes and continue moving along the track; if If the error is detected, a control signal prohibiting passage will be generated and an alarm trigger signal will be attached. At the same time, the non-compliance information will be displayed on the local human-machine interface. Only after the abnormality is resolved can a control signal allowing passage be regenerated to control the crane to stop or move forward.

[0025] Secondly, embodiments of this application also provide a robot-based fully automated detection system for positive and negative signals at the bottom of a car, comprising: The positioning detection module is used to acquire the positioning signal of the crane platform, confirm that the car has stopped at the preset fixed detection position, and generate a positioning trigger signal; The image recognition and parameter configuration module is used to respond to the arrival trigger signal, trigger image acquisition, and receive image data of the vehicle front barcode; decode the image data to extract vehicle identity information; use the vehicle identity information as a search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; synchronously transmit the detection parameter set to the built-in resistance detection module; the detection parameter set includes at least: the coordinates of the negative electrode calibration position and the coordinates of three positive electrode calibration positions, the detection sequence number corresponding to each calibration position coordinate, and the standard voltage threshold range and standard resistance threshold range corresponding to each detection point; The motion control module is used to read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, and convert the motion trajectory data into a motion control command sequence. The sequence is then output to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection order number. The signal acquisition and processing module is used to send a clamping control signal after the actuator reaches each calibrated position, so that the gripper of the detection device forms electrical contact with the corresponding electrode; it receives the analog electrical signal returned by the detection device through the data acquisition interface, transmits the analog electrical signal to the resistance detection module, and the resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage value and digital resistance value, and writes them into the memory cache after associating them with the position identifier of the current detection point and the detection sequence number; The data analysis and judgment module is used to sequentially read the digital voltage and digital resistance values ​​of each test point from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; and to generate an overall test conclusion by combining the pass / fail judgment results of all test points. The data recording and release control module is used to associate the overall detection conclusion with the vehicle identity information, generate a detection record containing the vehicle identity information and the overall detection conclusion, and store it in the database; at the same time, it generates a corresponding release control signal based on the overall detection conclusion, and outputs it to the crane controller through the control interface to control the crane to continue moving forward or stop.

[0026] Thirdly, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the robot-based fully automatic detection method for positive and negative signals at the bottom of a car as described in any of the above embodiments.

[0027] Fourthly, embodiments of this application also provide a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the robot-based fully automatic detection method for positive and negative signals at the bottom of a car as described in any of the above embodiments.

[0028] As can be seen from the above technical solutions, the present invention has the following advantages: This application provides a robot-based fully automated detection method for positive and negative signals on the underside of a vehicle. An actuator automatically moves the detection device to the calibrated positions of each detection point and automatically sends clamping control signals to make electrical contact between the grippers and electrodes, achieving automatic positioning and clamping of the detection device under the vehicle. Based on this, a barcode image is automatically acquired and decoded through an image acquisition interface to extract vehicle identification information. Using this information as a search keyword, the corresponding detection parameter set is automatically retrieved. After position deviation compensation, the actuator sequentially acquires signals from each detection point according to the detection sequence number. The acquired raw voltage and resistance sequences undergo three stages of processing: amplitude limiting filtering, adaptive median filtering, and recursive weighted moving average filtering to obtain effective values. These values ​​are compared with a dynamic threshold range to generate the pass / fail judgment result for each detection point. After all detection points are judged, a release signal is automatically output to allow the crane to continue moving forward. The entire detection process eliminates the need for manual entry under the vehicle, removing safety hazards. Detection efficiency and result consistency are significantly improved. Detection data is automatically stored and uploaded to the production management system, achieving complete recording and traceability management of the detection results for each vehicle.

[0029] This application utilizes an actuator to automatically move the detection device to the calibrated positions of each detection point and automatically sends clamping control signals to establish electrical contact between the grippers and electrodes, achieving automatic positioning and clamping of the detection device under the vehicle. After the grippers close, the system continuously samples the contact force value and calculates three characteristic quantities: the steady-state value of the contact force, the fluctuation coefficient, and the rate of rise. Based on a preset threshold range, it automatically determines whether reliable contact has been achieved, further ensuring the reliability of the clamping process. Throughout the entire detection process, the system automatically completes the motion trajectory planning of the actuator, the closing and releasing of the grippers, the determination of the contact state, and the re-clamping decision, eliminating the need for manual entry under the vehicle and avoiding threats to the personal safety of operators such as accidental vehicle movement or falling parts.

[0030] This application utilizes an actuator that, after positional deviation compensation, automatically moves sequentially to each testing point according to the testing order number. Upon reaching each calibrated position, it automatically sends a clamping control signal and initiates data acquisition. The acquired signals are filtered and automatically compared with a threshold range to generate a judgment result. After all testing points are completed, a release signal is automatically output to allow the crane to continue moving forward. The entire process requires no manual intervention, eliminating the time-consuming steps of manually bending over to enter under the vehicle with the test clamps, clamping each testing point one by one, manually reading and recording data, and manually exiting under the vehicle and releasing it. The testing speed is not affected by personnel proficiency or environmental factors, significantly reducing the testing time per vehicle and eliminating the problem of manual operation as a bottleneck in the testing production line.

[0031] This application continuously samples the contact force value after the gripper closes, constructs a contact force sequence, and calculates three characteristic quantities: steady-state contact force value, fluctuation coefficient, and rate of rise. Based on a preset threshold range, it determines whether the contact is reliable, achieving quantitative discrimination and closed-loop control of the contact state. This ensures that the gripping force and contact state remain consistent in each detection, eliminating measurement deviations caused by differences in manual operation force and position. Simultaneously, the acquired raw voltage and resistance sequences are sequentially smoothed using amplitude limiting filtering to remove outliers, adaptive median filtering to smooth noise, and recursive weighted moving average filtering. This effectively suppresses power frequency interference and contact noise, ensuring the consistency and accuracy of signal acquisition at each detection point.

[0032] This application retrieves the corresponding detection parameter set from the detection parameter database using vehicle identification information as the search keyword. This parameter set includes the coordinates of each detection point's calibration location, the detection sequence number, and the standard voltage and resistance threshold ranges corresponding to each detection point. This allows the system to automatically switch the corresponding detection location and judgment criteria based on different vehicle models. Based on this, the system reads the historical average and variance of the same vehicle model and the same detection point from the historical database. Combining the standard threshold ranges and the current ambient temperature, it calculates the dynamic lower and upper limits of voltage and resistance, and replaces the fixed standard threshold ranges for pass / fail judgment. This allows the judgment thresholds to be continuously optimized with the accumulation of historical data. Simultaneously, it calculates the detection confidence level and generates a warning message when the confidence level falls below a preset threshold. This achieves a quantitative assessment of the reliability of the judgment results, avoiding the problem of poor adaptability of fixed thresholds under different environmental conditions and vehicle models, and reducing the false judgment rate.

[0033] This application assembles vehicle identification information, effective voltage and resistance values ​​at each testing point, dynamic voltage threshold range, dynamic resistance threshold range, pass / fail judgment results at each testing point, overall testing conclusion, testing confidence level, low confidence warning information, and testing timestamp into a complete testing record, which is stored in a local database and synchronously uploaded to the production management system via a network interface. The testing data for each vehicle is uniquely linked to its vehicle identification information, forming a complete testing file and providing comprehensive and reliable data support for subsequent quality statistical analysis and abnormal vehicle tracing. Attached Figure Description

[0034] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 A flowchart illustrating the fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as provided in this application.

[0036] Figure 2 This is a schematic diagram of the structure of the robot-based fully automated detection system for positive and negative signals on the bottom of a car, as provided in this application.

[0037] Figure 3 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation

[0038] The various embodiments of this disclosure will be described more fully in the following detailed description of the specific steps of the fully automated detection method for positive and negative signals on the bottom of a car based on a robot. This disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of this disclosure to the specific embodiments disclosed herein, but rather this disclosure should be understood to cover all adjustments, equivalents, and / or alternatives falling within the spirit and scope of the various embodiments of this disclosure.

[0039] In the following, the terms “comprising” or “may include”, which may be used in various embodiments of this disclosure, indicate the presence of the disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in various embodiments of this disclosure, the terms “comprising,” “having,” and their cognates are intended only to indicate a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing, or the possibility of adding one or more combinations of the foregoing.

[0040] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0041] Please see Figure 1The diagram shows a flowchart of a fully automated robot-based method for detecting positive and negative signals on the bottom of a car, applied to a potential equalization detection station on an automotive assembly line or testing line. The detection station is equipped with a platform track, a positioning sensor, an industrial camera, a laser rangefinder, an actuator, a resistance detection module, and a platform controller. A detection device is installed at the end of the actuator, comprising automatically opening and closing grippers and a force sensor for measuring contact force. Conductive probes are provided on the gripping surfaces of the grippers to form electrical contact with the electrodes being tested. The resistance detection module has a built-in analog-to-digital conversion unit and a digital signal processing unit. As a core functional module for data processing, it only performs analog-to-digital conversion and digital filtering, and does not participate in subsequent data analysis and pass / fail determination. The data processing core is responsible for all analysis and control functions, including image decoding, parameter retrieval, motion trajectory planning, contact state discrimination, dynamic threshold calculation, pass / fail determination, confidence assessment, and release control. The resistance detection module is connected to the processor and memory of the data processing core via an internal bus. The valid values ​​it collects can be written to the memory cache via direct memory access for subsequent analysis and retrieval. The positioning sensor, employing a proximity switch or photoelectric sensor, is installed at the predetermined stop position of the inspection station to detect whether the lifting platform has reached the designated location. An industrial camera is fixedly mounted on a bracket in front of the inspection station, with its lens aimed at the barcode affixed area on the front of the car, and equipped with supplementary lighting to adapt to different ambient lighting conditions.

[0042] The testing process automatically starts when a vehicle is transported to the testing station via a crane along the track. This method is applicable to the potential equalization testing process before new energy vehicles are assembled and rolled off the production line, and is also suitable for grounding resistance testing of traditional fuel vehicles and hybrid vehicles.

[0043] The method includes the following steps: S1: Obtain the platform's position signal, confirm that the vehicle has stopped at the preset fixed detection position, and generate a position trigger signal.

[0044] In a specific implementation, the output signal of the position sensor is monitored in real time via a digital input interface. The position sensor uses a normally open proximity switch. When the platform has not arrived, it outputs a low level (invalid level). When the platform moves to the predetermined detection position, the sensing baffle on the platform enters the detection area of ​​the proximity switch, and the switch signal changes from low level to high level (valid level). After detecting this level change, it is determined that the platform has accurately stopped at the preset fixed detection position.

[0045] Subsequently, the system time at the moment of the transition is recorded as a timestamp. And encapsulate the timestamp as an arrival trigger signal.

[0046] As a preferred embodiment, two positioning sensors can be installed on the left and right sides of the platform track, respectively. The platform is only determined to be in position when both sensors output a valid level at the same time, so as to avoid the detection process being erroneously started due to a single sensor being falsely triggered.

[0047] S2: In response to the arrival trigger signal, trigger image acquisition and receive image data of the barcode on the front of the vehicle; decode the image data and extract vehicle identity information; use the vehicle identity information as a search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; synchronously transmit the detection parameter set to the built-in resistance detection module; the detection parameter set includes at least: the coordinates of the negative electrode calibration position and the coordinates of three positive electrode calibration positions, the detection sequence number corresponding to each calibration position coordinate, and the standard voltage threshold range and standard resistance threshold range corresponding to each detection point.

[0048] In a specific implementation, in response to the arrival trigger signal, a trigger acquisition command is sent to the industrial camera via the image acquisition interface. Upon receiving the trigger command, the industrial camera captures an image of the barcode on the front of the car according to preset exposure and gain parameters, and then transmits the image data. Return. The barcode, which can be a QR code or Code128 code, can be affixed to the inside of the car's windshield or a designated location on the front bumper and contains vehicle identification information. This information includes at least the vehicle model code and production serial number.

[0049] Received barcode image data Then, it is first converted to grayscale to obtain a grayscale image. Grayscale conversion can be achieved using a weighted average method, which calculates the values ​​of the three RGB channels according to... The weights are then fused. The grayscale image is then calculated. global grayscale mean and standard deviation To assess the overall illumination level of the current image. If the global grayscale mean... Below the preset illuminance threshold If the ambient light is insufficient, it may affect the barcode recognition rate, so multi-scale Retinex illumination compensation processing is performed.

[0050] The principle of multi-scale Retinex illumination compensation is to decompose an image into illuminance and reflectance components, and restore the true color of objects by removing the influence of the illuminance component. In practice, illumination compensation is performed based on the following formula:

[0051] in, This is the convolution operator, representing the Gaussian wrapping function. With grayscale image The convolution operation. The specific form of the Gaussian wrap function is: ,in This is a normalization constant, ensuring that the integral of the wraparound function is 1. The scale parameter is used. To balance dynamic range compression and color fidelity, this embodiment employs Gaussian wrap-around functions at three different scales: large, medium, and small. , , Each participating in the calculation has its own scale parameters. These correspond to large-scale (suppressing uneven illumination while preserving overall brightness), medium-scale (balancing dynamic range and detail), and small-scale (preserving detail and edge information), respectively. A reflection component is calculated independently at each scale. , , The illumination-compensated image is obtained by taking a weighted average of the three reflection components and then performing an exponential operation. The weighting coefficients for each scale in the weighted average can be adjusted according to the actual scenario; for example, 1 / 3 can be taken for each of the large, medium, and small scales.

[0052] Obtain illumination-compensated images Then, adaptive histogram equalization is performed on it to obtain the equalized image. This step will The gray-level cumulative distribution function is mapped to the full gray-level range. This enhances the global contrast of the image, making the edges of the barcode clearer. The difference between adaptive histogram equalization and ordinary histogram equalization is that the latter uses a single transformation function for the entire image, while adaptive histogram equalization calculates the transformation function for different regions of the image separately, which can better adapt to uneven lighting conditions.

[0053] Next, the equalized image is detected using Hough transform. The barcode region is characterized by a cluster of parallel lines along its edges. The basic principle of the Hough transform is to map edge points in image space to parameter space, identifying lines by detecting peaks in the parameter space. A barcode consists of a series of parallel black and white stripes, with their edges forming a cluster of parallel lines. By detecting the tilt angle and spacing of this cluster of lines, the position and orientation of the barcode in the image are determined. Subsequently, based on the detected cluster of edge lines, the coordinates of the four corner points of the barcode region are determined, and the perspective transformation matrix is ​​calculated. Correct the distorted barcode area to a standard rectangle: To obtain the perspective-corrected image Perspective transformation can correct trapezoidal distortion caused by tilted shooting angle, ensuring that the barcode stripes remain parallel and of equal width.

[0054] Then, the perspective-corrected image Adaptive thresholding binarization is performed. Unlike global binarization, which uses a single threshold, adaptive thresholding binarization divides the image into several sub-blocks, and the threshold for each sub-block is calculated independently. ,in The average grayscale value of the sub-block. This is a preset constant. The size of the sub-block is set according to the width of the barcode stripes, typically 20 to 30 pixels. This processing effectively eliminates the influence of uneven lighting on the binarization effect, resulting in a binarized image. Finally, the binarized image is... Run a barcode decoding algorithm to extract vehicle identification information .

[0055] Obtain vehicle identity information After that, with To retrieve keywords, the corresponding detection parameter set is retrieved from the detection parameter database via a database query interface. The set of detection parameters Includes a subset of detection parameters for each detection point. ,in The detection point indices correspond to the negative electrode and the three positive electrodes, respectively; For the first The coordinates of each detection point are referenced to the vehicle undercarriage coordinate system. For the first The detection sequence number of each detection point; and These are the lower standard voltage threshold and the upper standard voltage threshold, respectively. and These are the lower threshold and upper threshold of the standard resistance, respectively. The set of detection parameters... It is loaded into memory and synchronously transmitted to the resistance detection module.

[0056] The resistance detection module receives the signal. The module automatically configures the range and gain parameters of its analog-to-digital converter (ADC). Specifically, the resistance detection module automatically selects appropriate voltage and resistance ranges based on the standard voltage and resistance threshold ranges for each detection point. This ensures that the subsequently acquired analog signal is within the optimal conversion range of the ADC, avoiding insufficient resolution due to an excessively large range or signal saturation due to an excessively small range. After configuration, the resistance detection module enters a ready-to-acquire state, awaiting the input of the raw analog signal.

[0057] S3: Read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, convert the motion trajectory data into a motion control command sequence, and output it to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection sequence number.

[0058] In a specific implementation, the detection parameter set is read from memory. Obtain the coordinates of the negative electrode calibration position and the coordinates of the three positive electrodes. ,in These coordinates are pre-calibrated in the vehicle's undercarriage coordinate system, representing the ideal position of each inspection point. However, in actual production lines, there may be positional deviations each time the crane stops, thus requiring real-time position compensation.

[0059] To obtain the actual positional deviation of the current lifting platform, the measurement values ​​of at least three laser rangefinders installed at the detection station are read. Three laser rangefinders are installed at fixed reference points at the inspection station, and laser beams illuminate three reflecting surfaces on the platform. By comparing the measured distance with the calibrated distance, the actual position deviation vector of the platform in the vehicle undercarriage coordinate system is calculated. ,in and For translational deviation, This refers to the yaw angle deviation. It can be calculated using the following formula:

[0060] in This is the installation distance between sensor 1 and sensor 2. This formula utilizes the relationship between the distance difference between different sensors and the angle. When the platform yaws and rotates, the distance values ​​of sensor 1 and sensor 2 will show opposite deviation trends, and the difference between the two is proportional to the tangent of the yaw angle. and It is then obtained by jointly calculating the ranging values ​​from the three sensors.

[0061] After obtaining the actual position deviation vector, rigid body transformation is applied to the coordinates of each calibration position for position compensation. The formula for rigid body transformation is:

[0062] in Let Z be the rotation matrix about the Z-axis. This is a translation vector. This transformation maps the calibration position coordinates of each detection point from the ideal coordinate system to the current actual coordinate system, obtaining the compensated calibration position coordinates. The compensated coordinates are then rewritten into memory to update the detection parameter set. The location coordinate data in the middle.

[0063] Based on this, the compensated calibration position coordinates are read from memory. The inverse kinematic transformation converts it into the target angle values ​​of each joint of the actuator. ,in For the number of joints, For the first The first joint corresponds to the first The target angle values ​​at each detection point. Inverse kinematics transformation is a common technique in robot kinematics, which solves for the joint angles based on the target pose of the end effector.

[0064] To ensure smooth movement of the actuator between each detection point and avoid impact and vibration, for any joint... At the angle of adjacent targets and The motion trajectory is planned using fifth-order polynomial interpolation:

[0065] A quintic polynomial can simultaneously guarantee the continuity of angle, angular velocity, and angular acceleration, avoiding the problem of discontinuities in angular velocity or angular acceleration at intermediate points in a cubic polynomial. The boundary conditions are:

[0066] in For time variables, The time of motion between adjacent target angle points. and For velocity boundary values, and These are the acceleration boundary values. In this embodiment, the velocity and acceleration at the start and end points of the path are typically set to zero to ensure smooth start and stop. The motion time of each joint. It can be calculated and determined based on the maximum speed and maximum acceleration limits of the joint to ensure that the movement does not exceed the physical limits of the actuator.

[0067] Substituting the six boundary conditions into the fifth-degree polynomial and its first and second derivatives, respectively, each boundary condition forms a condition relating to the coefficients. The linear equation. Specifically, and Substitute them separately We obtain two equations about position, and substitute them into... We obtain two equations about velocity, and substitute them into... Two equations concerning acceleration are obtained, forming a system of six linear equations in six variables. The coefficient matrix of this system is a full-rank square matrix, indicating a unique solution. The system of equations is solved using Gaussian elimination or LU decomposition to obtain the coefficients. This generates complete motion trajectory data.

[0068] Subsequently, the motion trajectory data is converted into a sequence of motion control commands recognizable by the actuator, typically the target angle values ​​of each joint within each interpolation cycle, and output to the actuator drive module via a motion control interface (such as an EtherCAT bus). The drive module then drives the actuator, carrying the detection device numbered according to the detection sequence, according to the command sequence. Move sequentially to the compensated negative electrode calibration position. and the three positive electrode calibration positions after compensation The actuator continuously provides feedback on its current position during movement. Upon reaching each detection point, the compensated coordinates of that point are calibrated. Fetch back to memory.

[0069] S4: After the actuator reaches each calibrated position, a clamping control signal is sent to make the gripper of the detection device make electrical contact with the corresponding electrode; the analog electrical signal returned by the detection device is received through the data acquisition interface, and the analog electrical signal is transmitted to the resistance detection module. The resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage and digital resistance values, which are then associated with the position identifier of the current detection point and the detection sequence number and written into the memory cache.

[0070] In this specific implementation, this step begins after position compensation and trajectory planning are completed. Once the actuator reaches the calibrated position of each detection point, it sends a clamping control signal via a digital output interface, causing the grippers of the detection device to close and form electrical contact with the corresponding electrode. The closing speed and clamping force of the grippers are preset using servo drive parameters to ensure reliable contact while avoiding damage to the electrodes.

[0071] To ensure reliable clamping, after sending the clamping control signal, The contact force values ​​of the force sensor at the gripper are continuously sampled at sampling intervals to construct a contact force sequence. In this embodiment, the number of sampling points Set the value to 20. In the initial stage after the grippers have just closed, the contact force is not yet stable, therefore the transient window width is set accordingly. That is, discarding the first 5 sampling points and using only the last 15 sampling points to calculate the steady-state value. (Contact force steady-state value) Calculated using the following formula:

[0072] At the same time, the contact force fluctuation coefficient is also calculated. ,in For the contact force sequence The standard deviation is used to assess the stability of the contact force. The rate of increase in contact force is also calculated. It is used to evaluate the response speed of the gripper closing action.

[0073] If satisfied , and If this condition is met, reliable contact is established and data acquisition is initiated. The preset reliable contact force threshold range, The threshold for the volatility coefficient. The threshold values ​​represent the rate of rise. In this embodiment, these thresholds can be calibrated based on the mechanical characteristics of the grippers and the electrode material. If any of the above conditions are not met, it is determined to be unreliable contact, a re-clamping command is issued, and the clamping control signal is resent to attempt clamping again. If the number of re-clamping attempts exceeds a preset threshold, an alarm signal is generated and data acquisition at the current detection point is terminated.

[0074] After confirming reliable contact, the analog electrical signal returned by the detection device is received via the data acquisition interface at a preset sampling frequency (1kHz in this embodiment), and the data is continuously collected. From the data points, the original voltage sequence is obtained. and the original resistance sequence These raw sequences are then transmitted to the resistance detection module.

[0075] The resistance detection module performs three-stage filtering on the original voltage and resistance sequences sequentially, based on the range and gain parameters configured in the detection parameter set received in step S2. The first stage is amplitude limiting filtering, used to remove outliers. The sliding window mean is then calculated. and standard deviation Window length Eliminate those that meet the requirements Outliers are identified and replaced using linear interpolation. The second stage is adaptive median filtering to smooth noise. The window size is adaptively adjusted based on the median deviation; the window is increased when the median deviation is small to enhance the smoothing effect, and decreased when the median deviation is large to preserve details. The third level is a recursive weighted moving average filter:

[0076] Adaptive weights , This is the scale parameter. A characteristic of this filter is that when the current measurement value deviates significantly from the historical filtered value, As the value approaches 1, the filter output becomes more dependent on the current measurement to respond quickly to signal changes; when the deviation is small, As the value approaches 0, the filtered output becomes more reliant on historical values ​​to maintain smoothness.

[0077] The resistance detection module takes the last value of the filtered sequence. The effective voltage value at this detection point and effective resistance value The two valid values ​​are then written to the memory cache via direct memory access. Direct memory access (DMI) allows the resistor sensing module to bypass the processor and write data directly to memory, reducing data transfer latency and processor overhead.

[0078] Then, from the memory cache Read the effective voltage value and the effective resistance value The compensated calibrated position coordinates of the current detection point and detection sequence number Join to generate associated data tuples Then rewrite to the memory cache This association operation ensures that the measurement data of each detection point corresponds one-to-one with the identification of that point.

[0079] S5: Read the digital voltage and digital resistance values ​​of each test point sequentially from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; combine the pass / fail judgment results of all test points to generate the overall test conclusion.

[0080] In a specific implementation, after completing the signal acquisition and association of all detection points, the data is retrieved from the memory cache. Read the associated data tuples of each detection point sequentially. Obtain the effective voltage value at each detection point. and effective resistance value .

[0081] For the Each detection point reads its standard voltage threshold range from memory. and standard resistance threshold range These standard thresholds are fixed values ​​set at the factory, but directly using fixed thresholds for judgment has two shortcomings: first, there are normal manufacturing deviations between different vehicles of the same model; second, changes in ambient temperature can cause measurement values ​​to drift. Therefore, this embodiment adopts a dynamic threshold judgment method.

[0082] Therefore, the historical average voltage values ​​of the same vehicle model and the same testing point were read from the historical database. Historical voltage variance Historical average resistance Historical resistance variance The historical database stores all previous test data for the same vehicle model at the same testing point, and these statistical parameters are obtained through statistical analysis. As test data accumulates, the statistical parameters gradually stabilize, accurately reflecting the normal distribution range of that vehicle model at that testing point.

[0083] Based on the above statistical parameters, the dynamic voltage lower limit threshold and dynamic voltage upper limit threshold are calculated using the following formula:

[0084]

[0085] in This is a statistical coefficient, typically with a value of 2 or 3, used to control the width of the statistical interval; This is the environmental compensation coefficient, used to adjust the weight of temperature compensation. ,in This is the voltage temperature drift coefficient. The current ambient temperature. This refers to the standard ambient temperature. and The operator ensures that the dynamic threshold does not exceed the standard threshold range, that is, based on statistical distribution and temperature compensation, the upper and lower boundaries of the standard threshold are still retained as the final safety boundary.

[0086] Similarly, calculate the lower threshold and upper threshold of the dynamic resistance:

[0087]

[0088] in , This is the resistance temperature drift coefficient.

[0089] Dynamic voltage threshold range and dynamic resistance threshold range Write to memory, replacing the original standard threshold range and It is used to determine the pass / fail status of the current inspection point.

[0090] Then, the effective voltage value With dynamic voltage threshold range Compare the effective resistance values. With dynamic resistance threshold range Comparison. The judgment rule is: if and , then the detection point is qualified, otherwise it is unqualified. The qualification judgment result of each detection point is generated in sequence , where 1 indicates qualification and 0 indicates unqualification.

[0091] After completing the judgment of all detection points, for the qualification judgment results of all detection points a logical AND operation is performed:

[0092] This logical operation means that the overall conclusion is qualified only when all four detection points are qualified. A value of 1 indicates that the overall detection conclusion is qualified, and a value of 0 indicates unqualification.

[0093] In order to quantitatively evaluate the credibility of the judgment result of each detection point, the detection confidence is also calculated . The voltage term therein and the resistance term are respectively:

[0094] When , the value is 0; when , the value is 0. The condition for the value to be 0 means that when the measured value deviates from the historical mean by more than the width of the entire dynamic threshold interval, the confidence of this term drops to 0.

[0095] The calculation formula for the detection confidence is:

[0096] The confidence has a value range between 0 and 1, and the closer it is to 1, the more credible the judgment result of the detection point is. If the detection confidence is lower than the preset confidence threshold (0.3 in this embodiment), low confidence warning information is generated , indicating that although the measured value of this detection point falls within the qualified interval, it is at the edge of the qualified interval, there may be potential risks or large measurement uncertainty, and the warning information is associated with the detection record for subsequent quality analysis reference.

[0097] S6: Associate the overall detection conclusion with the vehicle identity information, generate a detection record including the vehicle identity information and the overall detection conclusion, and store it in the database; at the same time, generate a corresponding release control signal according to the overall detection conclusion, and output it to the lifting platform controller through the control interface, so as to control the lifting platform to continue moving forward or stop.

[0098] In a specific implementation, after completing the conformity determination and confidence assessment, step S6 begins. The overall test conclusion is then presented. With the vehicle identity information Link. Connect vehicle identity information. Effective voltage values ​​at each detection point Effective resistance value Dynamic voltage threshold range Dynamic resistance threshold range The results of the pass / fail assessment at each testing point Overall test results Detection confidence Low confidence warning information and detection timestamp Assemble into a complete test record .

[0099] The assembly format of the inspection records can adopt JSON or XML structured data format for easy subsequent parsing and querying. For example, the inspection record can include the following fields: record ID (automatically generated), vehicle VIN code, model code, inspection time, voltage and resistance values ​​at each inspection point, judgment result at each inspection point, overall pass / fail conclusion, confidence level, warning information, etc. The inspection record is stored in a local database and synchronously uploaded to the production management system (MES) via a network interface (such as Ethernet) to achieve centralized management and long-term storage of the inspection data.

[0100] Meanwhile, based on the overall test results... Generate the corresponding release control signal. If If the signal is received, a control signal allowing passage is generated and sent to the crane controller via a digital output interface or fieldbus. Upon receiving the control signal, the crane controller releases the brakes, allowing the crane to continue moving along the track and transport the inspected vehicle to the next workstation.

[0101] like If the vehicle fails to pass through the designated area, a prohibition control signal is generated along with an alarm trigger signal. This prohibition signal keeps the crane in a braking state, preventing the vehicle from entering subsequent processes. Simultaneously, non-compliance information (including specific non-compliance test points, measured values, threshold ranges, etc.) is displayed on the local HMI with prominent colors and prompts to notify on-site operators. Only after operators have resolved the anomaly (e.g., re-inspection, repair, or confirmation) and the vehicle passes the test via manual confirmation or automatic re-measurement by the system can a new permission control signal be generated, ensuring that non-compliant vehicles do not enter subsequent processes.

[0102] As a preferred implementation, when the overall inspection result is unqualified, the system can also automatically record the reasons for the unqualified product, the processing operation record, and the processing time, forming a complete closed loop for handling unqualified products. For the production management system, the inspection results of each vehicle are automatically linked to the vehicle's production file, forming a complete quality record that is traceable and searchable.

[0103] This completes the entire process from vehicle arrival to inspection and release. This method eliminates the need for manual access under the vehicle, removing safety hazards. Inspection efficiency is unaffected by operator skill level, results are consistent, data is traceable, and it is suitable for mixed-line inspection needs of different vehicle models.

[0104] In this embodiment, the actuator automatically positions and clamps the detection device at each detection point. Combined with image recognition, vehicle identity information is automatically extracted and corresponding detection parameters are retrieved, enabling automatic switching of detection parameters for different vehicle models. Quantitative discrimination of contact force sequences ensures the reliability of each clamping operation, while three-stage filtering ensures the accuracy of signal acquisition. By reading statistical parameters of the same vehicle model and detection point from a historical database and combining them with the current ambient temperature to calculate a dynamic threshold range, the pass / fail criteria are continuously optimized with the accumulation of historical data, avoiding the insufficient adaptability of fixed thresholds to environmental changes and vehicle model differences. Finally, the detection records are automatically stored and uploaded to the production management system, achieving complete recording and traceable management of detection data for each vehicle. The entire detection process eliminates the need for manual entry under the vehicle, removing safety hazards. The detection time per vehicle is not affected by personnel skill level, and the consistency of results is effectively guaranteed.

[0105] like Figure 2 As shown, the following is an embodiment of the robot-based fully automatic detection system for positive and negative signals at the bottom of a car provided in this disclosure. This system and the robot-based fully automatic detection method for positive and negative signals at the bottom of a car in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiments of the robot-based fully automatic detection system for positive and negative signals at the bottom of a car, please refer to the embodiments of the robot-based fully automatic detection method for positive and negative signals at the bottom of a car.

[0106] A robot-based fully automated detection system for positive and negative signals on the underside of a car includes: The positioning detection module is used to acquire the positioning signal of the crane platform, confirm that the car has stopped at the preset fixed detection position, and generate a positioning trigger signal.

[0107] The image recognition and parameter configuration module is used to respond to the arrival trigger signal, trigger image acquisition, and receive image data of the barcode on the front of the vehicle; decode the image data to extract vehicle identity information; use the vehicle identity information as a search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; and synchronously transmit the detection parameter set to the built-in resistance detection module; the detection parameter set includes at least: the coordinates of the negative electrode calibration position and the coordinates of three positive electrode calibration positions, the detection sequence number corresponding to each calibration position coordinate, and the standard voltage threshold range and standard resistance threshold range corresponding to each detection point.

[0108] The motion control module is used to read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, convert the motion trajectory data into a motion control command sequence, and output it to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection sequence number.

[0109] The signal acquisition and processing module is used to send a clamping control signal after the actuator reaches each calibrated position, so that the gripper of the detection device forms electrical contact with the corresponding electrode; it receives the analog electrical signal returned by the detection device through the data acquisition interface, transmits the analog electrical signal to the resistance detection module, and the resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage value and digital resistance value, and writes them into the memory cache after associating them with the position identifier of the current detection point and the detection sequence number.

[0110] The data analysis and judgment module is used to sequentially read the digital voltage and digital resistance values ​​of each test point from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; and to generate the overall test conclusion by combining the pass / fail judgment results of all test points.

[0111] The data recording and release control module is used to associate the overall detection conclusion with the vehicle identity information, generate a detection record containing the vehicle identity information and the overall detection conclusion, and store it in the database; at the same time, it generates a corresponding release control signal based on the overall detection conclusion, and outputs it to the crane controller through the control interface to control the crane to continue moving forward or stop.

[0112] This embodiment provides a robot-based fully automated detection system for positive and negative signals on the underside of automobiles. Through an actuator, the system automatically positions and clamps the detection device at each detection point. Combined with image recognition, it automatically extracts vehicle identification information and retrieves corresponding detection parameters, enabling automatic switching of detection parameters for different vehicle models. Quantitative discrimination of contact force sequences ensures the reliability of each clamping operation, while three-stage filtering guarantees the accuracy of signal acquisition. By reading statistical parameters from the same vehicle model and detection point in a historical database and combining them with the current ambient temperature to calculate a dynamic threshold range, the pass / fail criteria are continuously optimized with the accumulation of historical data, avoiding the insufficient adaptability of fixed thresholds to environmental changes and vehicle model differences. Finally, the detection records are automatically stored and uploaded to the production management system, achieving complete recording and traceable management of detection data for each vehicle. The entire detection process eliminates the need for manual entry under the vehicle, removing safety hazards. The detection time per vehicle is not affected by the operator's skill level, and the consistency of results is effectively guaranteed.

[0113] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0114] The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, provided in this application embodiment, can be applied to electronic devices. Those skilled in the art will understand that the electronic device structure involved in the embodiments of this invention does not constitute a limitation on the electronic device. An electronic device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. In the embodiments of this invention, the electronic device includes, but is not limited to, laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of this application described and / or claimed herein.

[0115] Electronic devices may include processors, external memory interfaces, internal memory, universal serial bus (USB) interfaces, charging management modules, power management modules, batteries, wireless communication modules, audio modules, speakers, microphones, sensor modules, buttons, cameras, displays, and SIM card interfaces, etc.

[0116] A processor may include one or more processing units, such as: a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0117] The processor can serve as the nerve center and command center of an electronic device. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.

[0118] The processor may also include memory for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. This memory can store instructions or data that the processor has just used or that are used repeatedly. If the processor needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces processor latency, and thus improves system efficiency.

[0119] An external storage interface (ESI) can be used to connect external memory cards, such as microSD cards, to expand the storage capacity of electronic devices. The external memory card communicates with the processor through the ESI to perform data storage functions, such as saving music and video files on the external memory card.

[0120] Internal memory can be used to store computer executable program code, which includes instructions. The processor executes various functional applications and data processing of electronic devices by running the instructions stored in internal memory. Internal memory can include a program storage area and a data storage area. Internal memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0121] Wireless communication functionality in electronic devices can be achieved through antennas, wireless communication modules, modem processors, and baseband processors.

[0122] Wireless communication modules can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.

[0123] Electronic devices can implement audio functions through audio modules, speakers, receivers, microphones, headphone jacks, and application processors.

[0124] Electronic devices can achieve shooting functions through ISPs, cameras, video codecs, GPUs, displays, and application processors.

[0125] Electronic devices can achieve display functions through GPUs, displays, and application processors.

[0126] A GPU is a microprocessor for image processing, connected to the display screen and application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. A processor may include one or more GPUs, which execute program instructions to generate or modify display information.

[0127] A display screen is used to display images, videos, etc. A display screen includes a display panel.

[0128] The aforementioned electronic device realizes the fully automatic detection method for positive and negative signals at the bottom of a car based on a robot, which triggers image acquisition by acquiring the signal of the platform in place and extracts vehicle identity information to retrieve the corresponding detection parameters. Combined with the automatic positioning and clamping of the actuator, contact force discrimination, three-level filtering, and dynamic threshold determination based on historical statistical parameters, it achieves the beneficial effects of eliminating the need for manual entry under the vehicle, eliminating safety hazards, improving detection efficiency and consistency, supporting adaptive determination of multiple vehicle models, and enabling traceable management of detection data.

[0129] The storage medium provided in this application stores a program product capable of realizing a fully automated detection method for positive and negative signals at the bottom of a car based on a robot.

[0130] In some possible implementations, the robot-based fully automated detection method for positive and negative signals on the bottom of a vehicle disclosed herein can be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure.

[0131] The storage medium disclosed herein may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0132] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A fully automated method for detecting positive and negative signals at the bottom of a car based on a robot, characterized in that, Includes the following steps: S1: Obtain the platform's arrival signal, confirm that the vehicle has stopped at the preset fixed detection position, and generate an arrival trigger signal; S2: In response to the arrival trigger signal, trigger image acquisition and receive image data of the barcode on the front of the vehicle; decode the image data and extract vehicle identity information; use the vehicle identity information as the search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; The set of detection parameters is synchronously transmitted to the built-in resistance detection module; The set of detection parameters includes at least: the coordinates of the negative electrode calibration position and the coordinates of the three positive electrode calibration positions, the detection sequence number corresponding to each calibration position coordinate, and the standard voltage threshold range and standard resistance threshold range corresponding to each detection point; S3: Read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, convert the motion trajectory data into a motion control command sequence, and output it to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection sequence number; S4: After the actuator reaches each calibrated position, a clamping control signal is sent to make the gripper of the detection device make electrical contact with the corresponding electrode; the analog electrical signal returned by the detection device is received through the data acquisition interface, and the analog electrical signal is transmitted to the resistance detection module. The resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage and digital resistance values, and writes them into the memory cache after associating them with the position identifier of the current detection point and the detection sequence number. S5: Read the digital voltage and digital resistance values ​​of each test point sequentially from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; combine the pass / fail judgment results of all test points to generate the overall test conclusion; S6: Associate the overall detection conclusion with the vehicle identity information to generate a detection record containing the vehicle identity information and the overall detection conclusion and store it in the database; at the same time, generate a corresponding release control signal based on the overall detection conclusion and output it to the crane controller through the control interface to control the crane to continue moving forward or stop.

2. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 1, is characterized in that... Step S1 includes: The digital input interface receives the switch level signal output from the position sensor installed at the detection station in real time. When the switch signal is detected to change from an invalid level to an effective level, it is determined that the platform has stopped at the preset fixed detection position; Record the timestamp of the transition moment and encapsulate the timestamp into an on-time trigger signal.

3. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 1, is characterized in that... Step S2 includes: In response to the arrival trigger signal, a trigger acquisition command is sent to the industrial camera fixed in front of the inspection station via the image acquisition interface, and the barcode image data transmitted back by the camera is received. ; right Grayscale image is obtained by performing grayscale conversion. Calculate the grayscale image global grayscale mean and standard deviation If the global grayscale mean Below the preset illuminance threshold Then, multi-scale Retinex illumination compensation processing is performed based on the following formula: in, and These are the horizontal and vertical coordinates of the image pixels; It is a Gaussian loop function. , The normalization constant is is the scaling parameter of the Gaussian wrap function; This is the convolution operator; This is a lighting-compensated image; When performing multi-scale Retinex illumination compensation, three Gaussian wrap functions of different scales were used. , , The calculation yields the reflection components corresponding to each of the three scales. , , The illumination-compensated image is obtained by taking a weighted average of the three reflection components and then performing an exponential operation. ; The illumination-compensated image Perform adaptive histogram equalization to obtain the equalized image. The equalized image The cumulative grayscale distribution function is mapped to the full grayscale range; The equalized image is detected using Hough transform. The edge line cluster of the barcode area is used to determine the coordinates of the four corner points of the barcode, and the perspective transformation matrix is ​​calculated. Correct the distorted region to a standard rectangle: To obtain the perspective-corrected image ; The perspective-corrected image Adaptive threshold binarization is performed to divide the image into several sub-blocks, using the formula... Calculate the threshold for each sub-block Obtain the binarized image ;in The average grayscale value of the sub-block. This is a preset constant; For the binarized image Run a barcode decoding algorithm to extract vehicle identification information ; With the vehicle identity information To retrieve keywords, the corresponding detection parameter set is retrieved from the detection parameter database via a database query interface. The detection parameter set Includes a subset of detection parameters for each detection point. ,in The detection point indices correspond to the negative electrode and the three positive electrodes, respectively; For the first The coordinates of the calibration location of each detection point; For the first The detection sequence number of each detection point; and The first The standard voltage lower limit threshold and standard voltage upper limit threshold corresponding to each detection point; and The first The lower and upper limits of the standard resistance corresponding to each detection point; The detection parameter set Loaded into memory and synchronously transmitted to the built-in resistance detection module, the resistance detection module then determines the value based on the received data. The range and gain parameters of its analog-to-digital conversion unit are automatically configured, and after configuration, the resistance detection module enters the acquisition state.

4. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 3, is characterized in that... Step S3 includes: Read the detection parameter set from memory. Obtain the coordinates of the negative electrode calibration position and the coordinates of the three positive electrodes. ; Acquire the measurement values ​​from at least three laser rangefinders installed at the inspection station. Calculate the actual position deviation vector of the lifting platform in the vehicle under-body coordinate system. ,in and For translational deviation, For yaw angle deviation, via: Calculation, Middle The installation distance between sensor 1 and sensor 2; According to the actual position deviation vector Apply the formula to the coordinates of each calibration position. Perform position compensation and calculate the compensated calibration position coordinates. ;in, Let be the rotation matrix about the Z-axis; It is a translation vector; The compensated calibration position coordinates Rewrite to memory to update the detection parameter set Position coordinate data in the middle; Read the compensated calibration position coordinates from memory. The inverse kinematics transformation converts the values ​​into target angles for each joint of the actuator. ,in For the number of joints, For the first The first joint corresponds to the first The target angle value at each detection point; For any joint At the angle of adjacent targets and The motion trajectory is planned using the following fifth-order polynomial interpolation: The following boundary conditions must be met: in, It is a time variable; The time of motion between adjacent target angle points; and The first The velocity boundary values ​​of each joint at adjacent target angle points; and The first The acceleration boundary values ​​of each joint at adjacent target angle points; The coefficients are those of a fifth-degree polynomial. Substituting the boundary conditions into the fifth-degree polynomials respectively and its first derivative and second derivative To obtain information about the coefficients Solve the system of six linear equations in six variables to obtain the coefficients. Generate motion trajectory data; The motion trajectory data is converted into a sequence of motion control commands that the actuator can recognize, and then output to the actuator drive module through the motion control interface to drive the actuator to carry the detection device in the specified detection sequence. Move sequentially to the compensated negative electrode calibration position and the three positive electrode calibration positions after compensation And the compensated and calibrated position coordinates of the current detection point. Fetch back to memory.

5. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 4, is characterized in that... Step S4 includes: After the actuator reaches each calibrated position, a clamping control signal is sent through the digital output interface to close the grippers of the detection device to form electrical contact with the corresponding electrode. Continuously sample the contact force values ​​at the gripper to construct a contact force sequence. ;in The number of sampling points. For the first Contact force values ​​at each sampling point ; The steady-state value of the contact force is calculated using the following formula. : in This is the width of the transient window; Using formula Calculate the contact force fluctuation coefficient ,in For the contact force sequence Standard deviation; Using formula Calculate the rate of increase of contact force, where The sampling interval; If satisfied , and ,in and If the preset threshold is met, it is determined to be a reliable contact and data acquisition is initiated; otherwise, it is determined to be an unreliable contact, and a re-clamping command is issued. If the number of re-clamping attempts exceeds the preset threshold, an alarm signal is generated and data acquisition at the current detection point is terminated. After confirming reliable contact, the analog electrical signal returned by the detection device is received via the data acquisition interface at a preset sampling frequency. A preset number of data points are continuously collected to obtain the original voltage sequence. and the original resistance sequence And transmit it to the resistance detection module; where For sampling point index, , The preset total number of data points; The resistance detection module performs smoothing processes on the original voltage sequence and the original resistance sequence sequentially based on the range and gain parameters configured according to the detection parameter set. These processes include amplitude limiting filtering to remove outliers, adaptive median filtering to smooth noise, and recursive weighted moving average filtering. The recursive weighted moving average filtering formula is as follows: in, The sequence after recursive weighted moving average filtering is at the 1st... The values ​​of each sampling point; For the adaptive median filtered sequence at the th The values ​​of each sampling point; For adaptive weights, , For scale parameters; The final values ​​of the voltage and resistance sequences generated after recursive weighted moving average filtering are taken as the effective voltage values ​​of the detection point. and effective resistance value And the effective voltage value is obtained through direct memory access. and effective resistance value Write to memory cache ; From memory cache Read the effective voltage value and the effective resistance value The compensated calibrated position coordinates of the current detection point and detection sequence number Join to generate associated data tuples Then rewrite to the memory cache .

6. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 5, is characterized in that... Step S5 includes: From memory cache Read the associated data tuples of each detection point sequentially. Obtain the effective voltage value at each detection point. and effective resistance value ; For the Each detection point reads its standard voltage threshold range from memory. and standard resistance threshold range And read the historical average voltage of the same vehicle model and the same test point from the historical database. Historical voltage variance Historical average resistance Historical resistance variance ; Calculate the dynamic voltage lower limit threshold using the following formula. and dynamic voltage upper limit threshold : In the formula, These are statistical coefficients; This is the environmental compensation coefficient; ,in This is the voltage temperature drift coefficient. The current ambient temperature. Standard ambient temperature; Calculate the lower limit threshold of dynamic resistance using the following formula. and dynamic resistance upper limit threshold : in , This is the temperature drift coefficient of the resistance. Dynamic voltage threshold range and dynamic resistance threshold range Write to memory, replacing the original standard voltage threshold range and standard resistance threshold range ; the effective voltage value is compared with the dynamic voltage threshold interval , the effective resistance value is compared with the dynamic resistance threshold interval , if and , it is determined that the detection point is qualified, otherwise it is unqualified, and the qualification determination result of each detection point is generated in sequence , where represents qualification, represents unqualification; The results of the pass / fail assessment for all testing points Perform a logical AND operation to obtain the overall test result. The overall test results The value is This indicates that the overall test result is qualified. This indicates that the overall test result is unqualified; For each detection point, the detection confidence level is calculated as follows: : Among them, voltage term and resistance term They are respectively: when hour, The value is 0; when hour, The value is 0; If the confidence level is detected If the confidence level is below a preset confidence threshold, a low-confidence warning message will be generated. And it is linked to the detection records.

7. The fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in claim 6, is characterized in that... Step S6 includes: The overall test results With the vehicle identity information Related; Vehicle identity information Effective voltage values ​​at each detection point Effective resistance value Dynamic voltage threshold range Dynamic resistance threshold range The results of the pass / fail assessment at each testing point Overall test results Detection confidence Low confidence warning information and detection timestamp Assemble into a complete test record The data is stored in a local database and simultaneously uploaded to the production management system via a network interface. Based on the overall test results Generate the corresponding release control signal; if If the signal is triggered, a control signal is generated to allow passage, which is sent to the crane controller via a digital output interface or fieldbus, causing the crane to release the brakes and continue moving along the track; if If the error is detected, a control signal prohibiting passage will be generated and an alarm trigger signal will be attached. At the same time, the non-compliance information will be displayed on the local human-machine interface. Only after the abnormality is resolved can a control signal allowing passage be regenerated to control the crane to stop or move forward.

8. A robot-based fully automated detection system for positive and negative signals at the bottom of a car, characterized in that, The system employs the fully automated detection method for positive and negative signals at the bottom of a car based on a robot, as described in any one of claims 1 to 7. The system includes: The positioning detection module is used to acquire the positioning signal of the crane platform, confirm that the car has stopped at the preset fixed detection position, and generate a positioning trigger signal; The image recognition and parameter configuration module is used to respond to the arrival trigger signal, trigger image acquisition, and receive image data of the vehicle front barcode; decode the image data to extract vehicle identity information; use the vehicle identity information as a search keyword to retrieve the corresponding detection parameter set from the detection parameter database and load it into memory; synchronously transmit the detection parameter set to the built-in resistance detection module; the detection parameter set includes at least: the coordinates of the negative electrode calibration position and the coordinates of three positive electrode calibration positions, the detection sequence number corresponding to each calibration position coordinate, and the standard voltage threshold range and standard resistance threshold range corresponding to each detection point; The motion control module is used to read the detection parameter set from memory, generate motion trajectory data based on the negative pole calibration position coordinates and the three positive pole calibration position coordinates, and convert the motion trajectory data into a motion control command sequence. The sequence is then output to the actuator drive module through the motion control interface to drive the actuator to carry the detection device to move to the calibration positions of the negative pole and the three positive poles in sequence according to the detection order number. The signal acquisition and processing module is used to send a clamping control signal after the actuator reaches each calibrated position, so that the gripper of the detection device forms electrical contact with the corresponding electrode; it receives the analog electrical signal returned by the detection device through the data acquisition interface, transmits the analog electrical signal to the resistance detection module, and the resistance detection module performs analog-to-digital conversion and digital filtering to obtain digital voltage value and digital resistance value, and writes them into the memory cache after associating them with the position identifier of the current detection point and the detection sequence number; The data analysis and judgment module is used to sequentially read the digital voltage and digital resistance values ​​of each test point from the memory cache, and compare them with the standard voltage threshold range and standard resistance threshold range of the corresponding test point from memory to generate the pass / fail judgment result of each test point; and to generate an overall test conclusion by combining the pass / fail judgment results of all test points. The data recording and release control module is used to associate the overall detection conclusion with the vehicle identity information, generate a detection record containing the vehicle identity information and the overall detection conclusion, and store it in the database; at the same time, it generates a corresponding release control signal based on the overall detection conclusion, and outputs it to the crane controller through the control interface to control the crane to continue moving forward or stop.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the fully automated detection method for positive and negative signals on the bottom of a car based on a robot, as described in any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the fully automated detection method for positive and negative signals on the bottom of a car based on a robot, as described in any one of claims 1 to 7.