Workpiece measurement method, device, system, equipment and storage medium

Through the distance sensor measuring the distance during the synchronous rotation of the workpiece and the standard measuring block, the force arm of the workpiece is automatically calculated, which solves the problems of low efficiency and insufficient accuracy of manual measurement in the existing technology, and achieves faster and more accurate measurement.

CN114427844BActive Publication Date: 2024-10-18HUNAN SANY ZHONGYI MASCH CO LTD YIYANG BRANCH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210056641.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-18
Publication Date
2024-10-18
Estimated Expiration
2042-01-18

AI Technical Summary

Technical Problem

In the prior art, the force arm of the workpiece is measured manually through drawing software or drawings, which results in low measurement efficiency and insufficient accuracy.

Method used

During the rotation of the workpiece based on the center point, the first distance sensor measures multiple first distances on the surface of the workpiece and the second distance sensor measures multiple second distances of the standard measurement block, combined with the rotation angle of the standard measurement block relative to the center point, Determine the rotation angle of the workpiece and the distance from the contour point to the center point, and calculate the moment arm at at least one contour point.

Benefits of technology

It realizes the automatic measurement of the force arm with faster speed and higher precision, shortens the time of workpiece design and verification, and improves work efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114427844B_ABST
    Figure CN114427844B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of measurement, and provides a workpiece measurement method, device, system, equipment and storage medium, wherein the method comprises: obtaining a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; determining the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and a preset distance variation; determining the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the plurality of first distances and a third distance; the third distance is the distance to the center point measured in advance by the first distance sensor; determining the force arm at at least one contour point based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point. Automatic measurement of the force arm is achieved with faster speed and higher accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of measurement technology, and in particular to a workpiece measurement method, device, system, equipment and storage medium. Background Art

[0002] In the manufacturing process of a workpiece (such as a cam or a camshaft), it is necessary to measure the parameters (such as the lever arm) of the manufactured workpiece to determine whether it meets the design requirements. In the prior art, the lever arm of the workpiece is generally obtained by manually measuring the drawing software or drawings, and the measurement efficiency is low. Summary of the invention

[0003] The present invention provides a workpiece measurement method, device, system, equipment and storage medium, which are used to solve the defect of low measurement efficiency in the prior art of obtaining the workpiece's force arm by manual measurement of drawing software or drawings, and realize automatic measurement of the force arm with faster speed and higher accuracy.

[0004] The present invention provides a workpiece measuring method, comprising:

[0005] Acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point;

[0006] Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the multiple second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle;

[0007] Based on the multiple first distances and the third distance, determining the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0008] Based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point, a force arm at at least one of the contour points is determined.

[0009] According to a workpiece measurement method provided by the present invention, the number of the first distances and the number of the second distances are both n+1, and in the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer equal to or greater than 0, and the value of i is an integer from 0 to n;

[0010] The method of determining the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle comprises:

[0011] The ratio of a first difference between the first second distance and the (i+1)th second distance to the preset distance change is used as a rotation angle of the workpiece at the (i+1)th contour point relative to the center point.

[0012] According to a workpiece measurement method provided by the present invention, determining the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point comprises:

[0013] For the i+1th contour point, the force arm determination step is performed:

[0014] Converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system as the target rotation angle at the i+1th contour point;

[0015] Based on a preset strategy, determining the slope of the normal line at the i+1th contour point;

[0016] The moment arm at the i+1th contour point is determined based on the target rotation angle at the i+1th contour point, the slope of the normal line at the i+1th contour point, and the distance from the i+1th contour point to the center point.

[0017] According to a workpiece measurement method provided by the present invention, the step of converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into a rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system as a target rotation angle at the i+1th contour point comprises:

[0018] The sum of a preset initial rotation angle and a rotation angle of the workpiece at the i+1th contour point relative to the center point is used as the target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is the initial rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system.

[0019] According to a workpiece measurement method provided by the present invention, when n is greater than or equal to 2, the step of determining the force arm is performed for the i+1th contour point, including:

[0020] For the contour points other than the first contour point and the n+1th contour point, executing the force arm determination step;

[0021] Wherein, determining the slope of the normal line at the (i+1)th contour point based on a preset strategy includes:

[0022] For each of the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

[0023] According to a workpiece measurement method provided by the present invention, the contour line of the surface of the workpiece is an Archimedean spiral, and the slope of the normal line at the i+1th contour point is determined based on a preset strategy, including:

[0024] Based on the target rotation angle at the (i+1)th contour point, the slope of the normal line at the (i+1)th contour point is determined.

[0025] A workpiece measuring method provided by the present invention further includes:

[0026] Based on the moment arm at each of the contour points and the corresponding target rotation angle, a relationship curve between the moment arm and the target rotation angle is generated.

[0027] A workpiece measuring method provided by the present invention further includes:

[0028] Obtaining the distance from each design contour point on the design contour line of the surface of the workpiece to the center point;

[0029] Selecting a designed contour point from each of the designed contour points on the designed contour line of the surface of the workpiece as an initial point, wherein a second difference between a distance from the initial point to the center point and a distance from the contour point first measured on the contour line of the surface of the workpiece to the center point is less than or equal to a first threshold;

[0030] Based on the initial point, determining a one-to-one correspondence between each contour point on the contour line of the surface of the workpiece and each designed contour point on the designed contour line, wherein the contour point and the corresponding designed contour point have the same rotation angle of the workpiece relative to the center point;

[0031] For each of the contour points, determining a third difference between a distance from the contour point to the center point and a distance from a corresponding design contour point to the center point;

[0032] Based on the third difference values ​​corresponding to the contour points, it is determined whether the contour line of the surface of the workpiece is qualified.

[0033] According to a workpiece measurement method provided by the present invention, determining whether the contour line of the surface of the workpiece is qualified based on the third difference corresponding to each contour point includes:

[0034] Determine the sum of squares of the third differences corresponding to each of the contour points;

[0035] determining a square root of a ratio of the sum of squares to the number of each of the contour points;

[0036] If it is determined that the square root is less than or equal to the second threshold, it is determined that the contour line of the surface of the workpiece is qualified.

[0037] The present invention also provides a workpiece measuring device, comprising:

[0038] a distance acquisition module, configured to acquire a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on a center point, and a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point;

[0039] an angle determination module, configured to determine a rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and a change in a preset distance from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point;

[0040] A distance determination module, configured to determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the multiple first distances and a third distance; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0041] The force arm determination module is used to determine the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point.

[0042] The present invention also provides a workpiece measuring system, comprising:

[0043] A workpiece measuring device, a first distance sensor and a second distance sensor connected to the workpiece measuring device;

[0044] The workpiece measuring device is used to obtain a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point; determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the plurality of first distances and a third distance; the third distance is the distance to the center point measured in advance by the first distance sensor; determine the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point.

[0045] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned workpiece measurement methods when executing the program.

[0046] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned workpiece measurement methods are implemented.

[0047] The workpiece measuring method provided by the present invention obtains the distance from each contour point on the contour line of the surface of the workpiece to the center point by using a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on the center point, and the distance to the center point measured in advance by the first distance sensor, and obtains the rotation angle of the workpiece relative to the center point during the rotation of a standard measuring block rotating together with the workpiece based on the center point by using a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor, and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point, based on which, the force arm at at least one contour point can be obtained by using the rotation angle of the workpiece relative to the center point during the rotation and the distance from each contour point to the center point, thereby realizing automatic measurement of the force arm. Compared with the method of obtaining the force arm of the workpiece by manually measuring the drawing software or drawings, the measurement result can be automatically obtained by using the distance measured by the distance sensor during the synchronous rotation of the workpiece and the standard measuring block, which is faster and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 This is one of the flow charts of the workpiece measurement method provided by the present invention;

[0050] Figure 2 It is one of the structural schematic diagrams of the workpiece measurement system provided by the present invention;

[0051] Figure 3 is a schematic diagram of an application scenario of the cam provided by the present invention;

[0052] Figure 4 This is one of the flow charts of the workpiece measurement method provided by the present invention;

[0053] Figure 5 It is one of the structural schematic diagrams of the workpiece measuring device provided by the present invention;

[0054] Figure 6 It is one of the structural schematic diagrams of the workpiece measurement system provided by the present invention;

[0055] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 creative work are within the scope of protection of the present invention.

[0057] Combine the following Figures 1 to 4 A workpiece measuring method according to an embodiment of the present invention is described.

[0058] Figure 1 This is one of the flow charts of the workpiece measuring method provided by the present invention.

[0059] The workpiece measurement method provided in the embodiment of the present invention can be executed by a workpiece measurement device such as a computer or a combination of software and / or hardware therein, such as Figure 1 As shown, the method comprises at least the following steps:

[0060] Step 101, acquiring a plurality of first distances to the surface of a workpiece measured by a first distance sensor when the workpiece rotates based on a center point, and a plurality of second distances to the surface of a standard measuring block measured by a second distance sensor when the standard measuring block and the workpiece rotate together based on a center point.

[0061] Step 102: Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the multiple second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle.

[0062] Step 103 : Based on the multiple first distances and the third distance, determine the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor.

[0063] Step 104 : determining a force arm at at least one contour point based on a rotation angle of the workpiece relative to the center point during the rotation process and a distance from each contour point to the center point.

[0064] The workpiece is the workpiece whose lever arm is to be measured. The surface of the workpiece is the surface of the lever arm to be measured. The contour of the surface of the workpiece is the outer contour. In practical applications, during the design stage of the workpiece, the lever arm of the manufactured workpiece can be measured, and various analyses can be performed based on the measured lever arm, such as torque analysis, to determine whether it meets the ideal design. The workpiece can be a cam or a camshaft, etc.

[0065] The standard measuring block is obtained in advance through fine processing, and the contour of the surface of the standard measuring block is the outer contour, and its contour line is a known curve. The standard measuring block is used to measure the rotation angle relative to the center point. Exemplarily, the contour line of the surface of the standard measuring block is an Archimedean spiral. In the Archimedean spiral, the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point for each unit rotation angle is a fixed value. Therefore, in the process of the distance change to the standard measuring block measured by the second distance sensor, the preset distance change can be combined to measure the rotation angle of the standard measuring block relative to the center point. In addition, since the standard measuring block and the workpiece rotate based on the center point together, the rotation angles of the two relative to the center point are the same. Based on this, the rotation angle of the standard measuring block relative to the center point can be used as the rotation angle of the workpiece relative to the center point.

[0066] The measuring directions of the first distance sensor and the second distance sensor both point to the center point.

[0067] During the rotation process, the preset angle can be rotated. Exemplarily, the preset angle ranges from 60 degrees to 120 degrees, and the specific value can be selected according to the actual situation of the workpiece.

[0068] See also Figure 2The structural schematic diagram of the workpiece measurement system shown is illustrated with the workpiece as a cam, and correspondingly, the above-mentioned center point is the rotation center. Figure 2 The workpiece measurement system shown in the figure includes a first distance sensor 201 and a second distance sensor 202. The rotation centers of the workpiece 203 and the standard measuring block 204 are both point O, the first distance sensor 201 and the second distance sensor 202 both point to point O, and the distance from the first distance sensor 201 to point O is (i.e. the third distance mentioned above), the distance from the second distance sensor 202 to point O is

[0069] The standard measuring block 204 and the workpiece 203 are synchronously rotated around the point O by a preset angle, and the rotation angle relative to the center point during the rotation process is recorded as α.

[0070] In the figure, point A is the transmitting point and receiving point of the signal of the first distance sensor 201, point B is the transmitting point and receiving point of the signal of the second distance sensor 202, point C is the initial measurement point of the outer contour 2031 of the surface of the workpiece 203, and point D is the initial measurement point of the outer contour 2041 of the surface of the standard measuring block 204.

[0071] The first distance sensor 201 measures the distance from point A to the outer contour 2031 of the surface of the workpiece 203 (ie, the first distance mentioned above), wherein the initial distance from the first distance sensor 201 to the outer contour 2031 of the surface of the workpiece 203 is The second distance sensor 202 measures the distance from point B to the outer contour 2041 of the surface of the standard measuring block 204 (i.e., the second distance mentioned above), wherein the initial distance from the second distance sensor 202 to the outer contour 2041 of the surface of the standard measuring block 204 is The outer contour 2031 of the surface of the workpiece 203 after the rotation angle α is indicated by the outer contour 2032. At this time, the first distance sensor 201 measures C 1 The outer contour 2041 of the surface of the standard measuring block 204 after being rotated by an angle α is indicated by the outer contour 2042. At this time, the second distance sensor 202 measures D 1 The workpiece measuring device can receive the first distance measured by the first distance sensor and the second distance measured by the second distance sensor.

[0072] Above For vector The model, For vector The model, For vector Model, For vector Model.

[0073] It should be noted that the above-mentioned multiple first distances correspond to different rotation angles of the workpiece relative to the center point. The above-mentioned multiple second distances correspond to different rotation angles of the standard measuring block relative to the center point. In addition, the first distance sensor 201 and the second distance sensor 202 synchronously measure the first distance and the second distance, that is, during the rotation of the workpiece, each time the first distance sensor 201 measures a first distance, the second distance sensor also synchronously measures the second distance corresponding to the first distance, so that the first distance and the corresponding second distance are measured when the workpiece and the standard measuring block rotate at the same rotation angle relative to the center point. In this way, the rotation angle of the standard measuring block relative to the center point can be used as the rotation angle of the workpiece relative to the center point.

[0074] In this embodiment, the distances from each contour point on the contour line of the surface of the workpiece to the center point are obtained by using a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on the center point, and the distance to the center point measured in advance by the first distance sensor. The rotation angle of the workpiece relative to the center point during the rotation of the standard measuring block that rotates together with the workpiece based on the center point is obtained by using a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor, and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point. Based on this, the torque arm at at least one contour point can be obtained by using the rotation angle of the workpiece relative to the center point during the rotation and the distance from each contour point to the center point, thereby realizing automatic measurement of the torque arm. Compared with the method of obtaining the torque arm of the workpiece by manually measuring the drawing software or drawings, the measurement result can be automatically obtained by using the distance measured by the distance sensor during the synchronous rotation of the workpiece and the standard measuring block, which is faster and more accurate.

[0075] During the design phase of the workpiece, the design and verification time of the workpiece can be greatly shortened, and work efficiency and accuracy can be improved.

[0076] Based on the above embodiments, the number of first distances and the number of second distances are both n+1. According to the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer equal to or greater than 0, and the value of i is an integer from 0 to n. Multiple first distances can be recorded as a 0 ,a 1 …a n , with set A representing A={a 0 ,a 1 …a n}, the i+1th first distance can be recorded as a i, that is, the distance measured by the first distance sensor to the i+1th contour point on the contour line of the surface of the workpiece. Multiple second distances can be recorded as b 0 ,b 1 …b n , with set B representing B={b 0 ,b 1 …b n}, the i+1th second distance can be recorded as b i , that is, when the first distance sensor measures the distance to the i+1th contour point on the contour line of the surface of the workpiece, the second distance sensor synchronously measures the distance to the surface of the standard measuring block.

[0077] by Figure 2 For example,

[0078] Correspondingly, based on multiple second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle, the rotation angle of the workpiece relative to the center point during the rotation process is determined. The specific implementation method may include: taking the first difference between the first second distance and the i+1th second distance, and the ratio of the preset distance change, as the rotation angle of the workpiece at the i+1th contour point relative to the center point.

[0079] Specifically, the rotation angle of the workpiece relative to the center point during the rotation process can be determined according to the following formula:

[0080]

[0081] Among them, α i Indicates the rotation angle of the workpiece at the i+1th contour point relative to the center point, It indicates the change in the preset distance from the surface to the center point when the standard measuring block rotates relative to the center point for each unit angle.

[0082] In this embodiment, the difference between the first second distance and the i+1th second distance and the ratio of the above-mentioned preset distance change can be used to accurately obtain the rotation angle of the standard measuring block relative to the center point. Since the standard measuring block rotates synchronously with the workpiece, the rotation angle of the workpiece relative to the center point can be accurately obtained.

[0083] Of course, the sum of the distances from the contour points on the surface of the standard measuring block to the center point can be obtained based on the distance to the center point measured by the second distance sensor and the second distance, and the rotation angle of the workpiece relative to the center point during the rotation process can be determined using the distances from the contour points on the surface of the standard measuring block to the center point.

[0084] Based on the above embodiment, based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point, the force arm at at least one contour point is determined. The specific implementation method may include: for the i+1th contour point, executing the force arm determination step:

[0085] The first step is to convert the rotation angle of the workpiece at the i+1th contour point relative to the center point into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system as the target rotation angle at the i+1th contour point.

[0086] The target rotation angle in this step is the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system.

[0087] The second step is to determine the slope of the normal line at the i+1th contour point based on the preset strategy.

[0088] The third step is to determine the force arm at the i+1th contour point based on the target rotation angle at the i+1th contour point, the slope of the normal line at the i+1th contour point, and the distance from the i+1th contour point to the center point.

[0089] by Figure 3 Taking the application scenario of the cam shown in the figure as an example, the force arm and the target rotation angle at the contour point are explained. Figure 3 The curve 2033 where the outer contour 2031 of the surface of the workpiece 203 is located is shown, and the coordinate system X 1 OY 1 is the original coordinate system where the curve 2033 is located. During the rotation of the workpiece 203, the coordinate system X 1 OY 1 The coordinate system XOY is a fixed coordinate system. The outer contour 2031 of the surface of the workpiece 203 causes the roller 205 cooperating with the workpiece 203 to rotate at an angle of 0. 2 The outer contour 2031 of the surface of the workpiece 203 is qualified. Assuming that the first distance sensor 201 is located on the OX axis, the outer contour 2051 of the surface of the workpiece 203 and the roller 205 are in contact at point C. According to the properties of the curve, the only contact point of any two curves is on the common normal of the two curves. Therefore, the connection O 1 C and extends outward, O 1 As the center of roller 205, make a 1 The perpendicular line of C has its foot at point E, then the distance from point O to point O 1 The vertical distance of C is |OE|, denoted as set Q, Q={r 0 ,r 1 ,r 2 ,…,r i}, r iThat is, the force arm at the i+1th contour point mentioned above. i The angle shown is the coordinate system X 1 OY 1 The rotation angle relative to the fixed coordinate system XOY, that is, the target rotation angle, is denoted as set M, M = {θ 0 ,θ 1 ,θ 2 ,…,θ i}, θ i That is, the target rotation angle at the i+1th contour point.

[0090] From the geometric relationship shown in the figure, it can be seen that based on the target rotation angle at the i+1th contour point, the slope of the normal at the i+1th contour point, and the distance from the i+1th contour point to the center point, the force arm at the i+1th contour point can be quickly and accurately obtained.

[0091] Specifically, the force arm at the i+1th contour point can be determined according to the following force arm calculation formula:

[0092]

[0093] Among them, r i represents the force arm at the i+1th contour point, K i Represents the slope of the normal line at the i+1th contour point, l 1 Indicates the third distance.

[0094] It should be noted that the above is only an illustration of a formula for calculating the force arm, and it can also be modified as needed, for example, by multiplying the formula by a preset coefficient.

[0095] Based on the above embodiments, the rotation angle of the workpiece at the i+1th contour point relative to the center point is converted into a rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system, as the target rotation angle at the i+1th contour point. The specific implementation method may include: taking the sum of the preset initial rotation angle and the rotation angle of the workpiece at the i+1th contour point relative to the center point as the target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is the initial rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system.

[0096] Specifically, the target rotation angle at the i+1th contour point can be determined according to the following formula:

[0097]

[0098] Among them, θ 0 It is the target rotation angle at the first contour point (ie, the initial measurement point), that is, the preset initial rotation angle.

[0099] In practical applications, the preset initial rotation angle can be preset according to the initial state of the workpiece measurement system.

[0100] In this embodiment, combined with the initial rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system, the rotation angle of the workpiece at the i+1th contour point relative to the center point is accurately converted to obtain the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system.

[0101] Based on the above embodiment, when n is greater than or equal to 2, for the i+1th contour point, the force arm determination step is performed, and its specific implementation method may include: for the other contour points other than the first contour point and the n+1th contour point, the force arm determination step is performed; wherein, based on a preset strategy, determining the slope of the normal at the i+1th contour point may specifically include:

[0102] For each contour point among the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

[0103] In this embodiment, for the i+1th contour point, two contour points adjacent to the contour point are used to determine the slope of the normal at the contour point. Therefore, among the n+1 contour points, there is no need to determine the slope of the normal for the 1st contour point and the n+1th contour point. Based on this, for the other contour points except the 1st contour point and the n+1th contour point, the force arm determination step can be executed.

[0104] Specifically, the slope of the normal line at the i+1th contour point can be determined according to the following formula:

[0105]

[0106] In implementation, n can be set to a larger value, so that the measured contour points are denser and the calculation of the slope of the normal line at the contour points is more accurate. Exemplarily, the value of n is greater than or equal to 1000, such as 2000.

[0107] Based on the above embodiments, the contour line of the surface of the workpiece is an Archimedean spiral, and based on a preset strategy, the slope of the normal at the i+1th contour point is determined. The specific implementation method may include: based on the target rotation angle at the i+1th contour point, determining the slope of the normal at the i+1th contour point.

[0108] If the contour line of the surface of the workpiece is an Archimedean spiral, according to the characteristics of the Archimedean spiral, the slope of the normal line at the i+1th contour point can be obtained based on the target rotation angle at the i+1th contour point.

[0109] Specifically, the slope of the normal line at the i+1th contour point can be determined according to the following formula:

[0110]

[0111] In addition, based on the characteristics of the Archimedean spiral, the above-mentioned preset initial rotation angle can also be determined:

[0112]

[0113] Where β represents the change in the designed distance from the surface to the center point when the workpiece rotates relative to the center point per unit rotation angle. Based on this, the target rotation angle at the i+1th contour point can be:

[0114]

[0115] In this way, the preset initial rotation angle can be obtained according to the first distance of the initial measurement point.

[0116] Based on the above embodiments, the workpiece measurement method may further include: generating a relationship curve between the force arm and the target rotation angle based on the force arm at each contour point and the corresponding target rotation angle.

[0117] In practical applications, workpieces with multiple contour lines can be designed in advance, and then the force arm of each manufactured workpiece can be measured. For each workpiece, a relationship curve between the force arm and the target rotation angle is generated based on the force arm at each contour point and the corresponding target rotation angle. The relationship curve is used for analysis to determine a workpiece with a force arm range that meets the design requirements.

[0118] If the workpiece is a cam, and the contour line of the cam surface is an Archimedean spiral, that is, the cam is an Archimedean cam, then the maximum value α of the rotation angle of the workpiece relative to the center point can be further combined. max , to select the appropriate β.

[0119] In addition, based on the relationship curve between the force arm and the target rotation angle, the slope of the relationship curve and the maximum rotation angle α of the workpiece relative to the center point can be combined. max , select a curve segment close to the horizontal curve segment from the relationship curve, and design the surface contour of the workpiece based on it.

[0120] Based on the above embodiments, the workpiece measurement method may further include:

[0121] The first step is to obtain the distance from each design contour point to the center point on the design contour line of the surface of the workpiece.

[0122] In practical applications, the rotation angle α of each contour point on the contour line of the workpiece surface relative to the center point of the workpiece is i The polar coordinate relationship can be:

[0123] (α i ,(l 1 -a i )), i=0,1,2…n (8)

[0124] In the design stage, the design contour line of the workpiece surface has been designed, and the polar coordinate relationship between the distance R from each design contour point on the design contour line (i.e., the contour point on the design contour line) to the center point and the rotation angle relative to the center point is known data. Based on this, the distance from each design contour point on the design contour line of the workpiece surface to the center point can be obtained.

[0125] The second step is to select a design contour point from the design contour points on the design contour line of the surface of the workpiece as the initial point, and the second difference between the distance from the initial point to the center point and the distance from the contour point first measured on the contour line of the surface of the workpiece to the center point is less than or equal to the first threshold.

[0126] In this step, the design contour point corresponding to the first measured contour point on the contour line of the workpiece surface (i.e., the initial measurement point) is found from the design contour line, and the distance R from the design contour point to the center point is equal to the distance l from the first measured contour point on the contour line of the workpiece surface to the center point. 1 -a 0 Therefore, the difference between the two can be set to be less than or equal to the first threshold. The first threshold can be set according to the actual situation, for example, set to 0.005-0.01. Exemplarily, the initial point is selected according to the following formula:

[0127] |l 1 -a 0 -R|≤0.005 (9)

[0128] The third step is to determine the one-to-one correspondence between each contour point on the contour line of the workpiece surface and each design contour point on the design contour line based on the initial point, and the rotation angle of the workpiece relative to the center point at the contour point and the corresponding design contour point is the same.

[0129] Taking the initial point as the reference, the polar coordinates of each design contour point can be expressed as:

[0130] (α i ,R i ), i=0,1,2...n (10)

[0131] R i Represents the distance from the i+1th design contour point to the center point.

[0132] Step 4: determine the third difference between the distance from the contour point to the center point and the distance from the corresponding design contour point to the center point.

[0133] Step 5: Based on the third difference corresponding to each contour point, determine whether the contour line of the surface of the workpiece is qualified.

[0134] In this embodiment, based on the distance measured by the distance sensor during the synchronous rotation of the workpiece and the standard measuring block, the contour line of the surface of the workpiece can be quickly measured.

[0135] Based on the above embodiments, based on the third difference corresponding to each contour point, it is determined whether the contour line of the surface of the workpiece is qualified, and its specific implementation method may include: determining the sum of the squares of the third differences corresponding to each contour point; determining the square root of the ratio of the sum of squares to the number of each contour point; if it is determined that the square root is less than or equal to the second threshold, it is determined that the contour line of the surface of the workpiece is qualified.

[0136] Correspondingly, if it is determined that the square root is greater than the second threshold, it is determined that the contour line of the surface of the workpiece is unqualified. The value of the second threshold can be set according to actual needs, for example, set to 0.01-0.02, illustratively, to 0.02.

[0137] Specifically, the expression of the square root Δ is as follows:

[0138]

[0139] The above is only an exemplary description of a method for determining whether the contour line of the surface of the workpiece is qualified based on the third difference corresponding to each contour point. For example, the ratio of the sum of squares to the number of contour points can be directly compared with the third threshold. If the ratio is less than or equal to the third threshold, it is determined that the contour line of the surface of the workpiece is qualified.

[0140] In practical applications, when measuring a workpiece, the contour line can be measured first, and then the force arm can be measured. Figure 4 As shown, the details are as follows:

[0141] Step 401, measuring the distance to the initial measurement point on the surface. Specifically, the distance to the initial measurement point on the surface of the workpiece is measured by a first distance sensor, i.e., the first first distance, and the distance to the initial measurement point on the surface of the standard measurement block is measured by a second distance sensor, i.e., the first second distance.

[0142] Step 402: The standard measuring block and the workpiece are synchronously rotated by a preset angle with point O as the center to obtain two sets of distance data, wherein the first set of distance data includes a plurality of first distances, and the second set of distance data includes a plurality of second distances.

[0143] Step 403 , based on the two sets of distance data and the contour judgment formula, determine whether the contour line of the surface of the workpiece is qualified, if qualified, execute step 404 , otherwise execute step 405 .

[0144] In this step, the contour judgment formula includes the above formulas (1) and (8) to (11). The specific implementation method can refer to the above embodiment and will not be repeated here.

[0145] Step 404 , based on the two sets of distance data and the force arm calculation formula, measure the force arm, and execute step 406 .

[0146] The arm calculation formula includes formula (3) and related formulas. The specific implementation method can refer to the above embodiment and will not be described here.

[0147] Step 405 , determine whether the workpiece needs to be reworked, and then return to step 401 .

[0148] Step 406, end.

[0149] In a contour measurement scheme of the related technology, a large number of coordinates in the image format need to be identified, and the accuracy is not easy to control. Then, a three-coordinate measuring instrument is needed to detect the coordinate values ​​of up to 1,000 points. The workload is large, the efficiency is low, and professional personnel are required to perform detection and analysis. The usability is poor, which affects production efficiency. The measurement data also needs to be generated into a curve through CAD software and compared with the theoretical curve, which leads to a decrease in accuracy during the conversion process, which has a certain impact on the efficiency and accuracy of the design verification.

[0150] In this solution, the two sets of measured distance data are directly brought into the formula for calculation and judgment of whether the contour line is qualified. There is no need to measure the coordinate points through a three-dimensional coordinate measuring instrument, that is, it can be verified through the formula, and there is no need for three-dimensional or two-dimensional verification. It is easy to use, convenient and fast, and has strong adaptability, and does not require professional operation. If the contour line of the surface of the workpiece is an Archimedean spiral, it can also be quickly tested, and the measured data can be directly brought into the formula to verify whether it is an Archimedean spiral. This can greatly shorten the design and verification time of workpieces such as Archimedean cams, and improve work efficiency and accuracy.

[0151] The workpiece measuring device provided by the present invention is described below. The workpiece measuring device described below and the workpiece measuring method described above can be referred to each other.

[0152] Figure 5It is a structural schematic diagram of the workpiece measuring device provided by the present invention.

[0153] like Figure 5 As shown, this embodiment provides a workpiece measuring device, comprising:

[0154] The distance acquisition module 501 is used to acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measurement block measured by the second distance sensor during the rotation of the standard measurement block and the workpiece based on the center point;

[0155] An angle determination module 502, for determining a rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and a preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point;

[0156] A distance determination module 503 is used to determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the multiple first distances and the third distance; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0157] The lever arm determination module 504 is used to determine the lever arm at at least one contour point based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point.

[0158] Based on the above embodiment, the number of first distances and the number of second distances are both n+1, and in the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer equal to or greater than 0, and the value of i is an integer from 0 to n;

[0159] Angle determination module, specifically used for:

[0160] The ratio of the first difference between the first second distance and the (i+1)th second distance to the preset distance variation is used as the rotation angle of the workpiece at the (i+1)th contour point relative to the center point.

[0161] Based on the above embodiments, the lever arm determination module is specifically used for:

[0162] For the i+1th contour point, execute the force arm determination step:

[0163] The rotation angle of the workpiece at the i+1th contour point relative to the center point is converted into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system, which is used as the target rotation angle at the i+1th contour point;

[0164] Based on a preset strategy, determine the slope of the normal line at the i+1th contour point;

[0165] The moment arm at the i+1th contour point is determined based on the target rotation angle at the i+1th contour point, the slope of the normal line at the i+1th contour point, and the distance from the i+1th contour point to the center point.

[0166] Based on the above embodiments, the lever arm determination module is specifically used for:

[0167] The sum of the preset initial rotation angle and the rotation angle of the workpiece at the i+1th contour point relative to the center point is used as the target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is the initial rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system.

[0168] Based on the above embodiment, the lever arm determination module is specifically used to: when n is greater than or equal to 2, for other contour points other than the 1st contour point and the n+1th contour point, perform a lever arm determination step;

[0169] Wherein, based on a preset strategy, determining the slope of the normal line at the i+1th contour point includes:

[0170] For each contour point among the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

[0171] Based on the above embodiments, the lever arm determination module is specifically used for:

[0172] Based on the target rotation angle at the i+1th contour point, the slope of the normal line at the i+1th contour point is determined.

[0173] Based on the above embodiment, it also includes:

[0174] The curve generating module is used to generate a relationship curve between the force arm and the target rotation angle based on the force arm at each contour point and the corresponding target rotation angle.

[0175] Based on the above embodiment, it also includes:

[0176] A contour measurement module is used to obtain the distance from each design contour point on the design contour line of the surface of the workpiece to the center point; select a design contour point from each design contour point on the design contour line of the surface of the workpiece as an initial point, and the second difference between the distance from the initial point to the center point and the distance from the contour point first measured on the contour line of the surface of the workpiece to the center point is less than or equal to a first threshold; based on the initial point, determine the one-to-one correspondence between each contour point on the contour line of the surface of the workpiece and each design contour point on the design contour line, and the rotation angle of the workpiece relative to the center point at the contour point and the corresponding design contour point is the same; for each contour point, determine the third difference between the distance from the contour point to the center point and the distance from the corresponding design contour point to the center point; based on the third difference corresponding to each contour point, determine whether the contour line of the surface of the workpiece is qualified.

[0177] Based on the above embodiments, the contour measurement module is specifically used for:

[0178] Determine the sum of squares of the third differences corresponding to each contour point;

[0179] Determine the square root of the ratio of the sum of squares to the number of contour points;

[0180] If it is determined that the square root is less than or equal to the second threshold, it is determined that the contour line of the surface of the workpiece is qualified.

[0181] The workpiece measuring system provided by the present invention is described below. The workpiece measuring system described below and the workpiece measuring method described above can be referred to each other.

[0182] Figure 6 It is a structural schematic diagram of the workpiece measurement system provided by the present invention.

[0183] like Figure 6 As shown, this embodiment also provides a workpiece measurement system, including:

[0184] A workpiece measuring device 601, a first distance sensor 201 and a second distance sensor 202 connected to the workpiece measuring device;

[0185] The workpiece measuring device 601 is used to obtain a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point; determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the plurality of first distances and a third distance; the third distance is the distance to the center point measured in advance by the first distance sensor; determine the force arm at at least one contour point based on the rotation angle of the workpiece relative to the center point and the distance from each contour point to the center point during the rotation process.

[0186] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the workpiece measurement method, which includes:

[0187] Acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point;

[0188] Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point;

[0189] Based on the multiple first distances and the third distance, determining the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0190] Based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point, a force arm at at least one contour point is determined.

[0191] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0192] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, the computer can execute the workpiece measurement method provided by the above methods, the method comprising:

[0193] Acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point;

[0194] Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point;

[0195] Based on the multiple first distances and the third distance, determining the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0196] Based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point, a force arm at at least one contour point is determined.

[0197] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the workpiece measurement method provided above, the method comprising:

[0198] Acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point;

[0199] Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point;

[0200] Based on the multiple first distances and the third distance, determining the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor;

[0201] Based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point, a force arm at at least one contour point is determined.

[0202] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0203] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A workpiece measuring method, characterized in that: include: Acquire a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; Determine the rotation angle of the workpiece relative to the center point during the rotation process based on the multiple second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle; Based on the multiple first distances and the third distance, determining the distance from each contour point on the contour line of the surface of the workpiece to the center point; the third distance is the distance to the center point pre-measured by the first distance sensor; Determine a force arm at at least one of the contour points based on a rotation angle of the workpiece relative to the center point during the rotation and a distance from each of the contour points to the center point; The number of the first distances and the number of the second distances are both n+1, and in the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer greater than 0, and the value of i is an integer from 0 to n; The method of determining the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle comprises: Taking the ratio of the first difference between the first second distance and the (i+1)th second distance to the preset distance change as the rotation angle of the workpiece at the (i+1)th contour point relative to the center point; The determining of the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point comprises: For the i+1th contour point, the force arm determination step is performed: Converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system as the target rotation angle at the i+1th contour point; Based on a preset strategy, determining the slope of the normal line at the i+1th contour point; Determine a moment arm at the i+1th contour point based on a target rotation angle at the i+1th contour point, a slope of a normal line at the i+1th contour point, and a distance from the i+1th contour point to the center point; The step of converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into a rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system as a target rotation angle at the i+1th contour point includes: The sum of a preset initial rotation angle and a rotation angle of the workpiece at the i+1th contour point relative to the center point is used as a target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is an initial rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system; When n is greater than or equal to 2, the step of determining the force arm is performed for the i+1th contour point, including: For the contour points other than the first contour point and the n+1th contour point, executing the force arm determination step; Wherein, determining the slope of the normal line at the (i+1)th contour point based on a preset strategy includes: For each of the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

2. The workpiece measuring method according to claim 1, characterized in that: The contour line of the surface of the workpiece is an Archimedean spiral, and determining the slope of the normal line at the i+1th contour point based on a preset strategy includes: Based on the target rotation angle at the (i+1)th contour point, the slope of the normal line at the (i+1)th contour point is determined.

3. The workpiece measuring method according to claim 1, characterized in that: Also includes: Based on the moment arm at each of the contour points and the corresponding target rotation angle, a relationship curve between the moment arm and the target rotation angle is generated.

4. The workpiece measuring method according to any one of claims 1 to 3, characterized in that: Also includes: Obtaining the distance from each design contour point on the design contour line of the surface of the workpiece to the center point; Selecting a designed contour point from each of the designed contour points on the designed contour line of the surface of the workpiece as an initial point, wherein a second difference between a distance from the initial point to the center point and a distance from the contour point first measured on the contour line of the surface of the workpiece to the center point is less than or equal to a first threshold; Based on the initial point, determining a one-to-one correspondence between each contour point on the contour line of the surface of the workpiece and each designed contour point on the designed contour line, wherein the contour point and the corresponding designed contour point have the same rotation angle of the workpiece relative to the center point; For each of the contour points, determining a third difference between a distance from the contour point to the center point and a distance from a corresponding design contour point to the center point; Based on the third difference values ​​corresponding to the contour points, it is determined whether the contour line of the surface of the workpiece is qualified.

5. The workpiece measuring method according to claim 4, characterized in that: The determining whether the contour line of the surface of the workpiece is qualified based on the third difference corresponding to each of the contour points includes: Determine the sum of squares of the third differences corresponding to each of the contour points; determining a square root of a ratio of the sum of squares to the number of each of the contour points; If it is determined that the square root is less than or equal to the second threshold, it is determined that the contour line of the surface of the workpiece is qualified.

6. A workpiece measuring device, characterized in that: include: a distance acquisition module, configured to acquire a plurality of first distances to the surface of the workpiece measured by a first distance sensor during the rotation of the workpiece based on a center point, and a plurality of second distances to the surface of the standard measuring block measured by a second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; an angle determination module, configured to determine a rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and a change in a preset distance from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point; A distance determination module, configured to determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the multiple first distances and a third distance; the third distance is the distance to the center point pre-measured by the first distance sensor; A force arm determination module, used to determine the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point; The number of the first distances and the number of the second distances are both n+1, and in the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer greater than 0, and the value of i is an integer from 0 to n; The method of determining the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle comprises: Taking the ratio of the first difference between the first second distance and the (i+1)th second distance to the preset distance change as the rotation angle of the workpiece at the (i+1)th contour point relative to the center point; The determining of the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point comprises: For the i+1th contour point, the force arm determination step is performed: Converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system as the target rotation angle at the i+1th contour point; Based on a preset strategy, determining the slope of the normal line at the i+1th contour point; Determine a moment arm at the i+1th contour point based on a target rotation angle at the i+1th contour point, a slope of a normal line at the i+1th contour point, and a distance from the i+1th contour point to the center point; The step of converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into a rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system as a target rotation angle at the i+1th contour point includes: The sum of a preset initial rotation angle and a rotation angle of the workpiece at the i+1th contour point relative to the center point is used as a target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is an initial rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system; When n is greater than or equal to 2, the step of determining the force arm is performed for the i+1th contour point, including: For the contour points other than the first contour point and the n+1th contour point, executing the force arm determination step; Wherein, determining the slope of the normal line at the (i+1)th contour point based on a preset strategy includes: For each of the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

7. A workpiece measurement system, characterized in that: include: A workpiece measuring device, a first distance sensor and a second distance sensor connected to the workpiece measuring device; The workpiece measuring device is used to obtain a plurality of first distances to the surface of the workpiece measured by the first distance sensor during the rotation of the workpiece based on the center point, and a plurality of second distances to the surface of the standard measuring block measured by the second distance sensor during the rotation of the standard measuring block and the workpiece based on the center point; determine the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point per unit rotation angle of the standard measuring block relative to the center point; determine the distance from each contour point on the contour line of the surface of the workpiece to the center point based on the plurality of first distances and a third distance; the third distance is the distance to the center point measured in advance by the first distance sensor; determine the force arm at at least one contour point based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each contour point to the center point; The number of the first distances and the number of the second distances are both n+1, and in the order of measurement, the i+1th first distance and the i+1th second distance correspond to the i+1th contour point on the contour line of the surface of the workpiece, n is an integer greater than 0, and the value of i is an integer from 0 to n; The method of determining the rotation angle of the workpiece relative to the center point during the rotation process based on the plurality of second distances and the preset distance change from the surface to the center point when the standard measuring block rotates relative to the center point per unit rotation angle comprises: Taking the ratio of the first difference between the first second distance and the (i+1)th second distance to the preset distance change as the rotation angle of the workpiece at the (i+1)th contour point relative to the center point; The determining of the force arm at at least one of the contour points based on the rotation angle of the workpiece relative to the center point during the rotation process and the distance from each of the contour points to the center point comprises: For the i+1th contour point, the force arm determination step is performed: Converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into the rotation angle of the coordinate system where the contour line of the surface of the workpiece is located relative to the fixed coordinate system as the target rotation angle at the i+1th contour point; Based on a preset strategy, determining the slope of the normal line at the i+1th contour point; Determine a moment arm at the i+1th contour point based on a target rotation angle at the i+1th contour point, a slope of a normal line at the i+1th contour point, and a distance from the i+1th contour point to the center point; The step of converting the rotation angle of the workpiece at the i+1th contour point relative to the center point into a rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system as a target rotation angle at the i+1th contour point includes: The sum of a preset initial rotation angle and a rotation angle of the workpiece at the i+1th contour point relative to the center point is used as a target rotation angle at the i+1th contour point, wherein the preset initial rotation angle is an initial rotation angle of a coordinate system where the contour line of the surface of the workpiece is located relative to a fixed coordinate system; When n is greater than or equal to 2, the step of determining the force arm is performed for the i+1th contour point, including: For the contour points other than the first contour point and the n+1th contour point, executing the force arm determination step; Wherein, determining the slope of the normal line at the (i+1)th contour point based on a preset strategy includes: For each of the n+1 contour points except the 1st contour point and the n+1th contour point, the slope of the normal at the i+1th contour point is determined based on the target rotation angle at the i-th contour point and the distance from the i-th contour point to the center point, and the target rotation angle at the i+2th contour point and the distance from the i+2th contour point to the center point.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the workpiece measuring method according to any one of claims 1 to 5 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the workpiece measuring method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Teaching aid is measured to arm of force

    CN208538365U

  • Torque sensor

    CN212871562U