Spring detection method
The automated detection method using a rotatable fixture and camera to collect data solves the problem of low efficiency of manual spring detection, achieves fast and accurate detection results, and improves spring detection efficiency.
Patent Information
- Application Number
- CN202311677145.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2024-09-27
AI Technical Summary
Manually testing whether springs are qualified is inefficient, resulting in waste of resources and inconvenience.
Using a rotatable fixture and camera to collect data, the spring is photographed from multiple angles through the fixture, and a computer is used to analyze the data to determine whether the size of the spring meets the standard tolerance range to achieve automated detection.
The efficiency of spring detection is improved, the occupation of human resources is reduced, and the qualification of multiple springs can be judged quickly and accurately.
Smart Images

Figure CN118706010A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to spring detection, and in particular to a spring detection method. Background Art
[0002] A spring is a mechanical component that utilizes elasticity to function. Made of elastic material, it deforms under external force and returns to its original shape when the force is removed. Generally made of spring steel, springs come in a variety of shapes, including coil springs, scroll springs, leaf springs, and special-shaped springs.
[0003] During the spring production process, quality inspectors are usually required to use measuring tools to conduct proportional spot checks on large batches of springs produced, and determine whether the batch of springs is qualified based on the test data. This manual inspection method requires quality inspectors to test the sampled springs one by one, which is not only inefficient, but also takes up a huge amount of human resources and is relatively inconvenient. Summary of the Invention
[0004] The object of the present invention is to provide a spring detection method to solve the problems raised in the above background technology.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a spring detection method, comprising the following specific steps:
[0006] S1: length of compression spring;
[0007] S2: fixed base point;
[0008] S3: measuring the first outer diameter D1;
[0009] S4: measuring the first inner diameter D2;
[0010] S5: measuring the second outer diameter D3;
[0011] S6: measuring the second inner diameter D4;
[0012] S7: After each measurement in S2 to S6, the measured value must be compared with the standard tolerance range value to determine whether it is qualified.
[0013] Preferably, in step S1 , a plurality of springs to be tested are compressed by a clamping plate on a fixture and fixed at a length to be tested.
[0014] Preferably, in step S2, both ends of the compressed spring are passed through a rotatable clamp so that the spring is in a horizontal state and is directly below the camera shooting point on the clamp, and a photo is taken and fed back to a computer terminal. The wire diameter lengths at both ends of the spring are analyzed by computer data, and the numerical values of the wire diameters at both ends are compared to determine whether the wire diameters are the same. If they are different, the spring is judged to be unqualified, and if they are the same, the spring is judged to be qualified, and the measurement position is determined as the measurement base point;
[0015] Preferably, in step S3, the spring is rotated into a vertical state by a clamp, and one end is rotated to directly below the camera shooting point, and the base point of one end of the spring determined in step S2 is photographed and fed back to the computer terminal, and the length value of the first outer diameter D1 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0016] Preferably, in step S4, the spring is rotated into a vertical state by a clamp, and one end is rotated to directly below the camera shooting point, and the base point of one end of the spring is determined in step S2, and is photographed and fed back to a computer terminal. The length value of the first inner diameter D2 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0017] Preferably, in step S5, the spring is flipped 180° by a clamp, and the other end of the spring is rotated to directly below the camera shooting point, and the base point of one end of the spring determined in step S2 is photographed and fed back to the computer terminal, and the length value of the second outer diameter D3 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0018] Preferably, in step S6, the spring is flipped 180° by a clamp, and the other end of the spring is rotated to directly below the camera shooting point, and the base point of one end of the spring determined in step S2 is photographed and fed back to the computer terminal, and the length value of the second inner diameter D4 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0019] Preferably, the number of the clamping plates of the clamp is at least two, the clamping plates of the clamp are much smaller than the first outer diameter D1 of the spring to be tested, and the clamping plates of the clamp are much smaller than the second outer diameter D2 of the spring to be tested.
[0020] Preferably, the camera on the fixture can capture images in real time, using PULNixTM-200 and Cognex image acquisition cards, using a separate lens for the object to be inspected, and then enhancing the illumination to obtain sufficient grayscale before capturing images of the spring.
[0021] Preferably, in step S7, the qualified springs after size inspection are placed in a placement tray. If the two ends of the spring are different in size, the small outer diameter of the spring is facing downward and the large outer diameter is facing upward. If they are the same, they can be placed at will.
[0022] Technical effects and advantages of the present invention:
[0023] The present invention utilizes a setting mode that cooperates with a rotatable clamp and a camera that can transmit photographic data to a computer. The camera can photograph multiple springs to be inspected that are simultaneously clamped by the clamp, and transmit the photographed images of the springs at various angles to the computer. The length measurement program in the computer is used to read various data of the springs to be inspected, and determine whether the multiple springs to be inspected are qualified. This solves the problem of low efficiency in manual inspection of whether the springs are qualified, and achieves the effect of improving the efficiency of spring inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the spring detection process of the present invention. DETAILED DESCRIPTION
[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0026] The present invention provides Figure 1 A spring detection method shown includes the following specific steps:
[0027] S1: length of compression spring;
[0028] S2: fixed base point;
[0029] S3: measuring the first outer diameter D1;
[0030] S4: measuring the first inner diameter D2;
[0031] S5: measuring the second outer diameter D3;
[0032] S6: measuring the second inner diameter D4;
[0033] S7: After each measurement in S2 to S6, the measured value must be compared with the standard tolerance range value to determine whether it is qualified.
[0034] In step S1 , a plurality of springs to be tested are compressed by a clamping plate on a fixture and fixed at a length to be tested.
[0035] In step S2, both ends of the compressed spring are passed through a rotatable clamp so that the spring is in a horizontal state and is directly below the camera shooting point on the clamp. A photo is taken and fed back to a computer terminal. The wire diameter lengths at both ends of the spring are analyzed by computer data. The numerical values of the wire diameters at both ends are compared to determine whether the wire diameters are the same. If they are different, the spring is judged to be unqualified. If they are the same, the spring is judged to be qualified. The measurement position is determined as the measurement base point. The camera used in the camera is a CCD camera with a resolution of 1920X1280, so that clearer photos can be taken to facilitate reading the values of the spring wire diameter, the first outer diameter D1, the first inner diameter D2, the second outer diameter D3, and the second inner diameter D4.
[0036] Furthermore, in order for a camera to calculate the actual size of an object in any image, it generally needs to know the following three parameters:
[0037] Pixel size of an object in an image: This mainly refers to the number of pixels occupied by the object in the image, which can be obtained through software tools or by measuring directly on the image.
[0038] Camera focal length: This refers to the focal length of the camera lens, which is the distance at which light is focused to form an image. This can usually be found in the camera's manual or settings menu.
[0039] Distance between the object and the camera: This refers to the actual distance between the object and the camera at the time of shooting, which can be obtained by measurement or estimation.
[0040] With the above three parameters, the following formula can be used to calculate the actual size of the object: Actual size = (object pixel size × object distance) / (photo resolution × sensor size × tan(field of view angle / 2)) Among them, the field of view angle can be obtained from the camera manual or online information, while the photo resolution and sensor size can be viewed through the camera's settings menu.
[0041] In step S3, the spring is rotated to a vertical state by a clamp, and one end is rotated to directly below the camera shooting point. According to the base point of one end of the spring determined in step S2, it is photographed and fed back to the computer terminal. The length value of the first outer diameter D1 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0042] In step S4, the spring is rotated to a vertical state by a clamp, and one end is rotated to directly below the camera shooting point. According to the base point of one end of the spring determined in step S2, it is photographed and fed back to the computer terminal. The length value of the first inner diameter D2 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0043] In step S5, the spring is flipped 180° by the clamp, and the other end of the spring is rotated to directly below the camera shooting point. According to the base point of one end of the spring determined in step S2, the spring is photographed and fed back to the computer terminal. The length value of the second outer diameter D3 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0044] In step S6, the spring is flipped 180° by the clamp, and the other end of the spring is rotated to directly below the camera shooting point. According to the base point of one end of the spring determined in step S2, the spring is photographed and fed back to the computer terminal. The length value of the second inner diameter D4 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
[0045] After statistics are completed on whether the vertical values of the first outer diameter D1, first inner diameter D2, second outer diameter D3 and second inner diameter D4 of the multiple springs sampled are qualified, statistics on the qualified data of the springs can be performed to determine the qualified rate of the springs produced in this batch and whether they can meet the production regulations.
[0046] Furthermore, the fixture is provided with a movable mechanism that can adjust the camera height. By adjusting the camera height, the camera can simultaneously take pictures of multiple springs to be tested, and when shooting, the camera will focus on the center point of the spring to be tested. The fixture is also provided with a light source, which is used to perform light compensation on the test image taken by the camera, so that the shooting effect is better.
[0047] Furthermore, the number of clamping plates of the clamp is at least two, and the clamping plates of the clamp are much smaller than the first outer diameter D1 of the spring to be tested, and the clamping plates of the clamp are much smaller than the second outer diameter D2 of the spring to be tested. The clamping plates with at least two numbers can clamp multiple springs to be tested at one time, so that multiple springs can be photographed at one time, so that multiple positions of multiple springs to be tested can be measured at one time to determine whether the batch of springs are qualified products. The clamping plates of the clamp are much smaller than the first outer diameter D1 of the spring to be tested, and the clamping plates of the clamp are much smaller than the second outer diameter D2 of the spring to be tested, so that the clamping plates will not affect the reading of the values of the first outer diameter D1, the first inner diameter D2, the second outer diameter D3 and the second inner diameter D4.
[0048] Furthermore, the camera on the fixture can capture images in real time. Using the PULNixTM-200 and Cognex image acquisition cards, a separate lens is used for the object being inspected. After enhancing the lighting and obtaining sufficient grayscale, images of the spring can be captured.
[0049] Furthermore, in step S7, the qualified springs after size inspection are placed in a placement tray. If the two ends of the spring are different in size, the small outer diameter of the spring is facing down and the large outer diameter is on top. If they are the same, they can be placed at will so that the springs can be put together in a unified manner for transportation to the next process.
[0050] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A spring detection method, characterized in that: The specific usage steps are as follows: S1: length of compression spring; S2: fixed base point; S3: measuring the first outer diameter D1; S4: measuring the first inner diameter D2; S5: measuring the second outer diameter D3; S6: measuring the second inner diameter D4; S7: After each measurement in S2 to S6, the measured value must be compared with the standard tolerance range value to determine whether it is qualified.
2. A spring detection method according to claim 1, characterized in that: In step S1 , a plurality of springs to be tested are compressed by a clamping plate on a fixture and fixed at a length to be tested.
3. A spring detection method according to claim 1, characterized in that: In step S2, both ends of the compressed spring are passed through a rotatable clamp so that the spring is in a horizontal state and is directly below the camera shooting point on the clamp. A photo is taken and fed back to a computer terminal. The wire diameter lengths at both ends of the spring are analyzed by computer data, and the numerical values of the wire diameters at both ends are compared to determine whether the wire diameters are the same. If they are different, the spring is judged to be unqualified, and if they are the same, the spring is judged to be qualified, and the measurement position is determined as the measurement base point.
4. A spring detection method according to claim 1, characterized in that: In step S3, the spring is rotated to a vertical state by a clamp, and one end of the spring is rotated to be directly below the camera shooting point. The base point of one end of the spring determined in step S2 is photographed and fed back to a computer terminal. The length value of the first outer diameter D1 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
5. A spring detection method according to claim 1, characterized in that: In step S4, the spring is rotated to a vertical state by a clamp, and one end is rotated to be directly below the camera shooting point. The base point of one end of the spring determined in step S2 is photographed and fed back to a computer terminal. The length value of the first inner diameter D2 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
6. A spring detection method according to claim 1, characterized in that: In step S5, the spring is flipped 180° by a clamp, and the other end of the spring is rotated to be directly below the camera shooting point. The base point of one end of the spring determined in step S2 is photographed and fed back to a computer terminal. The length value of the second outer diameter D3 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
7. A spring detection method according to claim 1, characterized in that: In step S6, the spring is flipped 180° by a clamp, and the other end of the spring is rotated to be directly below the camera shooting point. The base point of one end of the spring determined in step S2 is photographed and fed back to a computer terminal. The length value of the second inner diameter D4 is analyzed by computer data and compared with the standard tolerance range value. If the measured value exceeds the standard tolerance range, the spring is judged to be unqualified. If the measured value is within the standard tolerance range, the spring is judged to be qualified.
8. A spring detection method according to claim 2, characterized in that: The number of the clamping plates of the clamp is at least two, and the clamping plates of the clamp are much smaller than the first outer diameter D1 of the spring to be detected, and the clamping plates of the clamp are much smaller than the second outer diameter D2 of the spring to be detected.
9. A spring detection method according to claim 3, characterized in that: The camera on the fixture can collect images in real time. PULNixTM-200 and Cognex image acquisition card are used. A separate lens is used for the object to be inspected, and then the light is enhanced. After obtaining sufficient grayscale, the image of the spring can be collected.
10. A spring detection method according to claim 1, characterized in that: In step S7, the qualified springs after size inspection are placed in the placement tray. If the two ends of the spring are different in size, the small outer diameter of the spring is facing downward and the large outer diameter is facing upward. If they are the same, they can be placed at will.
