Disclosure of Invention
In order to solve the problems, the invention provides a tire mold intelligent detection system and a method based on a high-precision laser ranging sensor, wherein the system adopts a Siemens PLC as a main controller to control a servo motor to move, the laser ranging sensor arranged on the servo motor collects the inner diameter data of a tire mold and transmits the inner diameter data to upper computer software through a serial port, and the upper computer analyzes and processes the received data so as to judge whether the tire mold meets the requirements; the invention has the advantages of low cost, high precision, simple and convenient operation and the like, detects five sections of the tire mold, and the sunken part of the tire mold corresponds to the contact part of the tire and the ground, so that the data detected at the sunken part of the tire mold are effective data, judges whether the tire mold is qualified according to the effective data, and can better meet the requirements of consumers in the era of information automation.
The technical problem to be solved by the invention is realized by adopting the following technical scheme:
the invention provides an intelligent detection system for a tire mold, which comprises a motion control system and a data acquisition and analysis processing system, wherein the motion control system comprises a main controller, a first driver, a second driver, a rotary servo motor and a servo electric cylinder; the main controller is electrically connected with the first driver and the second driver and is used for controlling the work of the first driver and the second driver; the first driver is electrically connected with the rotary servo motor and is used for controlling the rotary servo motor to work; the second driver is electrically connected with the servo electric cylinder and is used for controlling the servo electric cylinder to work; the rotary servo motor is arranged at the movable end of the servo electric cylinder; the data acquisition and analysis processing system comprises a laser ranging sensor and an upper computer; the laser ranging sensor is installed at the output end of the rotary servo motor, the laser sensor is electrically connected with a machine-loading position, and the machine-loading position is used for controlling and receiving the collected data of the laser sensor.
Preferably, the master controller is Siemens S7-200 SMARTPLC.
Preferably, the rotary servo motor and the servo electric cylinder are both loose a5 series servo electric cylinder and rotary servo motor.
Preferably, the laser ranging sensor adopts Kenzhi LK-G400.
The invention also provides an intelligent detection method of the tire mold, which comprises the following steps:
s1, compiling upper computer software through LabVIEW;
s2, analyzing the detected data of the first section by the upper computer, endowing all data with angle values, sequentially increasing 0.2 degrees from 0 degree, forming a two-dimensional array by all data, forming the two-dimensional array by angle and distance data, and generating an original data EXCEL report;
s3, removing the influence of raised patterns: reading data, judging whether the data is in a threshold range, if the difference between the detection data and the standard data is out of a set range d1, determining that the data is obtained by detecting the raised patterns of the tire, and rejecting the data by software, wherein the data is invalid;
s4, removing the influence of the pattern slope: if the continuous change of the adjacent data in the same direction is detected and the change value exceeds the set value d2, judging whether the difference of the adjacent change values is smaller than the set value d3, if so, indicating that the data are the data on the detected slope, eliminating the data on the slope, and generating a new two-dimensional array;
s5, processing the generated new two-dimensional array: judging whether every 5 numbers are continuous, if so, storing the 5 continuous numbers, and then searching the next continuous 5 numbers; if not, deleting the 1 st number, and continuously judging 5 numbers formed by the remaining 4 numbers and the next 1 number; deleting the maximum value and the minimum value of 5 continuous numbers, taking the average number of the remaining 3 numbers, forming a new two-dimensional array by all data, and generating a final data EXCEL report;
s6, judging whether the new two-dimensional array distance data formed in the step S5 is within a set value d4, and if all the distance data are in accordance, determining that the section is qualified; if 1 does not accord with the section, the section is unqualified, and non-conforming points are stored; and generating a final conclusion report.
Compared with the prior art, the invention has the beneficial effects that: the intelligent detection system for the tire mold has the advantages of low cost, high precision, simple and convenient operation and the like,
1. the intelligent detection system for the tire mold adopts the servo motor as a movement device, has high position and speed control precision, and provides guarantee for distance measurement of the laser sensor;
2. the intelligent detection system for the tire mold adopts the Keynes LK-G400 laser ranging sensor, can accurately detect the reflection from a detected object, has the measurement range of 300-500mm, has the measurement repeatability precision of 0.002mm, and meets the detection requirements of most tires;
3. according to the intelligent detection method for the tire mold, the upper computer software is compiled through LabVIEW, so that the data can be analyzed and processed quickly and accurately, the influence of patterns and slopes is eliminated, and whether the tire mold is qualified or not is judged;
4. when the tire mold is detected, the step of mechanically centering the mold is not needed, the mold can be directly detected, and then the center of the mold is centered by using a mathematical algorithm.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following provides a preferred embodiment:
referring to fig. 1, an intelligent detection system for a tire mold comprises a motion control system and a data acquisition and analysis processing system, wherein the motion control system comprises a main controller 1, a first driver 2, a second driver 3, a rotary servo motor 4 and a servo electric cylinder 5; the main controller 1 is electrically connected with the first driver 2 and the second driver 3 and is used for controlling the work of the first driver 2 and the second driver 3; the first driver 2 is electrically connected with the rotary servo motor 4 and is used for controlling the rotary servo motor 4 to work; the second driver 3 is electrically connected with the servo electric cylinder 5 and is used for controlling the servo electric cylinder 5 to work; the rotary servo motor 4 is arranged at the movable end of the servo electric cylinder 5; the data acquisition and analysis processing system comprises a laser ranging sensor 6 and an upper computer 7; the laser ranging sensor 6 is installed at the output end of the rotary servo motor 4, the laser sensor is electrically connected with a machine loading position, and the machine loading position is used for controlling and receiving the collected data of the laser sensor.
As an embodiment of the invention, the main controller 1 adopts Siemens S7-200 SMARTPLC.
In one embodiment of the present invention, the rotary servomotor 4 and the servomotor 5 are both a loose a5 series servomotor and a rotary servomotor.
In one embodiment of the present invention, the laser distance measuring sensor 6 is implemented by using LK-G400.
Firstly, a tire mold to be detected is horizontally placed on a detection table.
The working process is as follows:
firstly, a tire mold to be detected is horizontally placed on a detection table.
(1) Pressing the S1 key, moving the servo cylinder upwards, pressing the S2 key, moving the servo cylinder downwards, wherein both keys are inching control, the detection light spot is enabled to be hit near the upper section through the keys, then pressing the S3 key, and the executing mechanism automatically and slowly selects the upper section of the tire mold.
(2) After the upper section is selected, inputting the distance value between the section to be measured and the upper section, pressing an S4 key, lowering an actuating mechanism to the section to be measured, then pressing an S5 key, rotating a servo motor to select a detection origin, and pressing an S6 key to set the point as a zero-degree point. And selecting a storage path of the final detection result file.
(3) Pressing an S7 key, rotating a servo motor to rotate clockwise at a fixed speed, simultaneously starting to acquire data measured by a laser displacement distance measuring sensor, acquiring data by an upper computer at a fixed time interval, namely acquiring data every time the motor rotates by 0.2 degrees, and stopping acquiring data after 1800 data are acquired, which indicates that the acquisition of the measured data of the section is completed; pressing the key S8 stops the rotary servo motor, and then pressing the key S9 rotates it counterclockwise back to the "zero degree point".
(4) The tire section is continuously selected by inputting the numerical value of the distance between the section to be detected and the upper section, the S7 key is pressed, the rotary servo motor starts to rotate clockwise at a fixed speed and continuously collects data, after the data are collected, the S8 key is pressed to stop the rotary servo motor from rotating, then the S9 key is pressed to enable the rotary servo motor to rotate anticlockwise to return to a zero-degree point, the operations are repeated until the data of the section to be detected are collected, and the data can be automatically stored in an EXCEL table.
(5) And manually starting data analysis processing to judge whether the tire mold is qualified.
(6) The staff can input the angle to be checked, so that the detection laser point is shot to the angle position, and the detection result is checked.
Referring to fig. 2-6, an intelligent detection method for a tire mold comprises the steps of firstly writing software of an upper computer through LabVIEW; then the treatment is carried out according to the following steps:
(1) the upper computer analyzes the data of the first section, all the data are given with angle values, the angle values are sequentially increased by 0.2 degrees from 0 degree, all the data form a two-dimensional array, the two-dimensional array is formed by angle and distance data, and an original data EXCEL report is generated.
(2) Eliminating the influence of raised patterns: reading data, judging whether the data is within a threshold range, if the difference between the detection data and the standard data is out of a set range d1, the data is the data obtained by detecting the raised patterns of the tire, the data is invalid, and the software rejects the data.
(3) Then eliminating the influence of the pattern slope: if the adjacent data are detected to be continuously changed in the same direction and the change value exceeds the set value d2, whether the difference between the adjacent change values is smaller than the set value d3 is judged, if so, the data are the detected data on the slope, the slope data are removed, and a new two-dimensional array is generated.
(4) And processing the generated new two-dimensional array: the new two-dimensional array is formed by effective distance data and corresponding angles, the two-dimensional array can be regarded as a numerical value under polar coordinates, the numerical value is converted into X and Y coordinate values corresponding to rectangular coordinates, then the X and Y coordinate values are fitted to obtain the circle center and the radius of a fitting circle, then the distance difference between each point and the fitting radius is calculated under the rectangular coordinates, the maximum distance difference and the minimum distance difference can be obtained, the difference value can be a negative number, and finally the tolerance, namely the difference value between the maximum distance difference and the minimum distance difference can be obtained.
(5) Recombining the distance difference obtained in the step (4) and the corresponding angle into a two-dimensional array, judging whether every 5 numbers are continuous, judging whether the numbers are continuous according to the angle, if so, storing the 5 continuous numbers and the corresponding angles, and then searching the next continuous 5 numbers; if not, deleting the 1 st number, and continuously judging 5 numbers formed by the remaining 4 numbers and the next 1 number. And deleting the maximum value and the minimum value of 5 continuous numbers, taking the average number of the rest 3 numbers, selecting the 5 intermediate angles by the angle, and forming a new two-dimensional array by all data.
(6) Judging whether the new two-dimensional array distance data formed in the step (5) is within a set value d4, and if all the distance data are in accordance, determining that the section is qualified; if there are 1 non-coincidences, the section is not qualified and the non-coincidences are preserved. And generating a final conclusion report.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
While the invention has been described above with reference to an embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the various features of the embodiments disclosed herein may be used in any combination, provided that there is no structural conflict, and the combinations are not exhaustively described in this specification merely for the sake of brevity and conservation of resources. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.