Methods, systems, and storage media of product measurement
By acquiring two sets of measurement data at different angles using a smart caliper, the diameter of the circular hole is calculated. The center of the circle is determined using the coordinates of the circumcenter of the inscribed triangle, thus solving the problem of measurement error in the diameter of the circular hole and achieving higher measurement accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2026-03-17
AI Technical Summary
In the existing technology, the measurement results of the diameter of the circular hole in the product are subject to error, resulting in low measurement accuracy.
Two sets of measurement data are obtained by using a smart caliper at different measurement angles. The diameter of the hole to be measured is calculated, and the center of the circle is determined by using the circumcenter coordinates of the inscribed triangle, thus eliminating measurement errors.
It improves the accuracy of measuring the diameter of round holes in products, eliminates measurement errors, and ensures the precision of measurement results.
Smart Images

Figure CN118009847B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of measurement technology, and in particular relates to a measurement method, system and storage medium for a product. Background Technology
[0002] In the machining and manufacturing process, many intermediate products require dimensional inspection to ensure they are within acceptable tolerances. Dimensions such as length and width are easy to measure and less prone to error. However, many intermediate products have circular holes. The primary measurement for these holes is their diameter, which is typically done using calipers. The process involves inserting the inner measuring part of the caliper into the hole, then widening it so that both ends are in contact with the hole. The distance between the two ends of the inner measuring part can be read on the caliper and is considered the diameter of the hole. However, when the two ends of the inner measuring part are in contact with the hole, the line connecting them may not pass through the center of the hole. Therefore, the measured diameter may not be accurate, meaning that in related technologies, the measurement of the diameter of circular holes in products often contains errors. Summary of the Invention
[0003] This application provides a product measurement method, system, and storage medium, which can solve the problem of low accuracy in measuring the diameter of circular holes in products in related technologies.
[0004] In a first aspect, embodiments of this application provide a measurement method for a product, applied to a smart caliper. The method includes: receiving a first measurement instruction sent by a management terminal; acquiring first measurement data of a circular hole to be measured based on the first measurement instruction, wherein the circular hole to be measured is a circular hole on the product to be measured; acquiring second measurement data of the circular hole to be measured based on the first measurement instruction, wherein the measurement angle corresponding to the second measurement data is different from the measurement angle corresponding to the first measurement data; calculating the diameter of the circular hole to be measured based on the first measurement data and the second measurement data, and sending the diameter to the management terminal.
[0005] Secondly, embodiments of this application provide a measuring device for a product, applied to a smart caliper, the device comprising:
[0006] The first receiving module is used to receive the first measurement command sent by the management terminal;
[0007] The first acquisition module is used to acquire first measurement data of the circular hole to be measured based on the first measurement instruction, wherein the circular hole to be measured is a circular hole on the product to be measured.
[0008] The second acquisition module is used to acquire second measurement data of the circular hole to be measured based on the first measurement instruction, wherein the measurement angle corresponding to the second measurement data is different from the measurement angle corresponding to the first measurement data.
[0009] The calculation module is used to calculate the diameter of the circular hole to be measured based on the first measurement data and the second measurement data, and send the diameter to the management terminal.
[0010] Thirdly, embodiments of this application provide a product measurement method applied to a management terminal. The method includes: sending a first measurement instruction to a smart caliper, the first measurement instruction instructing the smart caliper to measure the diameter of a circular hole to be measured on the product to be tested; receiving the diameter measured by the smart caliper based on the first measurement instruction; and generating a test report on the product to be tested based on the diameter.
[0011] Fourthly, embodiments of this application provide a product measuring device applied to a management terminal, the device comprising:
[0012] The sending module is used to send a first measurement command to the smart caliper, the first measurement command being used to instruct the smart caliper to measure the diameter of the circular hole to be measured on the product to be measured;
[0013] The second receiving module is used to receive the diameter measured by the smart caliper based on the first measurement command;
[0014] A generation module is used to generate a test report about the product under test based on the diameter.
[0015] Fifthly, embodiments of this application provide a product measurement system, the system including a smart caliper and a management terminal; the management terminal is used to send a first measurement command to the smart caliper; the smart caliper is used to receive the first measurement command and obtain first measurement data of a circular hole to be measured based on the first measurement command, the circular hole to be measured being a circular hole on the product to be measured; the smart caliper is also used to obtain second measurement data of the circular hole to be measured based on the first measurement command, the measurement angle corresponding to the second measurement data being different from the measurement angle corresponding to the first measurement data; the smart caliper is also used to calculate the diameter of the circular hole to be measured based on the first measurement data and the second measurement data, and send the diameter to the management terminal; the management terminal is also used to receive the diameter and generate a test report about the product to be measured based on the diameter.
[0016] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the measurement method for the above-described product.
[0017] In a seventh aspect, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the measurement method of the aforementioned product.
[0018] The beneficial effects of this application's embodiments compared to the prior art are as follows: In the embodiments of this application, the smart caliper can receive a first measurement command sent by a management terminal, and obtain first measurement data of the hole to be measured based on the first measurement command, then obtain second measurement data of the hole to be measured based on the first measurement command, and then calculate the diameter of the hole to be measured based on the first and second measurement data, and send the diameter to the management terminal. This application's embodiments, by obtaining two sets of measurement data of the hole to be measured at different measurement angles and using these two sets of measurement data to calculate the diameter of the hole to be measured, can eliminate measurement errors and improve the measurement accuracy of the product. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of a measurement system for a product provided in an embodiment of this application;
[0021] Figure 2 This is a schematic diagram of the first implementation process of a product measurement method provided in an embodiment of this application;
[0022] Figure 3 This is a schematic diagram of measurement data obtained from different measurement angles according to the embodiments of this application;
[0023] Figure 4 This is a schematic diagram illustrating the calculation of the diameter of the circular hole to be measured based on the first measurement data and the second measurement data provided in an embodiment of this application.
[0024] Figure 5 This is a schematic diagram of the second implementation process of a product measurement method provided in an embodiment of this application;
[0025] Figure 6 This is a first structural schematic diagram of a measuring device for a product provided in an embodiment of this application;
[0026] Figure 7 This is a second structural schematic diagram of a measuring device for a product provided in an embodiment of this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are protected by this application.
[0028] It should be noted that the terms "comprising," "including," and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application, are intended to cover non-exclusive inclusion. For example, a process, method, terminal, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Terms such as "first" and "second" in the claims, specification, and accompanying drawings of this application, as well as relational terms, are used merely to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such immediate relationship or order between these entities / operations / objects.
[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] In the machining and manufacturing process, many intermediate products require dimensional inspection to ensure they are within acceptable tolerances. Dimensions such as length and width are easy to measure and less prone to error. However, many intermediate products have circular holes. The primary measurement for these holes is their diameter, typically measured using calipers. The process involves inserting the inner measuring section of the caliper into the hole, then widening it so that both ends of the wider section are in contact with the hole. The distance between these two ends can be read on the caliper and is considered the diameter of the hole. However, when the two ends of the inner measuring section are in contact with the hole, the line connecting them may not pass through the center of the hole. Therefore, the measured diameter may not be accurate, meaning that in related technologies, the measurement of the diameter of circular holes in products often contains errors.
[0031] In view of this, the embodiments of this application obtain two sets of measurement data of the circular hole to be measured under different measurement angles, and use these two sets of measurement data to calculate the diameter of the circular hole to be measured, which can eliminate measurement errors and improve the measurement accuracy of the product.
[0032] To illustrate the technical solution of this application, specific embodiments are described below.
[0033] Please refer to Figure 1 , Figure 1 A schematic diagram of the structure of a measurement system for a product provided in an embodiment of this application is shown.
[0034] The measurement system for the aforementioned products may include smart calipers and a management terminal. The smart calipers can be used to collect measurement data of the products, such as length, width, and the diameter of circular holes. The management terminal can be used to manage the measurement data collected by the smart calipers, and can be a smart device such as a mobile phone, server, computer, or tablet.
[0035] Specifically, in the embodiments of this application, the management terminal can be used to send a first measurement command to the smart caliper; the smart caliper can be used to receive the first measurement command and obtain first measurement data of the hole to be measured based on the first measurement command, wherein the hole to be measured is a hole on the product to be measured; the smart caliper can also be used to obtain second measurement data of the hole to be measured based on the first measurement command, wherein the measurement angle corresponding to the second measurement data is different from the measurement angle corresponding to the first measurement data; the smart caliper can also be used to calculate the diameter of the hole to be measured based on the first measurement data and the second measurement data, and send the diameter to the management terminal; the management terminal can also be used to receive the diameter and generate a test report on the product to be measured based on the diameter.
[0036] The following describes the specific measurement process of the product's measurement system.
[0037] Figure 2 The illustration shows a schematic diagram of the implementation process of a measurement method for a product provided in an embodiment of this application. This method can be applied to smart calipers.
[0038] Specifically, the measurement method for the above-mentioned products may include the following steps S201 to S204.
[0039] Step S201: Receive the first measurement command sent by the management terminal.
[0040] The first measurement command can be used to instruct the smart caliper to measure the diameter of the circular hole to be measured on the product.
[0041] In some embodiments of this application, the smart caliper may include a communication module, which can establish a communication connection with a management terminal.
[0042] Specifically, the communication module can include modules such as Bluetooth, Wi-Fi, or NFC, allowing the smart caliper to establish a communication connection with the management terminal. This connection enables the two to quickly and accurately exchange measurement data and commands. This communication capability allows the smart caliper to perform precise measurements under the guidance of a remote management terminal, and also facilitates the real-time transmission of measurement data to the management terminal for analysis and recording.
[0043] In the embodiments of this application, the smart caliper can receive a first measurement command sent by the management terminal through the communication module.
[0044] Step S202: Obtain the first measurement data of the circular hole to be measured based on the first measurement command.
[0045] The hole to be measured is a circular hole on the product being measured. The first measurement data can be the distance between the two contact points of the smart caliper and the hole to be measured during the first measurement.
[0046] In the embodiments of this application, after receiving the first measurement command sent by the management terminal, the smart caliper can issue a measurement prompt through its display screen or indicator light, which can prompt the user to use the smart caliper to measure the diameter of the circular hole to be measured. When the user uses the smart caliper to measure the diameter of the circular hole, the smart caliper can obtain the first measurement data obtained from this measurement.
[0047] It is understandable that due to measurement errors, when the two ends of the inner measuring part of the smart caliper come into contact with the hole to be measured, the line connecting the two ends of the inner measuring part may not pass through the center of the hole to be measured. In this case, the first measurement data will have an error compared with the true diameter of the hole to be measured.
[0048] Step S203: Obtain the second measurement data of the circular hole to be measured based on the first measurement command.
[0049] Among them, such as Figure 3 As shown, the second measurement data can be the distance between the two contact points where the smart caliper abuts the hole to be measured during the second measurement. The measurement angle corresponding to the second measurement data is different from the measurement angle corresponding to the first measurement data. Specifically, the line connecting the two contact points corresponding to the second measurement data (the points where the smart caliper abuts the hole to be measured during the measurement) should have an angle with the line connecting the two contact points corresponding to the first measurement data.
[0050] It is understandable that the measurement angle corresponding to the second measurement data should be different from the measurement angle corresponding to the first measurement data; otherwise, the second measurement data would be consistent with the first measurement data.
[0051] In the embodiments of this application, after obtaining the first measurement data, the smart caliper can instruct the user to use the smart caliper to measure the circular hole to be measured a second time at a measurement angle different from the first measurement angle, thereby obtaining the second measurement data.
[0052] Step S204: Calculate the diameter of the hole to be measured based on the first measurement data and the second measurement data, and send the diameter to the management terminal.
[0053] In the embodiments of this application, after obtaining the first measurement data and the second measurement data, the smart caliper can determine the circumcenter of the inscribed triangle of the hole to be measured based on the first and second measurement data. It can be understood that the circumcenter of this inscribed triangle is the center of the hole to be measured. After determining the center of the hole, the diameter of the hole can be calculated based on the center and any contact point. After calculating the diameter of the hole, the smart caliper can send the diameter of the hole to the management terminal via the communication module.
[0054] The beneficial effects of this application's embodiments compared to the prior art are as follows: In the embodiments of this application, the smart caliper can receive a first measurement command sent by a management terminal, and obtain first measurement data of the hole to be measured based on the first measurement command, then obtain second measurement data of the hole to be measured based on the first measurement command, and then calculate the diameter of the hole to be measured based on the first and second measurement data, and send the diameter to the management terminal. This application's embodiments, by obtaining two sets of measurement data of the hole to be measured at different measurement angles and using these two sets of measurement data to calculate the diameter of the hole to be measured, can eliminate measurement errors and improve the measurement accuracy of the product.
[0055] In some specific embodiments of this application, the calculation of the diameter of the circular hole to be measured based on the first measurement data and the second measurement data may specifically include steps S801 to S806.
[0056] refer to Figure 4 , Figure 4 This is a schematic diagram showing how the diameter of the circular hole to be measured is calculated based on the first and second measurement data.
[0057] Step S801: Determine the coordinates of the two contact points corresponding to the first measurement data based on the first measurement data.
[0058] The contact point is the point where the smart caliper meets the circular hole to be measured.
[0059] In the embodiments of this application, when the smart caliper measures the diameter of a circular hole, a planar coordinate system can be established first. The origin of the coordinate system can be set at the starting position of the smart caliper, and the X-axis and Y-axis are automatically determined according to the relative positions of the measured points. The smart caliper can determine the coordinates of the two contact points between the smart caliper and the circular hole corresponding to the first measurement data based on the first measurement data.
[0060] Step S802: Determine the coordinates of the two contact points corresponding to the second measurement data based on the second measurement data.
[0061] In the embodiments of this application, similarly, the smart caliper can determine the coordinates of the two contact points between the smart caliper and the hole to be measured based on the second measurement data.
[0062] Step S803: Select any three contact points from the four contact points, and determine a triangle based on the selected three contact points.
[0063] In the embodiments of this application, after obtaining the coordinates of the four contact points, the smart caliper can arbitrarily select three contact points from the four contact points, and determine a triangle based on the selected three contact points. This triangle is the inscribed triangle of the circular hole to be measured.
[0064] Step S804: Determine the circumcenter coordinates of the triangle based on the coordinates of the three selected contact points.
[0065] In an embodiment of this application, the smart caliper can calculate the circumcenter coordinates of the inscribed triangle based on the coordinates of the three selected contact points.
[0066] For example, suppose the coordinates of the three vertices of the inscribed triangle are A(1, 1), B(4, 3), and C(2, 5). The coordinates of the circumcenter can be calculated using the following formulas: circumcenter x-coordinate = (x1 + x2 + x3) / 3, circumcenter y-coordinate = (y1 + y2 + y3) / 3. Substituting the coordinates of the three vertices into the formulas, we get: circumcenter x-coordinate = (1 + 4 + 2) / 3 = 3, circumcenter y-coordinate = (1 + 3 + 5) / 3 = 3. Therefore, the circumcenter of the inscribed triangle is O(3, 3).
[0067] Step S805: Calculate the radius of the circular hole to be measured based on the coordinates of the outer center and any one of the three selected contact points.
[0068] In the embodiments of this application, after obtaining the circumcenter coordinates of the inscribed triangle, the intelligent caliper can calculate the radius of the circular hole to be measured based on the circumcenter coordinates and the coordinates of any one of the three selected contact points.
[0069] For example, the example in step S804 above can be used. The radius can be calculated using the formula for the distance from the circumcenter to the vertex: r = ((x-x1)^2 + (y-y1)^2)^0.5. Substituting one of the vertex A(1,1) into the above formula, we get: r = ((3-1)^2 + (3-1)^2)^0.5 = 2.8284271247461903 ≈ 2.8.
[0070] Step S806: Calculate the diameter of the hole to be measured based on the radius of the hole to be measured.
[0071] In the embodiments of this application, after obtaining the radius of the circular hole to be measured, the smart caliper can multiply the radius by two to obtain the diameter of the circular hole to be measured.
[0072] For example, using the same example in step S805 above, the radius of the hole to be measured is calculated to be 2.8. Multiplying this radius by 2, the diameter of the hole to be measured is 5.6.
[0073] In the embodiments of this application, the coordinates of the circumcenter of the inscribed triangle of the hole to be measured are calculated by using the coordinates of the two contact points corresponding to the first measurement data and the coordinates of the two contact points corresponding to the second measurement data. In other words, the coordinates of the center of the hole to be measured are determined. Then, based on the coordinates of the center and the coordinates of any contact point, the diameter of the hole to be measured can be calculated. This diameter is calculated and there is no measurement error, thus improving the measurement accuracy of the product.
[0074] In some embodiments of this application, after calculating the diameter of the circular hole to be measured based on the first measurement data and the second measurement data, and sending the diameter to the management terminal, the above method may further include steps S901 and S902.
[0075] Step S901: Receive the first error result obtained by the management terminal based on the diameter calculation.
[0076] The first error result can be used to characterize whether the diameter calculated by the smart caliper is within the allowable error range.
[0077] In an embodiment of this application, after the smart caliper sends the calculated diameter to the management terminal, the management terminal can calculate a first error result based on the diameter and send the first error result back to the smart caliper. The smart caliper can receive the first error result through a communication module.
[0078] Step S902: Execute the corresponding first notification operation based on the first error result. The first notification operation is used to notify the user of the first error result.
[0079] In the embodiments of this application, after receiving the first error result, the smart caliper can perform a corresponding first notification operation based on the first error result. Specifically, if the first error result is acceptable, the smart caliper can notify the user that the diameter of the hole to be measured is acceptable. If the first error result is unacceptable, the smart caliper can notify the user that the diameter of the hole to be measured is unacceptable.
[0080] There are several ways to notify the user. For example, the smart caliper can be programmed to control its display or indicator light to emit corresponding colors based on different initial error results, thus indicating to the user whether the diameter of the hole being measured is within acceptable limits. Specifically, the smart caliper's display or indicator light could emit green when the initial error result is acceptable, and red when the second error result is acceptable. Alternatively, the smart caliper can be programmed to display different notification content based on different initial error results, thus indicating to the user whether the diameter of the hole being measured is within acceptable limits. Specifically, the smart caliper's display could show "Diameter Acceptable" when the initial error result is acceptable, and "Diameter Unacceptable" when the second error result is unacceptable.
[0081] In addition to measuring the diameter of the hole to be tested, in this embodiment, the coordinates of any hole to be tested on the product to be tested can also be measured to determine whether the coordinates of the target hole to be tested on the product to be tested are accurate. Specifically, in some embodiments of this application, the above method may also include steps S1001 to S1006.
[0082] Step S1001: Receive the second measurement command sent by the management terminal.
[0083] The second measurement command can be used to instruct the smart caliper to measure the diameter of the target circular hole on the product being measured.
[0084] In the embodiments of this application, the smart caliper can receive a second measurement command sent by the management terminal through the communication module, and instruct the user to use the smart caliper to measure the center coordinates of any circular hole on the product to be measured according to the second measurement command.
[0085] Step S1002: According to the second measurement command, the first diameter of the first reference hole, the second diameter of the second reference hole, and the third diameter of the third reference hole are obtained in a preset acquisition sequence, as well as the first distance between the first reference hole and the second reference hole and the second distance between the first reference hole and the third reference hole.
[0086] Wherein, the first distance and the second distance are the shortest distances between the first reference hole and the second reference hole and the third reference hole, respectively. The first reference hole, the second reference hole and the third reference hole are all circular holes on the product to be tested, and the line connecting the center of the first reference hole and the center of the second reference hole is perpendicular to the line connecting the center of the first reference hole and the center of the third reference hole.
[0087] In the embodiments of this application, upon receiving the second measurement command, the smart caliper can enter coordinate measurement mode. At this time, the smart caliper can collect the first diameter of the first reference hole, the second diameter of the second reference hole, and the third diameter of the third reference hole according to a preset collection order. The preset collection order can be set to collect the first diameter first, then the second diameter, and then the third diameter; other collection orders are also possible, and this application does not limit this. Specific diameter collection methods can be found in steps S201 to S204 and the specific implementation steps described above, and will not be repeated here.
[0088] The intelligent caliper can select a point on both the first and second reference holes, measure the distance between the two points, perform multiple measurements, and take the shortest distance between the two points on the two holes as the first distance. Similarly, the second distance between the first and third reference holes can be obtained.
[0089] Step S1003: Establish a rectangular coordinate system based on the first reference hole, the second reference hole, and the third reference hole.
[0090] In the embodiments of this application, since the line connecting the center of the first reference hole and the center of the second reference hole is perpendicular to the line connecting the center of the first reference hole and the center of the third reference hole, the center of the first reference hole can be used as the origin of the rectangular coordinate system. Based on the line connecting the center of the first reference hole and the center of the second reference hole, and the line connecting the center of the first reference hole and the center of the third reference hole, a rectangular coordinate system is established on the product under test.
[0091] Step S1004: According to the second measurement command, the target diameter of the target hole to be measured, the third distance between the target hole to be measured and the first reference hole, the fourth distance between the target hole to be measured and the second reference hole, and the fifth distance between the target hole to be measured and the third reference hole are collected in a preset acquisition sequence.
[0092] Among them, the third distance, the fourth distance, and the fifth distance are the shortest distances between the target hole to be measured and the first reference hole, the target hole to be measured and the second reference hole, and the target hole to be measured and the third reference hole, respectively.
[0093] In the embodiments of this application, the smart caliper can collect the target diameter of the target circular hole to be measured, as well as the third distance between the target circular hole to be measured and the first reference hole, the fourth distance between the target circular hole to be measured and the second reference hole, and the fifth distance between the target circular hole to be measured and the third reference hole, according to a preset collection sequence. The preset collection sequence can be to collect the target diameter first, and then collect the third, fourth, and fifth distances, or it can be to collect the third, fourth, and fifth distances first, and then collect the target diameter. The embodiments of this application do not limit this. The method of measuring the target diameter can also refer to steps S201 to S204 and the specific implementation steps described above. The method of measuring the third, fourth, and fifth distances can refer to step S1002 described above, and will not be repeated here.
[0094] Step S1005: Based on the target diameter and the distances between the first diameter and the third diameter, the second diameter and the fourth diameter, and the third diameter and the fifth diameter, calculate the first coordinate distance, the second coordinate distance, and the third coordinate distance of the target circular hole to be measured.
[0095] Wherein, the coordinate distance is the distance between the center coordinates of the target circular hole to be measured and the center coordinates of each reference hole.
[0096] In the embodiments of this application, after obtaining the above data, the smart caliper can calculate the first coordinate distance of the target circular hole to be measured based on the target diameter, the first diameter, and the third distance. Specifically, the radius corresponding to the target diameter and the radius corresponding to the first diameter can be calculated, and then these two radii can be added to the third distance to obtain the first coordinate distance of the target circular hole to be measured. Similarly, the second coordinate distance and the third coordinate distance of the target circular hole to be measured can be calculated.
[0097] Step S1006: According to the preset coordinate algorithm, the coordinates of the center of the target circular hole in the rectangular coordinate system are calculated based on the first coordinate distance, the second coordinate distance, and the third coordinate distance.
[0098] In the embodiments of this application, after obtaining the first coordinate distance, the second coordinate distance, and the third coordinate distance, the smart caliper can use a preset coordinate algorithm, such as the Qin Jiushao formula, the Pythagorean theorem, or Heron's formula, to calculate the coordinates of the center of the target circular hole in the rectangular coordinate system.
[0099] Exemplarily, the coordinate algorithm can adopt Qin Jiushao's formula. The intelligent caliper can construct a triangle based on the first coordinate distance, the second coordinate distance, and the distance between the centers of the first reference hole and the second reference hole (obtained by adding the first diameter, the second diameter, and the first distance), and use Qin Jiushao's formula to calculate the height of this triangle. This height is the ordinate of the center of the target to-be-measured round hole. In addition, the intelligent caliper can also construct another triangle based on the first coordinate distance, the third coordinate distance, and the distance between the centers of the first reference hole and the third reference hole (obtained by adding the first diameter, the third diameter, and the second distance), and use Qin Jiushao's formula to calculate the height of this triangle. This height is the abscissa of the center of the target to-be-measured round hole. Thus, the coordinates of the center of the target to-be-measured round hole in the rectangular coordinate system are obtained.
[0100] The specific Qin Jiushao's formula is as follows:
[0101]
[0102] Where, h is the height, a is the first coordinate distance, b is the second coordinate distance or the third coordinate distance, c is the distance between the centers of the first reference hole and the second reference hole, or the distance between the centers of the first reference hole and the third reference hole. Specifically: when b is the second coordinate distance, c is the distance between the centers of the first reference hole and the second reference hole; when b is the third coordinate distance, c is the distance between the centers of the first reference hole and the third reference hole.
[0103] In addition to accurately measuring the diameter of the round hole, the intelligent caliper can also measure other dimensions of the to-be-measured product, such as length, width, etc. Therefore, in some embodiments of the present application, the above method may further include the following steps:
[0104] Receive the second measurement instruction sent by the management terminal.
[0105] Obtain the third measurement data of the to-be-measured product based on the second measurement instruction, and send the third measurement data to the management terminal.
[0106] Receive the second error result calculated by the management terminal based on the third measurement data.
[0107] Execute the corresponding second notification operation based on the second error result.
[0108] Where, the second measurement instruction is used to instruct the intelligent caliper to measure other data that are not prone to errors on the to-be-measured product except the diameter, such as data such as length, width, thickness, etc. The third measurement data can be other data that are not prone to errors on the to-be-measured product except the diameter. The second error result can be used to characterize whether the third measurement data is qualified. The second notification operation can be used to notify the user of the second error result.
[0109] In the embodiments of this application, the smart caliper can receive a second measurement command sent by a management terminal through a communication module, and instruct the user to use the smart caliper to measure the third measurement data of the product under test according to the second measurement command. After obtaining the third measurement data, the smart caliper can send the third measurement data to the management terminal. After receiving the third measurement data, the management terminal can calculate a second error result based on the third measurement data and send the second error result to the smart caliper. After receiving the second error result through the communication module, the smart caliper can perform a corresponding second notification operation based on the second error result to notify the user of the corresponding second error result. The specific notification process can be referred to step S902 above, and will not be repeated here.
[0110] Figure 5 The illustration shows a schematic diagram of the implementation process of a product measurement method provided in an embodiment of this application. This method can be applied to a management terminal.
[0111] Specifically, the measurement method for the above-mentioned products may include the following steps S501 to S503.
[0112] Step S501: Send the first measurement command to the smart caliper.
[0113] The first measurement command can be used to instruct the smart caliper to measure the diameter of the circular hole to be measured on the product.
[0114] In an embodiment of this application, the management terminal can send a first measurement command to the smart caliper, thereby instructing the smart caliper to measure the diameter of the circular hole to be measured on the product under test.
[0115] Step S502: Receive the diameter measured by the smart caliper based on the first measurement command.
[0116] In the embodiments of this application, after the smart caliper calculates the diameter of the circular hole to be measured, the smart caliper can send the diameter to the management terminal, so that the management terminal can receive the diameter.
[0117] Step S503: Generate a test report on the product to be tested based on the diameter.
[0118] In the embodiments of this application, after obtaining the diameter of the circular hole to be tested, the management terminal can first generate a blank test report on the product to be tested, and then fill in the diameter in the corresponding position to form a test report on the circular hole of the product to be tested.
[0119] The beneficial effects of this application's embodiments compared to the prior art are as follows: In the embodiments of this application, the smart caliper can receive a first measurement command sent by a management terminal, and obtain first measurement data of the hole to be measured based on the first measurement command, then obtain second measurement data of the hole to be measured based on the first measurement command, and then calculate the diameter of the hole to be measured based on the first and second measurement data, and send the diameter to the management terminal. This application's embodiments, by obtaining two sets of measurement data of the hole to be measured at different measurement angles and using these two sets of measurement data to calculate the diameter of the hole to be measured, can eliminate measurement errors and improve the measurement accuracy of the product. Furthermore, the management terminal can also generate a test report based on the diameter of the hole to be measured sent by the smart caliper, eliminating the need for users to manually record data and avoiding data omissions or recording errors.
[0120] In some embodiments of this application, after receiving the diameter measured by the smart caliper based on the first measurement command and before generating a test report on the product to be tested based on the diameter, the method may further include steps S1101 and S1104.
[0121] Step S1101: Obtain the standard diameter of the circular hole to be measured and the corresponding allowable error.
[0122] Step S1102: Calculate the corresponding machining error based on the diameter and the standard diameter.
[0123] Step S1103: Calculate the first error result based on the processing error and the allowable error.
[0124] Step S1104: Send the first error result to the smart caliper so that the smart caliper performs the corresponding first notification operation based on the first error result.
[0125] Here, the standard diameter represents the ideal size that the hole to be measured should achieve, while the allowable error defines the acceptable range of dimensional deviations during actual machining. The first notification operation can be used to inform the user of the first error result.
[0126] In the embodiments of this application, the management terminal can obtain the corresponding standard diameter and the corresponding allowable error according to the type of the circular hole to be measured. The management terminal can then calculate the difference between the diameter and the standard diameter to obtain the processing error. If the processing error is within the allowable error range, a first error result is obtained indicating that the diameter of the circular hole to be measured is qualified. If the processing error exceeds the allowable error range, a first error result is obtained indicating that the diameter of the circular hole to be measured is unqualified. The management terminal can then send the first error result to the smart caliper, so that the smart caliper performs a corresponding first notification operation based on the first error result. The specific notification process can be referred to step S902 above, and will not be repeated here.
[0127] In some specific embodiments of this application, the above-mentioned generation of a test report on the product under test based on diameter may specifically include the following steps:
[0128] An inspection report is generated based on the diameter, machining error, and the first error result.
[0129] In the embodiments of this application, after obtaining the processing error and the first error result, the management terminal can also fill the diameter, processing error and the first error into the corresponding position of the test report to obtain a more specific test report.
[0130] Figure 6 This illustration shows a structural diagram of a measuring device for a product according to an embodiment of this application. The measuring device 6 of the product can be applied to a smart caliper. Specifically, the measuring device 6 of the product may include:
[0131] The first receiving module 601 is used to receive the first measurement command sent by the management terminal;
[0132] The first acquisition module 602 is used to acquire first measurement data of the circular hole to be measured based on the first measurement instruction, wherein the circular hole to be measured is a circular hole on the product to be measured.
[0133] The second acquisition module 603 is used to acquire second measurement data of the circular hole to be measured based on the first measurement instruction, wherein the measurement angle corresponding to the second measurement data is different from the measurement angle corresponding to the first measurement data.
[0134] The calculation module 604 is used to calculate the diameter of the circular hole to be measured based on the first measurement data and the second measurement data, and send the diameter to the management terminal.
[0135] The beneficial effects of this application's embodiments compared to the prior art are as follows: In the embodiments of this application, the smart caliper can receive a first measurement command sent by a management terminal, and obtain first measurement data of the hole to be measured based on the first measurement command, then obtain second measurement data of the hole to be measured based on the first measurement command, and then calculate the diameter of the hole to be measured based on the first and second measurement data, and send the diameter to the management terminal. This application's embodiments, by obtaining two sets of measurement data of the hole to be measured at different measurement angles and using these two sets of measurement data to calculate the diameter of the hole to be measured, can eliminate measurement errors and improve the measurement accuracy of the product.
[0136] In some embodiments of this application, the calculation module 604 described above can also be used to: determine the coordinates of two contact points corresponding to the first measurement data based on the first measurement data, wherein the contact points are the points where the smart caliper abuts against the circular hole to be measured; determine the coordinates of two contact points corresponding to the second measurement data based on the second measurement data; arbitrarily select three of the four contact points and determine a triangle based on the selected three contact points; determine the circumcenter coordinates of the triangle based on the coordinates of the selected three contact points; calculate the radius of the circular hole to be measured based on the circumcenter coordinates and the coordinates of any one of the selected three contact points; and calculate the diameter of the circular hole to be measured based on the radius of the circular hole to be measured.
[0137] In some embodiments of this application, the measuring device 6 of the above-mentioned product may further include an execution module for: receiving a first error result calculated by the management terminal based on the diameter; and performing a corresponding first notification operation based on the first error result, wherein the first notification operation is used to notify the user of the first error result.
[0138] In some embodiments of this application, the measuring device 6 of the above-mentioned product may further include a measuring module, configured to: receive a second measuring instruction sent by a management terminal; acquire third measuring data of the product under test based on the second measuring instruction, and send the third measuring data to the management terminal; receive a second error result calculated by the management terminal based on the third measuring data; and perform a corresponding second notification operation based on the second error result, wherein the second notification operation is used to notify the user of the second error result.
[0139] In some embodiments of this application, the smart caliper includes a communication module, and the smart caliper establishes a communication connection with the management terminal through the communication module.
[0140] Figure 7 This illustration shows a structural diagram of a measuring device for a product according to an embodiment of this application. The measuring device 7 can be applied to a management terminal. Specifically, the measuring device 7 may include:
[0141] The sending module 701 is used to send a first measurement command to the smart caliper, the first measurement command being used to instruct the smart caliper to measure the diameter of the circular hole to be measured on the product to be measured;
[0142] The second receiving module 702 is used to receive the diameter measured by the smart caliper based on the first measurement command;
[0143] The generation module 703 is used to generate a test report about the product to be tested based on the diameter.
[0144] In some embodiments of this application, the measuring device 7 of the above-described product may further include an error calculation module, used for: obtaining the standard diameter of the circular hole to be measured and the corresponding allowable error; calculating the corresponding machining error based on the diameter and the standard diameter; calculating a first error result based on the machining error and the allowable error; and sending the first error result to the smart caliper so that the smart caliper performs a corresponding first notification operation based on the first error result, the first notification operation being used to notify the user of the first error result.
[0145] In some embodiments of this application, the generation module 703 may also be used to generate the detection report based on the diameter, the processing error, and the first error result.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0147] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the measurement method of the above-described product.
[0148] This application provides a computer program product that, when run on a terminal device, enables the terminal device to implement the steps in the measurement method of the aforementioned product.
[0149] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0150] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for various specific applications, but such implementations should not be considered beyond the scope of this application.
[0151] In the embodiments provided in this application, it should be understood that the disclosed device / smart caliper and method can be implemented in other ways. For example, the device / smart caliper embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0152] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0153] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0154] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0155] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of measuring a product, characterized by, The method is applied to a smart caliper, and the method comprises: receiving a first measurement instruction sent by a management terminal; obtaining first measurement data of a to-be-measured round hole based on the first measurement instruction, the to-be-measured round hole being a round hole on a to-be-measured product; obtaining second measurement data of the to-be-measured round hole based on the first measurement instruction, the second measurement data corresponding to a measurement angle different from that of the first measurement data; calculating a diameter of the to-be-measured round hole according to the first measurement data and the second measurement data, and sending the diameter to the management terminal; receiving a first error result calculated by the management terminal based on the diameter; performing a corresponding first notification operation based on the first error result, the first notification operation being used to notify a user of the first error result; The method further comprises: receiving a second measurement instruction sent by a management terminal; obtaining a first diameter of a first reference hole, a second diameter of a second reference hole, and a third diameter of a third reference hole, and a first distance between the first reference hole and the second reference hole and a second distance between the first reference hole and the third reference hole according to a preset acquisition sequence according to the second measurement instruction, the first distance and the second distance being the shortest distances between the first reference hole and the second reference hole and the third reference hole, respectively, the first reference hole, the second reference hole, and the third reference hole all being round holes on the to-be-measured product, and a line connecting the center of the first reference hole and the center of the second reference hole being perpendicular to a line connecting the center of the first reference hole and the center of the third reference hole; establishing a rectangular coordinate system according to the first reference hole, the second reference hole, and the third reference hole; acquiring a target diameter of a target to-be-measured round hole, and a third distance between the target to-be-measured round hole and the first reference hole, a fourth distance between the target to-be-measured round hole and the second reference hole, and a fifth distance between the target to-be-measured round hole and the third reference hole according to a preset acquisition sequence according to the second measurement instruction, the third distance, the fourth distance, and the fifth distance being the shortest distances between the target to-be-measured round hole and the first reference hole, the target to-be-measured round hole and the second reference hole, and the target to-be-measured round hole and the third reference hole, respectively; calculating first, second, and third coordinate distances of the target to-be-measured round hole according to the target diameter, and the first diameter and the third distance, the second diameter and the fourth distance, and the third diameter and the fifth distance, respectively, the coordinate distances being distances between the center coordinates of the target to-be-measured round hole and the center coordinates of the reference holes; calculating the coordinates of the center of the target to-be-measured round hole in the rectangular coordinate system according to the first, second, and third coordinate distances by using the Qin Jiushao formula according to a preset coordinate algorithm, specifically: According to the first coordinate distance, the second coordinate distance, and the distance between the first reference hole center and the second reference hole center, a first triangle is constructed; The height of the first triangle is calculated by using the Qinjiushao formula, and the height of the first triangle is the vertical coordinate of the center of the target to-be-measured circular hole; According to the first coordinate distance, the third coordinate distance, and the distance between the first reference hole center and the third reference hole center, a second triangle is constructed; The height of the second triangle is calculated by using the Qinjiushao formula, and the height of the second triangle is the horizontal coordinate of the center of the target to-be-measured circular hole.
2. The method of measuring products according to claim 1, wherein, The diameter of the to-be-measured circular hole is calculated according to the first measurement data and the second measurement data, including: The coordinates of two contact points corresponding to the first measurement data are determined based on the first measurement data, and the contact points are the abutment points of the intelligent caliper and the to-be-measured circular hole; The coordinates of two contact points corresponding to the second measurement data are determined based on the second measurement data; Three contact points are selected from the four contact points, and a triangle is determined according to the selected three contact points; The circumcenter coordinates of the triangle are determined according to the coordinates of the selected three contact points; The radius of the to-be-measured circular hole is calculated according to the circumcenter coordinates and the coordinates of any one of the selected three contact points; The diameter of the to-be-measured circular hole is calculated based on the radius of the to-be-measured circular hole.
3. The method of measuring the product according to any one of claims 1 to 2, wherein, The intelligent caliper includes a communication module, and the intelligent caliper establishes a communication connection with the management terminal through the communication module.
4. A method of measuring a product, characterized by, The method is applied to a management terminal, and the method includes: sending a first measurement instruction to an intelligent caliper, the first measurement instruction being used to instruct the intelligent caliper to measure the diameter of a to-be-measured circular hole on a to-be-measured product; receiving the diameter measured by the intelligent caliper based on the first measurement instruction; obtaining a standard diameter of the to-be-measured circular hole and a corresponding allowable error; calculating a processing error based on the diameter and the standard diameter; calculating a first error result based on the processing error and the allowable error; sending the first error result to the intelligent caliper, so that the intelligent caliper performs a corresponding first notification operation based on the first error result, and the first notification operation is used to notify a user of the first error result; generating a detection report about the to-be-measured product based on the diameter; sending a second measurement instruction to the intelligent caliper; receiving third measurement data of the to-be-measured product obtained by the intelligent caliper based on the second measurement instruction; calculating a second error result based on the third measurement data; sending the second error result to the intelligent caliper, so that the intelligent caliper performs a corresponding second notification operation based on the second error result, and the second notification operation is used to notify a user of the second error result, and the second error result is used to represent whether the third measurement data is qualified.
5. The method of measuring products according to claim 4, wherein, The generation of the detection report about the to-be-measured product based on the diameter includes: generating the detection report based on the diameter, the processing error, and the first error result.
6. A product measurement system characterized by, The system comprises a smart caliper and a management terminal; The management terminal is configured to send a first measurement instruction to the smart caliper; The smart caliper is configured to receive the first measurement instruction and obtain first measurement data of a to-be-measured round hole based on the first measurement instruction, the to-be-measured round hole being a round hole on a to-be-measured product; The smart caliper is further configured to obtain second measurement data of the to-be-measured round hole based on the first measurement instruction, the second measurement data corresponding to a measurement angle different from that of the first measurement data; The smart caliper is further configured to calculate a diameter of the to-be-measured round hole according to the first measurement data and the second measurement data, and send the diameter to the management terminal; The management terminal is further configured to receive the diameter and generate a detection report about the to-be-measured product based on the diameter; The smart caliper is further configured to receive a first error result calculated by the management terminal based on the diameter; A corresponding first notification operation is performed based on the first error result, the first notification operation being configured to notify a user of the first error result; A second measurement instruction sent by the management terminal is received; The smart caliper acquires a first diameter of a first reference hole, a second diameter of a second reference hole, and a third diameter of a third reference hole, and a first distance between the first reference hole and the second reference hole and a second distance between the first reference hole and the third reference hole according to a preset acquisition sequence based on the second measurement instruction, the first distance and the second distance being shortest distances between the first reference hole and the second reference hole and between the first reference hole and the third reference hole, respectively, the first reference hole, the second reference hole, and the third reference hole being round holes on the to-be-measured product, and a line connecting a center of the first reference hole and a center of the second reference hole being perpendicular to a line connecting the center of the first reference hole and a center of the third reference hole; The smart caliper establishes a rectangular coordinate system according to the first reference hole, the second reference hole, and the third reference hole; The smart caliper acquires a target diameter of a target to-be-measured round hole, and a third distance between the target to-be-measured round hole and the first reference hole, a fourth distance between the target to-be-measured round hole and the second reference hole, and a fifth distance between the target to-be-measured round hole and the third reference hole according to a preset acquisition sequence based on the second measurement instruction, the third distance, the fourth distance, and the fifth distance being shortest distances between the target to-be-measured round hole and the first reference hole, between the target to-be-measured round hole and the second reference hole, and between the target to-be-measured round hole and the third reference hole, respectively. The intelligent caliper calculates the first coordinate distance, the second coordinate distance and the third coordinate distance of the target hole according to the target diameter, the first diameter and the third distance, the second diameter and the fourth distance, and the third diameter and the fifth distance, respectively, wherein the coordinate distance is the distance between the center coordinates of the target hole and the reference holes; The intelligent caliper calculates the coordinates of the center of the target hole in the rectangular coordinate system according to the first coordinate distance, the second coordinate distance and the third coordinate distance by using the Qinjiushao formula according to a preset coordinate algorithm, and specifically: A first triangle is constructed according to the first coordinate distance, the second coordinate distance and the distance between the center of the first reference hole and the center of the second reference hole; The height of the first triangle is calculated by using the Qinjiushao formula, and the height of the first triangle is the vertical coordinate of the center of the target hole; A second triangle is constructed according to the first coordinate distance, the third coordinate distance and the distance between the center of the first reference hole and the center of the third reference hole; The height of the second triangle is calculated by using the Qinjiushao formula, and the height of the second triangle is the horizontal coordinate of the center of the target hole.
7. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. The computer program is executed by the processor to realize the steps of the measurement method of the product according to any one of claims 1 to 3, or the computer program is executed by the processor to realize the steps of the measurement method of the product according to any one of claims 4 to 5.
Citation Information
Patent Citations
Method for measuring cast-in-situ bored pile center deviation based on three-point circle method
CN116201181A
Method for measuring three-dimensional coordinates of circle center of subway segment
CN116202495A