Self-adaptive compensation method and device for height of presser foot
By setting up adjustment and measuring mechanisms on the sewing machine, the presser foot height is automatically adjusted, solving the problem of complex presser foot height adjustment, achieving precise adaptive compensation, and improving the working efficiency of the sewing machine.
Patent Information
- Application Number
- CN202410690979.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2025-12-02
AI Technical Summary
In existing technologies, the height adjustment of the presser foot in sewing machines is complex and difficult to compensate precisely, which affects the sewing effect and accuracy.
By setting up adjustment and measuring mechanisms on the sewing machine, it can automatically determine whether the presser foot height needs to be corrected, and adjust the presser foot height through cams and transmission components to achieve adaptive compensation.
It achieves accurate adaptive compensation for presser foot height, simplifies the operation process, improves adjustment efficiency, and avoids the complexity of manually disassembling and assembling parts.
Smart Images

Figure CN121047045A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of sewing machine technology, and in particular to a method and apparatus for adaptive compensation of presser foot height. Background Technology
[0002] The height of the presser foot in a sewing machine directly affects the sewing result. If the presser foot is too low, the fabric may be subjected to excessive pressure during sewing, causing deformation or damage. If the presser foot is too high, the fabric may loosen or shift during sewing, affecting the precision and quality of the sewing.
[0003] However, during long-term use of a sewing machine, the presser foot height may deviate from the standard height due to wear and tear on the parts of the presser foot lifting mechanism or other reasons.
[0004] Currently, sewing machine users need to restore the presser foot height by disassembling and reassembling parts to ensure that the actual height of the presser foot reaches the standard height.
[0005] However, the existing methods for disassembling and assembling parts are complex and make it difficult to accurately compensate for the height of the presser foot. Summary of the Invention
[0006] This embodiment provides a method and apparatus for adaptive compensation of presser foot height to solve the problems of greater difficulty and lower accuracy in correcting presser foot height in related technologies.
[0007] In a first aspect, this embodiment provides a presser foot height adaptive compensation method, applicable to a sewing machine; the sewing machine includes a presser foot, an adjustment mechanism, and a measuring mechanism; the adjustment mechanism is connected to the presser foot and is used to adjust the presser foot height; the measuring mechanism is used to measure the presser foot height; the method includes:
[0008] Determine whether the presser foot height needs to be corrected;
[0009] If the presser foot height needs to be corrected, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism is controlled to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism after the presser foot height is stable, and the target threshold is the measured value output by the measuring mechanism when the presser foot is at the standard height.
[0010] In some embodiments, determining whether the presser foot height needs correction includes:
[0011] After starting to lift the pressure foot, determine whether an advanced command has been received within the first preset time.
[0012] If the advanced command is received within the first preset time period, the presser foot height will not be corrected;
[0013] If the advanced command is not received within the first preset time, then after the first preset time is reached, it is determined whether the first measured value has reached the target threshold.
[0014] If the first measured value reaches the target threshold, there is no need to adjust the presser foot height; if the first measured value does not reach the target threshold, the presser foot height is adjusted.
[0015] In some embodiments, the step of determining whether the first measured value has reached the target threshold after the first preset time period if the advanced command is not received within the first preset time period includes:
[0016] If the advanced command is not received within the first preset time, then after the first preset time is reached, the preset deviation threshold, the target threshold, and the first measurement value output by the measuring mechanism after the first preset time is reached are obtained.
[0017] Determine whether the difference between the target threshold and the first measured value is not greater than the deviation threshold; if the difference between the target threshold and the first measured value is not greater than the deviation threshold, it indicates that the first measured value has reached the target threshold; if the difference between the target threshold and the first measured value is greater than the deviation threshold, it indicates that the first measured value has not reached the target threshold.
[0018] In some embodiments, if the presser foot height needs to be corrected, determining the relationship between a first measured value and a target threshold, and controlling the adjustment mechanism to rotate based on the relationship to adjust the presser foot height, includes:
[0019] The adjusting mechanism includes a cam and a transmission assembly; the cam is connected to the transmission assembly, and the transmission assembly is connected to the pressure foot; when the cam rotates, it adjusts the height of the pressure foot through the transmission assembly.
[0020] If the presser foot height needs to be corrected, determine whether the first measured value is greater than the target threshold.
[0021] If the first measured value is greater than the target threshold, then the cam is controlled to rotate in the first direction by a first angle to increase the height of the presser foot.
[0022] If the first measured value is not greater than the target threshold, then the cam is controlled to rotate in the second direction by a second angle to reduce the height of the presser foot; the first direction is opposite to the second direction.
[0023] In some embodiments, the method further includes:
[0024] After the adjustment mechanism rotates, it is determined whether the second measurement value output by the measuring mechanism reaches the target threshold.
[0025] If the second measured value reaches the target threshold, the adaptive compensation of the presser foot height has been completed, and the correction task is exited; if the second measured value does not reach the target threshold, the correction task is repeated to continue adjusting the presser foot height until the exit condition is met, at which point the correction task is exited.
[0026] In some embodiments, determining whether the second measurement value output by the measuring mechanism reaches the target threshold after the adjusting mechanism rotates includes:
[0027] After the adjustment mechanism rotates, determine whether a high-level command has been received;
[0028] If the aforementioned advanced command is received, exit the correction task;
[0029] If the advanced command is not received, it is determined whether the second measurement value output by the measuring mechanism has reached the target threshold.
[0030] In some embodiments, determining whether the second measurement value output by the measuring mechanism reaches the target threshold if the high-level command is not received includes:
[0031] If the advanced command is not received, the preset deviation threshold, the target threshold, and the second measurement value output by the measuring mechanism are obtained.
[0032] Determine whether the difference between the target threshold and the second measured value is not greater than the deviation threshold; if the difference between the target threshold and the second measured value is not greater than the deviation threshold, it means that the second measured value has reached the target threshold; if the difference between the target threshold and the second measured value is greater than the deviation threshold, it means that the second measured value has not reached the target threshold.
[0033] In some embodiments, exiting the correction task until the exit condition is met includes:
[0034] When the second measured value does not reach the target threshold, it is determined whether the execution time of the correction task has reached the second preset time. If the execution time of the correction task has reached the second preset time, the correction task is exited.
[0035] Alternatively, if the second measured value reaches the target threshold within the second preset time period, the correction task is terminated.
[0036] In some embodiments, the measuring mechanism includes a sensor and a magnet; the sensor is disposed on the sewing machine for measuring the position of the magnet and outputting the measured value based on the position of the magnet; the magnet is mounted on the adjusting mechanism.
[0037] Secondly, this embodiment provides a presser foot height adaptive compensation device, which is applicable to a sewing machine; the sewing machine includes a presser foot, an adjustment mechanism, and a measuring mechanism; the adjustment mechanism is connected to the presser foot and is used to adjust the presser foot height; the measuring mechanism is used to measure the presser foot height; the device includes:
[0038] The initial judgment module is used to determine whether the presser foot height needs to be corrected;
[0039] The correction execution module is used to determine the relationship between a first measured value and a target threshold if the presser foot height needs to be corrected, and control the adjustment mechanism to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism after the presser foot height has stabilized, and the target threshold is the measured value output by the measuring mechanism when the presser foot is at the standard height.
[0040] Compared with related technologies, the presser foot height adaptive compensation method and device provided in this embodiment are applicable to sewing machines. The sewing machine includes a presser foot, an adjustment mechanism, and a measuring mechanism. The adjustment mechanism is connected to the presser foot and is used to adjust the presser foot height. The measuring mechanism is used to measure the presser foot height. The method includes: determining whether the presser foot height needs correction; if the presser foot height needs correction, determining the relationship between a first measured value and a target threshold, and controlling the adjustment mechanism to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism after the presser foot height has stabilized, and the target threshold is the measured value output by the measuring mechanism when the presser foot is at a standard height. This solves the problem of complex operation and difficulty in accurately compensating for presser foot height in the prior art, achieves accurate adaptive compensation for presser foot height, and improves the efficiency of presser foot height adjustment.
[0041] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0043] Figure 1 This is a structural block diagram of a sewing machine in one embodiment;
[0044] Figure 2 This is a flowchart illustrating the pressure foot height adaptive compensation method in one embodiment;
[0045] Figure 3 This is a schematic diagram of the sewing machine in a preferred embodiment;
[0046] Figure 4 This is a flowchart illustrating the process of determining whether the presser foot height needs to be corrected in a preferred embodiment.
[0047] Figure 5 This is a flowchart illustrating the process of correcting the presser foot height in a preferred embodiment;
[0048] Figure 6 This is a structural block diagram of a presser foot height adaptive compensation device in one embodiment.
[0049] Reference numerals: 100, sewing machine; 110, presser foot; 120, adjusting mechanism; 121, motor; 122, cam; 123, transmission assembly; 130, measuring mechanism; 131, sensor; 132, magnet; 140, presser bar; 150, controller. Detailed Implementation
[0050] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0051] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.
[0052] This embodiment provides a presser foot height adaptive compensation method, which is applicable to, for example... Figure 1 The sewing machine 100 shown is a sewing machine 100. The sewing machine 100 includes a presser foot 110, an adjustment mechanism 120, and a measuring mechanism 130; the adjustment mechanism 120 is connected to the presser foot 110 and is used to adjust the presser foot height of the presser foot 110; the measuring mechanism 130 is used to measure the presser foot height of the presser foot 110.
[0053] Figure 2 This is a flowchart of the presser foot height adaptive compensation method in this embodiment, as follows: Figure 2 As shown, the process includes the following steps:
[0054] Step S210: Determine whether the presser foot height needs to be adjusted.
[0055] Specifically, after lifting presser foot 110, the height of presser foot 110 when it is stable can be checked to determine whether the presser foot height needs to be corrected. If it does not meet the requirements, continue with step S220; if it meets the requirements, other sewing tasks can continue. Alternatively, the need for presser foot height correction can be determined based on whether a correction instruction from the user is received.
[0056] In step S220, if the presser foot height needs to be corrected, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism 120 is controlled to rotate based on the relationship to adjust the presser foot height. The first measured value is the measured value output by the measuring mechanism 130 after the presser foot height is stable, and the target threshold is the measured value output by the measuring mechanism 130 when the presser foot 110 is at the standard height.
[0057] Specifically, if the first measured value is greater than the target threshold, it means that the detected actual presser foot height is lower than the standard height, so the adjustment mechanism 120 is rotated in the first direction to increase the presser foot height; if the first measured value is less than the target threshold, it means that the detected actual presser foot height is higher than the standard height, so the adjustment mechanism 120 is rotated in the first direction to decrease the presser foot height.
[0058] In this embodiment, it is determined whether the presser foot height needs correction. If correction is required, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism 120 is controlled to rotate based on this relationship to adjust the presser foot height. The first measured value is the value output by the measuring mechanism 130 after the presser foot height has stabilized, and the target threshold is the value output by the measuring mechanism 130 when the presser foot 110 is at its standard height. This solves the problem of complex manual disassembly and assembly operations and difficulty in accurately compensating for presser foot height in existing technologies. It achieves accurate adaptive compensation for presser foot height, avoids disassembling parts, and improves the efficiency of presser foot height adjustment.
[0059] In one embodiment, based on step S210, determining whether the presser foot height needs to be corrected specifically includes the following steps:
[0060] Step S211: If an advanced command is received within the first preset time, the presser foot height is not corrected.
[0061] Specifically, advanced commands include action commands such as release commands and sewing commands. In one possible implementation, if a release command is received within a first preset time, the action corresponding to the release command is executed directly without adjusting the presser foot height. Timely exiting the correction task based on advanced instructions can improve the working efficiency of the sewing machine 100.
[0062] Step S212: If no advanced command is received within the first preset time, then after the first preset time is reached, it is determined whether the first measured value has reached the target threshold.
[0063] Specifically, when comparing the first measured value Vpre1 with the target threshold V, a deviation threshold Vthr is set considering the accuracy of the measuring mechanism 130 and the adjusting mechanism 120. Based on this, determining whether the first measured value has reached the target threshold includes:
[0064] Obtain the pre-set deviation threshold Vthr, target threshold V, and the first measurement value Vpre1 output by the measuring mechanism 130 after the first preset time has elapsed.
[0065] Determine whether the difference between the target threshold and the first measured value is not greater than the deviation threshold. If the difference is not greater than the deviation threshold, the first measured value has reached the target threshold; if the difference is greater than the deviation threshold, the first measured value has not reached the target threshold. That is, as long as |Vpre1-V|≤Vthr, the first measured value Vpre1 is considered to have reached the target threshold, and the presser foot height is in a normal state.
[0066] Step S213: If the first measured value reaches the target threshold, there is no need to adjust the presser foot height; if the first measured value does not reach the target threshold, the presser foot height is adjusted.
[0067] In this embodiment, the need for correction is determined by whether an advanced command exists and whether the first measurement value reaches the target threshold, thereby achieving automatic control and improving the accuracy and efficiency of correction judgment.
[0068] In one embodiment, based on step S220 above, if the presser foot height needs to be corrected, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism 120 is controlled to rotate based on the relationship to adjust the presser foot height. Specifically, this includes the following steps:
[0069] See Figure 3 The adjustment mechanism 120 of the sewing machine 100 includes a cam 122 and a transmission assembly 123; the cam 122 is connected to the transmission assembly 123, and the transmission assembly 123 is connected to the presser foot 110; when the cam 122 rotates, it adjusts the height of the presser foot 110 through the transmission assembly 123.
[0070] Step S221: If the presser foot height needs to be corrected, determine whether the first measured value is greater than the target threshold.
[0071] Step S222: If the first measured value is greater than the target threshold, then control the cam 122 to rotate in the first direction by a first angle to increase the height of the presser foot.
[0072] Step S223: If the first measured value is not greater than the target threshold, then control the cam 122 to rotate in the second direction by a second angle to reduce the pressure foot height; the first direction is opposite to the second direction.
[0073] Specifically, the first direction can be clockwise, and the second direction can be counterclockwise. The magnitudes of the first and second angles can be set to fixed values, and the presser foot height can be adjusted multiple times to reach the standard height. In other embodiments, the magnitudes of the first and second angles can also be dynamically compensated based on the difference between the first measured value and the target threshold.
[0074] In this embodiment, the presser foot height is corrected by adjusting the rotation angle of the cam 122 structure, which can compensate for the lack of precision that the presser foot height cannot be adjusted when the presser rod 140 adjusts it.
[0075] In one embodiment, the method further includes:
[0076] Step S230: After the adjustment mechanism 120 rotates, determine whether the second measurement value output by the measuring mechanism 130 has reached the target threshold.
[0077] Specifically, if the measured value output by the measuring mechanism 130 satisfies |Vpre2-V|≤Vthr, it is considered that the presser foot height is in a normal state. Vpre2 is the second measured value, V is the target threshold, and Vthr is the deviation threshold.
[0078] In step S240, if the second measured value reaches the target threshold, the adaptive compensation of the presser foot height has been completed, and the correction task is exited; if the second measured value does not reach the target threshold, the correction task is repeated to continue adjusting the presser foot height until the exit condition is met, and then the correction task is exited.
[0079] Specifically, the correction task of step S220 is repeated, and it is determined again whether the second measurement value has reached the target threshold. This process is repeated. If the presser foot height cannot be corrected in one presser foot 110 lifting process, it can be corrected in subsequent presser foot 110 lifting processes.
[0080] In one embodiment, based on the above step S230, after the adjustment mechanism 120 rotates, it is determined whether the second measurement value output by the measuring mechanism 130 reaches the target threshold, specifically including the following steps:
[0081] Step S231: After the adjustment mechanism 120 rotates, determine whether a high-level command has been received.
[0082] Specifically, advanced commands include presser foot release and sewing commands.
[0083] In step S232, if an advanced command is received, exit the correction task.
[0084] In step S233, if no advanced command is received, determine whether the second measurement value output by the measuring mechanism 130 has reached the target threshold.
[0085] Specifically, determining whether the second measurement value output by the measuring mechanism 130 reaches the target threshold includes: acquiring the pre-set deviation threshold Vthr, the target threshold V, and the second measurement value Vpre2 output by the measuring mechanism 130.
[0086] Determine whether the difference between the target threshold V and the second measured value Vpre2 is not greater than the deviation threshold Vthr. If the difference between the target threshold V and the second measured value Vpre2 is not greater than the deviation threshold Vthr, it means that the second measured value Vpre2 has reached the target threshold V. If the difference between the target threshold V and the second measured value Vpre2 is greater than the deviation threshold Vthr, it means that the second measured value Vpre2 has not reached the target threshold V.
[0087] In this step, the deviation threshold Vthr and target threshold V can have the same values as those in step S212.
[0088] In this embodiment, during the presser foot height correction process, it can exit in time and respond to higher priority actions, such as presser foot release command, sewing command, etc.
[0089] In one embodiment, based on step S240 above, the correction task is exited until the exit condition is met, including:
[0090] Step S241: When the second measured value does not reach the target threshold, determine whether the execution time of the correction task has reached the second preset time. If the execution time of the correction task has reached the second preset time, exit the correction task. If the execution time of the correction task has not reached the second preset time, repeat the correction task in step S220 until the exit condition is met.
[0091] In step S242, or if the second measured value reaches the target threshold within a second preset time, the correction task is exited. If the second measured value does not reach the target threshold, the correction task in step S220 is repeated until the exit condition is met.
[0092] In this embodiment, adjusting the second preset time allows for timely exit from the correction task, preventing abnormal situations from occurring.
[0093] In one embodiment, the measuring mechanism 130 includes a sensor 131 and a magnet 132; the sensor 131 is disposed on the sewing machine 100 for measuring the position of the magnet 132 and outputting a measurement value based on the position of the magnet 132; the magnet 132 is mounted on the adjustment mechanism.
[0094] In this embodiment, the accuracy of presser foot height measurement can be improved by the cooperation of sensor 131 and magnet 132.
[0095] The adaptive compensation method for presser foot height of this application will be described below through preferred embodiments.
[0096] This preferred embodiment is applied to, for example Figure 3 The sewing machine 100 shown. See also... Figure 3 The sewing machine 100 includes a presser foot 110, an adjustment mechanism 120, a measuring mechanism 130, a presser bar 140, and a controller 150.
[0097] The adjustment mechanism 120 includes a motor 121, a cam 122, and a transmission assembly 123. The cam 122 is connected to the transmission assembly 123, and the transmission assembly 123 is connected to the pressure foot 110. The controller 150 drives the motor 121, which controls the cam 122 to rotate. The cam 122 adjusts the height of the pressure foot 110 through the transmission assembly 123. Specifically, the controller 150 outputs a control signal to the motor 121, which controls the cam 122 to rotate a certain angle. The cam 122 presses down the bearing fixed on the pressure foot lifting lever, causing the hook and the small lever to move downward, thereby causing the pressure foot arm and the magnet 132 to rotate upward, and the pressure foot 110 to rise.
[0098] The measuring mechanism 130 includes a sensor 131 and a magnet 132. The sensor 131 is mounted on the thread cutter assembly of the sewing machine 100 and is used to measure the position of the magnet 132, and outputs a measurement value based on the position of the magnet 132. The magnet 132 is mounted on the presser foot arm of the transmission assembly 123. Different presser foot heights result in different relative positions of the magnet 132 and the sensor 131, leading to different voltage values (Vpre) output by the sensor 131.
[0099] Once the presser foot height is stable, the actual rotation angle θ of cam 122 should be the standard angle α, and the voltage value Vpre output by sensor 131 should be the standard voltage value V. Considering the accuracy of sensor 131 and the mechanical structure, a deviation threshold Vthr for sensor 131 is set. When the standard height of presser foot 110 is G, a voltage value |Vpre-V|≤Vthr output by sensor 131 is considered to be in a normal state. When sewing machine 100 leaves the factory, the controller 150 records the standard rotation angle α of cam 122 corresponding to the standard presser foot height G, the standard voltage value V corresponding to sensor 131, and the deviation threshold of sensor 131, as shown in Table 1.
[0100] Table 1:
[0101] presser foot height Standard voltage value Deviation threshold Cam rotation angle G V Vthr α
[0102] During the operation of the sewing machine 100, there are processes of raising and lowering the presser foot 110. The raising and lowering of the presser foot 110 is achieved by adjusting the pressure of the presser lever 140. Because the pressure of the presser lever 140 is difficult to precisely control the presser foot height, or due to wear on the parts of the presser foot raising mechanism, a deviation may occur between the stable presser foot height and the standard height. In this case, the actual presser foot height can be measured using a sensor 131. When the difference between the voltage value Vpre of the sensor 131 and the standard voltage value V exceeds a threshold value Vthr, it indicates a deviation between the actual presser foot height and the standard presser foot height, requiring calibration. The required adjustment angle can be calculated, causing the presser foot raising motor 121 to control the cam 122 to rotate to the corrected θ value position. Based on this, this preferred embodiment provides a presser foot height adaptive compensation method, the process of which is as follows:
[0103] Step 1: Determine if the presser foot height needs adjustment. For example... Figure 4 If a command to release the pressure foot is given within t1 time after the pressure foot 110 is raised, the correction program will exit directly without judging whether the pressure foot height is deviated. If no command to release the pressure foot is given within t1 time, the correction program will judge whether the pressure foot height is deviated. The judgment method is as follows: judge whether the absolute value of the difference between the actual voltage value Vpre and the standard voltage value V is less than the deviation threshold Vthr. If the judgment result is yes, the correction program will exit directly. If the judgment result is no, the program will continue to execute as follows. Figure 5 The steps for adjusting the presser foot height are shown.
[0104] Step two: If the presser foot height needs adjustment, adjust the presser foot height. Figure 5 As shown, if the presser foot 110 is raised for more than t2 hours and the presser foot height cannot be corrected to the correct position, the presser foot height correction function is exited and correction is stopped to avoid abnormal situations. If a presser foot release command is received during the presser foot height correction process, the presser foot release action is prioritized, and the current presser foot 110 correction is abandoned. If no presser foot release command is received within t2 hours after the foot is raised, the relationship between the current voltage value Vpre of sensor 131 and the standard voltage value V is determined. When the voltage value Vpre of sensor 131 is greater than the standard voltage value V, it indicates that the actual presser foot height is lower than the standard height G. In this case, cam 122 is controlled to increase δ1 clockwise, so the actual position of cam 122 is θ+δ1. When the voltage value Vpre of sensor 131 is greater than the standard voltage value V, it indicates that the actual presser foot height is higher than the standard height. In this case, cam 122 is controlled to decrease δ2 counterclockwise, so the actual position of cam 122 is θ-δ2. After performing a correction, the absolute value of the difference between the corrected voltage value Vpre and the standard voltage value V is checked again to see if it is less than the deviation threshold Vthr. If the result is yes, the correction program exits directly; if the result is no, the process is repeated. Figure 5 The steps for adjusting the presser foot height are shown.
[0105] This preferred embodiment uses a successive correction method to bring the presser foot height back to the standard height without disassembling parts, greatly simplifying the difficulty of presser foot height correction. This preferred embodiment can still quickly respond to presser foot release commands during presser foot height correction, without affecting the user's actual sewing operation. Furthermore, there is a deviation threshold for judging presser foot height to avoid frequent presser foot height corrections and prevent presser foot vibration.
[0106] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0107] This embodiment also provides a presser foot height adaptive compensation device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The terms "module," "unit," "subunit," etc., used below refer to combinations of software and / or hardware that implement a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0108] Figure 6 This is a structural block diagram of the presser foot height adaptive compensation device in this embodiment, as shown below. Figure 1 and Figure 6 As shown, the device is suitable for a sewing machine 100; the sewing machine 100 includes a presser foot 110, an adjusting mechanism 120, and a measuring mechanism 130; the adjusting mechanism 120 is connected to the presser foot 110 and is used to adjust the presser foot height of the presser foot 110; the measuring mechanism 130 is used to measure the presser foot height of the presser foot 110; the device includes:
[0109] The initial judgment module is used to determine whether the presser foot height needs to be corrected.
[0110] The correction execution module is used to determine the relationship between the first measured value and the target threshold if the presser foot height needs to be corrected, and control the adjustment mechanism 120 to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism 130 after the presser foot height is stable, and the target threshold is the measured value output by the measuring mechanism 130 when the presser foot 110 is at the standard height.
[0111] In one embodiment, the initial judgment module is further configured to determine whether an advanced command is received within a first preset time after the presser foot 110 is raised; if an advanced command is received within the first preset time, the presser foot height is not corrected; if no advanced command is received within the first preset time, the first measured value is determined after the first preset time has elapsed to whether the first measured value has reached the target threshold; if the first measured value has reached the target threshold, the presser foot height does not need to be corrected; if the first measured value has not reached the target threshold, the presser foot height is corrected.
[0112] In one embodiment, the initial judgment module is further configured to, if no advanced command is received within a first preset time, acquire a pre-set deviation threshold, a target threshold, and a first measurement value output by the measuring mechanism 130 after the first preset time has elapsed; determine whether the difference between the target threshold and the first measurement value is not greater than the deviation threshold; if the difference between the target threshold and the first measurement value is not greater than the deviation threshold, it indicates that the first measurement value has reached the target threshold; if the difference between the target threshold and the first measurement value is greater than the deviation threshold, it indicates that the first measurement value has not reached the target threshold.
[0113] In one embodiment, the modified execution module is also applicable to Figure 3 The sewing machine 100 shown is equipped with an adjustment mechanism 120, which includes a cam 122 and a transmission assembly 123. The cam 122 is connected to the transmission assembly 123, and the transmission assembly 123 is connected to the presser foot 110. When the cam 122 rotates, it adjusts the height of the presser foot 110 via the transmission assembly 123. A correction execution module is used to determine whether a first measured value is greater than a target threshold if the presser foot height needs to be corrected. If the first measured value is greater than the target threshold, the cam 122 is controlled to rotate in a first direction by a first angle to increase the presser foot height. If the first measured value is not greater than the target threshold, the cam 122 is controlled to rotate in a second direction by a second angle to decrease the presser foot height. The first direction and the second direction are opposite.
[0114] In one embodiment, the device further includes a multiple correction module, which is used to determine whether the second measurement value output by the measuring mechanism 130 reaches the target threshold after the adjusting mechanism 120 rotates; if the second measurement value reaches the target threshold, the adaptive compensation of the presser foot height has been completed and the correction task is exited; if the second measurement value does not reach the target threshold, the correction task is repeated and the presser foot height is adjusted until the exit condition is met and the correction task is exited.
[0115] In one embodiment, the multiple correction module is further configured to determine whether an advanced command has been received after the adjustment mechanism 120 rotates; if an advanced command has been received, the correction task is exited; if no advanced command has been received, the second measurement value output by the measurement mechanism 130 is determined to have reached the target threshold.
[0116] In one embodiment, the multiple correction module is further configured to determine whether the execution time of the correction task has reached a second preset time when the second measured value has not reached the target threshold; if the execution time of the correction task has reached the second preset time, the correction task is exited; or, if the second measured value reaches the target threshold within the second preset time, the correction task is exited.
[0117] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0118] This embodiment also provides a computer device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0119] Furthermore, in conjunction with the presser foot height adaptive compensation method provided in the above embodiments, this embodiment can also provide a storage medium for implementation. The storage medium stores a computer program; when executed by a processor, the computer program implements any of the presser foot height adaptive compensation methods in the above embodiments.
[0120] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0121] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.
[0122] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0123] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims
1. A method for adaptive compensation of presser foot height, characterized in that, The method is applicable to sewing machines; the sewing machine includes a presser foot, an adjustment mechanism, and a measuring mechanism; the adjustment mechanism is connected to the presser foot and is used to adjust the presser foot height; The measuring mechanism is used to measure the presser foot height; the method includes: Determine whether the presser foot height needs to be corrected; If the presser foot height needs to be corrected, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism is controlled to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism after the presser foot height is stable, and the target threshold is the measured value output by the measuring mechanism when the presser foot is at the standard height.
2. The presser foot height adaptive compensation method according to claim 1, characterized in that, The determination of whether the presser foot height needs to be corrected includes: After starting to lift the pressure foot, determine whether an advanced command has been received within the first preset time. If the advanced command is received within the first preset time period, the presser foot height will not be corrected; If the advanced command is not received within the first preset time, then after the first preset time is reached, it is determined whether the first measurement value has reached the target threshold. If the first measured value reaches the target threshold, there is no need to adjust the presser foot height; if the first measured value does not reach the target threshold, the presser foot height is adjusted.
3. The presser foot height adaptive compensation method according to claim 2, characterized in that, If no advanced command is received within the first preset time, then after the first preset time has elapsed, determining whether the first measured value has reached the target threshold includes: If the advanced command is not received within the first preset time, then after the first preset time is reached, the preset deviation threshold, the target threshold, and the first measurement value output by the measuring mechanism after the first preset time is reached are obtained. Determine whether the difference between the target threshold and the first measured value is not greater than the deviation threshold; if the difference between the target threshold and the first measured value is not greater than the deviation threshold, it indicates that the first measured value has reached the target threshold; if the difference between the target threshold and the first measured value is greater than the deviation threshold, it indicates that the first measured value has not reached the target threshold.
4. The presser foot height adaptive compensation method according to claim 1, characterized in that, If the presser foot height needs to be corrected, the relationship between the first measured value and the target threshold is determined, and the adjustment mechanism is controlled to rotate based on the relationship to adjust the presser foot height. include: The adjusting mechanism includes a cam and a transmission assembly; the cam is connected to the transmission assembly, and the transmission assembly is connected to the pressure foot; when the cam rotates, it adjusts the height of the pressure foot through the transmission assembly. If the presser foot height needs to be corrected, determine whether the first measured value is greater than the target threshold. If the first measured value is greater than the target threshold, then the cam is controlled to rotate in the first direction by a first angle to increase the height of the presser foot. If the first measured value is not greater than the target threshold, then the cam is controlled to rotate in the second direction by a second angle to reduce the height of the presser foot; the first direction is opposite to the second direction.
5. The presser foot height adaptive compensation method according to claim 1, characterized in that, The method further includes: After the adjustment mechanism rotates, it is determined whether the second measurement value output by the measuring mechanism reaches the target threshold. If the second measured value reaches the target threshold, the adaptive compensation of the presser foot height has been completed, and the correction task is exited; if the second measured value does not reach the target threshold, the correction task is repeated to continue adjusting the presser foot height until the exit condition is met, at which point the correction task is exited.
6. The presser foot height adaptive compensation method according to claim 5, characterized in that, The step of determining whether the second measured value output by the measuring mechanism reaches the target threshold after the adjusting mechanism rotates includes: After the adjustment mechanism rotates, determine whether a high-level command has been received; If the aforementioned advanced command is received, exit the correction task; If the advanced command is not received, it is determined whether the second measurement value output by the measuring mechanism has reached the target threshold.
7. The presser foot height adaptive compensation method according to claim 6, characterized in that, If the advanced command is not received, determining whether the second measurement value output by the measuring mechanism reaches the target threshold includes: If the advanced command is not received, the preset deviation threshold, the target threshold, and the second measurement value output by the measuring mechanism are obtained. Determine whether the difference between the target threshold and the second measured value is not greater than the deviation threshold; if the difference between the target threshold and the second measured value is not greater than the deviation threshold, it means that the second measured value has reached the target threshold; if the difference between the target threshold and the second measured value is greater than the deviation threshold, it means that the second measured value has not reached the target threshold.
8. The presser foot height adaptive compensation method according to claim 5, characterized in that, The step of exiting the correction task when the exit condition is met includes: When the second measured value does not reach the target threshold, it is determined whether the execution time of the correction task has reached the second preset time. If the execution time of the correction task has reached the second preset time, the correction task is exited. Alternatively, if the second measured value reaches the target threshold within the second preset time period, the correction task is terminated.
9. The presser foot height adaptive compensation method according to claim 1, characterized in that, The measuring mechanism includes a sensor and a magnet; The sensor is installed on the sewing machine to measure the position of the magnet and output the measured value based on the position of the magnet; The magnet is mounted on the adjustment mechanism.
10. A presser foot height adaptive compensation device, characterized in that, The device is applicable to a sewing machine; the sewing machine includes a presser foot, an adjustment mechanism, and a measuring mechanism; the adjustment mechanism is connected to the presser foot and is used to adjust the presser foot height; The measuring mechanism is used to measure the presser foot height; the device includes: The initial judgment module is used to determine whether the presser foot height needs to be corrected; The correction execution module is used to determine the relationship between a first measured value and a target threshold if the presser foot height needs to be corrected, and control the adjustment mechanism to rotate based on the relationship to adjust the presser foot height; wherein, the first measured value is the measured value output by the measuring mechanism after the presser foot height has stabilized, and the target threshold is the measured value output by the measuring mechanism when the presser foot is at the standard height.