Electromagnet ejector rod telescoping adjusting method, device and equipment and medium

By obtaining the length of the solenoid pole in real time and determining the extension strategy based on the length, the problems of low manual adjustment efficiency and large error in the prior art are solved, and efficient and accurate pole extension control is achieved.

CN119763977APending Publication Date: 2025-04-04BEIJING TIANMA INTELLIGENT CONTROL TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411801857.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing electromagnet rod adjustment method relies on manual operation, with low efficiency and large errors, and cannot guarantee the consistency of the product.

Method used

By obtaining the real-time outside length of the pin, determining the extension strategy based on the real-time length, controlling the extension of the pin, and stopping the extension after reaching the preset length range.

Benefits of technology

It realizes rapid, efficient and precise control of the extension of the solenoid pole, reducing manual operation errors and ensuring product consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119763977A_ABST
    Figure CN119763977A_ABST
Patent Text Reader

Abstract

The invention provides a method, device and equipment for adjusting stretching of an electromagnet ejector rod and a medium, and the method comprises the steps: obtaining the real-time external length of the ejector rod in the stretching process of the ejector rod; and an ejector rod extending strategy is determined based on the real-time external length, the ejector rod is controlled to extend based on the ejector rod extending strategy, and extending is stopped after the real-time external length falls into the preset extending length range. In the ejection rod extending process, the ejection rod is controlled to extend based on the ejection rod extending strategy matched with the real-time external length, and the ejection rod stops extending after the real-time external length falls into the preset extending length range, so that the ejection rod of the electromagnet can be quickly, efficiently and accurately controlled to extend, and the operation is easy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electromagnet control technology, and in particular to a method, device, equipment and medium for adjusting the extension and retraction of an electromagnet push rod. Background Art

[0002] The ejector pin of the electromagnet will extend after the coil is energized, and the length of the ejector pin needs to be within an acceptable range. The existing adjustment scheme is purely manual adjustment, where the ejector pins on both sides of the electromagnet are pressed against the ejector pins of the two instruments, and after the ejector pins are extended after energization, the ejector pins on both sides of the electromagnet are manually adjusted to the acceptable range. The problems of manual adjustment are obvious, mainly reflected in low efficiency, large errors, and failure to ensure product consistency. The manual method is time-consuming, labor-intensive, inefficient, and has high labor costs. Summary of the invention

[0003] In view of the problems existing in the prior art, the present invention provides a method, device, equipment and medium for adjusting the extension and retraction of an electromagnet push rod.

[0004] The present invention provides a method for adjusting the extension and retraction of an electromagnet push rod, comprising: When the ejector rod is extended, the real-time length of the ejector rod outside is obtained; The push rod extension strategy is determined based on the real-time outside length, and the push rod extension is controlled based on the push rod extension strategy, and the extension is stopped after the real-time outside length falls into a preset extension length range.

[0005] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, an initial point and a plurality of length points are divided from the beginning of extension of the push rod to the maximum value of a preset extension length range, the initial point corresponds to an initial extension strategy, each length point corresponds to a push rod extension strategy, each push rod extension strategy is different, and accordingly, the push rod extension strategy is determined based on the real-time outside length, and the push rod extension is controlled based on the push rod extension strategy, including: When it is determined that the ejector rod begins to extend, controlling the ejector rod to extend based on the initial extension strategy; After determining that the real-time outside length reaches a length point, the push rod is controlled to continue to be extended based on the push rod extension strategy corresponding to the reached length point.

[0006] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method further comprises: When it is determined that the number of times the push rod is extended reaches the first number, the average execution time of executing each extension strategy is obtained; Based on the average execution time of each stretching strategy, each stretching strategy is executed in sequence.

[0007] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method further comprises: When it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number and the real-time outside length of the ejector rod still falls within the preset extension length range, the average execution time of executing each extension strategy is obtained again; Based on the average execution time of each extension strategy obtained again, each extension strategy is executed in sequence.

[0008] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method further comprises: When it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number, and the real-time outside length of the push rod does not fall within the preset extension length range, each extension strategy is adjusted so that the real-time outside length of the push rod falls within the preset extension length range again.

[0009] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method further comprises: During the retraction process of the ejector rod, the real-time external length of the ejector rod is obtained; A push rod retraction strategy is determined based on the real-time outside length, and the push rod retraction is controlled based on the push rod retraction strategy, and the retraction is stopped after the real-time outside length falls into a preset retraction length range.

[0010] According to a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method further comprises: Get real-time current signal; estimating the total time of the ejector rod extending or the total time of the ejector rod retracting based on the real-time current information; Based on the estimated total time length of the push rod extension or the estimated total time length of the push rod retraction, it is determined that the extension has been completed or the retraction has been completed.

[0011] The present invention also provides an adjustment device for the extension and retraction of an electromagnet push rod, comprising: An acquisition module is used to acquire the real-time external length of the ejector rod during the ejector rod extension process; The regulating module is used to determine the push rod extension strategy based on the real-time outside length, control the push rod extension based on the push rod extension strategy, and stop extending the push rod after the real-time outside length falls into a preset extension length range.

[0012] The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned methods for adjusting the extension and retraction of the electromagnet push rod is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for adjusting the extension and retraction of the electromagnet push rod as described above is implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for adjusting the extension and retraction of the electromagnet push rod.

[0015] The present invention provides an adjustment method, device, equipment and medium for the extension and retraction of an electromagnet push rod. During the extension process of the push rod, the push rod extension is controlled based on a push rod extension strategy that matches the real-time outside length, and the extension is stopped after the real-time outside length falls into a preset extension length range. The extension of the electromagnet push rod can be controlled quickly, efficiently and accurately, and is easy to operate. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 The present invention is a schematic flow chart of the method for adjusting the extension and retraction of the electromagnet push rod provided by the present invention.

[0018] Figure 2 It is a structural schematic diagram of the adjusting device for the extension and retraction of the electromagnet push rod provided by the present invention.

[0019] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] See also Figure 1 , a schematic flow chart of a method for adjusting the extension and retraction of an electromagnet push rod provided by the present invention, the method comprising the following steps: Step 11: During the extension of the ejector rod, obtain the real-time outside length of the ejector rod.

[0022] Step 12: determine the push rod extension strategy based on the real-time outside length, control the push rod extension based on the push rod extension strategy, and stop extending the push rod after the real-time outside length falls into a preset extension length range.

[0023] Regarding step 11 and step 12, it should be noted that in the present invention, an electromagnet is a device that generates a magnetic field through an electric current. It has magnetism when it is powered on, and the magnetism disappears after the power is turned off. The phenomenon of the electromagnet push rod extending is actually an intuitive manifestation of the magnetism generated by the electromagnet when it is powered on. Specifically, when the electromagnet is powered on, the coil inside it will generate a magnetic field, and this magnetic field will magnetize the iron core (i.e., the push rod), turning it into a magnetic field as well. Due to the principle that like magnetic poles repel each other and opposite magnetic poles attract each other, the magnetized push rod will be pushed by the external magnetic field force and extend out.

[0024] In the present invention, when the push rod of the electromagnet is extended, a high-precision length measurement system with a contact length measurement sensor as the core can obtain the real-time external length of the push rod in real time. The real-time external length is the part of the push rod exposed outside relative to the electromagnet itself.

[0025] In the present invention, it is necessary to accurately and quickly control the extension process of the electromagnet push rod so that the extension length of the push rod is within the preset extension length range. It is necessary to control the extension speed of the electromagnet push rod, that is, the electromagnet push rod can be quickly extended outward when it is just extended, and when the push rod is about to reach the preset extension length range, it can be slowly extended. It can be seen that in the process of extending the push rod, it is necessary to divide it into multiple extension stages, and configure different extension speeds at different extension stages. Since the extension of the push rod changes the length of the push rod, different push rod extension strategies can be configured based on different lengths. When the real-time external length reaches a certain length, it is necessary to perform extension control based on the push rod extension strategy corresponding to the length.

[0026] In the present invention, a mechanical structure with a servo system as the core of motion is used as an actuator for adjusting the extension length of the push rod. The extension state of the push rod is controlled in real time based on the push rod extension strategy matched with the real-time external length, so as to stop the extension when the real-time external length falls into the preset extension length range.

[0027] The adjustment method for the extension and retraction of the electromagnet push rod provided by the present invention controls the extension of the push rod based on the push rod extension strategy matched with the real-time outside length during the extension process of the push rod, and stops the extension after the real-time outside length falls into a preset extension length range. The extension of the electromagnet push rod can be controlled quickly, efficiently and accurately and is easy to operate.

[0028] In a further method of the above method, an initial point and multiple length points are divided from the beginning of extension of the push rod to the maximum value of a preset extension length range. The initial point corresponds to an initial extension strategy, and each length point corresponds to a push rod extension strategy, and each push rod extension strategy is different.

[0029] Therefore, when it is determined that the ejector begins to extend, the ejector is first controlled to extend based on the initial extension strategy. Then, when the real-time outside length reaches a certain length point, the ejector is controlled to continue to extend based on the ejector extension strategy corresponding to the reached length point, so that the ejector stops extending when the real-time outside length falls into the preset extension length range.

[0030] In the present invention, the push rod extension strategy can be adjusted by proportion, integral or differential, and its main purpose is to adjust the speed of extending the push rod, or according to the increment of the extension length of the push rod.

[0031] In a further method of the above method, for the control of the ejector rod, the system can be controlled by a programmable controller PLC and an industrial touch screen of a human-machine interaction interface as the control core.

[0032] The operator only needs to set the qualified range of the extension length of the ejector rod and the coded control program on the human-machine interface of the system, and start the system. The system can automatically energize the electromagnet coil and collect the real-time extension length of the electromagnet ejector rod. After collecting the real-time extension length, the control program automatically calculates the extension rate or extension length that needs to be adjusted, and then controls the adjustment mechanism with the servo system as the core to drive the ejector rod to move quickly.

[0033] In the present invention, the push rod extension strategy will be bound and stored with the coded control program and stored in the information system, so as to realize the function of traceability of the whole life cycle information such as the processing process and quality of this product.

[0034] In order to more conveniently execute the extension control of the ejector, when the number of times the ejector is extended reaches a certain number (the first number), the average execution time of each extension strategy can be recorded and counted. When the ejector extension control process is executed again, each extension strategy can be directly executed in sequence according to the average execution time of each extension strategy.

[0035] A further method of the present invention is to execute in sequence based on the execution time of each extension strategy, so that it is temporarily unnecessary to judge whether the real-time extension length reaches each length point each time, and the control of the ejector rod can be responded quickly.

[0036] In a further method of the above method, the ejector pin of the electromagnet may be blocked during use, resulting in an inaccurate length of extension or a change in the extension rate, etc. Therefore, it is necessary to determine whether the extension effect of the ejector pin meets the conditions at intervals.

[0037] In the present invention, when it is determined that the number of times the extension strategy is executed based on the average execution time reaches a certain number (such as the second number), if the real-time external length of the ejector rod still falls within the preset extension length range, the average execution time of executing each extension strategy is obtained again, and then each extension strategy is executed in sequence based on the average execution time of each extension strategy obtained again. The update of the average execution time can make the control of the ejector rod fit the actual use situation, can better ensure that the extension of the ejector rod meets the use requirements, and ensure that the electromagnet plays a better effect in the use of the equipment.

[0038] In addition, when it is determined that the number of times the extension strategy is executed based on the average execution time reaches the first number, if the real-time outside length of the push rod does not fall within the preset extension length range, it means that the extension requirements of the push rod can no longer be met according to the current execution strategy. At this time, it is necessary to adjust each execution extension strategy so that the real-time outside length of the push rod falls within the preset extension length range again.

[0039] In addition, when the real-time external length of the ejector rod fails to fall within the preset extension length range after adjusting each execution extension strategy, it indicates that the electromagnet may have a malfunction. In this case, a warning should be issued to inform the operator to repair or replace it.

[0040] In a further method of the above method, after the electromagnet is powered off, the ejector rod will retract to the initial position. It should be noted that during the ejector rod retraction process, the real-time external length of the ejector rod can also be obtained.

[0041] Then, a push rod retraction strategy is determined based on the real-time outside length, and the push rod retraction is controlled based on the push rod retraction strategy, and the retraction is stopped after the real-time outside length falls into a preset retraction length range.

[0042] It should be noted that since the retraction is performed after the power is turned off, the ejector retraction strategy can retract the ejector to the initial position in a uniform speed operation mode. However, a faster and more accurate strategy can also be used to control the ejector to retract to the initial position.

[0043] In a further method of the above method, it should be noted that the electromagnet will generate a current signal during use, so a real-time current signal can be obtained, and then the total time of the push rod extension or the total time of the push rod retraction is estimated based on the real-time current information, and based on the estimated total time of the push rod extension or the total time of the push rod retraction, it is determined that the extension or retraction has been completed.

[0044] The following is a description of the urban residents travel carbon emission analysis device provided by the present invention. The urban residents travel carbon emission analysis device described below and the urban residents travel carbon emission analysis method described above can be referenced to each other.

[0045] Figure 2FIG. 1 shows a schematic diagram of a structure of an adjustment device for telescopically adjusting an electromagnet push rod provided by the present invention, see FIG. Figure 2 The device comprises an acquisition module 21 and an adjustment module 22, wherein: An acquisition module is used to acquire the real-time external length of the ejector rod during the ejector rod extension process; The adjustment module is used to determine the push rod extension strategy based on the real-time outside length, control the push rod extension based on the push rod extension strategy, and stop extending the push rod after the real-time outside length falls into a preset extension length range.

[0046] In a further device of the above device, an initial point and a plurality of length points are divided from the beginning of extension of the ejector rod to the maximum value of a preset extension length range, the initial point corresponds to an initial extension strategy, each length point corresponds to an ejector rod extension strategy, each ejector rod extension strategy is different, and accordingly, the adjustment module is specifically used for: When it is determined that the ejector rod begins to extend, the ejector rod is controlled to extend based on an initial extension strategy; After determining that the real-time outside length reaches a length point, the push rod is controlled to continue to extend based on the push rod extension strategy corresponding to the reached length point.

[0047] In a further embodiment of the above device, the regulating module is further used for: When it is determined that the number of times the push rod is extended reaches the first number, the average execution time of each extension strategy is obtained; Based on the average execution time of each stretching strategy, each stretching strategy is executed in sequence.

[0048] In a further embodiment of the above device, the regulating module is further used for: When it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number and the real-time outside length of the ejector rod still falls within the preset extension length range, the average execution time of executing each extension strategy is obtained again; Based on the average execution time of each extension strategy obtained again, each extension strategy is executed in sequence.

[0049] In a further device of the above device, the adjustment module is also used to: when it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number and the real-time outside length of the push rod does not fall within the preset extension length range, adjust each execution extension strategy so that the real-time outside length of the push rod falls within the preset extension length range again.

[0050] In a further embodiment of the above device, the regulating module is further used for: During the retraction process of the ejector rod, the real-time external length of the ejector rod is obtained; The push rod retraction strategy is determined based on the real-time outside length, the push rod retraction is controlled based on the push rod retraction strategy, and the retraction is stopped after the real-time outside length falls into a preset retraction length range.

[0051] In a further embodiment of the above device, the regulating module is further used for: Get real-time current signal; Estimate the total time of ejector extension or ejector retraction based on real-time current information; Based on the estimated total time of the ejector rod extending or the estimated total time of the ejector rod retracting, it is determined that the ejection has been completed or the retraction has been completed.

[0052] The adjusting device for telescoping the electromagnet push rod provided by the present invention controls the extension of the push rod based on the push rod extension strategy matched with the real-time outside length during the extension process of the push rod, and stops the extension after the real-time outside length falls into a preset extension length range. The extension of the electromagnet push rod can be controlled quickly, efficiently and accurately and is easy to operate.

[0053] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 31 (processor), a communication interface 32 (Communications Interface), a memory 33 (memory) and a communication bus 34, wherein the processor 31, the communication interface 32, and the memory 33 communicate with each other through the communication bus 34. The processor 31 may call the logic instructions in the memory 53 to execute the adjustment method for the extension of the electromagnet push rod, the method comprising: obtaining the real-time outside length of the push rod during the extension of the push rod; determining the push rod extension strategy based on the real-time outside length, controlling the push rod to extend based on the push rod extension strategy, and stopping the extension after the real-time outside length falls into a preset extension length range.

[0054] In addition, the logic instructions in the above-mentioned memory 33 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0055] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the adjustment method for the extension and retraction of the electromagnet push rod provided by the above-mentioned methods. The method includes: during the extension of the push rod, obtaining the real-time outside length of the push rod; determining the push rod extension strategy based on the real-time outside length, controlling the extension of the push rod based on the push rod extension strategy, and stopping the extension after the real-time outside length falls into a preset extension length range.

[0056] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the adjustment method of the extension and retraction of the electromagnetic push rod provided by the above-mentioned methods. The method includes: during the extension of the push rod, obtaining the real-time outside length of the push rod; determining the push rod extension strategy based on the real-time outside length, controlling the extension of the push rod based on the push rod extension strategy, and stopping the extension after the real-time outside length falls into a preset extension length range.

[0057] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0058] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for adjusting the extension and retraction of an electromagnet push rod, characterized in that: include: When the ejector rod is extended, the real-time external length of the ejector rod is obtained; The push rod extension strategy is determined based on the real-time outside length, and the push rod extension is controlled based on the push rod extension strategy, and the extension is stopped after the real-time outside length falls into a preset extension length range.

2. The method for adjusting the extension and retraction of the electromagnet push rod according to claim 1, characterized in that: An initial point and a plurality of length points are divided between the beginning of extension of the ejector rod and the maximum value of a preset extension length range, the initial point corresponds to an initial extension strategy, each length point corresponds to an ejector rod extension strategy, each ejector rod extension strategy is different, and accordingly, the ejector rod extension strategy is determined based on the real-time outside length, and the ejector rod extension is controlled based on the ejector rod extension strategy, including: When it is determined that the ejector rod begins to extend, controlling the ejector rod to extend based on the initial extension strategy; After determining that the real-time outside length reaches a length point, the push rod is controlled to continue to be extended based on the push rod extension strategy corresponding to the reached length point.

3. The method for adjusting the extension and retraction of the electromagnet push rod according to claim 2, characterized in that: The method further comprises: When it is determined that the number of times the push rod is extended reaches the first number, the average execution time of executing each extension strategy is obtained; Based on the average execution time of each stretching strategy, each stretching strategy is executed in sequence.

4. The method for adjusting the extension and retraction of the electromagnet push rod according to claim 3, characterized in that: The method further comprises: When it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number and the real-time outside length of the ejector rod still falls within the preset extension length range, the average execution time of executing each extension strategy is obtained again; Based on the average execution time of each extension strategy obtained again, each extension strategy is executed in sequence.

5. The method for adjusting the extension and retraction of the electromagnet push rod according to claim 4, characterized in that: The method further comprises: When it is determined that the number of times the extension strategy is executed based on the average execution time reaches the second number, and the real-time outside length of the push rod does not fall within the preset extension length range, each extension strategy is adjusted so that the real-time outside length of the push rod falls within the preset extension length range again.

6. The method for adjusting the extension and retraction of the electromagnet push rod according to any one of claims 1 to 5, characterized in that: The method further comprises: During the retraction process of the ejector rod, the real-time external length of the ejector rod is obtained; A push rod retraction strategy is determined based on the real-time outside length, and the push rod retraction is controlled based on the push rod retraction strategy, and the retraction is stopped after the real-time outside length falls into a preset retraction length range.

7. The method for adjusting the extension and retraction of the electromagnet push rod according to claim 6, characterized in that: The method further comprises: Get real-time current signal; estimating the total time of the ejector rod extending or the total time of the ejector rod retracting based on the real-time current information; Based on the estimated total time length of the push rod extension or the estimated total time length of the push rod retraction, it is determined that the extension has been completed or the retraction has been completed.

8. An adjustment device for the extension and retraction of an electromagnet push rod, characterized in that: include: An acquisition module is used to acquire the real-time external length of the ejector rod during the ejector rod extension process; The regulating module is used to determine the push rod extension strategy based on the real-time outside length, control the push rod extension based on the push rod extension strategy, and stop extending the push rod after the real-time outside length falls into a preset extension length range.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the adjustment method for the extension and retraction of the electromagnet push rod as described in any one of claims 1-7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for adjusting the extension and retraction of the electromagnet push rod as described in any one of claims 1 to 7 is implemented.