Method and system for using an adjustable length measurement sensor

CN122881508APending Publication Date: 2026-10-09HUNAN ZHIWO IOT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411764799.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2026-10-09

AI Technical Summary

Technical Problem

[0003]智能卷尺不仅保留了传统卷尺的便携性和易用性,但当前智能卷尺并未通过安装传感器(例如:拉力传感器及压力传感器)来实现了对拉伸拉力及单侧压力的实时监测与反馈,而智能卷尺在日常使用过程中,经常出现用户斜拉尺带的情况,这使得难以监测尺带在斜拉过程中对尺口造成的压力,从而加速对尺带及尺口部件的磨损

Benefits of technology

[0017]本发明为解决背景技术所述问题,首先需要计算当前理论净拉力,在计算所述当前理论净拉力时,由于只考虑当前拉伸力及当前弹簧发条回缩力,因此,需要先获取当前拉伸力及当前弹簧发条回缩力,由于当前弹簧发条回缩力只与当前拉伸长度有关,因此可以利用预构建的尺口摄像头获取智能卷尺的当前拉伸长度,再根据所述当前拉伸长度计算当前弹簧发条回缩力,然后利用预构建的拉力传感器测定所述智能卷尺的当前拉伸力,最后根据所述当前拉伸力及所述当前弹簧发条回缩力计算当前理论净拉力,由于存在当前拉伸阻力,因此,在计算当前理论净拉力后,需要计算当前实际净拉力,由于当前实际净拉力可用拉伸加速度计算,因此可以利用所述尺口摄像头捕获所述智能卷尺的拉伸加速度,再根据所述拉伸加速度及所述当前拉伸长度计算当前实际净拉力,在计算出当前理论净拉力及当前实际净拉力后,需要判断需不需要进行拉伸角度调节提示,可以根据所述当前理论净拉力与当前实际净拉力,利用预构建的拉力效率公式计算当前拉力有效率,再判断所述当前拉力有效率是否大于预设的有效拉力阈值,若所述当前拉力有效率大于有效拉力阈值,则不需要进行拉伸角度调节提示,此时可以返回利用预构建的尺口摄像头获取智能卷尺的当前拉伸长度的步骤,当所述当前拉力有效率不大于有效拉力阈值,则需要进行拉伸角度调节提示,此时可以先根据所述当前理论净拉力及当前实际净拉力计算当前拉伸阻力,并根据所述当前拉伸阻力及当前拉伸偏移方向计算当前拉伸偏移角度,再利用所述单侧压力传感器判定当前拉伸偏移方向,最后根据所述当前拉伸偏移角度(包含当前拉伸偏移方向信息)设定目标调节角度矢量,从而实现根据所述目标调节角度矢量对用户进行拉伸角度调节提示的目的。因此,本发明可降低斜拉对尺带及尺口部件的磨损。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122881508A_ABST
    Figure CN122881508A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent tape measures, and relates to a use method and system of a length-measuring sensor with adjustable length, which comprises the following steps: calculating a current theoretical net tension according to a current tension and a current spring mainspring retraction force, calculating a current actual net tension according to a tension acceleration and a current tension length, calculating a current tension effective rate, judging whether the current tension effective rate is greater than an effective tension threshold value, returning to acquire the current tension length if the current tension effective rate is greater than the effective tension threshold value, calculating a current tension resistance if the current tension effective rate is not greater than the effective tension threshold value, calculating a target adjustment angle vector according to the current tension resistance and a current tension offset direction, and giving a tension angle adjustment prompt to a user according to the target adjustment angle vector. The application can reduce the abrasion of a cable and a tape opening component caused by the cable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent measuring tape technology, and in particular to a method and system for using an adjustable length measuring sensor. Background Technology

[0002] A smart measuring tape is a new type of measuring tool that combines traditional measuring tape technology with modern electronic technology. It not only retains the basic functions of a traditional measuring tape, such as measuring length, but also incorporates more intelligent elements, making the measurement process more convenient, accurate, and efficient.

[0003] Smart tape measures not only retain the portability and ease of use of traditional tape measures, but currently, smart tape measures do not achieve real-time monitoring and feedback of tensile force and unilateral pressure by installing sensors (such as tension sensors and pressure sensors). In daily use, smart tape measures are often pulled at an angle by users, which makes it difficult to monitor the pressure on the tape edge during the angled pulling process, thus accelerating the wear and tear on the tape and tape edge components. Summary of the Invention

[0004] This invention provides a method and system for using an adjustable length measuring sensor, the main purpose of which is to reduce the wear of the measuring tape and measuring tape components caused by oblique tension.

[0005] To achieve the above objectives, the present invention provides a method for using an adjustable length measuring sensor, comprising: The current stretched length of the smart tape measure is obtained using a pre-built tape measure camera, and the current stretched force of the smart tape measure is measured using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the tape measure camera and the single-sided pressure sensor are installed at the tape measure end. Calculate the current spring winding return force based on the current stretch length, and calculate the current theoretical net tension based on the current stretch force and the current spring winding return force; The camera at the edge of the measuring tape captures the tensile acceleration of the smart measuring tape, and the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. Based on the current theoretical net tensile force and the current actual net tensile force, the current tensile efficiency is calculated using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. This indicates the current actual net tensile force; Determine whether the current tensile force effectiveness rate is greater than a preset effective tensile force threshold; If the current tensile force efficiency is greater than the effective tensile force threshold, then return to the above steps of obtaining the current stretch length of the smart tape measure using the pre-built tape measure camera. If the current tensile force effectiveness is not greater than the effective tensile force threshold, then the current tensile resistance is calculated based on the current theoretical net tensile force and the current actual net tensile force, and the current tensile offset direction is determined by the single-sided pressure sensor. The current tensile resistance is the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force. Calculate the current tensile offset angle based on the current tensile resistance and the current tensile offset direction; The target adjustment angle vector is set according to the current stretch offset angle, and the user is prompted to adjust the stretch angle according to the target adjustment angle vector, thus completing the use of the adjustable length measurement sensor.

[0006] Optionally, acquiring the current stretched length of the smart measuring tape using a pre-built ruler-shaped camera includes: The current scale markings are captured using the aforementioned scale-edge camera; The current stretch length is determined based on the current scale markings.

[0007] Optionally, before calculating the current spring return force based on the current stretch length, the method further includes: Obtain the set of test stretch lengths; The test tensile lengths are extracted sequentially from the set of test tensile lengths. The smart measuring tape is stretched according to the test stretch length, and the test balance stretch force is measured using the tension sensor. The test balance stretch force is used as the test spring spring return force. Based on the tested tensile length and the tested spring winding force, a length-force key-value pair is constructed, as shown below: ; in, This represents the stretch length of the i-th test. This represents the return force of the i-th test spring. Determine whether the test stretch length has been completely extracted; If the test stretch lengths are not completely extracted, return to the steps described above of sequentially extracting the test stretch lengths from the test stretch length set. Once the test stretch length has been extracted, all length contraction force key value pairs are summarized to obtain a length contraction force key value table.

[0008] Optionally, the step of calculating the current theoretical net tension based on the current tensile force and the current spring winding return force includes: Based on the current tensile force and the current spring winding return force, the current theoretical net tensile force is calculated using the following formula: ; in, Indicates the current tensile force. This indicates the current spring winding force.

[0009] Optionally, capturing the tensile acceleration of the smart measuring tape using the camera at the tape measure's edge includes: Obtain the current time, and calculate the first terminal time based on the current time and the preset first scale acquisition period using the following formula: ; in, Indicates the first terminal moment. Indicates the current moment. Indicates the first time period for data collection; Using the aforementioned camera, the terminal scale is collected for a first time period based on the time of the first terminal. Based on the terminal scale reading of the first time period and the current scale reading, the scale distance of the first time period is calculated using the following formula: ; in, Indicates the distance of the first time interval. Indicates the terminal scale for the first time period. Indicates the current scale mark; Based on the distance marked on the scale during the first time period and the time period during which the scale was collected, the average speed during the first time period is calculated using the following formula: ; in, This indicates the average speed in the first time period. Indicates the distance of the first time interval; The second starting time is calculated using the following formula based on the preset time interval and the first terminal time: ; in, Indicates the second starting time. Indicates the duration of the time interval; Using the aforementioned camera, the starting scale of the second time period is collected based on the second starting time. Based on the second starting time and the preset second scale acquisition period, the second terminal time is calculated using the following formula: ; in, Indicates the second terminal time. Indicates the second time period for data collection; Using the aforementioned camera, the terminal scale for the second time period is collected based on the second terminal's current time. The distance between the scale markings of the second time period is calculated using the following formula based on the starting and ending scale markings of the second time period: ; in, Indicates the distance of the second time period scale. This indicates the end scale of the second time period. Indicates the starting scale of the second time period The average velocity for the second time period is calculated using the following formula based on the distance of the scale in the second time period and the time period of the second scale data collection: ; in, This indicates the average speed during the second time period; Based on the average velocity of the first time period, the average velocity of the second time period, the first scale acquisition period, the second scale acquisition period, and the time interval, the undetermined acceleration is calculated using the following formula: ; in, Indicates an undetermined acceleration; Based on the starting scale of the second time period and the ending scale of the first time period, the time interval distance is calculated using the following formula: ; in, Indicates the distance between time intervals; The duration of the second acceleration is calculated using the following formula, based on the first scale acquisition period, the time interval, and the second scale acquisition period: ; in, Indicates the duration of the second acceleration; The secondary acceleration distance is calculated using the following formula based on the distance measured in the first time period, the distance measured in the second time period, and the time interval: ; in, Indicates the distance of the second acceleration; Based on the duration and distance of the second acceleration, the second undetermined acceleration is calculated using the following formula: ; in, Indicates a second-order undetermined acceleration; Based on the first and second undetermined accelerations, the acceleration error value is calculated using the following formula: ; in, Indicates the acceleration error value. Indicates the absolute value symbol; Determine whether the acceleration error value is greater than a preset error threshold; If the acceleration error value is greater than the error threshold, the first scale update period and the second scale update period are calculated using the following formula: ; in, This indicates the first update period, where 'e' represents the natural base. Indicates the second tick update period; Update the first scale acquisition time period and the second scale acquisition time period using the first scale update time period and the second scale update time period respectively, and return to the above steps of obtaining the current time. If the acceleration error value is not greater than the error threshold, then the tensile acceleration is calculated using the following formula based on the first and second undetermined accelerations: ; in, It represents the tensile acceleration.

[0010] Optionally, calculating the current actual net tensile force based on the tensile acceleration and the current tensile length includes: Based on the current stretch length and the preset unit length mass, the current stretch mass is calculated using the following formula: ; in, Indicates the current tensile mass. Indicates the current stretch length. Indicates mass per unit length. Indicates the mass compensation parameter; Based on the current tensile mass and the tensile acceleration, the current actual net tensile force is calculated using the following formula: ; in, This indicates the current actual net tensile force.

[0011] Optionally, determining the current tensile offset direction using the unilateral pressure sensor includes: Identify the pressure sensing side direction of the single-sided pressure sensor, and identify the pressure sensing opposite side direction of the pressure sensing side direction; The single-sided pressure sensor is used to determine whether there is pressure in the direction of the pressure sensing side. If there is no pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing opposite direction. If there is pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing direction.

[0012] Optionally, before calculating the current tensile offset angle based on the current tensile resistance and the current tensile offset direction, the method further includes: Extract the stretch offset angles sequentially from the pre-built set of stretch offset angles; Tensile resistance is tested based on the preset positive direction of tensile offset and the tensile offset angle to obtain the positive tensile test resistance. A positive resistance key-value pair is constructed based on the positive direction of tensile offset, the tensile offset angle, and the positive tensile test resistance, as shown below: ; in, Indicates the positive direction sign of the stretch offset. This represents the j-th stretch offset angle. This represents the positive tensile test resistance corresponding to the j-th tensile offset angle; A tensile resistance test is performed based on the preset tensile offset direction and the tensile offset angle to obtain the reverse tensile test resistance. A reverse resistance key-value pair is constructed based on the tensile offset direction, the tensile offset angle, and the reverse tensile test resistance, as shown below: ; in, Indicates the sign for the opposite direction of stretch offset. This represents the j-th stretch offset angle. This represents the reverse tensile test resistance corresponding to the j-th tensile offset angle. Determine whether the stretch offset angle has been completely extracted; If the stretch offset angle is not completely extracted, return to the steps described above of sequentially extracting the stretch offset angle from the pre-built set of stretch offset angles. Once the stretching offset angle has been extracted, the positive resistance key-value pairs and the reverse resistance key-value pairs are summarized to obtain the positive resistance key-value pair table and the reverse resistance key-value pair table.

[0013] Optionally, setting the target adjustment angle vector based on the current stretch offset angle includes: Obtain the current stretch offset reverse direction of the current stretch offset direction; A target adjustment angle vector is set based on the current stretch offset reverse direction and the current stretch offset angle, wherein the direction of the target adjustment angle vector is the reverse direction of the current stretch offset, and the magnitude is the current stretch offset angle.

[0014] To achieve the above objectives, the present invention also provides a system for using an adjustable length measuring sensor, comprising: The current theoretical net tensile force calculation module is used to acquire the current stretched length of the smart tape measure using a pre-built scale-edge camera, and to measure the current tensile force of the smart tape measure using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the scale-edge camera and the single-sided pressure sensor are installed at the scale-edge end of the smart tape measure. The module calculates the current spring winding return force based on the current stretched length, and then calculates the current theoretical net tensile force based on the current tensile force and the current spring winding return force. The current actual net tensile force calculation module is used to capture the tensile acceleration of the smart tape measure using the tape measure camera, and calculate the current actual net tensile force based on the tensile acceleration and the current tensile length. The loop judgment module is used to calculate the current tensile efficiency based on the current theoretical net tensile force and the current actual net tensile force, using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. Indicates the current actual net tensile force; determines whether the current tensile force effectiveness rate is greater than the preset effective tensile force threshold; if the current tensile force effectiveness rate is greater than the effective tensile force threshold, then returns to the above steps of obtaining the current stretch length of the smart tape measure using the pre-constructed tape measure camera; The stretching angle adjustment prompt module is used to calculate the current stretching resistance based on the current theoretical net stretching force and the current actual net stretching force if the current stretching force effectiveness is not greater than the effective stretching force threshold; determine the current stretching offset direction using the single-sided pressure sensor, wherein the current stretching resistance is the absolute value of the difference between the current theoretical net stretching force and the current actual net stretching force; calculate the current stretching offset angle based on the current stretching resistance and the current stretching offset direction; set a target adjustment angle vector based on the current stretching offset angle; and provide stretching angle adjustment prompts to the user based on the target adjustment angle vector.

[0015] To address the above problems, the present invention also provides an electronic device, the electronic device comprising: Memory, storing at least one instruction; and The processor executes the instructions stored in the memory to implement the method of using the adjustable length measuring sensor described above.

[0016] To address the aforementioned problems, the present invention also provides a computer-readable storage medium storing at least one instruction, which is executed by a processor in an electronic device to implement the method of using the adjustable length measuring sensor described above.

[0017] To address the problems described in the background art, this invention first requires calculating the current theoretical net tensile force. When calculating this theoretical net tensile force, since only the current tensile force and the current spring winding return force are considered, it is necessary to first obtain the current tensile force and the current spring winding return force. Since the current spring winding return force is only related to the current tensile length, a pre-built ruler-edge camera can be used to obtain the current tensile length of the smart measuring tape. Then, the current spring winding return force is calculated based on the current tensile length. Next, a pre-built tension sensor is used to measure the current tensile force of the smart measuring tape. Finally, the current theoretical net tensile force is calculated based on the current tensile force and the current spring winding return force. Because there is a current tensile resistance, after calculating the current theoretical net tensile force, it is necessary to calculate the current actual net tensile force. Since the current actual net tensile force can be calculated using tensile acceleration, the ruler-edge camera can be used to capture the tensile acceleration of the smart measuring tape. Then, the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. After calculating the current theoretical net tensile force and the current actual net tensile force... After applying tension, it's necessary to determine whether an adjustment prompt for the stretching angle is required. This can be done by calculating the current tension efficiency using a pre-built tension efficiency formula based on the current theoretical net tension and the current actual net tension. Then, it's determined whether the current tension efficiency exceeds a preset effective tension threshold. If the current tension efficiency exceeds the effective tension threshold, no adjustment prompt is needed, and the process can return to the step of obtaining the current stretch length of the smart tape measure using a pre-built ruler-edge camera. If the current tension efficiency is not greater than the effective tension threshold, an adjustment prompt for the stretching angle is required. This can be achieved by first calculating the current stretching resistance based on the current theoretical net tension and the current actual net tension, and then calculating the current stretching offset angle based on the current stretching resistance and the current stretching offset direction. The single-sided pressure sensor is then used to determine the current stretching offset direction. Finally, a target adjustment angle vector is set based on the current stretching offset angle (including the current stretching offset direction information), thereby achieving the purpose of providing a stretching angle adjustment prompt to the user based on the target adjustment angle vector. Therefore, this invention can reduce wear on the tape and ruler edge components caused by oblique stretching. Attached Figure Description

[0018] Figure 1This is a flowchart illustrating the method of using an adjustable length measuring sensor according to an embodiment of the present invention. Figure 2 A functional block diagram of a system for using an adjustable length measuring sensor according to an embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device for implementing the method of using the adjustable length measuring sensor according to an embodiment of the present invention.

[0019] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0020] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0021] This application provides a method for using an adjustable length measuring sensor. The execution subject of this method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the method for using the adjustable length measuring sensor can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0022] Reference Figure 1 The diagram shown illustrates a method for using an adjustable length measuring sensor according to an embodiment of the present invention. In this embodiment, the method for using the adjustable length measuring sensor includes: S1. Use a pre-built ruler-shaped camera to obtain the current stretched length of the smart tape measure, and use a pre-built tension sensor to measure the current stretched force of the smart tape measure.

[0023] Explained, the "foot camera" refers to a camera installed at the foot of the smart tape measure, used to capture the stretch scale at the foot of the smart tape measure to determine the stretch length of the tape. The "foot end" refers to the exit end of the tape that is stretched. The smart tape measure includes: a housing, a tape, a locking mechanism, a display screen, a memory, and Bluetooth connectivity, etc. The housing contains a tape winding mechanism so that the tape can be automatically wound back into the housing.

[0024] In detail, the smart tape measure includes a length measuring sensor, which consists of a tension sensor and a unilateral pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the tape-edge camera and the unilateral pressure sensor are installed at the tape-edge end of the smart tape measure. The tension sensor is used to measure the tensile force of the tape, and the unilateral pressure sensor is used to detect the pressure exerted on one side of the tape-edge end by unevenness or offset of the tape due to stretching. The unilateral pressure sensor can be installed on either side of the tape-edge end. When it senses pressure, it indicates that the tape is offset to the installation side; when it does not sense pressure but the tape is offset, it indicates that the tape is offset to the opposite installation side.

[0025] Furthermore, the current stretch length refers to the current stretch length of the tape. The current stretch force refers to the force applied to the tape during stretching.

[0026] In this embodiment of the invention, obtaining the current stretch length of the smart measuring tape using a pre-constructed ruler-shaped camera includes: The current scale markings are captured using the aforementioned scale-edge camera; The current stretch length is determined based on the current scale markings.

[0027] Explained, the current scale mark refers to the stretch mark of the tape at the current scale mark position, and the current stretch length is equal to the current scale mark.

[0028] S2. Calculate the current spring winding return force based on the current stretch length, and calculate the current theoretical net tension based on the current stretch force and the current spring winding return force.

[0029] Explained, the current spring spring return force refers to the current winding force of the tape. Since the spring spring return force (twist force) varies depending on the tape's stretch length, it changes according to the tape's stretch length. The current theoretical net tension refers to the theoretical tension force used to stretch the tape, calculated based on the current stretch force and the current spring spring return force.

[0030] In this embodiment of the invention, before calculating the current spring winding return force based on the current stretch length, the method further includes: Obtain the set of test stretch lengths; The test tensile lengths are extracted sequentially from the set of test tensile lengths. The smart measuring tape is stretched according to the test stretch length, and the test balance stretch force is measured using the tension sensor. The test balance stretch force is used as the test spring spring return force. Based on the tested tensile length and the tested spring winding force, a length-force key-value pair is constructed, as shown below: ; in, This represents the stretch length of the i-th test. This represents the return force of the i-th test spring. Determine whether the test stretch length has been completely extracted; If the test stretch lengths are not completely extracted, return to the steps described above of sequentially extracting the test stretch lengths from the test stretch length set. Once the test stretch length has been extracted, all length contraction force key value pairs are summarized to obtain a length contraction force key value table.

[0031] Furthermore, the test tensile length set refers to the set of tensile lengths used to test the correspondence between the tensile length and the spring winding return force. The test balanced tensile force refers to the tensile force when the tape measure is in a state of force balance when the smart tape measure is stretched using the test tensile lengths.

[0032] In this embodiment of the invention, calculating the current theoretical net tensile force based on the current tensile force and the current spring winding return force includes: Based on the current tensile force and the current spring winding return force, the current theoretical net tensile force is calculated using the following formula: ; in, Indicates the current tensile force. This indicates the current spring winding force.

[0033] Understandably, the current theoretical net tension refers to the remaining tension force used to stretch the tape after offsetting the current spring spring return force.

[0034] S3. Use the camera at the edge of the measuring tape to capture the stretching acceleration of the smart measuring tape, and calculate the current actual net tensile force based on the stretching acceleration and the current stretching length.

[0035] Understandably, the tensile acceleration refers only to the acceleration of the currently stretched tape. The current actual net tension refers to the actual tensile force currently applied to the tape. During the tape stretching process, additional tape stretching resistance (e.g., friction between the tape and the tape edge) is caused by tape stretching deviation. Therefore, when there is deviation during tape stretching, the current actual net tension will be less than the current theoretical net tension.

[0036] In this embodiment of the invention, capturing the tensile acceleration of the smart measuring tape using the camera at the tape measure's edge includes: Obtain the current time, and calculate the first terminal time based on the current time and the preset first scale acquisition period using the following formula: ; in, Indicates the first terminal moment. Indicates the current moment. Indicates the first time period for data collection; Using the aforementioned camera, the terminal scale is collected for a first time period based on the time of the first terminal. Based on the terminal scale reading of the first time period and the current scale reading, the scale distance of the first time period is calculated using the following formula: ; in, Indicates the distance of the first time interval. Indicates the terminal scale for the first time period. Indicates the current scale mark; Based on the distance marked on the scale during the first time period and the time period during which the scale was collected, the average speed during the first time period is calculated using the following formula: ; in, This indicates the average speed in the first time period. Indicates the distance of the first time interval; The second starting time is calculated using the following formula based on the preset time interval and the first terminal time: ; in, Indicates the second starting time. Indicates the duration of the time interval; Using the aforementioned camera, the starting scale of the second time period is collected based on the second starting time. Based on the second starting time and the preset second scale acquisition period, the second terminal time is calculated using the following formula: ; in, Indicates the second terminal time. Indicates the second time period for data collection; Using the aforementioned camera, the terminal scale for the second time period is collected based on the second terminal's current time. The distance between the scale markings of the second time period is calculated using the following formula based on the starting and ending scale markings of the second time period: ; in, Indicates the distance of the second time period scale. This indicates the end scale of the second time period. Indicates the starting scale of the second time period The average velocity for the second time period is calculated using the following formula based on the distance of the scale in the second time period and the time period of the second scale data collection: ; in, This indicates the average speed during the second time period; Based on the average velocity of the first time period, the average velocity of the second time period, the first scale acquisition period, the second scale acquisition period, and the time interval, the undetermined acceleration is calculated using the following formula: ; in, Indicates an undetermined acceleration; Based on the starting scale of the second time period and the ending scale of the first time period, the time interval distance is calculated using the following formula: ; in, Indicates the distance between time intervals; The duration of the second acceleration is calculated using the following formula, based on the first scale acquisition period, the time interval, and the second scale acquisition period: ; in, Indicates the duration of the second acceleration; The secondary acceleration distance is calculated using the following formula based on the distance measured in the first time period, the distance measured in the second time period, and the time interval: ; in, Indicates the distance of the second acceleration; Based on the duration and distance of the second acceleration, the second undetermined acceleration is calculated using the following formula: ; in, Indicates a second-order undetermined acceleration; Based on the first and second undetermined accelerations, the acceleration error value is calculated using the following formula: ; in, Indicates the acceleration error value. Indicates the absolute value symbol; Determine whether the acceleration error value is greater than a preset error threshold; If the acceleration error value is greater than the error threshold, the first scale update period and the second scale update period are calculated using the following formula: ; in, This indicates the first update period, where 'e' represents the natural base. Indicates the second tick update period; Update the first scale acquisition time period and the second scale acquisition time period using the first scale update time period and the second scale update time period respectively, and return to the above steps of obtaining the current time. If the acceleration error value is not greater than the error threshold, then the tensile acceleration is calculated using the following formula based on the first and second undetermined accelerations: ; in, It represents the tensile acceleration.

[0037] Explained, the first scale acquisition period refers to the time interval between the moment when the first scale terminal value was acquired and the current moment; the first terminal moment refers to the current moment plus the moment after the first scale acquisition period; the first scale terminal value refers to the scale value acquired at the end of the first scale acquisition period; the first scale distance refers to the distance between the first scale terminal value and the current scale value; and the first average speed refers to the average speed at which the scale is stretched during the first scale acquisition period.

[0038] Further, the time interval refers to the interval between the first terminal time and the second starting time, where the second starting time refers to the start time for calculating the average speed of the second time interval. The second time interval starting scale refers to the scale reading collected at the second starting time. The second scale acquisition period refers to the duration of the period for acquiring the average speed of the second time interval, and the second terminal time refers to the end time for acquiring the scale readings used to calculate the average speed of the second time interval. The second time interval terminal scale refers to the scale reading collected at the end time of the second scale acquisition period, and the second time interval scale distance refers to the scale distance collected for calculating the average speed of the second time interval. The second time interval average speed refers to the average speed at which the scale is stretched during the time interval between the second starting time and the second terminal time.

[0039] Specifically, the first undetermined acceleration refers to the acceleration calculated according to the first acceleration calculation formula during the time period from the current time to the second terminal time. The time interval distance refers to the distance the tape is stretched during the time period from the first terminal time to the second starting time. The second acceleration duration refers to the acceleration duration calculated using the second acceleration calculation formula. The second acceleration distance refers to the acceleration distance calculated using the second acceleration calculation formula. The second undetermined acceleration refers to the acceleration calculated according to the second acceleration calculation formula during the time period from the current time to the second terminal time.

[0040] For example, when the current time is 00:00:00 (representing 0:00:00), the first scale acquisition period is 0.1s, and the first terminal time is 00:00:00:0.1. When the time interval is 1s, the second starting time is 00:00:01:0.1, and when the second scale acquisition period is 0.1s, the second terminal time is 00:00:01:0.2. Since both the first and second scale acquisition periods are very small, the acceleration during the time interval from the current time to the second terminal time can be represented by a single undetermined acceleration (the actual time interval from the current time to the second terminal time is longer than the time interval in the calculation formula of a single undetermined acceleration). Similarly, the acceleration during the second acceleration period can be used to represent the acceleration during the time interval from the current moment to the second terminal moment.

[0041] In this embodiment of the invention, calculating the current actual net tensile force based on the tensile acceleration and the current tensile length includes: Based on the current stretch length and the preset unit length mass, the current stretch mass is calculated using the following formula: ; in, Indicates the current tensile mass. Indicates the current stretch length. Indicates mass per unit length. Indicates the mass compensation parameter; Based on the current tensile mass and the tensile acceleration, the current actual net tensile force is calculated using the following formula: ; in, This indicates the current actual net tensile force.

[0042] Understandably, the mass per unit length refers to the mass of the tape per unit length, and the current stretch mass refers to the mass of the tape stretched to the current stretch length. Due to the existence of errors, a mass compensation parameter is used for compensation.

[0043] S4. Based on the current theoretical net tensile force and the current actual net tensile force, calculate the current tensile efficiency using the pre-constructed tensile efficiency formula.

[0044] Explained, the current tensile efficiency refers to the effective tensile ratio of the current tension tape.

[0045] In detail, the formula for the tensile efficiency is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. This indicates the current actual net tensile force.

[0046] S5. Determine whether the current tensile force effectiveness rate is greater than the preset effective tensile force threshold.

[0047] Explained, the effective tensile force threshold can be set by the user.

[0048] If the current tensile force efficiency is greater than the effective tensile force threshold, then return to the step described above of obtaining the current stretch length of the smart tape measure using the pre-built tape measure camera.

[0049] It should be understood that when the current tensile strength is greater than the effective tensile strength threshold, it indicates that there is no need to provide a correction prompt for the user's current tape stretching behavior.

[0050] If the current tensile force efficiency is not greater than the effective tensile force threshold, then execute S6: calculate the current tensile resistance based on the current theoretical net tensile force and the current actual net tensile force, and use the single-sided pressure sensor to determine the current tensile offset direction.

[0051] Understandably, the current tensile resistance refers to the resistance of the currently stretched tape. The current tensile offset direction refers to the direction in which the currently stretched tape is offset, generally the front or back of the tape.

[0052] Specifically, the current tensile resistance is the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force. The absolute value of the difference refers to the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force.

[0053] In this embodiment of the invention, determining the current tensile offset direction using the unilateral pressure sensor includes: Identify the pressure sensing side direction of the single-sided pressure sensor, and identify the pressure sensing opposite side direction of the pressure sensing side direction; The single-sided pressure sensor is used to determine whether there is pressure in the direction of the pressure sensing side. If there is no pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing opposite direction. If there is pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing direction.

[0054] Understandably, the pressure sensing side direction refers to the direction in which the pressure sensor senses pressure on one side, and the pressure sensing opposite direction is the opposite direction of the pressure sensing side direction.

[0055] S7. Calculate the current tensile offset angle based on the current tensile resistance and the current tensile offset direction.

[0056] Understandably, the current stretch offset angle refers to the angle by which the current stretch tape is offset in the current stretch offset direction.

[0057] In this embodiment of the invention, before calculating the current tensile offset angle based on the current tensile resistance and the current tensile offset direction, the method further includes: Extract the stretch offset angles sequentially from the pre-built set of stretch offset angles; Tensile resistance is tested based on the preset positive direction of tensile offset and the tensile offset angle to obtain the positive tensile test resistance. A positive resistance key-value pair is constructed based on the positive direction of tensile offset, the tensile offset angle, and the positive tensile test resistance, as shown below: ; in, Indicates the positive direction sign of the stretch offset. This represents the j-th stretch offset angle. This represents the positive tensile test resistance corresponding to the j-th tensile offset angle; A tensile resistance test is performed based on the preset tensile offset direction and the tensile offset angle to obtain the reverse tensile test resistance. A reverse resistance key-value pair is constructed based on the tensile offset direction, the tensile offset angle, and the reverse tensile test resistance, as shown below: ; in, Indicates the sign for the opposite direction of stretch offset. This represents the j-th stretch offset angle. This represents the reverse tensile test resistance corresponding to the j-th tensile offset angle. Determine whether the stretch offset angle has been completely extracted; If the stretch offset angle is not completely extracted, return to the steps described above of sequentially extracting the stretch offset angle from the pre-built set of stretch offset angles. Once the stretching offset angle has been extracted, the positive resistance key-value pairs and the reverse resistance key-value pairs are summarized to obtain the positive resistance key-value pair table and the reverse resistance key-value pair table.

[0058] Further, the set of tensile offset angles refers to the set of offset angles used for tensile resistance testing, and the positive direction of tensile offset refers to a preset positive offset direction, which can be the front or back direction of the tape. The positive tensile test resistance refers to the tensile test resistance obtained by performing a tensile resistance test based on the positive direction of tensile offset. The method for obtaining the reverse resistance key-value pairs is the same as that for the positive resistance key-value pairs, and will not be repeated here. The positive resistance key-value pair table and the reverse resistance key-value pair table refer to key-value pair tables obtained by summarizing the positive resistance key-value pairs and the reverse resistance key-value pairs, respectively.

[0059] S8. Set a target adjustment angle vector based on the current stretch offset angle, and provide the user with stretch angle adjustment prompts based on the target adjustment angle vector to complete the use of the adjustable length measurement sensor.

[0060] Explained, the target adjustment angle vector refers to the angle vector that recommends and prompts the user to adjust the stretch angle, and the target adjustment angle vector includes the angle adjustment magnitude and the angle adjustment direction.

[0061] In this embodiment of the invention, setting the target adjustment angle vector based on the current stretch offset angle includes: Obtain the current stretch offset reverse direction of the current stretch offset direction; A target adjustment angle vector is set based on the current stretch offset reverse direction and the current stretch offset angle, wherein the direction of the target adjustment angle vector is the reverse direction of the current stretch offset, and the magnitude is the current stretch offset angle.

[0062] Understandably, "current stretch offset reverse" refers to the opposite direction of the current stretch offset direction. Once the current stretch offset direction and current stretch offset angle are determined, the adjustment prompt for the current stretch offset angle can be made in reverse.

[0063] To address the problems described in the background art, this invention first requires calculating the current theoretical net tensile force. When calculating this theoretical net tensile force, since only the current tensile force and the current spring winding return force are considered, it is necessary to first obtain the current tensile force and the current spring winding return force. Since the current spring winding return force is only related to the current tensile length, a pre-built ruler-edge camera can be used to obtain the current tensile length of the smart measuring tape. Then, the current spring winding return force is calculated based on the current tensile length. Next, a pre-built tension sensor is used to measure the current tensile force of the smart measuring tape. Finally, the current theoretical net tensile force is calculated based on the current tensile force and the current spring winding return force. Because there is a current tensile resistance, after calculating the current theoretical net tensile force, it is necessary to calculate the current actual net tensile force. Since the current actual net tensile force can be calculated using tensile acceleration, the ruler-edge camera can be used to capture the tensile acceleration of the smart measuring tape. Then, the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. After calculating the current theoretical net tensile force and the current actual net tensile force... After applying tension, it's necessary to determine whether an adjustment prompt for the stretching angle is required. This can be done by calculating the current tension efficiency using a pre-built tension efficiency formula based on the current theoretical net tension and the current actual net tension. Then, it's determined whether the current tension efficiency exceeds a preset effective tension threshold. If the current tension efficiency exceeds the effective tension threshold, no adjustment prompt is needed, and the process can return to the step of obtaining the current stretch length of the smart tape measure using a pre-built ruler-edge camera. If the current tension efficiency is not greater than the effective tension threshold, an adjustment prompt for the stretching angle is required. This can be achieved by first calculating the current stretching resistance based on the current theoretical net tension and the current actual net tension, and then calculating the current stretching offset angle based on the current stretching resistance and the current stretching offset direction. The single-sided pressure sensor is then used to determine the current stretching offset direction. Finally, a target adjustment angle vector is set based on the current stretching offset angle (including the current stretching offset direction information), thereby achieving the purpose of providing a stretching angle adjustment prompt to the user based on the target adjustment angle vector. Therefore, this invention can reduce wear on the tape and ruler edge components caused by oblique stretching.

[0064] like Figure 2 The diagram shown is a functional block diagram of an adjustable length measuring sensor system according to an embodiment of the present invention.

[0065] The adjustable length measuring sensor usage system 100 of this invention can be installed in an electronic device. Depending on the functions implemented, the adjustable length measuring sensor usage system 100 may include a current theoretical net tensile force calculation module 101, a current actual net tensile force calculation module 102, a cycle judgment module 103, and a tension angle adjustment prompt module 104. The module described in this invention can also be called a unit, referring to a series of computer program segments that can be executed by the processor of an electronic device and perform a fixed function, stored in the memory of the electronic device.

[0066] The current theoretical net tensile force calculation module 101 is used to acquire the current tensile length of the smart tape measure using a pre-constructed ruler-edge camera, and to measure the current tensile force of the smart tape measure using a pre-constructed tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the ruler-edge camera and the single-sided pressure sensor are installed at the ruler-edge end of the smart tape measure. The module calculates the current spring winding return force based on the current tensile length, and calculates the current theoretical net tensile force based on the current tensile force and the current spring winding return force. The current actual net tensile force calculation module 102 is used to capture the tensile acceleration of the smart tape measure using the tape measure camera, and calculate the current actual net tensile force based on the tensile acceleration and the current tensile length. The loop judgment module 103 is used to calculate the current tensile efficiency based on the current theoretical net tensile force and the current actual net tensile force using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. Indicates the current actual net tensile force; determines whether the current tensile force effectiveness rate is greater than the preset effective tensile force threshold; if the current tensile force effectiveness rate is greater than the effective tensile force threshold, then returns to the above steps of obtaining the current stretch length of the smart tape measure using the pre-constructed tape measure camera; The stretching angle adjustment prompt module 104 is used to calculate the current stretching resistance based on the current theoretical net stretching force and the current actual net stretching force if the current stretching force effectiveness is not greater than the effective stretching force threshold; determine the current stretching offset direction using the single-sided pressure sensor, wherein the current stretching resistance is the absolute value of the difference between the current theoretical net stretching force and the current actual net stretching force; calculate the current stretching offset angle based on the current stretching resistance and the current stretching offset direction; set a target adjustment angle vector based on the current stretching offset angle; and provide stretching angle adjustment prompts to the user based on the target adjustment angle vector.

[0067] In detail, the modules in the adjustable length measuring sensor usage system 100 described in this embodiment of the invention employ the same methods as described above during use. Figure 1 The adjustable length measuring sensor described herein uses the same technical means and can produce the same technical effect, so it will not be repeated here.

[0068] like Figure 3 The diagram shown is a structural schematic of an electronic device that implements a method for using an adjustable length measuring sensor according to an embodiment of the present invention.

[0069] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a method of using an adjustable length measuring sensor.

[0070] The memory 11 includes at least one type of readable storage medium, such as flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device 1, such as a plug-in portable hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device 1. Furthermore, the memory 11 includes both internal storage units and external storage devices of the electronic device 1. The memory 11 can be used not only to store application software and various types of data installed on the electronic device 1, such as the code for the usage method of an adjustable length measuring sensor, but also to temporarily store data that has been output or will be output.

[0071] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., a usage method program for an adjustable length measuring sensor) and calls data stored in the memory 11 to perform various functions of the electronic device 1 and process data.

[0072] The bus 12 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 can be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize the connection and communication between the memory 11 and at least one processor 10, etc.

[0073] Figure 3 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0074] For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0075] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is typically used to establish communication connections between the electronic device 1 and other electronic devices.

[0076] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), and optionally, a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device 1 and to display a visual user interface.

[0077] The program for using the adjustable length measuring sensor stored in the memory 11 of the electronic device 1 is a combination of multiple instructions, which, when run in the processor 10, can achieve the following: The current stretched length of the smart tape measure is obtained using a pre-built tape measure camera, and the current stretched force of the smart tape measure is measured using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the tape measure camera and the single-sided pressure sensor are installed at the tape measure end. Calculate the current spring winding return force based on the current stretch length, and calculate the current theoretical net tension based on the current stretch force and the current spring winding return force; The camera at the edge of the measuring tape captures the tensile acceleration of the smart measuring tape, and the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. Based on the current theoretical net tensile force and the current actual net tensile force, the current tensile efficiency is calculated using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. This indicates the current actual net tensile force; Determine whether the current tensile force effectiveness rate is greater than a preset effective tensile force threshold; If the current tensile force efficiency is greater than the effective tensile force threshold, then return to the above steps of obtaining the current stretch length of the smart tape measure using the pre-built tape measure camera. If the current tensile force effectiveness is not greater than the effective tensile force threshold, then the current tensile resistance is calculated based on the current theoretical net tensile force and the current actual net tensile force, and the current tensile offset direction is determined by the single-sided pressure sensor. The current tensile resistance is the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force. Calculate the current tensile offset angle based on the current tensile resistance and the current tensile offset direction; The target adjustment angle vector is set according to the current stretch offset angle, and the user is prompted to adjust the stretch angle according to the target adjustment angle vector, thus completing the use of the adjustable length measurement sensor.

[0078] Specifically, the processor 10's implementation method for the above instructions can be found in [reference needed]. Figures 1 to 3 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0079] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0080] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following: The current stretched length of the smart tape measure is obtained using a pre-built tape measure camera, and the current stretched force of the smart tape measure is measured using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the tape measure camera and the single-sided pressure sensor are installed at the tape measure end. Calculate the current spring winding return force based on the current stretch length, and calculate the current theoretical net tension based on the current stretch force and the current spring winding return force; The camera at the edge of the measuring tape captures the tensile acceleration of the smart measuring tape, and the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. Based on the current theoretical net tensile force and the current actual net tensile force, the current tensile efficiency is calculated using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. This indicates the current actual net tensile force; Determine whether the current tensile force effectiveness rate is greater than a preset effective tensile force threshold; If the current tensile force efficiency is greater than the effective tensile force threshold, then return to the above steps of obtaining the current stretch length of the smart tape measure using the pre-built tape measure camera. If the current tensile force effectiveness is not greater than the effective tensile force threshold, then the current tensile resistance is calculated based on the current theoretical net tensile force and the current actual net tensile force, and the current tensile offset direction is determined by the single-sided pressure sensor. The current tensile resistance is the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force. Calculate the current tensile offset angle based on the current tensile resistance and the current tensile offset direction; The target adjustment angle vector is set according to the current stretch offset angle, and the user is prompted to adjust the stretch angle according to the target adjustment angle vector, thus completing the use of the adjustable length measurement sensor.

[0081] In the embodiments provided by this invention, it should be understood that the disclosed devices, systems, and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative, and actual implementations may have other classification methods.

[0082] The modules described as separate components may or may not be physically separate. The components shown as modules 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 modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0083] Furthermore, the functional modules in the various embodiments of the present invention 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 in the form of hardware plus software functional modules.

[0084] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method of using an adjustable length measuring sensor, characterized in that, The method includes: The current stretched length of the smart tape measure is obtained using a pre-built tape measure camera, and the current stretched force of the smart tape measure is measured using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the tape measure camera and the single-sided pressure sensor are installed at the tape measure end. Calculate the current spring winding return force based on the current stretch length, and calculate the current theoretical net tension based on the current stretch force and the current spring winding return force; The camera at the edge of the measuring tape captures the tensile acceleration of the smart measuring tape, and the current actual net tensile force is calculated based on the tensile acceleration and the current tensile length. Based on the current theoretical net tensile force and the current actual net tensile force, the current tensile efficiency is calculated using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. This indicates the current actual net tensile force; Determine whether the current tensile force effectiveness rate is greater than a preset effective tensile force threshold; If the current tensile force efficiency is greater than the effective tensile force threshold, then return to the above steps of obtaining the current stretch length of the smart tape measure using the pre-built tape measure camera. If the current tensile force effectiveness is not greater than the effective tensile force threshold, then the current tensile resistance is calculated based on the current theoretical net tensile force and the current actual net tensile force, and the current tensile offset direction is determined by the single-sided pressure sensor. The current tensile resistance is the absolute value of the difference between the current theoretical net tensile force and the current actual net tensile force. Calculate the current tensile offset angle based on the current tensile resistance and the current tensile offset direction; The target adjustment angle vector is set according to the current stretch offset angle, and the user is prompted to adjust the stretch angle according to the target adjustment angle vector, thus completing the use of the adjustable length measurement sensor.

2. The method of using the adjustable length measuring sensor as described in claim 1, characterized in that, The method of acquiring the current stretched length of the smart measuring tape using a pre-built ruler-shaped camera includes: The current scale markings are captured using the aforementioned scale-edge camera; The current stretch length is determined based on the current scale markings.

3. The method of using the adjustable length measuring sensor as described in claim 2, characterized in that, Before calculating the current spring return force based on the current stretch length, the method further includes: Obtain the set of test stretch lengths; The test tensile lengths are extracted sequentially from the set of test tensile lengths. The smart measuring tape is stretched according to the test stretch length, and the test balance stretch force is measured using the tension sensor. The test balance stretch force is used as the test spring spring return force. Based on the tested tensile length and the tested spring winding force, a length-force key-value pair is constructed, as shown below: ; in, This represents the stretch length of the i-th test. This represents the return force of the i-th test spring. Determine whether the test stretch length has been completely extracted; If the test stretch lengths are not completely extracted, return to the steps described above of sequentially extracting the test stretch lengths from the test stretch length set. Once the test stretch length has been extracted, all length contraction force key value pairs are summarized to obtain a length contraction force key value table.

4. The method of using the adjustable length measuring sensor as described in claim 3, characterized in that, The calculation of the current theoretical net tension based on the current tensile force and the current spring winding return force includes: Based on the current tensile force and the current spring winding return force, the current theoretical net tensile force is calculated using the following formula: ; in, Indicates the current tensile force. This indicates the current spring winding force.

5. The method of using the adjustable length measuring sensor as described in claim 4, characterized in that, The method of capturing the stretching acceleration of the smart measuring tape using the camera at the tape measure's edge includes: Obtain the current time, and calculate the first terminal time based on the current time and the preset first scale acquisition period using the following formula: ; in, Indicates the first terminal moment. Indicates the current moment. Indicates the first time period for data collection; Using the aforementioned camera, the terminal scale is collected for a first time period based on the first terminal's current time. Based on the terminal scale reading of the first time period and the current scale reading, the scale distance of the first time period is calculated using the following formula: ; in, Indicates the distance of the first time interval. Indicates the terminal scale for the first time period. Indicates the current scale mark; Based on the distance marked on the scale during the first time period and the time period during which the scale was collected, the average speed during the first time period is calculated using the following formula: ; in, This indicates the average speed in the first time period. Indicates the distance of the first time interval; The second starting time is calculated using the following formula based on the preset time interval and the first terminal time: ; in, Indicates the second starting time. Indicates the duration of the time interval; Using the aforementioned camera, the starting scale of the second time period is collected based on the second starting time. Based on the second starting time and the preset second scale acquisition period, the second terminal time is calculated using the following formula: ; in, Indicates the second terminal time. Indicates the second time period for data collection; Using the aforementioned camera, the terminal scale for the second time period is collected based on the second terminal's current time. The distance between the scale markings of the second time period is calculated using the following formula based on the starting and ending scale markings of the second time period: ; in, Indicates the distance of the second time period. This indicates the end scale of the second time period. Indicates the starting scale of the second time period The average velocity for the second time period is calculated using the following formula based on the distance of the scale in the second time period and the time period of the second scale data collection: ; in, This indicates the average speed during the second time period; Based on the average velocity of the first time period, the average velocity of the second time period, the first scale acquisition period, the second scale acquisition period, and the time interval, the undetermined acceleration is calculated using the following formula: ; in, Indicates an undetermined acceleration; Based on the starting scale of the second time period and the ending scale of the first time period, the time interval distance is calculated using the following formula: ; in, Indicates the distance between time intervals; The duration of the second acceleration is calculated using the following formula, based on the first scale acquisition period, the time interval, and the second scale acquisition period: ; in, Indicates the duration of the second acceleration; The secondary acceleration distance is calculated using the following formula based on the distance measured in the first time period, the distance measured in the second time period, and the time interval: ; in, Indicates the distance of the second acceleration; Based on the duration and distance of the second acceleration, the second undetermined acceleration is calculated using the following formula: ; in, Indicates a second-order undetermined acceleration; Based on the first and second undetermined accelerations, the acceleration error value is calculated using the following formula: ; in, Indicates the acceleration error value. Indicates the absolute value symbol; Determine whether the acceleration error value is greater than a preset error threshold; If the acceleration error value is greater than the error threshold, the first scale update period and the second scale update period are calculated using the following formula: ; in, This indicates the first update period, where 'e' represents the natural base. Indicates the second tick update period; Update the first scale acquisition time period and the second scale acquisition time period using the first scale update time period and the second scale update time period respectively, and return to the above steps of obtaining the current time. If the acceleration error value is not greater than the error threshold, then the tensile acceleration is calculated using the following formula based on the first and second undetermined accelerations: ; in, It represents the tensile acceleration.

6. The method of using the adjustable length measuring sensor as described in claim 5, characterized in that, The calculation of the current actual net tensile force based on the tensile acceleration and the current tensile length includes: Based on the current stretch length and the preset unit length mass, the current stretch mass is calculated using the following formula: ; in, Indicates the current tensile mass. Indicates the current stretch length. Indicates mass per unit length. Indicates the mass compensation parameter; Based on the current tensile mass and the tensile acceleration, the current actual net tensile force is calculated using the following formula: ; in, This indicates the current actual net tensile force.

7. The method of using the adjustable length measuring sensor as described in claim 6, characterized in that, The step of determining the current tensile offset direction using the single-sided pressure sensor includes: Identify the pressure sensing side direction of the single-sided pressure sensor, and identify the pressure sensing opposite side direction of the pressure sensing side direction; The single-sided pressure sensor is used to determine whether there is pressure in the direction of the pressure sensing side. If there is no pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing opposite direction. If there is pressure in the pressure sensing direction, then the current stretching offset direction is the pressure sensing direction.

8. The method of using the adjustable length measuring sensor as described in claim 7, characterized in that, Before calculating the current tensile offset angle based on the current tensile resistance and the current tensile offset direction, the method further includes: Extract the stretch offset angles sequentially from the pre-built set of stretch offset angles; Tensile resistance is tested based on the preset positive direction of tensile offset and the tensile offset angle to obtain the positive tensile test resistance. A positive resistance key-value pair is constructed based on the positive direction of tensile offset, the tensile offset angle, and the positive tensile test resistance, as shown below: ; in, Indicates the positive direction sign of the stretch offset. This represents the j-th stretch offset angle. This represents the positive tensile test resistance corresponding to the j-th tensile offset angle; A tensile resistance test is performed based on the preset tensile offset direction and the tensile offset angle to obtain the reverse tensile test resistance. A reverse resistance key-value pair is constructed based on the tensile offset direction, the tensile offset angle, and the reverse tensile test resistance, as shown below: ; in, Indicates the sign for the opposite direction of stretch offset. This represents the j-th stretch offset angle. This represents the reverse tensile test resistance corresponding to the j-th tensile offset angle. Determine whether the stretch offset angle has been completely extracted; If the stretch offset angle is not completely extracted, return to the steps described above of sequentially extracting the stretch offset angle from the pre-built set of stretch offset angles. Once the stretching offset angle has been extracted, the positive resistance key-value pairs and the reverse resistance key-value pairs are summarized to obtain the positive resistance key-value pair table and the reverse resistance key-value pair table.

9. The method of using the adjustable length measuring sensor as described in claim 8, characterized in that, The step of setting the target adjustment angle vector based on the current stretch offset angle includes: Obtain the current stretch offset reverse direction of the current stretch offset direction; A target adjustment angle vector is set based on the current stretch offset reverse direction and the current stretch offset angle, wherein the direction of the target adjustment angle vector is the reverse direction of the current stretch offset, and the magnitude is the current stretch offset angle.

10. A system for using an adjustable length measuring sensor, characterized in that, The system includes: The current theoretical net tensile force calculation module is used to acquire the current stretched length of the smart tape measure using a pre-built scale-edge camera, and to measure the current tensile force of the smart tape measure using a pre-built tension sensor. The smart tape measure includes a length measuring sensor, which consists of a tension sensor and a single-sided pressure sensor. The tension sensor is installed at the starting scale end of the smart tape measure, and the scale-edge camera and the single-sided pressure sensor are installed at the scale-edge end of the smart tape measure. The module calculates the current spring winding return force based on the current stretched length, and then calculates the current theoretical net tensile force based on the current tensile force and the current spring winding return force. The current actual net tensile force calculation module is used to capture the tensile acceleration of the smart tape measure using the tape measure camera, and calculate the current actual net tensile force based on the tensile acceleration and the current tensile length. The loop judgment module is used to calculate the current tensile efficiency based on the current theoretical net tensile force and the current actual net tensile force, using a pre-constructed tensile efficiency formula, wherein the tensile efficiency formula is as follows: ; in, This indicates the current tensile strength. This represents the current theoretical net tensile force. Indicates the current actual net tensile force; determines whether the current tensile force effectiveness rate is greater than the preset effective tensile force threshold; if the current tensile force effectiveness rate is greater than the effective tensile force threshold, then returns to the above steps of obtaining the current stretch length of the smart tape measure using the pre-constructed tape measure camera; The stretching angle adjustment prompt module is used to calculate the current stretching resistance based on the current theoretical net stretching force and the current actual net stretching force if the current stretching force effectiveness is not greater than the effective stretching force threshold; determine the current stretching offset direction using the single-sided pressure sensor, wherein the current stretching resistance is the absolute value of the difference between the current theoretical net stretching force and the current actual net stretching force; calculate the current stretching offset angle based on the current stretching resistance and the current stretching offset direction; set a target adjustment angle vector based on the current stretching offset angle; and provide stretching angle adjustment prompts to the user based on the target adjustment angle vector.