Online acquisition method and device for yarn tension
By obtaining the yarn tension displacement change on the wire wrapper and calculating the yarn tension using linear and exponential conversion coefficients, the problem of inaccurate detection data during elastic deformation is solved, and high-precision yarn tension detection and warning of abnormal states are achieved.
Patent Information
- Application Number
- CN202510356104.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-08
AI Technical Summary
The existing yarn tension detection methods are highly sensitive at the initial stage of elastic deformation, but gradually become slow as the deformation increases, resulting in inaccurate detection data in critical state and cannot meet the high-precision requirements of wire winding machines.
By obtaining the displacement change amount, the yarn tension is calculated using the preset in-boundary and outboundary conversion coefficients, and the output is accurately and corrected within and outside the boundary range, respectively, and the linear and exponentially growing conversion coefficients are used to distinguish sensitive and dull areas, and the first and second detection values are output.
It realizes accurate detection data output within the boundary range and corrects it outside the range, improving the accuracy and reliability of yarn tension detection, and can distinguish two types of detection data, which is convenient for external vision judgment.
Smart Images

Figure CN120274930A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of winding machines, specifically to the measurement of yarn tension in winding machines, and more specifically to an online acquisition method and device for yarn tension. Background Art
[0002] During the textile production process, tension detection is one of the core technologies for winding machines to achieve efficient, stable, and intelligent production. It not only directly affects the quality of yarn packages but also runs through cost control and quality management in the entire textile process. With the development of intelligent textile equipment, tension detection has shifted from traditional mechanical adjustment to digital closed-loop control, becoming a key link to enhance the competitiveness of enterprises.
[0003] The yarn load on the winding machine is relatively small, and the tension change is small. Measuring the tension of the yarn on it requires higher sensitivity and accuracy. The applicant of this application submitted a patent application with the application number 202510148346 on February 11, 2025, proposing a device for measuring yarn tension, which is suitable for real-time measurement of the tension of yarn on the winding machine, including a porcelain rod for passing yarn and bearing yarn tension, a swinging component, and an induction element. The tail end of the porcelain rod is elastically fixed to the swinging component through a spring piece, and the tail end of the porcelain rod carries an inductor. The induction element is suspended opposite the inductor. When the porcelain rod undergoes a change in yarn tension, the porcelain rod carries the inductor to displace in the direction of elastic deformation of the spring piece. The induction element is used to detect the displacement change amount of the inductor. However, in this detection method, in the initial stage of elastic deformation of the spring piece, the spring piece is relatively sensitive to the change in yarn tension, meeting the above measurement requirements. The detected tension data can accurately reflect the yarn tension and is valid. But as the elastic deformation continues to increase, the spring piece gradually becomes "insensitive" to the change in yarn tension, and there is a boundary effect in elastic deformation. Especially at and after the critical state, the detected tension data is no longer accurate and no longer meets the above measurement requirements, lacking reference value.
[0004] Therefore, it is very necessary to develop a method for obtaining yarn tension suitable for this type of detection principle to ensure the validity of detection data. Summary of the Invention
[0005] To solve the above problems, the embodiments of this application provide an online acquisition method and device for yarn tension, which can distinguish the validity of detection data, correct the detection data in the critical state, make it have certain referenceability, and make the detection data of yarn tension accurate and reasonable.
[0006] In a first aspect, the embodiments of this application provide an online acquisition method for yarn tension, and the method includes: Obtain the displacement change amount, where the displacement change amount is the displacement value of the magnet carried by the end of the spring piece when the yarn tension changes; When the displacement change amount is within a preset boundary range, a first detection value of the yarn tension is calculated according to a preset in-boundary conversion coefficient; When the displacement change amount is outside the preset boundary range, a critical correction value of the yarn tension is calculated according to a preset out-of-boundary conversion coefficient, and the critical correction value is output as an additional term of the boundary value as a second detection value; the displacement boundary of the magnet steel is greater than the boundary range, and the out-of-boundary conversion coefficient increases step by step from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Output the first detection value or the second detection value as the detection data of the yarn tension.
[0007] Preferably, the preset boundary range specifically includes: A unit change amount of the preset yarn tension change; A screening threshold of the preset displacement value; Apply a gradually increasing test force to the magnet steel, the amount increased in each level of the test force is the unit change amount, and measure the displacement amount corresponding to each level of the test force; When the displacement amount at a certain level is less than the screening threshold, accumulate the displacement amounts of all previous levels and output it as the lower limit value of the boundary range; Preset the upper limit value of the boundary range, and the maximum value of the upper limit value is the displacement amount when the magnet steel is not stressed.
[0008] The sensitivity can be determined according to the screening threshold.
[0009] Preferably, the displacement amount when the magnet steel is not stressed is zero; based on the position of the magnet steel when the displacement amount is zero, the minimum value of the upper limit value is symmetric to the lower limit value.
[0010] Preferably, the preset in-boundary conversion coefficient specifically includes: An in-boundary base value of the conversion coefficient when the preset displacement change amount is within the boundary range; Obtain the boundary range; Gradually divide the boundary range, assign a linear weight value to each level, and the linear weight value increases linearly; Obtain the displacement change amount and determine its belonging level, and calculate the in-boundary conversion coefficient of the belonging level according to the in-boundary base value and the linear weight value; Characterize the first detection value of the yarn tension by the product of the displacement change amount and the in-boundary conversion coefficient.
[0011] Preferably, the preset out-of-boundary conversion coefficient specifically includes: An out-of-boundary base value of the conversion coefficient when the preset displacement change amount is outside the boundary range; Calculate the out-of-bounds distance from the calculation boundary range to the displacement boundary; Gradually divide the out-of-bounds distance, and assign a non-linear weight to each level, where the non-linear weight increases exponentially; Obtain the displacement change amount and determine its belonging level, and calculate the out-of-bounds conversion coefficient of the belonging level according to the out-of-bounds base value and the non-linear weight; Characterize the critical correction value of the yarn tension by the product of the displacement change amount and the out-of-bounds conversion coefficient.
[0012] Preferably, output the critical correction value as an additional item of the boundary value as the second detection value, which specifically includes: Take the boundary value as the first data and the critical correction value as the additional data, and the additional data is an estimated value of the yarn tension outside the boundary range; When outputting the second detection value as the detection data of the yarn tension, display the detection data as the first data and the additional data.
[0013] Among them, the additional data is used to assist the external vision to judge the tension degree of the yarn, and the external vision includes the artificial vision and the intelligent device vision.
[0014] Preferably, when the displacement change amount is outside the preset boundary range, it further includes: Send a warning message, where the warning message includes the first data and the additional data, and the additional data is used to measure the critical degree of the yarn tension, and the critical degree is set according to the tension range of the yarn material, which specifically includes: critical state, overload state, risk state; Obtain the additional data and judge the critical degree of the yarn: When the critical degree of the yarn is in the critical state, send a first warning message; When the critical degree of the yarn is in the overload state, send a second warning message; When the critical degree of the yarn is in the risk state, send a third warning message; The first warning message includes the first data and the additional data; the second warning message includes the first data, the additional data, and the overload duration in the overload state; the third warning message includes the first data, the additional data, and the risk duration in the risk state; When the overload duration exceeds the preset first critical duration, send a shutdown application instruction; When the risk duration exceeds the preset second critical duration, send a shutdown instruction.
[0015] In a second aspect, an embodiment of the present application provides an on-line acquisition device for yarn tension, and the device includes: Displacement detection module: Obtain the displacement change amount, which is the displacement value of the magnet carried at the end of the elastic piece when the yarn tension changes; Response judgment module: Judge whether the displacement change amount is within the boundary range; Tension calculation module: According to the judgment result of the response judgment module, execute the tension calculation process, specifically including: When the displacement change amount is within the preset boundary range, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient; When the displacement change amount is outside the preset boundary range, calculate the critical correction value of the yarn tension according to the preset out-of-bound conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value; the displacement boundary of the magnet is greater than the boundary range, and the out-of-bound conversion coefficient increases step by step from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Tension warning module: Judge the critical degree of the yarn and send the corresponding warning information; Tension output module: Output the first detection value or the second detection value as the detection data of the yarn tension.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the method provided in the first aspect or any possible implementation manner of the first aspect are implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method provided in the first aspect or any possible implementation manner of the first aspect is implemented.
[0018] The beneficial effects of the present invention are as follows: The present invention provides an online acquisition method and device for yarn tension, accurately outputs the yarn tension in the form of the first detection data within the boundary range, corrects the yarn tension outside the boundary range and outputs it in the form of the second detection data different from the first detection data in a fuzzy manner, which can not only make the detection data more accurate, but also effectively distinguish the two types of detection data.
[0019] In the present application, the conversion coefficient within the boundary range increases linearly, and the conversion coefficient outside the boundary range increases exponentially. Different coefficient growth methods are used to eliminate the correlation difference between the sensitive area and the boundary area, making the detection data of the yarn tension more accurate.
[0020] In this application, the first detection data is single-item data, and the second detection data is multi-item data. Two output methods of the external vision for the yarn tension can be visually judged; the multi-item display of the detected data of the fuzzy output is convenient for the visual judgment of the external vision and clearly distinguishes it from the accurate output. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0022] Figure 1 It is a schematic flowchart of an online acquisition method for yarn tension provided by an embodiment of the present application; Figure 2 It is a schematic structural diagram of an online acquisition device for yarn tension provided by an embodiment of the present application; Figure 3 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application.
[0024] In the following description, the terms "first" and "second" are only for the purpose of description and cannot be construed as indicating or implying relative importance. The following description provides multiple embodiments of the present application. Different embodiments can be replaced or combined. Therefore, the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing all other possible combinations of A, B, C, and D, although such embodiments may not be explicitly described in the following content.
[0025] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes can be made to the functions and arrangements of the described elements without departing from the scope of the content of the present application. Various processes or components can be appropriately omitted, substituted, or added in each example. For example, the described method can be executed in a different order from the described order, and various steps can be added, omitted, or combined. In addition, the features described in some examples can be combined into other examples.
[0026] See Figure 1 , Figure 1It is a schematic flow chart of an on-line acquisition method for yarn tension provided by an embodiment of the present application. In the embodiment of the present application, the method includes: S101. Obtain the displacement change amount.
[0027] The displacement change amount is the displacement value of the magnet carried by the end of the elastic piece when the yarn tension changes. Among them, the elastic piece can be a double-elastic-piece structure arranged vertically.
[0028] The execution subject of the present application can be the control system of a winding machine. The control system obtains the displacement change amount from each device for measuring yarn tension (hereinafter referred to as the detection device), and through calculation, outputs the detection data of the yarn tension.
[0029] In the present application, the detection device can be configured based on the number of spindles on the winding machine. When winding, the yarn can be connected to the detection device.
[0030] Based on the actual situation, the yarn presses down on the magnet, and the end of the elastic piece bends downward. Therefore, within the preset boundary range, generally only the lower boundary range is set. Starting from the initial position of the free end of the elastic piece when no yarn is connected and no external force is applied, the displacement change amount is calculated. At the initial position, the yarn tension can be recorded as zero. At this time, the magnet is not stressed and the displacement amount is zero.
[0031] The lower boundary range is from zero to the lower limit value of the deformation of the elastic piece, and the upper boundary range is from zero to the upper limit value of the deformation of the elastic piece. The ranges of the lower boundary and the upper boundary are symmetric based on the initial position.
[0032] When the yarn presses down on the magnet, the lower boundary range can be adopted; when the yarn lifts up the magnet, the upper boundary range can be adopted. However, when calculating the yarn tension, the gravity influence of other structures (such as magnets, porcelain rods, etc.) carried by the end of the elastic piece should be corrected.
[0033] In the present application, the following half-boundary is taken as an example for illustration.
[0034] In the embodiment of the present application, the preset boundary range specifically includes: Preset the unit change amount of the yarn tension change.
[0035] Preset the screening threshold of the displacement value; Apply a gradually increasing test force to the magnet, and the amount of increase in each level of the test force is the unit change amount, and measure the displacement amount corresponding to each level of the test force; When the displacement amount at a certain level is less than the screening threshold, accumulate the displacement amounts of all levels before this level and output them as the lower limit value of the boundary range; Preset the upper limit value of the boundary range, and the maximum value of the upper limit value is the displacement amount when the magnet is not stressed.
[0036] In this application, when the end of the elastic piece deforms, it is more sensitive in the initial stage. When performing tension detection, it is more preferable. Therefore, this more sensitive area can be used as the ideal detection area, that is, the defined boundary range. The detection data within the boundary range is considered accurate, while the data outside the boundary range is considered inaccurate and needs to be corrected.
[0037] The screening threshold determines the division accuracy between the sensitive area and the insensitive area, and can be adjusted according to the actual situation to make the tension range represented by the boundary range match the actual situation and adapt to the tension change range of the yarn on the winding machine. Exemplarily, when the screening threshold is small, the corresponding tension range is small, and correspondingly, the detection accuracy is high; conversely, when the tension range is large, the detection accuracy decreases.
[0038] This boundary range can be determined by measurement. A gradually increasing test force can be applied to the magnet steel, with the increase amount being the unit change amount. Measure the displacement amount corresponding to each increase of one unit change amount of the test force. When the displacement amount shows a certain degree of reduction, it indicates that it is no longer sensitive, and the boundary range can be defined based on this.
[0039] Exemplarily, taking the unit change amount as 1 and the screening threshold as 0.08 as an example, the measurement process can be as follows: At the first level, the test force is 0, and the displacement amount at the first level is 0; At the second level, the test force is 1, and the displacement amount at the second level is 0.1; the cumulative displacement amount is 0.1; At the third level, the test force is 2, and the displacement amount at the third level is 0.1; the cumulative displacement amount is 0.2; At the fourth level, the test force is 3, and the displacement amount at the fourth level is 0.1; the cumulative displacement amount is 0.3; And so on. At the (N - 1)th level, the test force is (N - 1), and the displacement amount at the (N - 1)th level is 0.1; the cumulative displacement amount is (N - 1); When at the Nth level, the test force is N, and the displacement amount at the Nth level is 0.05; the cumulative displacement amount is 0.1(N - 1) + 0.05; At this time, the displacement amount at the Nth level (0.05) is less than the screening threshold (0.08), that is, at the Nth level, the displacement amount shows an obvious reduction and is no longer sensitive; all levels before the Nth level are sensitive levels, and the cumulative displacement amount from the first level to the (N - 1)th level can be used to obtain the lower limit value of the boundary range.
[0040] Of course, during actual measurement, even the displacement amounts at each level in the sensitive levels will vary. The above is only an idealized illustration.
[0041] Thus, when the displacement change is less than the lower limit value, the detection data are all sensitive and accurate data; when the displacement change is greater than the lower limit value, the detection data are all insensitive and fuzzy data.
[0042] Correspondingly, an upper limit value of the boundary range should also be preset, and the maximum value of the upper limit value can be zero, that is, the displacement amount when the magnetic steel is not stressed.
[0043] The above is the preset of the boundary range of the lower half-bound. However, the displacement of the elastic piece is bidirectional. That is, when the boundary range includes the upper half-bound, the upper limit value of the boundary range should be the minimum value. Taking the displacement amount when the magnetic steel is not stressed as zero and the position of the magnetic steel when the displacement amount is zero as the reference (ignoring the gravity influence of the end structure of the elastic piece), the minimum value of the upper limit value is symmetric with the lower limit value. For example, when the lower limit is A, the upper limit value should be -A.
[0044] Generally speaking, the lower half-bound can be used to normally use the detection device. However, based on the actual situation, the access method of the yarn may change. Thus, the boundary range can include both the lower half-bound and the upper half-bound. At this time, even if the access method of the yarn changes, the detection data can still be obtained.
[0045] In an implementable manner, when obtaining the displacement change, judge the half-bound applicable to the displacement change: When it is applicable to the upper half-bound, call the gravity correction unit to eliminate the gravity influence of the end structure of the elastic piece; When it is applicable to the lower half-bound, the gravity correction unit does not respond.
[0046] Since the gravity of the end structure of the elastic piece is fixed, when the tension of the yarn changes and the elastic piece is lifted upward, it is necessary to first offset the gravity of the end structure before the elastic piece can deform upward. Therefore, the gravity correction unit can correct the detection result with a fixed gravity.
[0047] In this application, after obtaining the displacement change, it can be judged whether the displacement change is within the boundary range: If so, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient; If not, calculate the critical correction value of the yarn tension according to the preset out-of-bound conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value.
[0048] S102. When the displacement change is within the preset boundary range, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient.
[0049] In the embodiment of this application, within the sensitive area, it is considered that there is a linear correlation between the displacement change and the tension. The in-bound conversion coefficient can be a preset fixed value, and the first detection value of the yarn tension is represented by the product of the displacement change and the in-bound conversion coefficient.
[0050] However, in actual situations, even between different sensitivity levels in sensitive regions, there are still differences in the displacement change amounts. Therefore, the in-boundary conversion coefficient can be corrected and compensated so that the in-boundary conversion coefficient for each sensitivity level matches the displacement change amount, making the first detection value more accurate.
[0051] In a specific embodiment, the preset in-boundary conversion coefficient specifically includes: The in-boundary base value of the conversion coefficient when the preset displacement change amount is within the boundary range; Obtain the boundary range; Gradually divide the boundary range and assign a linear weight value to each level, and the linear weight values increase linearly; Obtain the displacement change amount and determine its belonging level, and calculate the in-boundary conversion coefficient of the belonging level according to the in-boundary base value and the linear weight value; Use the product of the displacement change amount and the in-boundary conversion coefficient to represent the first detection value of the yarn tension In this application, the in-boundary base value can be the conversion coefficient between the displacement change amount and the tension when applying a test force of the second level to the magnetic steel at the initial position; the accuracy of the gradual division can be determined according to actual needs. It can be understood that the difference between the linear weight values of adjacent levels may be small, but overall, they should increase linearly.
[0052] In the embodiments of this application, there is a boundary for each level. For the relationship between the displacement change amount and the boundary, the belonging level of the displacement change amount can be determined, and then the in-boundary conversion coefficient of this belonging level can be calculated according to the corresponding linear weight value and in-boundary base value of this belonging level, and the in-boundary conversion coefficient corresponding to this belonging level is called to calculate the first detection value.
[0053] S103. When the displacement change amount is outside the preset boundary range, calculate the critical correction value of the yarn tension according to the preset out-of-boundary conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value.
[0054] Among them, the displacement boundary of the magnetic steel is greater than the boundary range, and the out-of-boundary conversion coefficient increases gradually from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range.
[0055] In the embodiments of this application, the deformation of the end of the elastic piece is limited, that is, the displacement of the magnetic steel has a boundary, and the boundary can be a physical limitation on the hardware, which can be set based on the detection device and will not be elaborated in this application.
[0056] However, it should be clear that the displacement boundary of the permanent magnet is greater than the boundary range. The specific manifestation at the lower bound is that the displacement boundary is greater than the lower limit value. The interval between the boundary range and the displacement boundary is the sluggish area. Within the sluggish area, it is considered that the displacement change amount and the tension are non-linearly related and change exponentially. The corresponding conversion coefficient outside the boundary should also increase step by step, specifically exponentially. At this time, the displacement change amount has exceeded the boundary range and the detection range of the yarn tension. The boundary value of the detection range is a definite value, which is the first detection value when the displacement change amount is within the boundary range. The second detection value of the yarn tension can be characterized by the first detection value and the product of the displacement change amount and the conversion coefficient outside the boundary. The manifestation form of the second detection value is two items of data, namely the boundary value and the critical correction value.
[0057] In an implementable manner, similar to the preset of the conversion coefficient within the boundary, the preset of the conversion coefficient outside the boundary specifically includes: Presetting the basic value of the conversion coefficient outside the boundary when the displacement change amount is outside the boundary range; Calculating the distance outside the boundary from the boundary range to the displacement boundary; Dividing the distance outside the boundary step by step and assigning a non-linear weight value to each level, and the non-linear weight value increases exponentially; Obtaining the displacement change amount and determining its belonging level, and calculating the conversion coefficient outside the boundary of the belonging level according to the basic value outside the boundary and the non-linear weight value; Characterizing the critical correction value of the yarn tension by the product of the displacement change amount and the conversion coefficient outside the boundary.
[0058] In the embodiments of the present application, the basic value outside the boundary can be the conversion coefficient between the displacement change amount and the tension formed when applying the test force of the (N + 1)th level to the permanent magnet at the Nth level position. The accuracy of the step-by-step division can be determined according to actual needs. It can be understood that the difference between the non-linear weight values of adjacent levels may be relatively large, but overall, it should increase exponentially.
[0059] Similar to when the displacement change amount is within the boundary range, when making step-by-step divisions between the boundary range and the displacement boundary, there is a boundary for each level. For the relationship between the displacement change amount and the boundary, the belonging level of the displacement change amount can be determined. Then, the conversion coefficient outside the boundary of this belonging level can be calculated according to the non-linear weight value and the basic value outside the boundary corresponding to this belonging level, and the critical correction value can be calculated by calling the conversion coefficient outside the boundary corresponding to this belonging level, and finally the second detection value is output.
[0060] In the present application, taking the critical correction value as an additional item of the boundary value and outputting it as the second detection value specifically includes: taking the boundary value as the first data and taking the critical correction value as the additional data, and the additional data is the estimated value of the yarn tension outside the boundary range.
[0061] When the second detection value is output as the detection data of the yarn tension, the detection data is presented as the first data and the additional data.
[0062] In an embodiment of the present application, when the displacement change amount is outside the boundary range, it indicates that the tension of the yarn is outside the normal tension range. At this time, a warning message can be sent externally so that the staff or monitoring equipment can know that the tension of the yarn is abnormal. Both the staff and the monitoring equipment are external visual fields.
[0063] Among them, the warning message at least includes the first data and the additional data. The additional data is used to measure the critical degree of the yarn tension. The critical degree is set according to the tension range of the yarn material. Exemplarily, the critical degree may include: critical state, overload state, and risk state.
[0064] In a feasible embodiment, different levels of warnings are given for the above three states, specifically as follows: Obtain the additional data and judge the critical degree of the yarn: When the critical degree of the yarn is the critical state, send the first message; When the critical degree of the yarn is the overload state, send the second message; When the critical degree of the yarn is the risk state, send the third message; Among them, the first message includes the first data and the additional data; the second message includes the first data, the additional data, and the overload duration in the overload state; the third message includes the first data, the additional data, and the risk duration in the risk state.
[0065] Corresponding instructions can also be sent according to the overload duration and the risk duration, specifically including: When the overload duration exceeds the preset first critical duration, send a shutdown application instruction, and the staff can confirm whether to shut down the spindle or the entire machine; When the risk duration exceeds the preset second critical duration, send a shutdown instruction, and after confirmation by the staff or the control system, the spindle or the entire machine can be shut down to prevent the yarn from breaking.
[0066] S104. Output the first detection value or the second detection value as the detection data of the yarn tension.
[0067] In the present application, the first detection value is single-item data, the second detection value is multi-item data, and the second detection value includes the first data and the additional data.
[0068] When outputting the detection data of the yarn tension: If the displacement change amount is within the boundary range, output the first detection value as the detection data of the yarn tension; the first detection value is presented as single-item data; If the displacement change amount is outside the boundary range, the second detection value is output as the detection data of the yarn tension; the second detection value is presented as multiple data, and the detection data can be presented as the first data and the additional data.
[0069] At this time, based on the detection data displayed on the display screen, the first detection value only includes a single item of data, while the second detection value includes two items of data, namely the first data and the additional data. Among them, the first data is the boundary value, that is, the first detection value when the displacement change amount is within the boundary range; the additional data is the estimated value of the yarn tension outside the boundary range.
[0070] The external visual field can visually distinguish the presentation forms of the first detection value and the second detection value; when output and presented, the additional data can be displayed in different colors according to different critical degrees, for example, corresponding to three states as yellow, orange, and red in sequence.
[0071] Next, the on-line acquisition device for yarn tension provided by the embodiments of the present application will be introduced in detail in conjunction with the attached Figure 2 , and it should be noted that the attached Figure 2 The on-line acquisition device for yarn tension shown is used to execute the method of the embodiments of the present application Figure 1 shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, please refer to the embodiments of the present application Figure 1 shown.
[0072] Please refer to Figure 2 , Figure 2 which is a schematic structural diagram of an on-line acquisition device for yarn tension provided by an embodiment of the present application. As Figure 2 shown, the device includes: Displacement detection module 201: Obtain the displacement change amount, which is the displacement value of the magnet carried by the end of the elastic piece when the yarn tension changes; Response judgment module 202: Judge whether the displacement change amount is within the boundary range; Tension calculation module 203: According to the judgment result of the response judgment module, execute the tension calculation process, specifically including: When the displacement change amount is within the preset boundary range, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient; When the displacement change amount is outside the preset boundary range, calculate the critical correction value of the yarn tension according to the preset out-of-bound conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value; the displacement boundary of the magnet is greater than the boundary range, and the out-of-bound conversion coefficient increases step by step from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Tension warning module 204: Determine the critical degree of the yarn and send corresponding warning information; Tension output module 205: Output the first detection value or the second detection value as the detection data of the yarn tension.
[0073] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented by means of software and / or hardware. The "units" and "modules" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), etc.
[0074] Each processing unit and / or module of the embodiments of the present application can be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or can be implemented by software that executes the functions described in the embodiments of the present application.
[0075] See Figure 3 , which shows a schematic structural diagram of an electronic device involved in the embodiments of the present application. This electronic device can be used to implement Figure 1 the method in the illustrated embodiment. As Figure 3 shown, the electronic device 300 may include: at least one central processing unit 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.
[0076] Among them, the communication bus 302 is used to realize the connection and communication between these components.
[0077] Among them, the user interface 303 may include a display screen (Display), a camera (Camera). Optionally, the user interface 303 may further include a standard wired interface and a wireless interface.
[0078] Among them, the network interface 304 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0079] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 uses various interfaces and lines to connect various parts within the entire electronic device 300, and by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, as well as calling data stored in the memory 305, it executes various functions of the terminal and processes data. Optionally, the central processing unit 301 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The central processing unit 301 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 301 and may be implemented separately by a single chip.
[0080] Among them, the memory 305 may include random access memory (RAM) and may also include read-only memory. Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store the data involved in the above-mentioned various method embodiments. Optionally, the memory 305 may also be at least one storage device located far from the aforementioned central processing unit 301. As Figure 3 shown, the memory 305, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0081] In Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an interface for the user to input and obtain the data input by the user; and the central processing unit 301 can be used to call the online acquisition application program for the yarn tension stored in the memory 305 and specifically perform the following operations: Obtain the displacement change amount, where the displacement change amount is the displacement value of the magnet carried at the end of the elastic piece when the yarn tension changes; When the displacement change amount is within the preset boundary range, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient; When the displacement change amount is outside the preset boundary range, calculate the critical correction value of the yarn tension according to the preset out-of-bound conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value; the displacement boundary of the magnet is greater than the boundary range, and the out-of-bound conversion coefficient increases step by step from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Output the first detection value or the second detection value as the detection data of the yarn tension.
[0082] This application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nano-systems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0083] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0084] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0085] In several embodiments provided by the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some service interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0086] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0087] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0088] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. And the aforementioned memory includes: USB flash drive, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk or optical disc and other various media that can store program codes.
[0089] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory. The memory can include: flash drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disc, etc.
[0090] The above are only exemplary embodiments of the present disclosure, and the scope of the present disclosure cannot be limited thereby. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure still fall within the scope covered by the present disclosure. Those skilled in the art will readily conceive of its implementation schemes of the present disclosure after considering the specification and practicing the present disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not recorded in the present disclosure. The specification and the embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. An online acquisition method for yarn tension, characterized in that, The method includes: Obtaining a displacement change amount, which is the displacement value of the magnet carried at the end of the elastic piece when the yarn tension changes; When the displacement change amount is within a preset boundary range, calculating a first detection value of the yarn tension according to a preset in-boundary conversion coefficient; When the displacement change amount is outside the preset boundary range, calculating a critical correction value of the yarn tension according to a preset out-of-boundary conversion coefficient, and outputting the critical correction value as an additional item of the boundary value as a second detection value; the displacement boundary of the magnet is greater than the boundary range, and the out-of-boundary conversion coefficient increases step by step from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Outputting the first detection value or the second detection value as the detection data of the yarn tension.
2. The method according to claim 1, wherein The preset boundary range specifically includes: Presetting a unit change amount of the yarn tension change; Presetting a screening threshold of the displacement value; Applying a gradually increasing test force to the magnet, where the amount of increase in each level of the test force is the unit change amount, and measuring the displacement amount corresponding to each level of the test force; When the displacement amount at a certain level is less than the screening threshold, accumulating the displacement amounts of all previous levels and outputting it as the lower limit value of the boundary range; Presetting the upper limit value of the boundary range, and the maximum value of the upper limit value is the displacement amount when the magnet is not under force; 3. The method according to claim 2, wherein The displacement amount when the magnet is not under force is zero; based on the position of the magnet when the displacement amount is zero, the minimum value of the upper limit value is symmetric to the lower limit value.
4. The method according to claim 1, characterized in that Presetting the in-boundary conversion coefficient specifically includes: Presetting an in-boundary base value of the conversion coefficient when the displacement change amount is within the boundary range; Obtaining the boundary range; Gradually dividing the boundary range and assigning a linear weight value to each level, and the linear weight value increases linearly; Obtaining the displacement change amount and determining its belonging level, and calculating the in-boundary conversion coefficient of the belonging level according to the in-boundary base value and the linear weight value; Characterizing the first detection value of the yarn tension by the product of the displacement change amount and the in-boundary conversion coefficient.
5. The method according to claim 1, wherein Presetting the out-of-boundary conversion coefficient specifically includes: Presetting an out-of-boundary base value of the conversion coefficient when the displacement change amount is outside the boundary range; Calculating the out-of-boundary distance from the boundary range to the displacement boundary; Gradually dividing the out-of-boundary distance and assigning a non-linear weight value to each level, and the non-linear weight value increases exponentially; Obtaining the displacement change amount and determining its belonging level, and calculating the out-of-boundary conversion coefficient of the belonging level according to the out-of-boundary base value and the non-linear weight value; Characterizing the critical correction value of the yarn tension by the product of the displacement change amount and the out-of-boundary conversion coefficient.
6. The method according to claim 1, wherein Outputting the critical correction value as an additional item of the boundary value as the second detection value specifically includes: Taking the boundary value as the first data and the critical correction value as the additional data, and the additional data is an estimated value of the yarn tension outside the boundary range; When outputting the second detection value as the detection data of the yarn tension, displaying the detection data as the first data and the additional data.
7. The method according to claim 6, wherein When the displacement change amount is outside the preset boundary range, it further includes: Send a warning message, where the warning message includes the first data and additional data, and the additional data is used to measure the critical degree of the yarn tension. The critical degree is set according to the tension range of the yarn material, and specifically includes: critical state, overload state, and risk state; Obtain the additional data and judge the critical degree of the yarn: When the critical degree of the yarn is in the critical state, send a first message; When the critical degree of the yarn is in the overload state, send a second message; When the critical degree of the yarn is in the risk state, send a third message; The first message includes the first data and additional data; the second message includes the first data, additional data, and the overload duration in the overload state; the third message includes the first data, additional data, and the risk duration in the risk state; When the overload duration exceeds a preset first critical duration, send a shutdown application instruction; When the risk duration exceeds a preset second critical duration, send a shutdown instruction.
8. An on-line acquisition device for yarn tension, characterized in that It includes: Displacement detection module: Obtain the displacement change amount, which is the displacement value of the magnet carried at the end of the elastic piece when the yarn tension changes; Response judgment module: Judge whether the displacement change amount is within the boundary range; Tension calculation module: According to the judgment result of the response judgment module, execute the tension calculation process, specifically including: When the displacement change amount is within the preset boundary range, calculate the first detection value of the yarn tension according to the preset in-bound conversion coefficient; When the displacement change amount is outside the preset boundary range, calculate the critical correction value of the yarn tension according to the preset out-of-bound conversion coefficient, and output the critical correction value as an additional item of the boundary value as the second detection value; the displacement boundary of the magnet is greater than the boundary range, and the out-of-bound conversion coefficient increases gradually from the boundary range to the displacement boundary; the boundary value is the first detection value when the displacement change amount is within the boundary range; Tension warning module: Judge the critical degree of the yarn and send the corresponding warning message; Tension output module: Output the first detection value or the second detection value as the detection data of the yarn tension.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-7.