Anti-interference electricity protection method and device for motor

By calculating the actual sampled value of the reference voltage for the system working voltage of the voltage conversion circuit and energy storage circuit in the motor anti-shock protection device, the effective value of the three-phase bus voltage is corrected in real time, which solves the problem of calculation inaccuracy caused by the drop in the system working voltage. It improves the real-time and accuracy of power failure detection and ensures the rapid restart of the motor.

CN118841918APending Publication Date: 2024-10-25CHANGSHU SWITCHGEAR MFG CO LTD (FORMER CHANGSHU SWITCHGEAR PLANT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410877731.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

During the current surge detection process of the existing motor anti-slosh protection device, the three-phase bus voltage sampling value is too large due to the drop in the system operating voltage, causing calculation inaccuracies and affecting the speed and accuracy of the detection.

Method used

By calculating the actual sampled value of the reference voltage for the system operating voltage output in parallel by the voltage conversion circuit and the energy storage circuit, the effective value of the three-phase bus voltage is corrected in real time to ensure that the correction coefficient is updated in each sampling period and improve the real-time accuracy of power surge detection. sex and accuracy.

Benefits of technology

It realizes the accurate detection and correction of the three-phase bus voltage after power failure or power loss, ensures the correct execution of the anti-power function, and ensures the quick and accurate restart of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118841918A_ABST
    Figure CN118841918A_ABST
Patent Text Reader

Abstract

The invention discloses an anti-interference electricity protection method for a motor. After voltage sag or even power loss occurs, the reference voltage required by voltage sampling changes along with the reduction of the working voltage of the system, so that the voltage sampling value of the three-phase bus is too large, and the calculation of the voltage value of the three-phase bus is not accurate. In order to solve the technical problem, the change of the actual sampling value of the reference voltage relative to the theoretical sampling value is quickly and accurately calculated, so that the effective value of the three-phase bus voltage is corrected in real time, the real-time performance and the accuracy of interference electricity detection are ensured, and the accuracy of the implementation of the interference electricity resisting function is further ensured. The invention further discloses an anti-interference electricity protection device for the motor. Compared with the prior art, the calculated effective voltage value is corrected in real time along with the decrease of the working voltage of the system in the interference electricity detection process, the rapidity and accuracy of interference electricity detection can be ensured, and correct execution of the interference electricity resisting function is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method and a device for protecting a motor from electric shaking, and belongs to the technical field of low-voltage electrical equipment. Background Art

[0002] Traditional motor protection devices (such as thermal relays, etc.) only play a protective role, and generally use external buttons to control the start and stop of the motor circuit. During the operation of the motor, due to internal and external reasons such as lightning strikes, short circuits, power plant failures, etc., the grid voltage fluctuates greatly, and even the power outage lasts for several seconds, which is commonly known as "power shaking". When power shaking occurs, most motors and other equipment that use contactors to control power supply will automatically stop due to the release of the contactor. Even if normal power supply is restored immediately, the motor will not continue to work due to the lack of automatic restart function. Human intervention is required to manually control the motor to restart, and the motor cannot be restarted in the first time, which seriously affects production continuity. In addition, power shaking can cause large-scale power loss of electrical equipment, resulting in unqualified products and waste of raw materials and energy. In addition, after the power shaking ends and the grid voltage is restored, the group starting current of a large number of electrical equipment is large. Once it exceeds the maximum value that the grid can withstand, it will lower the bus voltage and cause the motor equipment to become unstable and stop, and even damage the generator. To this end, the main function of the motor anti-power-swing products currently on the market is to keep the control contactor from releasing for a certain period of time after a power shake or even a power outage to continue to maintain the operation of the motor equipment, and to automatically re-engage the control contactor in batches in sequence after the power shake ends and the grid voltage is restored to restore the operation of the motor equipment.

[0003] Existing motor anti-power swing protection devices are usually provided with a voltage conversion circuit and an energy storage circuit with parallel outputs. The voltage conversion circuit is used to convert the grid voltage into the system operating voltage of the motor anti-power swing protection device when the grid voltage is normal and charge the energy storage circuit at the same time. When the grid voltage is abnormal and causes the voltage conversion circuit to lose power, the energy storage circuit outputs the system operating voltage. The realization of the anti-power swing protection function requires power swing detection first, usually by sampling the three-phase bus voltage in the motor power supply circuit, and then calculating the effective value of the three-phase bus voltage based on the sampling result, and finally judging whether power swing occurs or power swing is restored based on the effective value of the three-phase bus voltage; then, according to the power swing detection result, the corresponding anti-power swing protection action is performed, such as controlling the motor to restart immediately or delay restart. Accurate power swing detection is a prerequisite for anti-power swing protection. However, for anti-power swing protection devices that use voltage conversion circuits and energy storage circuits in parallel to output system working voltage, after a power swing or even a power outage, as the system working voltage drops, the reference voltage required for voltage sampling will change accordingly, causing the three-phase bus voltage sampling value to be too large and thus leading to inaccurate calculation of the three-phase bus voltage value. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a motor anti-electrical shaking protection method. During the electric shaking detection process, the calculated voltage effective value is corrected in real time as the system working voltage decreases, thereby ensuring the rapidity and accuracy of the electric shaking detection and the correct execution of the anti-electrical shaking function.

[0005] The present invention specifically adopts the following technical solutions to solve the above technical problems:

[0006] A motor anti-power swing protection method is provided, which samples the three-phase bus voltage in the motor power supply circuit, then calculates the effective value of the three-phase bus voltage according to the sampling result, and finally judges whether power swing occurs or power swing is restored according to the effective value of the three-phase bus voltage, and then performs the corresponding anti-power swing protection action; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by the voltage conversion circuit and the energy storage circuit in parallel, and the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power; the calculation of the effective value of the three-phase bus voltage according to the sampling result is performed in each sampling period, as shown in the following formula:

[0007]

[0008] Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

[0009] In one embodiment, the actual sampled value AdVr of the reference voltage is obtained by sampling the reference voltage through an independent sampling channel.

[0010] In another embodiment, the voltage sampling is to sequentially step down the three-phase bus voltage, raise the reference voltage, and perform AD sampling; when calculating the correction coefficient Xs, the average value of the bus voltage sampling values ​​of the first N sampling cycles is used as the actual sampling value AdVr of the reference voltage, and N is the number of voltage sampling times in one cycle.

[0011] Preferably, the judgment of whether electric shock occurs or is recovered is based on the effective value of the three-phase bus voltage, specifically: if the minimum value among the effective values ​​of the three-phase bus voltage is less than or equal to the electric shock voltage threshold, it is judged that electric shock occurs; after the electric shock occurs, if the minimum value among the effective values ​​of the three-phase bus voltage is greater than or equal to the electric shock recovery voltage threshold, it is judged that electric shock is recovered; the electric shock recovery voltage threshold is greater than the electric shock voltage threshold.

[0012] Preferably, the corresponding anti-power swing protection action is executed, specifically: if the power swing time is less than or equal to the power swing time threshold, the motor is automatically controlled to restart immediately; if the power swing time is greater than the power swing time threshold but less than or equal to the maximum allowable power swing time limit, the motor is automatically controlled to restart after a set delay; if the power swing time is greater than the maximum allowable power swing time limit, the motor does not automatically restart; the maximum allowable power swing time limit>power swing time threshold.

[0013] Based on the same inventive concept, the following technical solutions can also be obtained:

[0014] A motor anti-electrical shaking protection device, comprising:

[0015] The power sway detection unit is used to sample the three-phase bus voltage in the motor power supply circuit, and then calculate the effective value of the three-phase bus voltage according to the sampling result, and finally judge whether power sway occurs or power sway is restored according to the effective value of the three-phase bus voltage; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by the voltage conversion circuit and the energy storage circuit in parallel, and the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power;

[0016] The power shaking protection execution unit is used to execute the corresponding anti-power shaking protection action according to the detection result of the power shaking detection unit;

[0017] It is characterized in that the calculation of the effective value of the three-phase bus voltage according to the sampling result is performed in each sampling cycle, as shown in the following formula:

[0018]

[0019] Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

[0020] In one embodiment, the actual sampled value AdVr of the reference voltage is obtained by sampling the reference voltage through an independent sampling channel.

[0021] In another embodiment, the voltage sampling is to sequentially step down the three-phase bus voltage, raise the reference voltage, and perform AD sampling; when calculating the correction coefficient Xs, the average value of the bus voltage sampling values ​​of the first N sampling cycles is used as the actual sampling value AdVr of the reference voltage, and N is the number of voltage sampling times in one cycle.

[0022] Preferably, the judgment of whether electric shock occurs or is recovered is based on the effective value of the three-phase bus voltage, specifically: if the minimum value among the effective values ​​of the three-phase bus voltage is less than or equal to the electric shock voltage threshold, it is judged that electric shock occurs; after the electric shock occurs, if the minimum value among the effective values ​​of the three-phase bus voltage is greater than or equal to the electric shock recovery voltage threshold, it is judged that electric shock is recovered; the electric shock recovery voltage threshold is greater than the electric shock voltage threshold.

[0023] Preferably, the corresponding anti-power swing protection action is executed, specifically: if the power swing time is less than or equal to the power swing time threshold, the motor is automatically controlled to restart immediately; if the power swing time is greater than the power swing time threshold but less than or equal to the maximum allowable power swing time limit, the motor is automatically controlled to restart after a set delay; if the power swing time is greater than the maximum allowable power swing time limit, the motor does not automatically restart; the maximum allowable power swing time limit>power swing time threshold.

[0024] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0025] After a power outage or even a power outage occurs, the three-phase bus voltage sampling value will be too large as the system operating voltage drops. The present invention quickly and accurately calculates the change in the actual sampling value of the reference voltage relative to the theoretical sampling value, thereby making real-time corrections to the effective value of the three-phase bus voltage. The three-phase bus voltage correction coefficient can be updated in each sampling cycle, thereby ensuring the real-time and accuracy of power outage detection and the accuracy of the anti-power outage function. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the structural principle of a specific embodiment of the motor anti-electrical shaking protection device of the present invention;

[0027] Figure 2 It is a specific circuit diagram of a voltage sampling circuit and an energy storage circuit. DETAILED DESCRIPTION

[0028] For the anti-power sway protection device that uses a voltage conversion circuit and an energy storage circuit in parallel to output the system working voltage, after a power sway or even a power outage occurs, as the system working voltage drops, the reference voltage required for voltage sampling will change accordingly, which will cause the three-phase bus voltage sampling value to be too large and thus lead to inaccurate calculation of the three-phase bus voltage value. In response to this technical problem, the solution of the present invention is to quickly and accurately calculate the change of the actual sampling value of the reference voltage relative to the theoretical sampling value, thereby making real-time corrections to the effective value of the three-phase bus voltage to ensure the real-time and accuracy of power sway detection, thereby ensuring the accuracy of the anti-power sway function.

[0029] The present invention specifically adopts the following technical solutions to solve the above technical problems:

[0030] A motor anti-power swing protection method is provided, which samples the three-phase bus voltage in the motor power supply circuit, then calculates the effective value of the three-phase bus voltage according to the sampling result, and finally judges whether power swing occurs or power swing is restored according to the effective value of the three-phase bus voltage, and then performs the corresponding anti-power swing protection action; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by the voltage conversion circuit and the energy storage circuit in parallel, and the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power; the calculation of the effective value of the three-phase bus voltage according to the sampling result is performed in each sampling period, as shown in the following formula:

[0031]

[0032] Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

[0033] A motor anti-electrical shaking protection device, comprising:

[0034] The power sway detection unit is used to sample the three-phase bus voltage in the motor power supply circuit, and then calculate the effective value of the three-phase bus voltage according to the sampling result, and finally judge whether power sway occurs or power sway is restored according to the effective value of the three-phase bus voltage; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by the voltage conversion circuit and the energy storage circuit in parallel, and the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power;

[0035] The power shaking protection execution unit is used to execute the corresponding anti-power shaking protection action according to the detection result of the power shaking detection unit;

[0036] It is characterized in that the calculation of the effective value of the three-phase bus voltage according to the sampling result is performed in each sampling cycle, as shown in the following formula:

[0037]

[0038] Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

[0039] In the above technical solution, no matter what implementation scheme is adopted by the voltage sampling circuit, the actual sampling value AdVr of the reference voltage can be obtained by sampling the reference voltage through an independent sampling channel, and then the correction coefficient Xs is calculated to perform real-time correction on the effective value of the three-phase bus voltage in the current sampling period; however, this method requires an additional sampling port of the control circuit, which is not suitable when the sampling ports are limited. Therefore, the present invention further proposes the following preferred solution:

[0040] The voltage sampling is to sequentially step down the three-phase bus voltage, raise the reference voltage, and perform AD sampling; when calculating the correction coefficient Xs, the average value of the bus voltage sampling values ​​of the first N sampling cycles is used as the actual sampling value AdVr of the reference voltage, where N is the number of voltage sampling times in one cycle.

[0041] In order to facilitate public understanding, the technical solution of the present invention is described in detail below through a specific embodiment and in conjunction with the accompanying drawings:

[0042] The motor anti-electrical shaking protection device of this embodiment is as follows: Figure 1 As shown, it includes a power conversion circuit, which converts the main circuit voltage into a system working voltage to supply power to the internal circuit of the protection device; an energy storage circuit, which is connected to the output side of the power conversion circuit, and the energy storage circuit is charged by the power conversion circuit. When the power grid shakes, when the power conversion circuit loses power, it is used to supply power to the internal circuit; a reference voltage circuit, which is connected to the output sides of the power conversion circuit and the energy storage circuit at the same time, and outputs a stable voltage as the reference voltage of the system through a power reference chip, which is used to provide a stable and accurate voltage reference; a current sampling circuit, which samples the three-phase current in the motor power supply circuit; a voltage sampling circuit, which samples the three-phase voltage in the motor power supply circuit; a microprocessor circuit, which processes the sampling results of the current sampling circuit and the voltage sampling circuit; a clock circuit, which is used for real-time timing and communicates with the microprocessor circuit to transmit the time to the microprocessor in real time; a storage circuit, which is used to store time and other data, such as the time when the power shake occurs and the time when the power shake is restored; a first relay circuit and a second relay circuit, which are used to control the start and stop of the motor, the first relay circuit and the second relay circuit are respectively connected to the microprocessor circuit, and the first relay contact is connected in series in the contactor coil power control circuit; the second relay contact is connected in parallel with the external start signal. In addition, if Figure 1 As shown, the motor anti-power swing protection device in this embodiment also includes a group of relay circuits in addition to the first and second relay circuits. This group of relay circuits are all connected to the microprocessor circuit for switching output such as fault indication.

[0043] like Figure 1As shown, the motor power supply circuit is connected in series with a circuit breaker QF, a contactor KM and the motor anti-electrical sway protection device of the present invention. The motor anti-electrical sway protection device can detect the voltage in the power supply circuit and judge whether the power supply circuit has electric sway and whether the electric sway has recovered according to the detection result, and perform the corresponding anti-electrical sway protection action by controlling the first and second relay circuits. The coil power supplies A1 and A2 of the contactor KM are controlled by external start-stop buttons (SS1 stop button, SB1 start button). When a fault occurs, the motor anti-electrical sway protection device controls the first relay contact to disconnect the contactor coil power supply, thereby disconnecting the motor circuit to protect the motor; the second relay contact is connected in parallel with the external start button SB1. After an electric sway event occurs, when the electric sway self-starting condition is met, the motor anti-electrical sway protection device sends a contactor power supply control signal to control the second relay contact to close, connect the contactor coil power supply, and automatically restart the motor that has been stopped by the sway.

[0044] When the power-swing self-starting condition is met, the signal sent by the motor anti-power-swing protection device to control the closing of the second relay is a pulse signal, and a signal to release the second relay is sent again when the fault is reset, to prevent the second relay signal from causing a restart when the fault is reset. At the same time, this connection method can prohibit the automatic restart function when the circuit is in a fault state, and even if the restart signal is sent by mistake, it can prevent restarting because the first relay is in a disconnected state.

[0045] The specific circuit structures of the voltage sampling circuit and the energy storage circuit in this embodiment are as follows: Figure 2 shown.

[0046] After the three-phase bus voltage is stepped down and the reference voltage Vref is raised, Uab, Ubc, and Uca are respectively input into the sampling port of the microprocessor MCU. The microprocessor MCU obtains the analog sampling values ​​of Uab, Ubc, and Uca, and performs data processing to calculate the three-phase bus voltage value. The energy storage circuit in this embodiment is composed of three parts: a charging resistor R1, a clamping diode D1, and a super capacitor E1. The super capacitor E1 is connected in parallel with the electrolytic capacitor C4 smoothing circuit. The super capacitor E1 in the energy storage circuit is an important component of the anti-electrical shaking device. The electric energy stored in it enables the device to maintain normal operation for a period of time after an electric shaking or even power failure; the charging circuit provides an energy storage path for the super capacitor in the energy storage circuit; the discharge circuit provides a discharge path for the super capacitor in the energy storage circuit, and the path is connected to the system working voltage VCC. When the motor electric shaking protection device is in normal working state, the output voltage (for example, +5V) of the power conversion circuit is smoothed by the electrolytic capacitor C4 to provide the system with the working voltage VCC; at the same time, the energy storage circuit of the super capacitor E1 is charged through the charging resistor R1, and the super capacitor E1 stores the electric energy. When the system is shaken, the power conversion circuit loses power, the energy storage circuit supplies power to the system, the voltage of the electrolytic capacitor C4 decreases, the diode D1 is forward-conducted, and the supercapacitor E1 provides the system with the working voltage VCC. In particular, in this embodiment, when the microprocessor detects a power shake, all the relays in the group of relays for switch output that are in working state are unloaded, so that the energy storage circuit can maintain working time to fully meet the automatic restart requirement.

[0047] The specific process of the device detecting power swings and performing anti-power swing protection actions is as follows:

[0048] The microprocessor circuit determines whether the motor is in operation through the current sampling signal;

[0049] If yes, the microprocessor circuit samples and calculates the three-phase bus voltage of the motor circuit through the voltage sampling circuit to determine whether the minimum value of the three-phase bus voltage is less than the shaking voltage threshold;

[0050] If so, the microprocessor circuit identifies it as a power shaking state, and the microprocessor circuit records the power shaking start time T1 in real time; after the power grid has a power shake or even a power outage, the microprocessor circuit samples and calculates in real time and determines whether the minimum value of the three-phase bus voltage is greater than the power shaking voltage recovery threshold. If it is higher than the power shaking voltage recovery threshold, the microprocessor circuit reads the power shaking recovery time T2 in real time, and T2-T1 is the power shaking time;

[0051] If the power-sway time T2-T1 is less than the power-sway time threshold, an immediate restart is executed, and the microprocessor circuit sends a pulse signal to generate a restart instruction for the motor to immediately restart, control the second relay to close, the second relay contact closes, and the contactor coil power is turned on to control the contactor to close, thereby automatically starting the motor and exiting the power-sway state;

[0052] If the power-sway time T2-T1 is greater than the power-sway time threshold value but less than the maximum allowable power-sway time limit, the microprocessor circuit will send out a pulse signal after the set delay time to generate a restart command for the motor to immediately restart, control the second relay to close, close the second relay contact, connect the contactor coil power supply to control the contactor to close, thereby automatically starting the motor and exiting the power-sway state;

[0053] If the power-sway time T2-T1 is greater than the maximum allowable power-sway time limit, the restart will not be performed and the user needs to manually input the start command again to start the motor and exit the power-sway state.

[0054] Obtaining the power shake start time T1 and the power shake recovery time T2: A real-time clock circuit is set inside the motor protection device. When the power is off, the microprocessor reads the real-time clock and stores the power shake start time T1 into the storage circuit. When the voltage is restored, the microprocessor obtains the power shake recovery time T2 through the real-time clock, and obtains the power shake start time T1 by reading the storage circuit.

[0055] In order to solve the problem of inaccurate calculation of three-phase bus voltage values ​​caused by the decrease of system operating voltage after power outage or even power failure, the present invention performs real-time correction on the three-phase bus voltage sampling results according to the change of the actual sampling value of the reference voltage relative to the theoretical sampling value, so as to ensure the real-time and accuracy of power outage detection, and further ensure the accuracy of the anti-power outage function.

[0056] The real-time correction of the three-phase bus voltage sampling result can be specifically carried out in the following manner:

[0057] Create a timing cycle and data storage buffer array: the timing cycle T is both the voltage sampling cycle and the voltage calculation cycle; the data storage buffer array Ui[N] is used to store the three-phase bus voltage sampling values ​​obtained within the timing cycle T. The value of N is determined by the sampling cycle T and the three-phase bus voltage cycle (i.e., cycle), that is, the number of samples in one cycle. For example, if the sampling cycle T is 1ms and the power frequency three-phase bus voltage cycle is 20ms, then N is 20;

[0058] In each cycle T, the voltage sampling data acquired in this sampling is stored in the data storage buffer array Ui[n], where n is the subscript of the array. The array subscript increases by 1 for each sampled data stored. The array subscript n can increase from 0 to N-1. When the array subscript increases to N-1 and the current sampled data is stored, the array subscript n is reset to 0, and the cycle repeats.

[0059] Calculate the actual sampling value AdVr of the reference voltage: The reference voltage Vref is a stable voltage output by the power reference chip. The three-phase bus voltage is stepped down and the reference voltage Vref is raised. Uab, Ubc, and Uca are input into the sampling port of the microprocessor respectively to obtain the analog sampling values ​​of Uab, Ubc, and Uca. In each cycle T, according to the symmetry characteristics of the sinusoidal waveform, the average value of the data storage buffer array Ui[n] in the previous cycle of the current sampling cycle is calculated. The obtained average value is the actual sampling value AdVr of the reference voltage. The formula is expressed as follows:

[0060]

[0061] Calculate the theoretical sampling value AdVl of the reference voltage: When the sampling circuit is determined, the theoretical voltage amplitude Ur of the reference voltage Vref is a certain value. Taking the sampling range of 12-bit precision AD of 5V system as 0~0xFFF (corresponding to decimal 4095) as an example, the calculation of the theoretical sampling value AdVl of the reference voltage is as follows:

[0062]

[0063] Calculate the three-phase bus voltage correction coefficient Xs: In each cycle T, the three-phase bus voltage correction coefficient Xs is calculated according to the actual sampling value AdVr and the theoretical sampling value AdVl of the reference voltage, as shown in formula (3):

[0064]

[0065] Calculate the three-phase bus voltage Uab, Ubc, and Uca: In each cycle T, according to the sampling array Ui[n] of the previous cycle of the three-phase bus voltage, the effective value Ui of the three-phase bus voltage is calculated by using the effective value algorithm combined with the three-phase bus voltage correction coefficient Xs, where i represents ab, bc, and ca respectively; the corrected three-phase bus voltage effective value calculation is shown in formula (4):

[0066]

[0067] The three-phase bus voltage correction coefficient Xs can be calculated in each sampling cycle T. After a power shake or even a power outage, although the three-phase bus voltage sampling value will be too large as the system operating voltage VCC decreases, the three-phase bus voltage correction coefficient Xs can be updated in each cycle T. Therefore, even if the system operating voltage VCC decreases, the real-time and accuracy of the three-phase bus voltage value detection after the power shake can be ensured. Thanks to the real-time and accurate calculation of the three-phase bus voltage, when the power grid shakes or even loses power, the microprocessor circuit can accurately identify the power shake and execute the restart logic according to the three-phase bus voltage.

[0068] In the above real-time correction scheme, the actual sampling value AdVr of the reference voltage Vref is obtained by calculating the average value of N three-phase bus voltage sampling data in the previous cycle, which can save a sampling port; in fact, the actual sampling value AdVr of the reference voltage can also be obtained by sampling the reference voltage through an independent sampling channel, that is, the reference voltage Vref is directly sent to a sampling port of the microprocessor, and the actual sampling value of the reference voltage in each sampling period T is directly obtained by performing analog sampling on the reference voltage Vref. Similarly, the three-phase bus voltage correction coefficient Xs can be calculated in each period T and the effective value of the three-phase bus voltage can be corrected accordingly, thereby ensuring the real-time and accuracy of power swing detection.

Claims

1. A method for protecting a motor against power swing, which samples the three-phase bus voltage in a motor power supply circuit, calculates the effective value of the three-phase bus voltage according to the sampling result, and finally determines whether power swing occurs or power swing is restored according to the effective value of the three-phase bus voltage, and then performs a corresponding anti-power swing protection action; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by a voltage conversion circuit and an energy storage circuit in parallel, the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power; It is characterized in that The calculation of the effective value of the three-phase bus voltage according to the sampling results is performed in each sampling cycle, as shown in the following formula: Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

2. The motor anti-electrical shaking protection method as claimed in claim 1, It is characterized in that The actual sampling value AdVr of the reference voltage is obtained by sampling the reference voltage through an independent sampling channel.

3. The motor anti-electrical shaking protection method as claimed in claim 1, It is characterized in that The voltage sampling is to sequentially step down the three-phase bus voltage, raise the reference voltage, and perform AD sampling; when calculating the correction coefficient Xs, the average value of the bus voltage sampling values ​​of the first N sampling cycles is used as the actual sampling value AdVr of the reference voltage, where N is the number of voltage sampling times in one cycle.

4. The motor anti-power swing protection method as claimed in claim 1, It is characterized in that The method of judging whether a power shake occurs or is recovered based on the effective values ​​of the three-phase bus voltage is as follows: if the minimum value among the effective values ​​of the three-phase bus voltage is less than or equal to the power shake voltage threshold, it is judged that a power shake occurs; after a power shake occurs, if the minimum value among the effective values ​​of the three-phase bus voltage is greater than or equal to the power shake recovery voltage threshold, it is judged that a power shake is recovered; the power shake recovery voltage threshold is greater than the power shake voltage threshold.

5. The motor anti-power swing protection method as claimed in claim 1, It is characterized in that The corresponding anti-power swing protection action is specifically executed as follows: if the power swing time is less than or equal to the power swing time threshold, the motor is automatically controlled to restart immediately; if the power swing time is greater than the power swing time threshold but less than or equal to the maximum allowable power swing time limit, the motor is automatically controlled to restart after a set delay; if the power swing time is greater than the maximum allowable power swing time limit, the motor does not automatically restart; the maximum allowable power swing time limit>power swing time threshold.

6. A motor anti-electrical shaking protection device, include: The power sway detection unit is used to sample the three-phase bus voltage in the motor power supply circuit, and then calculate the effective value of the three-phase bus voltage according to the sampling result, and finally judge whether power sway occurs or power sway is restored according to the effective value of the three-phase bus voltage; the reference voltage required for the voltage sampling is obtained by converting the system working voltage output by the voltage conversion circuit and the energy storage circuit in parallel, and the voltage conversion circuit is used to convert the grid voltage into the system working voltage and charge the energy storage circuit when the grid voltage is normal, and the energy storage circuit outputs the system working voltage when the voltage conversion circuit loses power; The power shaking protection execution unit is used to execute the corresponding anti-power shaking protection action according to the detection result of the power shaking detection unit; It is characterized in that the calculation of the effective value of the three-phase bus voltage according to the sampling result is performed in each sampling cycle, as shown in the following formula: Where Ui represents the effective value of the bus voltage of the i-th phase in the current sampling period, N is the number of sampling times in one cycle, Ui[n] represents the n-th voltage sampling value in one cycle, and the correction coefficient AdVl and AdVr are respectively the theoretical sampling value and the actual sampling value of the reference voltage.

7. The motor anti-electrical shaking protection device as claimed in claim 6, It is characterized in that The actual sampling value AdVr of the reference voltage is obtained by sampling the reference voltage through an independent sampling channel.

8. The motor anti-electrical shaking protection device as claimed in claim 6, It is characterized in that The voltage sampling is to sequentially step down the three-phase bus voltage, raise the reference voltage, and perform AD sampling; when calculating the correction coefficient Xs, the average value of the bus voltage sampling values ​​of the first N sampling cycles is used as the actual sampling value AdVr of the reference voltage, where N is the number of voltage sampling times in one cycle.

9. The motor anti-electrical shaking protection device as claimed in claim 6, It is characterized in that The method of judging whether a power shake occurs or is recovered based on the effective values ​​of the three-phase bus voltage is as follows: if the minimum value among the effective values ​​of the three-phase bus voltage is less than or equal to the power shake voltage threshold, it is judged that a power shake occurs; after a power shake occurs, if the minimum value among the effective values ​​of the three-phase bus voltage is greater than or equal to the power shake recovery voltage threshold, it is judged that a power shake is recovered; the power shake recovery voltage threshold is greater than the power shake voltage threshold.

10. The motor anti-electrical shaking protection device as claimed in claim 6, It is characterized in that The corresponding anti-power swing protection action is specifically executed as follows: if the power swing time is less than or equal to the power swing time threshold, the motor is automatically controlled to restart immediately; if the power swing time is greater than the power swing time threshold but less than or equal to the maximum allowable power swing time limit, the motor is automatically controlled to restart after a set delay; if the power swing time is greater than the maximum allowable power swing time limit, the motor does not automatically restart; the maximum allowable power swing time limit>power swing time threshold.