A method, apparatus, and media for processing resistive flexible fabric mode sensors

CN120668012BActive Publication Date: 2026-10-275ELEM HI TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510842676.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2026-10-27
Estimated Expiration
2045-06-23

AI Technical Summary

Technical Problem

但是上述方法也存在以下技术问题:机织物中只能嵌入串联或并联电阻织物的传感器,而不同连接方式的电阻织物对变形类型的角度预测的准确度不同

Benefits of technology

[0006]本发明至少具有以下有益效果:综上,对电阻柔性织物施加恒流源,获取电阻柔性织物的输出的织物电压,基于电阻柔性织物的织物电压确定软管的织物弯折处的的第一织物曲率变化,当织物弯折处为圆周变形时,基于第一织物曲率变化和软管中电阻柔性织物的第一的传感器连接方式,确定软管在第二的传感器连接方式的第二织物曲率变化,基于第一织物变化曲率、第二织物变化曲率、第一准确率和第二准确率,更加准确的圆周变形时目标织物变化曲率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120668012B_ABST
    Figure CN120668012B_ABST
Patent Text Reader

Abstract

The application provides a kind of resistance flexible fabric mode sensor processing method, equipment and medium, it is related to data processing technical field, the method comprises: constant current source is applied to resistance flexible fabric, the output fabric voltage of resistance flexible fabric is acquired, the first fabric curvature change of the fabric bending of hose is determined based on the fabric voltage of resistance flexible fabric, when fabric bending is circumferential deformation, based on the first fabric curvature change and the first sensor connection mode of resistance flexible fabric in hose, the second fabric curvature change of hose in second sensor connection mode is determined, based on first fabric change curvature, second fabric change curvature, first accuracy and second accuracy, more accurately acquire target fabric change curvature when circumferential deformation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus and medium for processing sensors using resistive flexible fabric. Background Technology

[0002] Agricultural towing hoses frequently bend during service. When bent to their limit, they experience kinking, meaning the hose undergoes irreversible deformation with a sharp angle smaller than its diameter. Under this irreversible deformation, the PU and polyester reinforcement layers of the hose separate, and stress concentration in the outer layer makes it more prone to wear and leakage. Since the bending radius of the hose is not constantly measured during farm use to prevent kinking, existing technologies use embedded sensors with external signal outputs to allow operators to monitor the bending status in real time and extend the hose's lifespan, as illustrated in the article "Design and Analysis of Flexible Strain Sensors Based on Woven Structures" published in the July 2008 issue of the Journal of Sensor Technology (Vol. 21, No. 7). One approach is to integrate the sensor with the water delivery hose through integrated weaving, directly embedding the sensing unit into plain or twill woven fabric, avoiding post-processing damage to the mechanical properties of the fabric and hose. However, this method also has the following technical problems: only sensors with series or parallel resistance fabrics can be embedded in the woven fabric, and the accuracy of angle prediction for deformation types varies depending on the connection method of the resistance fabric. Summary of the Invention

[0003] To address the aforementioned technical problems, the technical solution adopted by this invention is as follows: According to a first aspect of the present invention, a method for processing a sensor of resistive flexible fabric is provided, the method being used to detect changes in the curvature of a flexible tube in which a resistive flexible fabric is embedded, the method comprising the following steps: S110, apply a constant current source to the resistive flexible fabric to obtain the fabric voltage output by the resistive flexible fabric; S120, the first fabric curvature change at the fabric bend of the hose is determined based on the fabric voltage of the resistive flexible fabric; S130, when the fabric bend is circumferentially deformed, based on the first fabric curvature change and the first sensor connection method of the resistive flexible fabric in the hose, the second fabric curvature change of the hose in the second sensor connection method is determined. The sensor connection method is either parallel or series, and the first sensor connection method is different from the second sensor connection method. S140, obtain the first accuracy rate for the parallel sensor connection method and the second accuracy rate for the series sensor connection method; S150, based on the first fabric curvature change, the second fabric curvature change, the first accuracy rate, and the second accuracy rate, determine the target fabric curvature change.

[0004] According to a second aspect of the present invention, a non-transitory computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the aforementioned method.

[0005] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned method.

[0006] The present invention has at least the following beneficial effects: In summary, a constant current source is applied to the resistive flexible fabric to obtain the output fabric voltage of the resistive flexible fabric. Based on the fabric voltage of the resistive flexible fabric, the first fabric curvature change at the fabric bend of the hose is determined. When the fabric bend is a circular deformation, based on the first fabric curvature change and the first sensor connection method of the resistive flexible fabric in the hose, the second fabric curvature change of the hose in the second sensor connection method is determined. Based on the first fabric curvature change, the second fabric curvature change, the first accuracy rate, and the second accuracy rate, the target fabric curvature change during circular deformation is more accurately determined. Attached Figure Description

[0007] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0008] Figure 1 A flowchart illustrating a sensor processing method for resistive flexible fabric provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a series resistive fabric sensor provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a parallel resistive fabric sensor provided in an embodiment of the present invention. Detailed Implementation

[0009] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0010] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar tasks and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0011] This invention provides a method for processing sensors made of resistive flexible fabric, such as... Figure 1 As shown, the method is used to detect changes in the curvature of a flexible hose, in which a resistive flexible fabric is embedded. The method includes the following steps: S110 applies a constant current source to the resistive flexible fabric to obtain the output fabric voltage. It can be understood that when bending occurs, the conductive yarn undergoes strain, the resistance changes, and thus the fabric voltage changes.

[0012] S120, determining the first fabric curvature change at the fabric bend of the flexible hose based on the fabric voltage of the resistive flexible fabric. Those skilled in the art will understand that any prior art method for determining the first fabric curvature change based on fabric voltage falls within the protection scope of this invention.

[0013] S130, when the fabric bend is circumferentially deformed, based on the first fabric curvature change and the first sensor connection method of the resistive flexible fabric in the hose, the second fabric curvature change of the hose in the second sensor connection method is determined. The sensor connection method is either parallel or series, and the first sensor connection method is different from the second sensor connection method.

[0014] Specifically, if the first sensor connection method is a parallel resistive flexible fabric sensor, then the second sensor connection method is a series resistive flexible fabric sensor; if the first sensor connection method is a series resistive flexible fabric sensor, then the second sensor connection method is a parallel resistive flexible fabric sensor.

[0015] The series-connected resistive flexible fabric sensor consists of: odd-numbered weft yarns of the woven fabric being conductive elastic yarns, even-numbered weft yarns and all warp yarns being insulating elastic yarns, with the beginning and end of the conductive elastic weft yarns connected in series to form a continuous yarn. The parallel-connected resistive fabric sensor consists of: all weft yarns of the woven fabric and the 1st and nth warp yarns being conductive elastic yarns, and n-2 warp yarns excluding the 1st and nth warp yarns being insulating elastic yarns, with the beginning or end of each conductive elastic weft yarn connected to the 1st or nth warp yarn, and the number of warp yarns being n.

[0016] In one embodiment of the present invention, such as Figure 2 As shown, the parallel resistive fabric sensor consists of weft yarns in the horizontal direction and warp yarns in the vertical direction. Dashed lines represent conductive elastic yarns, and solid lines represent insulating yarns. All weft yarns (W1 to Wm) and the first and nth warp yarns (J1 and Jn) of the woven fabric are conductive elastic yarns. The remaining n-2 warp yarns (J2, J3, ..., Jn-1) are insulating elastic yarns. The beginning or end of each conductive elastic weft yarn is connected to either the first warp yarn (J1) or the nth warp yarn (Jn). The total number of warp yarns is n. This parallel resistive fabric sensor constitutes part of the fabric.

[0017] In one embodiment of the present invention, such as Figure 3 As shown, in a series-connected resistive fabric sensor, the horizontal direction represents weft yarns, and the vertical direction represents warp yarns. Dashed lines represent conductive elastic yarns, and solid lines represent insulating yarns. Wi represents the i-th weft yarn, where i ranges from 1 to m, and m is the number of weft yarns. Jj represents the j-th warp yarn, where j ranges from 1 to n, and n is the number of warp yarns. The 1st, 3rd, 5th, etc., odd-numbered weft yarns (i.e., W1, W3, W5...) of the resistive fabric are conductive elastic yarns, while the 2nd, 4th, 6th, etc., even-numbered weft yarns (i.e., W2, W4, W6...) are insulating elastic yarns. All warp yarns are insulating elastic yarns. The beginning and end of each conductive elastic weft yarn are sequentially connected in a folded-edge manner to form a continuous yarn.

[0018] Specifically, in a parallel resistive fabric sensor: all weft yarns of the resistive fabric are conductive elastic yarns, the first and nth warp yarns are conductive elastic yarns, and the remaining n-2 warp yarns (excluding the first and nth warp yarns) are insulating elastic yarns. The beginning or end of each conductive elastic weft yarn is tightly connected to the first or nth conductive elastic warp yarn. In one embodiment of the invention, the beginning or end of each conductive elastic weft yarn is bonded to the first or nth conductive elastic warp yarn using conductive adhesive.

[0019] S140, obtain the first accuracy rate for the parallel sensor connection method and the second accuracy rate for the series sensor connection method.

[0020] S150, based on the first fabric curvature change, the second fabric curvature change, the first accuracy rate, and the second accuracy rate, determine the target fabric curvature change.

[0021] In summary, a constant current source is applied to the resistive flexible fabric to obtain the output fabric voltage. Based on the fabric voltage of the resistive flexible fabric, the first fabric curvature change at the fabric bend of the hose is determined. When the fabric bend is a circular deformation, based on the first fabric curvature change and the first sensor connection method of the resistive flexible fabric in the hose, the second fabric curvature change of the hose in the second sensor connection method is determined. Based on the first fabric curvature change, the second fabric curvature change, the first accuracy rate, and the second accuracy rate, the target fabric curvature change during circular deformation is more accurately determined.

[0022] Specifically, the S150 also includes: S151, if the first sensor is connected in parallel, the curvature of the target fabric is equal to the weighted sum of the curvature of the first fabric and the curvature of the second fabric, and the weight ratio of the curvature of the first fabric and the curvature of the second fabric is the ratio of the second accuracy to the first accuracy.

[0023] S152, if the first sensor is connected in series, the curvature of the target fabric is equal to the weighted sum of the curvature of the first fabric and the curvature of the second fabric, and the weight ratio of the curvature of the first fabric and the curvature of the second fabric is equal to the ratio of the first accuracy and the second accuracy.

[0024] Specifically, S140 determines the first accuracy of the parallel sensor connection method through the following steps: S141, when the sensor for the target resistive flexible fabric is a parallel resistive flexible fabric sensor, several predicted target parallel curvature changes 'a' and the actual parallel curvature changes 'b' corresponding to each predicted target parallel curvature change are acquired. Specifically, if 'a' is in [bx, b+x], 'a' is taken as the first positive sample, the first accuracy is the ratio of the number of first positive samples to the number of target parallel curvature changes, and x is the first preset error threshold.

[0025] S142, based on several predicted target parallel curvature changes and the actual parallel curvature changes corresponding to each predicted target parallel curvature change, determine the first accuracy of the parallel sensor connection method.

[0026] In S141, the predicted parallel curvature change of the target resistive flexible fabric is obtained through the following steps when the sensor of the target resistive flexible fabric is a parallel resistive flexible fabric sensor: S200 applies a constant current source to the target resistivity flexible fabric to obtain the target output voltage of the fabric. It can be understood that when bending occurs, the conductive yarn undergoes strain, the resistance changes, and the target output voltage changes.

[0027] S300, the initial series curvature change at the target bend of the hose is determined based on the target output voltage of the target resistive flexible fabric. Those skilled in the art will understand that any prior art method for determining the initial series curvature change based on the target output voltage falls within the scope of protection of this invention.

[0028] S400, when the bending type at the target bend is radial single-point deformation, the initial series curvature change is taken as the target series curvature change. It can be understood that the series-connected resistive flexible fabric sensor is more accurate in detecting radial single-point deformation; the parallel-connected resistive flexible fabric sensor is more accurate in detecting axial single-point deformation. Therefore, when the series-connected resistive flexible fabric detects radial single-point deformation, the initial series curvature change is directly taken as the target series curvature change.

[0029] S500: When the bending type at the target bend is axial unilateral deformation, the initial bending angle is determined based on the initial series curvature change. The target series curvature change is determined based on the initial series curvature change and the corresponding axial series-parallel correction value for the initial bending angle. It can be understood that using a series-type resistive flexible fabric sensor for axial unilateral deformation detection is less accurate than using a parallel-type resistive flexible fabric sensor for axial single-direction deformation detection. Therefore, the axial series-parallel correction value corresponding to the initial bending angle is found to compensate for the series curvature change.

[0030] Specifically, the target series curvature change is determined based on the axis-to-parallel correction values ​​corresponding to the initial series curvature change and the initial bending angle, including: The target series curvature change is equal to the sum of the initial series curvature change and the axis series correction value corresponding to the initial bending angle.

[0031] In summary, when the sensor for the target resistive flexible fabric is a series-type resistive flexible fabric sensor, a constant current source is applied to the target resistive flexible fabric to obtain the target output voltage of the target resistive flexible fabric. Based on the target output voltage of the target resistive flexible fabric, the initial series curvature change at the target bend of the hose is determined. When the bend type at the target bend is radial single-point deformation, the initial series curvature change is used as the target series curvature change. When the bend type at the target bend is axial single-sided deformation, the initial bending angle is determined based on the initial series curvature change. Based on the axial series-parallel correction values ​​corresponding to the initial series curvature change and the initial bending angle, the target series curvature change is determined. Based on the type of resistive flexible fabric sensor and the bending angle, the accuracy of the target series curvature change is improved.

[0032] Specifically, in S500, the shaft string correction value corresponding to the initial bending angle is determined through the following steps: S510, acquire target training data, the target training data includes a first axial curvature change list A1={A11, A12, ..., A1g, ..., A1m} and a second axial curvature change list A2={A21, A22, ..., A2g, ..., A2m}, A1g is the curvature change determined by the voltage output of a constant current source applied to a first flexible tube with a parallel resistive flexible fabric under g real bending angles of axial unilateral deformation, and A2g is the curvature change determined by the voltage output of a constant current source applied to a second flexible tube with a series resistive flexible fabric under g real bending angles of axial unilateral deformation, where the value of g ranges from 1 to z, and z is the number of real bending angles.

[0033] S520, obtain the list of curvature changes along the third axis A0={A01, A02, ..., A0g, ..., A0m}, and the curvature change along the third axis A0g=A1g-A2g.

[0034] S530: Set a target sliding window with a fixed bending angle. When only one target sliding window meets the preset stability condition, the target sliding window is taken as the stable angle range. When several adjacent target sliding windows meet the preset stability condition, the angle covered by the several adjacent target sliding windows is taken as the stable angle range.

[0035] The target sliding window satisfies a preset stability condition, specifically: the average value of the curvature change along the third axis within the target sliding window is less than a preset stability threshold.

[0036] S530, obtain the average value k0 of the third axial curvature change of all true bending angles within the stable angle range.

[0037] S540, if the initial bending angle is within the stable angle range, the shaft parallel correction value corresponding to the initial bending angle is k0.

[0038] Specifically, if there is more than one stable angle interval, the average value k0 of the third axial curvature change of all the actual bending angles within the stable angle intervals is used.

[0039] In summary, the training data for the target is obtained, a list of third-axis curvature changes is obtained, and a target sliding window with a fixed bending angle is set. When only one target sliding window meets the preset stability condition, the target sliding window is taken as the stable angle interval. When several adjacent target sliding windows meet the preset stability condition, the angles covered by several adjacent target sliding windows are taken as the stable angle interval. The average value of the third-axis curvature change of all real bending angles in the stable angle interval is obtained. If the initial bending angle is in the stable angle interval, the axis series-parallel correction value corresponding to the initial bending angle is k0. The difference between the series resistive flexible fabric sensor and the parallel resistive flexible fabric sensor under axial unilateral deformation is used as the compensation value when the difference is stable within a certain range, so that the axis series-parallel correction value is more accurate.

[0040] Furthermore, S540 also includes the following steps when the initial bending angle is not within a stable angle range, and there is only one stable angle range: When the initial bending angle is less than the left endpoint of the stable angle range, the shaft parallel correction value corresponding to the initial bending angle is the product of the first weight coefficient and k0. The first weight coefficient is equal to the quotient of the first target difference and the left endpoint. The first target difference is the difference between the left endpoint and the initial bending angle.

[0041] When the initial bending angle is greater than the right endpoint of the steady angle interval, the shaft parallel correction value corresponding to the initial bending angle is the product of the second weight coefficient and k0. The second weight coefficient is equal to the quotient of the second target difference and the right endpoint. The second target difference is the difference between the initial bending angle and the right endpoint.

[0042] Furthermore, S540 also includes: when the initial bending angle is not within a stable angle range, and when the number of stable angle ranges exceeds one, performing the following steps: Calculate the initial bending angle and the distance between the left and right endpoints of each stable angle interval, and obtain the endpoint corresponding to the minimum distance as the target endpoint; Obtain the shaft parallel correction value corresponding to the initial bending angle. The shaft parallel correction value is the product of the third weight coefficient and k0. The third weight coefficient is equal to the quotient of the third target difference and the target endpoint. The third target difference is the absolute value of the difference between the initial bending angle and the target endpoint.

[0043] In summary, by determining the weights based on the difference between the initial bending angle and the stable angle range, the shaft parallel correction value can be further determined, thus more accurately obtaining the shaft parallel correction value when the initial bending angle is not within the stable angle range.

[0044] Specifically, in S140, the second accuracy of the series sensor connection method is determined through the following steps: S143, when the sensor of the target resistive flexible fabric is a series resistive flexible fabric sensor, acquire several predicted target series curvature changes c and the actual series curvature change d corresponding to each predicted target series curvature change.

[0045] S144, based on several predicted target series curvature changes and the actual series curvature changes corresponding to each predicted target series curvature change, determine the second accuracy of the series sensor connection method. If c is in [dy, d+y], x is taken as the second positive sample, the second accuracy is the ratio of the number of second positive samples to the number of target series curvature changes, and y is the second preset error threshold.

[0046] In S143, the predicted target series curvature change is obtained through the following steps when the sensor of the target resistive flexible fabric is a series-type resistive flexible fabric sensor: S002, apply a constant current source to the target resistive flexible fabric to obtain the specified output voltage of the target resistive flexible fabric.

[0047] S003, determine the initial parallel curvature change at a specified bend in the hose based on the specified output voltage of the target resistive flexible fabric.

[0048] S004, when the bending type at the specified bend is axial single-point deformation, the initial parallel curvature change is taken as the target parallel curvature change.

[0049] S005, when the bending type at the specified bend is radial unilateral deformation, the intermediate bending angle is determined based on the initial parallel curvature change, and the target parallel curvature change is determined based on the radial-parallel-series correction value corresponding to the initial parallel curvature change and the intermediate bending angle. It can be understood that the detection of radial unilateral deformation by a parallel resistive flexible fabric sensor is less accurate than that by a series resistive flexible fabric sensor. Therefore, the target parallel curvature change is determined by compensating for the initial associated curvature change based on the radial-parallel-series correction value corresponding to the intermediate bending angle.

[0050] Specifically, the target parallel curvature change is determined based on the initial parallel curvature change and the radial-parallel-serial correction value corresponding to the intermediate bending angle, including: The target parallel curvature change is equal to the sum of the initial parallel curvature change and the radial-parallel-serial correction value corresponding to the intermediate bending angle.

[0051] In summary, when the sensor for the target resistive flexible fabric is a parallel resistive flexible fabric sensor, a constant current source is applied to the target resistive flexible fabric to obtain a specified output voltage. Based on the specified output voltage of the target resistive flexible fabric, the initial parallel curvature change at a specified bend in the hose is determined. When the bend type at the specified bend is axial single-point deformation, the initial parallel curvature change is used as the target parallel curvature change. When the bend type at the specified bend is radial single-sided deformation, the intermediate bend angle is determined based on the initial parallel curvature change. Based on the radial-parallel-series correction value corresponding to the initial parallel curvature change and the intermediate bend angle, the target parallel curvature change is determined. This invention, using a parallel resistive flexible fabric sensor, more accurately obtains the target parallel curvature change.

[0052] Specifically, in S005, the diameter-parallel-series correction value corresponding to the intermediate bending angle is determined through the following steps: S051, Obtain specified training data, which includes a first radial curvature change list B1={B11, B12, ..., B1g, ..., B1m} and a second radial curvature change list B2={B21, B22, ..., B2g, ..., B2m}. B1g is the curvature change determined by the voltage output of a constant current source applied to a first flexible tube with a parallel resistive flexible fabric under g real bending angles of radial unilateral deformation. B2g is the curvature change determined by the voltage output of a constant current source applied to a second flexible tube with a series resistive flexible fabric under g real bending angles of radial unilateral deformation. The value of g ranges from 1 to z, where z is the number of real bending angles.

[0053] S052, obtain the list of third radial curvature changes B0={B01, B02, ..., B0g, ..., B0m}, and the third radial curvature change B0g=B2g-B1g.

[0054] S053, set a specified sliding window with a fixed bending angle. When only one specified sliding window meets the preset stability condition, the specified sliding window is used as the specified angle range. When several adjacent specified sliding windows meet the preset stability condition, the angle covered by the several adjacent specified sliding windows is used as the specified angle range.

[0055] Specifically, the specified sliding window meets the preset stability condition, which is: the average value of the third radial curvature change within the specified sliding window is less than a preset specified threshold.

[0056] S054, obtain the average value t0 of the third radial curvature change of all true bending angles within the specified angle range.

[0057] S055, if the intermediate bending angle is within the specified angle range, the corresponding radial-parallel correction value for the intermediate bending angle is t0.

[0058] In summary, the invention obtains specified training data, a list of third radial curvature changes, and sets a specified sliding window with a fixed bending angle. When only one specified sliding window meets the preset stability condition, this specified sliding window is used as the specified angle interval. When several adjacent specified sliding windows meet the preset stability condition, the angles covered by these adjacent specified sliding windows are used as the specified angle interval. The average value t0 of the third radial curvature changes of all real bending angles within the specified angle interval is obtained. If the intermediate bending angle is within the specified angle interval, the radial-parallel-series correction value corresponding to the intermediate bending angle is t0. This invention uses the difference between the parallel resistance flexible fabric and the series resistance flexible fabric under radial unilateral deformation. When the difference is stable within a certain range, this difference is used as a compensation value, making the radial-parallel-series correction value more accurate.

[0059] Furthermore, S055 also includes: when the intermediate bending angle is not within the specified angle range, and there is only one specified angle range, the following steps are performed: When the intermediate bending angle is less than the left endpoint of the specified angle interval, the radial parallel correction value corresponding to the intermediate bending angle is the product of the first weight factor and t0. The first weight factor is equal to the quotient of the first specified difference and the left endpoint. The first specified difference is the difference between the left endpoint and the intermediate bending angle.

[0060] When the intermediate bending angle is greater than the right endpoint of the specified angle interval, the radial parallel correction value corresponding to the intermediate bending angle is the product of the second weighting factor and t0. The second weighting factor is equal to the quotient of the second specified difference and the right endpoint. The second specified difference is the difference between the intermediate bending angle and the right endpoint.

[0061] Furthermore, S055 also includes: when the intermediate bending angle is not within a specified angle range, and the number of specified angle ranges exceeds one, the following steps are performed: Calculate the intermediate bending angle and the distance between the left and right endpoints of each specified angle interval, and obtain the endpoint corresponding to the minimum distance as the specified endpoint.

[0062] Obtain the radial-parallel-serial correction value corresponding to the intermediate bending angle. The radial-parallel-serial correction value is the product of the third weighting factor and t0. The third weighting factor is equal to the quotient of the third specified difference and the specified endpoint. The third specified difference is the absolute value of the difference between the intermediate bending angle and the specified endpoint.

[0063] In summary, by determining the weights based on the difference between the intermediate bending angle and the specified angle range, the correction value for parallel-to-serial conversion can be determined more accurately.

[0064] Embodiments of the present invention also provide a non-transitory computer-readable storage medium that can be disposed in an electronic device to store a computer program related to implementing a method in the method embodiments, the computer program being loaded and executed by the processor to implement the method provided in the above embodiments.

[0065] Embodiments of the present invention also provide an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method provided in the above embodiments.

[0066] Embodiments of the present invention also provide a computer program product including program code, which, when the program product is run on an electronic device, causes the electronic device to perform the steps of the methods described above in various exemplary embodiments of the present invention.

[0067] While specific embodiments of the invention have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and are not intended to limit the scope of the invention. Those skilled in the art should also understand that various modifications can be made to the embodiments without departing from the scope and spirit of the invention.

Claims

1. A method for processing sensors using resistive flexible fabric, characterized in that, The method is used to detect changes in the curvature of a flexible hose, in which a resistive flexible fabric is embedded. The method includes the following steps: S110, apply a constant current source to the resistive flexible fabric to obtain the fabric voltage output by the resistive flexible fabric; S120, the first fabric curvature change at the fabric bend of the hose is determined based on the fabric voltage of the resistive flexible fabric; S130, when the fabric bend is circumferentially deformed, based on the first fabric curvature change and the first sensor connection method of the resistive flexible fabric in the hose, the second fabric curvature change of the hose in the second sensor connection method is determined. The sensor connection method is either parallel or series, and the first sensor connection method is different from the second sensor connection method. S140, obtain the first accuracy rate for the parallel sensor connection method and the second accuracy rate for the series sensor connection method; in S140, determine the first accuracy rate for the parallel sensor connection method through the following steps: S141, when the sensor for the target resistive flexible fabric is a parallel resistive flexible fabric sensor, acquire several predicted target parallel curvature changes and the actual parallel curvature change corresponding to each predicted target parallel curvature change; in S141, the predicted target parallel curvature change when the sensor for the target resistive flexible fabric is a parallel resistive flexible fabric sensor is acquired through the following steps: S200, apply a constant current source to the target resistive flexible fabric to obtain the target output voltage of the target resistive flexible fabric; S300, determines the initial series curvature change at the target bend of the hose based on the target output voltage of the target resistance flexible fabric; S400, when the bending type at the target bend is radial single-point deformation, the initial series curvature change is taken as the target series curvature change; S500, when the bending type at the target bend is axial unilateral deformation, the initial bending angle is determined based on the initial series curvature change, and the target series curvature change is determined based on the initial series curvature change and the axis series-parallel correction value corresponding to the initial bending angle. S142, based on several predicted target parallel curvature changes and the actual parallel curvature changes corresponding to each predicted target parallel curvature change, determine the first accuracy of the parallel sensor connection method; In S140, the second accuracy of the series sensor connection method is determined through the following steps: S143, when the sensor of the target resistive flexible fabric is a series resistive flexible fabric sensor, acquire several predicted target series curvature changes and the actual series curvature change corresponding to each predicted target series curvature change. In S143, the predicted target series curvature change is obtained through the following steps when the sensor of the target resistive flexible fabric is a series-type resistive flexible fabric sensor: S002, apply a constant current source to the target resistive flexible fabric to obtain the specified output voltage of the target resistive flexible fabric; S003, determine the initial parallel curvature change at a specified bend in the hose based on the specified output voltage of the target resistive flexible fabric; S004, when the bending type at the specified bend is axial single-point deformation, the initial parallel curvature change is taken as the target parallel curvature change; S005, when the bending type at the specified bend is radial unilateral deformation, the intermediate bending angle is determined based on the initial parallel curvature change, and the target parallel curvature change is determined based on the radial-parallel-serial correction value corresponding to the initial parallel curvature change and the intermediate bending angle. S144, based on several predicted target series curvature changes and the actual series curvature changes corresponding to each predicted target series curvature change, determine the second accuracy of the series sensor connection method. S150, based on the first fabric curvature change, the second fabric curvature change, the first accuracy rate, and the second accuracy rate, determines the target fabric curvature change; wherein, S150 further includes: S151, if the first sensor is connected in parallel, the curvature of the target fabric is equal to the weighted sum of the curvature of the first fabric and the curvature of the second fabric, and the weight ratio of the curvature of the first fabric and the curvature of the second fabric is equal to the ratio of the second accuracy to the first accuracy. S152, if the first sensor is connected in series, the curvature of the target fabric is equal to the weighted sum of the curvature of the first fabric and the curvature of the second fabric, and the weight ratio of the curvature of the first fabric and the curvature of the second fabric is equal to the ratio of the first accuracy and the second accuracy.

2. The sensor processing method for resistive flexible fabric according to claim 1, characterized in that, The series-connected resistive flexible fabric sensor consists of: odd-numbered weft yarns of the woven fabric being conductive elastic yarns, even-numbered weft yarns and all warp yarns of the woven fabric being insulating elastic yarns, and the beginning and end of the conductive elastic weft yarns being connected in series to form a continuous yarn.

3. The sensor processing method for resistive flexible fabric according to claim 1, characterized in that, The parallel resistive fabric sensor consists of: all weft yarns and the first and nth warp yarns of the woven fabric are conductive elastic yarns, and the n-2 warp yarns other than the first and nth warp yarns are insulating elastic yarns. The beginning or end of each conductive elastic weft yarn is connected to the first or nth warp yarn, and the number of warp yarns is n.

4. A non-transitory computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is loaded and executed by a processor to implement the sensor processing method for resistive flexible fabric as described in any one of claims 1-3.

5. An electronic device, comprising: A processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the sensor processing method for resistive flexible fabric as described in any one of claims 1-3.