Automatic equipment power-off continuous voltage control method

By using power-off relays and data registers in PLC, the problem that automation equipment cannot automatically recover after power off is solved, and the automation work without human supervision after power off is realized, which improves production efficiency and equipment safety.

CN119847061AActive Publication Date: 2025-04-18ZHEJIANG SAFUN IND
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510041301.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-18
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

The existing technology cannot realize the unattended automation work after power outage, resulting in data loss of servo motors after power outage and cannot be automatically restored, affecting production continuity and equipment safety.

Method used

By using power-off relay and data registers in the PLC, the position information of the servo axis is recorded and automatically restored to the steps before power off after power off, ensuring the continuity of production and data integrity.

Benefits of technology

It realizes unattended operation of automation equipment after power outage, avoids data loss and overvoltage problems, and improves production efficiency and equipment safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847061A_ABST
    Figure CN119847061A_ABST
Patent Text Reader

Abstract

The invention discloses a power-off continuous voltage control method for automatic equipment, which is characterized in that a system can remember press-fitting steps after power failure through a power-off holding relay, data loss caused by power failure is avoided, and production continuity and data integrity are ensured. After power failure, the system can automatically recover to the press-fitting step before power failure, manual intervention is not needed, and the automation level and the production efficiency are improved. According to the invention, high-precision power-off voltage continuing is realized, a user can select to directly continue press fitting or continue press fitting after resetting, and after the power is off during the operation of equipment, the steps before the power is off can be automatically continued, so that unattended automatic work after the power is off is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automation control, and in particular to a control method for power-off and voltage-continuation of automation equipment. Background Art

[0002] Servo motors are often used in automation control equipment because of their precise positioning and quick response. Pulse servos are stable, economical and reliable, and can be positioned by giving pulses via PLC or pulse generators. However, the servo drive itself cannot store the distance that has been positioned or the current step in the automation operation.

[0003] During the operation of the PLC program, the default data is non-power-off retention type, that is, if the PLC suddenly loses power during operation, the program operation will be interrupted, and the servo operation data, completed steps and unfinished steps will be lost. When the power is turned on again, the PLC can only be reset, and then re-pressed according to the built-in program, resulting in waste of semi-finished products before the power is turned off. This impact is particularly serious in multi-part press-fitting occasions. When the power is turned off halfway before the workpiece is pressed, the PLC will re-press it when the power is turned on again, which may cause overpressure, resulting in machine shutdown or damage, and unattended automation after power failure cannot be achieved.

[0004] In order to solve this problem, there are related technical solutions on the market. For example, the PLC controller creates a REAL variable for the motor that needs to remember the position value when the power is off, and sets the REAL variable to a power-off retention variable. However, the basic data type inside the PLC is Integer, that is, a 16-bit integer or a 32-bit integer. There may be errors in the conversion of integer to REAL type. Secondly, the PLC runs in a cycle. When the PLC scans the conversion instruction, it reads and transfers the position information. The stored position information lags behind the actual one. The faster the servo runs, the greater the error. Therefore, the technical solutions on the market have too large errors and still cannot achieve unattended automation after power failure. Therefore, improvements need to be made to realize a dark factory, that is, a smart factory, so that all processing, transportation, and testing processes from raw materials to final products can be completed in an environment without manual operation. Summary of the invention

[0005] The present invention aims at the defects in the prior art such as failure to realize unattended automatic operation after power failure, and provides a new control method for power failure and voltage continuation of automatic equipment.

[0006] In order to solve the above technical problems, the present invention is implemented by the following technical solutions:

[0007] A control method for power-off and voltage-continuation of automation equipment, comprising the following steps:

[0008] S1: The device is powered on, the PLC keeps the state of the power-off holding relay unchanged, clears other relays, and then sets the value of the cyclic operation switch to 1. The PLC records the position information of the servo axis in each fixed scanning cycle. The PLC determines whether the device is shut down normally based on the state of the power-off holding relay. If yes, it goes to step S2, otherwise it goes to step S3;

[0009] S2: Start the servo origin reset program. After the reset is completed, set the value of the servo reset completion flag to 1 and enter step S4;

[0010] S3: PLC extracts the position information of the servo axis before power failure. The user chooses to continue press-fitting directly or to continue press-fitting after resetting. After press-fitting is completed, it goes to step S2;

[0011] S4: Check the automatic operation conditions. When the values ​​of the manual start switch, the cycle operation switch, and the servo reset completion switch are 1 and the value of the manual shutdown switch is 0, enter step S5. Otherwise, jump out of the automatic operation cycle and wait for the user to turn off the power.

[0012] S5: Start the press-fitting program, set the value of the cyclic operation switch to 0, use the power-off holding relay to start the servo press-fitting, and after the press-fitting is completed, clear the power-off holding relay, set the value of the cyclic operation switch to 1, and enter step S4.

[0013] Through the power-off holding relay, the system can remember the press-fitting steps after power failure, avoid data loss caused by power failure, and ensure the continuity of production and data integrity. After power failure, the system can automatically restore to the press-fitting steps before power failure without manual intervention, which improves the level of automation and production efficiency. Users can choose to continue press-fitting directly or continue press-fitting after reset according to actual conditions, which increases the flexibility of operation. The system can judge whether the equipment is shut down normally through the state of the power-off holding relay, and take corresponding operations, which enhances the intelligence of the system. By using the power-off holding data register to record the position information of the servo axis, the error that may be caused by the conversion of integer type to REAL type is reduced, and the positioning accuracy is improved. If you choose to continue press-fitting after resetting, you can avoid power failure errors and ensure accuracy. In the case of multi-part press-fitting, the overpressure problem caused by PLC re-pressing can be avoided after power failure, protecting the safety of the machine and workpiece.

[0014] The present invention realizes high-precision power-off continuation pressing through the above design. The user can choose to continue pressing directly or continue pressing after resetting. After the power is cut off during the operation of the equipment, the operation steps before the power is cut off can be automatically continued, realizing unattended automated operation after power off.

[0015] Preferably, in the above-described control method for power-off and power-on pressing of an automation equipment, in step S5, a power-off holding type relay is used to start the servo pressing, and after each pressing, the value of the power-off holding type relay corresponding to the number of the pressing step is set to 1.

[0016] The power-off holding relay can record every step of the press-fitting process, ensuring that the specific steps before the power outage can be traced after the power outage. Through the setting of the relay, the automation equipment can automatically restore to the press-fitting steps before the power outage after the power outage, without manual intervention, which improves the degree of automation and enhances the reliability of the system.

[0017] Preferably, in the above-mentioned control method for power-off and power-on of an automation equipment, in step S1, the PLC determines whether the equipment is shut down normally by the state of the power-off holding relay. When the value of each numbered power-off holding relay is 0, it is judged as a normal shutdown. When the value of any numbered power-off holding relay is 1, it is judged as a power-off shutdown.

[0018] PLC can accurately determine whether the equipment is shut down normally or due to power failure. By distinguishing between normal shutdown and power failure, the system can take different safety measures to prevent the press-fitting procedure from being started at inappropriate times.

[0019] Preferably, in the above-mentioned control method for continuing pressing after power failure of an automated device, in step S3, continuing pressing is to continue to run the pressing steps before power failure of the pressing program.

[0020] After a power outage, the press-fitting step can be continued from before the power outage, maintaining the continuity of production and enhancing the stability of the system. The automated recovery process reduces the reliance on manual operations.

[0021] Preferably, in the above-mentioned control method for powering on and continuing pressing of automated equipment, in step S3, when the user chooses to continue pressing directly or to continue pressing after resetting, the value of the manual start switch is set to 1.

[0022] By setting a manual start switch, it can be ensured that the pressing process will not start until the user has made a clear selection. The user has direct control over the pressing process through the manual start switch, which enhances the safety of the operation and can reduce erroneous operations caused by unclear operating intentions.

[0023] Preferably, in the above-mentioned control method for power-off and power-on of automated equipment, in step S4, if the user chooses to turn on the manual shutdown switch, the value of the manual shutdown switch is set to 1.

[0024] Users can flexibly choose downtime according to production plans or other situations, which improves production flexibility and enhances users' control over automation equipment.

[0025] Preferably, in the above-mentioned control method for power-off and power-on of automation equipment, in step S4, if the value of the servo reset completion mark is 1, the value of the servo reset completion switch is set to 1.

[0026] Performing the next step after the servo system reset is complete can help avoid system instability caused by incomplete reset. This ensures that the servo system operates in a safe state and reduces potential safety risks caused by incomplete system reset.

[0027] Preferably, in the above-mentioned control method for power-off and power-on of an automation equipment, in step S1, the PLC records the position information of the servo axis in each fixed scanning cycle, and the PLC assigns the unsigned 32-bit integer position information data of the servo axis in the pulse register to the power-off retention data register in each fixed scanning cycle.

[0028] The use of power-off retention data registers can maintain the position information of the servo axis even in the event of a power outage to prevent data loss. By recording the position information of the servo axis in each scan cycle, the integrity and continuity of the data are ensured.

[0029] Preferably, in the above-described control method for power-off and voltage-continuation of an automation equipment, in step S3, the PLC extracts the position information of the servo axis before power failure and assigns the position information data of the servo axis in the power-off retention data register to the pulse register.

[0030] After power failure, the system can quickly extract the position information of the servo axis from the power failure retention data register to achieve rapid recovery. When resuming production, the system can stably continue from the state before power failure, which enhances the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0032] The following is combined with Figure 1 The present invention is further described in detail with specific embodiments, but they are not intended to limit the present invention:

[0033] Example 1

[0034] A control method for power-off and voltage-continuation of automation equipment, comprising the following steps:

[0035] S1: The device is powered on, the PLC keeps the state of the power-off holding relay unchanged, clears other relays, and then sets the value of the cyclic operation switch to 1. The PLC records the position information of the servo axis in each fixed scanning cycle. The PLC determines whether the device is shut down normally based on the state of the power-off holding relay. If yes, it goes to step S2, otherwise it goes to step S3;

[0036] S2: Start the servo origin reset program. After the reset is completed, set the value of the servo reset completion flag to 1 and enter step S4;

[0037] S3: PLC extracts the position information of the servo axis before power failure. The user chooses to continue press-fitting directly or to continue press-fitting after resetting. After press-fitting is completed, it goes to step S2;

[0038] S4: Check the automatic operation conditions. When the values ​​of the manual start switch, the cycle operation switch, and the servo reset completion switch are 1 and the value of the manual shutdown switch is 0, enter step S5. Otherwise, jump out of the automatic operation cycle and wait for the user to turn off the power.

[0039] S5: Start the press-fitting program, set the value of the cyclic operation switch to 0, use the power-off holding relay to start the servo press-fitting, and after the press-fitting is completed, clear the power-off holding relay, set the value of the cyclic operation switch to 1, and enter step S4.

[0040] Preferably, in step S5, a power-off holding type relay is used to start the servo press-fitting, and after each press-fitting, the value of the power-off holding type relay corresponding to the number of the press-fitting step is set to 1.

[0041] Preferably, in step S1, the PLC determines whether the equipment is shut down normally by the state of the power-off holding relay. When the value of each numbered power-off holding relay is 0, it is judged as a normal shutdown. When the value of any numbered power-off holding relay is 1, it is judged as a power-off shutdown.

[0042] Preferably, in step S3, continuing the press-fitting is continuing to run the press-fitting step before the power is turned off.

[0043] Preferably, in step S3, when the user chooses to continue press-fitting directly or to continue press-fitting after resetting, the value of the manual start switch is set to 1.

[0044] Preferably, in step S4, if the user chooses to turn on the manual selection shutdown and off-duty switch, the value of the manual selection shutdown and off-duty switch is set to 1.

[0045] Preferably, in step S4, if the value of the servo reset completion flag is 1, the value of the servo reset completion switch is set to 1.

[0046] Preferably, in step S1, the PLC records the position information of the servo axis in each fixed scanning cycle, and the PLC assigns the unsigned 32-bit integer position information data of the servo axis in the pulse register to the power-off retention data register in each fixed scanning cycle.

[0047] Preferably, in step S3, the PLC extracts the position information of the servo axis before power failure, and the PLC assigns the position information data of the servo axis in the power-off retention data register to the pulse register.

[0048] like Figure 1 As shown, the PLC can be Mitsubishi FX3U. The device is powered on, M8002 is powered on and initialized, the PLC intermediate relays M0 to M499 are reset to zero, M500 and above are not reset, and the cycle operation switch M1 is set to 1. In this way, when the power is cut off and restarted, if the reset operation conditions are met, it can continue to run automatically.

[0049] M8000 runs in each scanning cycle. The pulse register unsigned 32-bit integer data D8340 (Y0 axis example) is assigned to the power-off holding register D200. When the power is off and the pressure needs to be continued, the position information of the servo axis before the power is off can be extracted, and D200 is assigned to D8340. Since the scan is once per cycle, there is a lag in the position information. The user can choose to reset and then continue to press to eliminate the position error. Or the user can accept the error of only the current step and choose to reset after continuing to press. Both modes can realize automatic continued pressure after power off.

[0050] The PLC determines whether the device is shut down normally by the state of the power-off holding relay M5. When the values ​​of M500~M599 are all 0, it is judged as a normal shutdown. When the value of any one of M500~M599 is 1, it is judged as a power-off shutdown. If the power is off and shut down, the user can choose to continue pressing directly or continue pressing after resetting. Continuing pressing after resetting is better to avoid the position error of lagging recording. After the continued pressing is completed, the value of the servo reset completion mark M0 is 1, and the value of the servo reset completion switch M4 is 1. At this time, the state is consistent with the normal shutdown start.

[0051] The user can choose to continue pressing directly or continue pressing after resetting through the manual switch, so that the value of the manual start switch M2 is 1. In this way, after an abnormal power failure, the equipment can run automatically even without human supervision. The manual shutdown switch M3 is not started at this time, and the value is 0.

[0052] PLC checks the automatic operation conditions. When the values ​​of the manual start switch M2, the cycle operation switch M1, and the servo reset completion switch M4 are 1 and the value of the manual shutdown switch M3 is 0, the press-fitting procedure is entered:

[0053] In the first step of press-fitting, use the power-off holding intermediate relay M500 to start the first step of servo press-fitting, and set the cyclic operation switch M1 to 0. The purpose of setting M1 to 0 is to prevent the program from being repeatedly executed and entering an infinite loop;

[0054] Pressing step N, use the power-off holding intermediate relay M50N to start running the servo press-fitting step N, where N is a single digit;

[0055] The last step of press-fitting, step 100, uses the power-off holding intermediate relay M599 to start running the servo press-fitting step 100, and the cycle operation switch M1 is set to 1. Here, the last step is taken as step 100 as an example. In actual production, the required steps can be set as needed;

[0056] M500~M599 correspond to the 1st to 100th steps of the press-fitting process. The first step of actual production is set to 0, and the last step of actual production is automatically cleared to zero M5 and set to 1. In this way, it can be automatically cycled. If more steps are required, M5000~M5999 can also be set to correspond to the 1st to 6000th steps of the press-fitting process. This is an example, and you can set it as needed.

[0057] The above pressing procedure is also run when the power is cut off and the pressing is continued from the steps before the power is cut off.

[0058] The user can flexibly select the downtime according to the production plan or other situations, and make the value of the manually selected shutdown switch M3 1. In this way, when the pressing program is completed, the PLC checks whether the automatic operation conditions are met, jumps out of the automatic cycle, and waits for the user to turn off the power.

[0059] When the user selects the mode of continuing press-fitting after reset, the servo origin reset procedure is executed first after the device is powered off and initialized. After the origin reset is completed, the press-fitting steps before power failure are continued, so that the hysteresis position recording error can be eliminated through the origin reset.

[0060] When the user selects the direct continue pressing mode, the program will continue to run from the pressing step before the power failure to the last step. Only one workpiece in one step before the power failure has an error, which does not affect the unattended automatic operation.

[0061] In conclusion, the above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made within the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. A control method for power-off and voltage-continuation of automation equipment, characterized in that: The following steps are involved: S1: The device is powered on, the PLC keeps the state of the power-off holding relay unchanged, clears other relays, and then sets the value of the cyclic operation switch to 1. The PLC records the position information of the servo axis in each fixed scanning cycle. The PLC determines whether the device is shut down normally based on the state of the power-off holding relay. If yes, it goes to step S2, otherwise it goes to step S3; S2: Start the servo origin reset program. After the reset is completed, set the value of the servo reset completion flag to 1 and enter step S4; S3: PLC extracts the position information of the servo axis before power failure. The user chooses to continue press-fitting directly or to continue press-fitting after resetting. After press-fitting is completed, it goes to step S2; S4: Check the automatic operation conditions. When the values ​​of the manual start switch, the cycle operation switch, and the servo reset completion switch are 1 and the value of the manual shutdown switch is 0, enter step S5. Otherwise, jump out of the automatic operation cycle and wait for the user to turn off the power. S5: Start the press-fitting program, set the value of the cyclic operation switch to 0, use the power-off holding relay to start the servo press-fitting, and after the press-fitting is completed, clear the power-off holding relay, set the value of the cyclic operation switch to 1, and enter step S4.

2. A control method for power-off and voltage-continuation of automation equipment according to claim 1, characterized in that: In step S5, the servo press-fitting is started by using a power-off holding type relay, and the value of the power-off holding type relay corresponding to the number of the press-fitting step is set to 1 after each press-fitting.

3. A control method for power-off and voltage-continuation of automation equipment according to claim 2, characterized in that: In step S1, the PLC determines whether the equipment is shut down normally by the state of the power-off holding relay. When the value of each numbered power-off holding relay is 0, it is judged as a normal shutdown. When the value of any numbered power-off holding relay is 1, it is judged as a power-off shutdown.

4. A control method for power-off and voltage-continuation of automation equipment according to claim 3, characterized in that: In step S3, continuing the press-fitting is to continue running the press-fitting steps before the power is turned off.

5. The control method for power-off and voltage-continuation of automation equipment according to claim 1, characterized in that: In step S3, when the user chooses to continue press-fitting directly or to continue press-fitting after resetting, the value of the manual start switch is set to 1.

6. A control method for power-off and voltage-continuation of automation equipment according to claim 1, characterized in that: In step S4, if the user chooses to turn on the manual selection shutdown and off-duty switch, the value of the manual selection shutdown and off-duty switch is set to 1.

7. A control method for power-off and voltage-continuation of automation equipment according to claim 1, characterized in that: In step S4 , if the value of the servo reset completion flag is 1, the value of the servo reset completion switch is set to 1.

8. A control method for power-off and voltage-continuation of automation equipment according to claim 1, characterized in that: In step S1, the PLC records the position information of the servo axis in each fixed scanning cycle. The PLC assigns the unsigned 32-bit integer position information data of the servo axis in the pulse register to the power-off retention type data register in each fixed scanning cycle.

9. A control method for power-off and voltage-continuation of automation equipment according to claim 8, characterized in that: In step S3, the PLC extracts the position information of the servo axis before power failure, and the PLC assigns the position information data of the servo axis in the power failure retention type data register to the pulse register.

Citation Information

Patent Citations

  • Pre-pressing device and control method thereof

    CN103448109A

  • Fault processing method for electric power steering system with MCU arithmetic unit

    CN107433979A

  • Relay output state holding method and used solid state relay

    CN107589699A

  • Power-off reset system applied to electronic equipment

    CN110165632A

  • Unmanned on duty low pressure unit integration switch board for hydroelectric set

    CN206251502U