Template machine oil supply method and device, electronic equipment and storage medium
By selecting the oil supply mode in the template machine and calculating the sewing speed coefficient to determine the oil supply, the problem of insufficient or excessive oil supply in the prior art is solved, and the operation efficiency and product quality of the equipment are improved.
Patent Information
- Application Number
- CN202510302925.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-05-30
AI Technical Summary
The existing precise oil supply control technology is insufficient when the spindle motor is running at high speed and is too large when the oil supply is running at low speed, resulting in structural wear and oil leakage, affecting the equipment operation efficiency and product quality.
By selecting the oil supply mode, the sewing speed coefficient is obtained, the oil supply is calculated based on the oil supply mode parameters and the sewing speed coefficient, and the template machine is supplied with oil according to the needle sewing mode and oil supply during the operation of the template machine.
The corresponding oil supply can be provided under high-speed and low-speed sewing conditions, avoiding excessive or too small oil supply, and improving the operating efficiency and product quality of the template machine.
Smart Images

Figure CN120061067A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sewing, and particularly to an oil supply method, device, electronic device and storage medium for a template machine. Background Art
[0002] The existing precise oil supply control technology mainly adopts the method of timed opening and closing. The advantage of this method is that it can achieve a certain degree of automatic control, but there are some deficiencies. First of all, the existing technology usually can only achieve simple timed control, which leads to insufficient oil supply when the main shaft motor runs at high speed, and excessive oil supply when the main shaft motor runs at low speed, resulting in easy wear and oil leakage between various structures, thus affecting the operation efficiency and product quality of the equipment. Summary of the Invention
[0003] To solve the problems existing in the prior art, one or more embodiments of this specification describe an oil supply method, device, electronic device and storage medium for a template machine.
[0004] According to a first aspect, an oil supply method for a template machine is provided, and the method includes:
[0005] Select an oil supply mode, and the oil supply mode has corresponding parameters;
[0006] Obtain a sewing speed coefficient, and obtain an oil supply amount according to the parameters of the oil supply mode and the sewing speed coefficient, where the sewing speed coefficient is obtained according to the sewing speed of the template machine;
[0007] When the template machine is running, supply oil to the template machine according to the selected stitch number sewing mode and the oil supply amount.
[0008] Preferably, the oil supply mode parameters include an oil amount size coefficient, an oil supply time, and a speed coefficient.
[0009] Preferably, the oil supply amount is the product of the real-time value of the oil valve opened controlled by the oil supply motor, the oil amount size coefficient, and the sewing speed coefficient.
[0010] Preferably, the sewing speed coefficient is the ratio of the product of the speed coefficient and the spindle speed of the template machine to the difference between the highest speed and the lowest speed of the template machine.
[0011] Preferably, the stitch number sewing mode includes setting a stitch number to be sewn. When the number of stitches sewn by the sewing machine is equal to the set stitch number to be sewn, the template machine starts to supply oil.
[0012] Preferably, after each oil supply ends, the number of stitches sewn is cleared and re-counted.
[0013] Preferably, the fuel supply mode includes a variety of fuel supply modes set according to the size of the fuel supply volume.
[0014] According to a second aspect, a fuel supply device is provided, and the device includes:
[0015] A selection module for selecting a fuel supply mode, and the fuel supply mode has corresponding parameters;
[0016] A calculation module for obtaining a sewing speed coefficient, and obtaining a fuel supply volume according to the parameters of the fuel supply mode and the sewing speed coefficient, where the sewing speed coefficient is obtained according to the sewing speed of the template machine;
[0017] An execution module for supplying fuel to the template machine according to the number of stitches sewing mode and the fuel supply volume when the template machine is running.
[0018] According to a third aspect, an electronic device is provided, including a processor and a memory;
[0019] The processor is connected to the memory;
[0020] The memory is used to store executable program code;
[0021] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.
[0022] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. Instructions are stored in the computer-readable storage medium, and when the instructions run on a computer or a processor, the computer or the processor is caused to execute the method provided in the first aspect or any possible implementation manner of the first aspect.
[0023] The beneficial effects of the present invention are as follows:
[0024] 1. For the method and device provided in the embodiments of this specification, the sewing speed coefficient is obtained through the sewing speed of the template machine, and the fuel supply volume is further calculated, so as to associate the sewing speed of the template machine with the fuel supply volume, and a corresponding fuel supply volume can be provided in both high-speed and low-speed sewing cases, thereby avoiding the situation of too large or too small fuel supply volume, and improving the operation efficiency and product quality of the template machine. Description of the Drawings
[0025] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying 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 accompanying drawings can be obtained based on these drawings.
[0026] Figure 1 It is a schematic flow chart of a fuel supply method for a template machine in a specific implementation of this specification;
[0027] Figure 2 It is a schematic structural diagram of a fuel supply device in a specific implementation of this specification;
[0028] Figure 3 It is a schematic structural diagram of an electronic device in a specific implementation of this specification; Specific Embodiments
[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
[0030] 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, so 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, even though such embodiments may not be explicitly described in the following content.
[0031] 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. Each example can appropriately omit, substitute, or add various processes or components. For example, the described method can be executed in a different order than 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.
[0032] Refer to Figure 1 , Figure 1 It is a schematic flow chart of the fuel supply method for the template machine provided by the embodiments of the present application. In the embodiments of the present application, the method includes:
[0033] S101. Select a fuel supply mode, and the fuel supply mode has corresponding parameters;
[0034] S102. Obtain the sewing speed coefficient, and obtain the fuel supply amount according to the parameters of the fuel supply mode and the sewing speed coefficient, where the sewing speed coefficient is obtained according to the sewing speed of the template machine;
[0035] S103. When the template machine is running, supply fuel to the template machine according to the selected stitch number sewing mode and the fuel supply amount.
[0036] The execution subject of this application can be the control unit of the template machine.
[0037] In the embodiments of this specification, when the template machine is working, an operator can select a fuel supply mode from the pre-set fuel supply modes. After receiving the selected fuel supply mode by the control unit of the template machine, it detects and obtains the current sewing speed coefficient. The sewing speed coefficient is calculated by the control unit of the template machine according to the current sewing speed. The control unit of the template machine will calculate the fuel supply amount according to the sewing speed coefficient and the parameters in the fuel supply mode. When the template machine is sewing, it will supply fuel to the template machine according to the selected stitch number sewing mode and the fuel supply amount. Compared with the prior art where the fuel supply is carried out by the method of timed opening and closing, in this application, the sewing speed coefficient is obtained through the sewing speed of the template machine, and the fuel supply amount is further calculated, so as to associate the sewing speed of the template machine with the fuel supply amount, and be able to provide corresponding fuel supply amounts in both high-speed and low-speed sewing cases, thereby avoiding the situation of excessive or insufficient fuel supply amount, and improving the operation efficiency and product quality of the template machine.
[0038] In an implementable manner, the parameters of the fuel supply mode include the fuel quantity size coefficient, the fuel supply time, and the speed coefficient.
[0039] In an implementable manner, Y = M × P × A, where Y represents the fuel supply amount, M represents the real-time value of the oil valve opening controlled by the fuel supply motor, P is the fuel quantity size coefficient, and A is the sewing speed coefficient.
[0040] Further, where A is the sewing speed coefficient, A 0 is the speed coefficient, S is the spindle speed of the template machine, X max and X min respectively represent the maximum sewing speed and the minimum sewing speed of the template machine.
[0041] In an implementable manner, the stitch number sewing mode includes the pre-set stitch number. For each stitch sewn by the template machine, the number of stitches sewn is incremented by one. When the number of stitches sewn reaches the pre-set stitch number, fuel supply starts, and the fuel supply time is the fuel supply time corresponding to the selected fuel supply mode. After reaching the fuel supply time, the fuel supply stops.
[0042] Further, after each fuel supply ends, the number of stitched needles is cleared and re - counted, thereby realizing the cyclic fuel supply of the template machine.
[0043] In an implementable manner, the fuel supply mode includes multiple fuel supply modes set based on the amount of fuel supply, such as micro - fuel, medium - fuel, heavy - fuel, and custom mode. Each mode has a set of parameters. The operator can arbitrarily select a fuel supply mode for fuel supply, thereby improving the flexibility and adaptability of the equipment.
[0044] Next, in conjunction with the attached Figure 2 , the fuel supply device provided by the embodiments of the present application will be introduced in detail. It should be noted that the attached Figure 2 The shown fuel supply device is used to execute the method of the embodiments of the present application Figure 1 The shown embodiments. 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 Figure 1 Shown in the present application.
[0045] Please refer to Figure 2 , Figure 2 FIG. is the structural schematic diagram of the fuel supply device provided by the embodiments of the present application. As Figure 2 shown, the device includes:
[0046] A selection module 201 for selecting a fuel supply mode, and the fuel supply mode has corresponding parameters;
[0047] A calculation module 202 for obtaining a sewing speed coefficient and obtaining the fuel supply amount according to the parameters of the fuel supply mode and the sewing speed coefficient, and the sewing speed coefficient is obtained according to the sewing speed of the template machine;
[0048] An execution module 203 for fuel - supplying the template machine according to the needle - stitching mode and the fuel supply amount when the template machine is running.
[0049] In an implementable manner, the selection module 201 is specifically used for:
[0050] The fuel supply mode parameters include the fuel amount size coefficient, the fuel supply time, and the speed coefficient.
[0051] In an implementable manner, the calculation module 202 is specifically used for:
[0052] The fuel supply amount is the product of the real - time value of the oil valve opened controlled by the fuel supply motor, the fuel amount size coefficient, and the sewing speed coefficient.
[0053] In an implementable manner, the calculation module 202 is specifically used for:
[0054] The sewing speed coefficient is the ratio of the product of the speed coefficient and the spindle speed to the difference between the maximum speed and the minimum speed of the template machine.
[0055] In an implementable manner, the execution module 203 is specifically configured to:
[0056] Set the number of sewing stitches. When the number of stitches sewn by the sewing machine is equal to the set number of sewing stitches, the template machine starts to supply oil.
[0057] In an implementable manner, the execution module 203 is specifically configured to:
[0058] After each oil supply ends, clear the number of stitches sewn and re - count.
[0059] In an implementable manner, the execution module 203 is specifically configured to:
[0060] The oil supply mode includes multiple oil supply modes set according to the amount of oil supply.
[0061] Those skilled in the art can clearly understand that the technical solutions of the embodiments of this 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.
[0062] Each processing unit and / or module of the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or can be implemented by software that executes the functions described in the embodiments of this application.
[0063] See Figure 3 , which shows a schematic structural diagram of an electronic device related to the embodiments of this application. This electronic device can be used to implement Figure 1 the method in the shown embodiments. 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.
[0064] Among them, the communication bus 302 is used to realize the connection and communication between these components.
[0065] Among them, the user interface 303 may include a display screen (Display), a camera (Camera), and optionally the user interface 303 may further include a standard wired interface and a wireless interface.
[0066] Among them, the network interface 304 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
[0067] Among them, the central processing unit 301 may include one or more processing cores. The central processing unit 301 connects various parts within the entire electronic device 300 through various interfaces and lines, and executes various functions of the terminal 300 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling the data stored in the memory 305. 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 more 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.
[0068] 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 a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store the data involved in the above-mentioned 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.
[0069] In Figure 3 In 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 application programs stored in the memory 305 and specifically perform the following operations:
[0070] S101. Select a fuel supply mode, and the fuel supply mode has corresponding parameters;
[0071] S102. Obtain a sewing speed coefficient, and obtain the fuel supply amount according to the parameters of the fuel supply mode and the sewing speed coefficient, where the sewing speed coefficient is obtained according to the sewing speed of the template machine;
[0072] S103. When the template machine is running, supply fuel to the template machine according to the selected needle number sewing mode and the fuel supply amount.
[0073] This application also provides a computer-readable storage medium, on which a computer program is stored. 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 discs, DVDs, CD-ROMs, microdrives, and magneto-optical discs, 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.
[0074] 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.
[0075] 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.
[0076] In several embodiments provided in this 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, 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.
[0077] 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.
[0078] In addition, each functional unit in various embodiments of this 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.
[0079] 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 this application, in essence, or the part that contributes to the prior art, or all or part of this 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 to enable 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 this 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, etc., which can store program codes.
[0080] 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.
[0081] The above are only exemplary embodiments of the present disclosure and should not be used to limit the scope of the present disclosure. 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 other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not recorded in the present disclosure. The specification and embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for supplying oil to a template machine, characterized in that: The method comprises: Selecting a fuel supply mode, the fuel supply mode having corresponding parameters; Obtaining a sewing speed coefficient, and obtaining an oil supply amount according to the parameters of the oil supply mode and the sewing speed coefficient, wherein the sewing speed coefficient is obtained according to the sewing speed of the template machine; When the template machine is running, the template machine is oiled according to the selected sewing mode of needle number and oil supply amount.
2. A template machine oil supply method according to claim 1, characterized in that: The oil supply mode parameters include an oil quantity coefficient, an oil supply time, and a speed coefficient.
3. A template machine oil supply method according to claim 2, characterized in that: The oil supply amount is the product of the real-time value of the oil valve opening controlled by the oil supply motor, the oil quantity coefficient and the sewing speed coefficient.
4. A template machine oil supply method according to claim 3, characterized in that: The sewing speed coefficient is the ratio of the speed coefficient multiplied by the template machine main shaft speed to the difference between the maximum speed and the minimum speed of the template machine.
5. A template machine oil supply method according to claim 2, characterized in that: The stitch number sewing mode includes setting the number of sewing stitches. When the number of stitches sewn by the sewing machine is equal to the set number of sewing stitches, the template machine starts to supply oil.
6. A method for supplying oil to a template machine according to claim 5, characterized in that: After each lubrication is completed, the number of stitches sewn will be reset to zero and counted again.
7. A template machine oil supply method according to claim 1, characterized in that: The oil supply mode includes multiple oil supply modes set according to the oil supply amount.
8. An oil supply device, characterized in that: The device comprises: A selection module, used for selecting a fuel supply mode, wherein the fuel supply mode has corresponding parameters; A calculation module, used to obtain a sewing speed coefficient, and obtain an oil supply amount according to the parameters of the oil supply mode and the sewing speed coefficient, wherein the sewing speed coefficient is obtained according to the sewing speed of the template machine; The execution module is used to supply oil to the template machine according to the sewing mode of the number of needles and the oil supply amount when the template machine is running.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Template sewing machine of which upper sewing mechanism and lower sewing mechanism can automatically rotate
CN107447375A
Oil supply mechanism and sewing machine with same
CN111455580A
Sewing machine
CN111945312A
Lubricator of sewing machine
JP1999057269A
Sewing machine
JP2010068850A