Rapid discharge method, device and system for capacitive equipment, electronic equipment and medium
By designing a fast discharge system for capacitive equipment, using the combination of discharge circuits and control modules to control the on-off of transistors and quickly release the residual charge of the equipment, the problem of long discharge time in the prior art is solved and the discharge efficiency is improved.
Patent Information
- Application Number
- CN202411112806.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-12
AI Technical Summary
The existing discharge rods have been discharged for too long during the equipment, resulting in low discharge efficiency and affecting working efficiency.
A capacitive equipment rapid discharge system is designed, including a discharge circuit and a control module. By controlling the on and off of the first and second transistors, using equivalent capacitance, equivalent inductance and resistance of the discharge coil, the residual charge of the equipment is quickly released. Reduce discharge time.
The discharge efficiency is significantly improved, the discharge time of the equipment is shortened, and the inefficiency problem caused by the long charge release time in the prior art is avoided.
Smart Images

Figure CN118944420A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of discharge technology, and in particular to a method, device, system, electronic device and medium for rapid discharge of a capacitive device. Background Art
[0002] In power production, when power is shut down for maintenance and testing of equipment, it is necessary to first use a discharge rod to discharge the equipment that meets the maintenance and test conditions to eliminate the residual charge of the equipment; the equivalent circuit of the existing discharge rod can be represented by an RC discharge circuit; wherein R0 represents the equivalent discharge resistance of the discharge circuit, and C is the equivalent capacitance of the equipment; the determination of R0 usually needs to consider the maximum allowable working current of the equipment to avoid damage to the equipment due to excessive discharge current; as the discharge process proceeds, the residual voltage of the equipment will gradually decrease, and the discharge power of the equipment will gradually decrease; however, when the existing discharge rod is discharged, the time is very long, resulting in the discharge usually not having a discharge effect; when the amount of equipment is large, too much time is spent on discharging the equipment, which greatly affects the work efficiency. Summary of the invention
[0003] The present invention provides a capacitive device rapid discharge method, device, system, electronic equipment and medium, which reduces the discharge time of the device and thus improves the discharge efficiency.
[0004] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a capacitive device rapid discharge system, the system comprising: a discharge circuit and a control module; the discharge circuit comprises a device equivalent capacitor, a first discharge resistor, a first transistor, a discharge coil equivalent inductance, a discharge coil resistor, a second transistor and a second discharge resistor;
[0005] The first end of the device equivalent capacitor is electrically connected to the first end of the first transistor and the first end of the first discharge resistor; the second end of the first transistor is electrically connected to the first end of the discharge coil equivalent inductance and the first end of the second transistor; the second end of the discharge coil equivalent inductance is electrically connected to the first end of the discharge coil resistor; the second end of the second transistor is electrically connected to the first end of the second discharge resistor;
[0006] The second end of the equipment equivalent capacitor, the second end of the first discharge resistor, the second end of the discharge coil resistor and the second end of the second discharge resistor are all grounded;
[0007] The control end of the first transistor and the second end of the second transistor are both electrically connected to the control module; the control module is used to control the discharge time by controlling the on and off of the first transistor and the second transistor.
[0008] In a second aspect, an embodiment of the present invention further provides a capacitive device rapid discharge control method, which is applied to the capacitive device rapid discharge system described in the first aspect above; the capacitive device rapid discharge control method includes:
[0009] Obtaining the target discharge voltage of the capacitive device and the maximum allowable current of the capacitive device;
[0010] Controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to the maximum allowable current of the capacitive device based on an inductor current expression;
[0011] During the first on-time, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage, and the device equivalent capacitance;
[0012] Controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0013] During the second on-time, determining a second residual voltage of the capacitive device based on an expression of a secondary discharge current of the resistor, a first residual voltage of the capacitive device, and an equivalent capacitance of the device;
[0014] When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first conduction time of the first transistor is determined according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and the loop is stopped;
[0015] The discharge time is determined according to the first on-time length of the first transistor and the first on-time length of the second transistor determined in N cycles.
[0016] Optionally, during the first on-time, determining a first residual voltage of a capacitive device based on a resistor discharge current expression, the inductor current expression, a target discharge voltage of the capacitive device, and an equivalent capacitance of the device includes:
[0017] Determine the resistor discharge current expression;
[0018] During the first on-time, determining a first discharge charge based on a resistor discharge current expression and an inductor current expression;
[0019] A first residual voltage of the capacitive device is determined according to the first discharge charge, the target discharge voltage of the capacitive device and the device equivalent capacitance.
[0020] Optionally, during the second on-time, determining the second residual voltage of the capacitive device according to the resistor secondary discharge current expression, the first residual voltage of the capacitive device and the device equivalent capacitance includes:
[0021] During the second on-time, determining a second discharge charge based on a resistor secondary discharge current expression;
[0022] A second residual voltage of the capacitive device is determined according to the second discharged charge, the first residual voltage of the capacitive device and the device equivalent capacitance.
[0023] Optionally, the method further includes:
[0024] Real-time collection of inductor current;
[0025] When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first turn-on time of the first transistor is determined according to the equivalent inductance of the discharge coil, the resistance of the discharge coil, the equivalent capacitance of the device, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the inductor current is less than the safety end current during the Nth turn-on time of the first transistor, and the loop is stopped.
[0026] Optionally, based on the inductor current expression, determining the first on-time of the first transistor according to the maximum allowable current of the capacitive device includes:
[0027] Establishing the inductor current expression according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, and the capacitive device target discharge voltage;
[0028] In combination with the inductor current expression, the first on-time of the first transistor is determined according to the maximum allowable current of the capacitive device.
[0029] In a third aspect, an embodiment of the present invention further provides a capacitive device rapid discharge control device, the device comprising:
[0030] An acquisition module is used to acquire a target discharge voltage of a capacitive device and a maximum allowable current of the capacitive device;
[0031] A first duration determination module, used for controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first turn-on duration of the first transistor according to a maximum allowable current of a capacitive device based on an inductor current expression;
[0032] A first residual voltage determination module is used to determine a first residual voltage of a capacitive device within a first conduction time based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and an equivalent capacitance of the device;
[0033] A second duration determination module, used to control the second transistor to be turned on and the first transistor to be turned off, and to determine a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0034] A second residual voltage determination module is used to determine a second discharge charge based on a resistor secondary discharge current expression within a second conduction time; and determine a second residual voltage of the capacitive device according to the discharge charge, the first residual voltage of the capacitive device and the device equivalent capacitance;
[0035] The iterative loop module is used for returning to the loop iteration execution to determine the first conduction time of the first transistor according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device when the second residual voltage of the capacitive device is greater than the safety voltage, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and then stopping the loop;
[0036] The discharge time module is used to determine the discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined by N cycles.
[0037] In a fourth aspect, an embodiment of the present invention provides an ECU, the ECU comprising:
[0038] at least one control module; and
[0039] A memory in communication with at least one control module; wherein,
[0040] The memory stores a computer program that can be executed by at least one control module. The computer program is executed by at least one control module so that the at least one control module can execute the capacitive device rapid discharge control method described in the second aspect.
[0041] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the capacitive device rapid discharge control method described in the second aspect when executed.
[0042] In an embodiment of the present invention, a capacitive device is equivalent to a discharge circuit, and the discharge circuit includes an equivalent capacitor of the device, a first discharge resistor, a first transistor, an equivalent inductance of a discharge coil, a discharge coil resistor, a second transistor and a second discharge resistor; in this way, a control module can control the discharge time by controlling the on and off of the first transistor and the second transistor. Specifically, in the first stage, the control module controls the first transistor to be turned on and the second transistor to be turned off for a preset time. On the one hand, the residual charge of the equivalent capacitor can be released through the first discharge resistor, and on the other hand, the charge can also be released through the equivalent inductance and the discharge coil resistor of the discharge coil; in the second stage, that is, after the preset time, the control module controls the first transistor to be turned off and the second transistor to be turned on for a preset time, and the residual pressure charge of the equivalent capacitor is released through the first discharge resistor again, and at the same time, the inductance loop formed by the equivalent inductance of the discharge coil and the discharge coil resistor releases energy through the second discharge resistor; the two discharge stages are repeated many times, so that the residual charge of the device capacitor is completely released, the purpose of rapid discharge is achieved, and the discharge efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a structural schematic diagram of a capacitive device rapid discharge system provided by an embodiment of the present invention;
[0044] Figure 2 It is a flow chart of a method for quickly discharging a capacitive device provided by an embodiment of the present invention;
[0045] Figure 3 It is a flow chart of another method for quickly discharging a capacitive device provided by an embodiment of the present invention;
[0046] Figure 4 It is a variation diagram of an inductor current showing a periodic oscillation variation trend provided by an embodiment of the present invention;
[0047] Figure 5 This is a structural schematic diagram of a capacitive device rapid discharge control device provided by an embodiment of the present invention:
[0048] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0050] Figure 1 is a structural diagram of a capacitive device rapid discharge system provided by an embodiment of the present invention; Figure 1As shown, the system includes: a discharge circuit 10 and a control module 20; the discharge circuit 10 includes an equipment equivalent capacitor C, a first discharge resistor R0, a first transistor M1, a discharge coil equivalent inductance L, a discharge coil resistor R L , a second transistor M2 and a second discharge resistor Rp;
[0051] The first end of the device equivalent capacitor C is electrically connected to the first end of the first transistor M1 and the first end of the first discharge resistor R0; the second end of the first transistor M1 is electrically connected to the first end of the discharge coil equivalent inductance L and the first end of the second transistor; the second end of the discharge coil equivalent inductance L is electrically connected to the discharge coil resistor R L The first end of the second transistor M2 is electrically connected to the first end of the second discharge resistor Rp;
[0052] The second end of the device equivalent capacitor C, the second end of the first discharge resistor R0, the discharge coil resistor R L The second end of the second discharge resistor Rp and the second end of the second discharge resistor Rp are both grounded;
[0053] The control end of the first transistor M1 and the second end of the second transistor M2 are both electrically connected to the control module 20; the control module 20 is used to control the discharge time by controlling the on and off of the first transistor M1 and the second transistor M2.
[0054] Among them, the resistance range of the first discharge resistor R0 can be determined according to the target discharge voltage of the capacitive device and the maximum allowable current of the capacitive device; in this embodiment, the control module 20 can be used to control the on and off of the first transistor M1 and the second transistor M2 to control the discharge time; specifically, in the first stage, the control module 10 controls the first transistor M1 to be turned on and the second transistor M2 to be turned off for a first preset time, and the residual charge of the device equivalent capacitor C can be released through the first discharge resistor R0 on the one hand, and can also be released through the discharge coil equivalent inductance L and the discharge coil resistance R on the other hand. L Release charge; in the second stage, that is, after the first preset time, the control module 10 controls the first transistor M1 to be turned off, and the second transistor M2 to be turned on for a second preset time, and the residual charge of the device equivalent capacitor C is released through the first discharge resistor R0, while the discharge coil equivalent inductance L and the discharge coil resistance R L The formed inductive loop releases energy through the second discharge resistor Rp; the two discharge stages are iterated multiple times in this way, so that the residual charge of the device equivalent capacitor C is completely released, achieving the purpose of rapid discharge, improving the discharge efficiency, and avoiding the problem of long discharge time caused by the same residual charge of the equivalent capacitor C of the prior art device being released only through the first discharge resistor R0.
[0055] More specifically, the discharge time of the capacitive device rapid discharge system is quantitatively analyzed in combination with the discharge principle. The specific discharge process of the capacitive device rapid discharge system controlled by the control module 20 includes:
[0056] 1) Obtain the target discharge voltage U0 of the capacitive device and the maximum allowable current I of the capacitive device;
[0057] 2) controlling the first transistor M1 to be turned on and the second transistor M2 to be turned off, and determining a first on-time T1 of the first transistor according to the maximum allowable current I of the capacitive device based on the inductor current expression;
[0058] In the stage of controlling the first transistor M1 to be turned on and the second transistor M2 to be turned off, the residual charge of the device equivalent capacitor C is released through two channels, one is through the high-resistance channel of the first discharge resistor R0; the other is through the discharge coil equivalent inductance L and the discharge coil resistance R L The inductor channel is formed; for the inductor channel, an RLC circuit is formed. According to the analysis principle of the second-order circuit, the current i flowing through the inductor channel is l (t) is:
[0059]
[0060] in, L is the equivalent inductance of the discharge coil, RL is the resistance of the discharge coil, C is the equivalent capacitance of the device; U0 is the target discharge voltage of the capacitive device; i l (t) is the expression of inductor current;
[0061] From formula (1), we can see that: when i l When (t)=I, t=T1; T1 is the first conduction time of the first transistor M1; I is the maximum allowable current of the capacitive device; that is, based on the inductor current expression i l (t), determining a first on-time T1 of the first transistor according to a maximum allowable current I of the capacitive device.
[0062] 3) Within the first conduction time T1, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance;
[0063] Among them, within the first conduction time T1, for the high-resistance channel of the first discharge resistor R0, the change of the residual voltage u(t) of the capacitive device causes the channel discharge current i0(t):
[0064]
[0065] Among them, U0 is the target discharge voltage of the capacitive device; R0 is the first discharge resistor; C is the equivalent capacitance of the device; i0(t) is the expression of the resistor discharge current;
[0066] During the first on-time period T1, a first residual voltage of the capacitive device is determined based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance, including:
[0067] i. During the first conduction time T1, the first discharge charge ΔQ1 is determined based on the resistor discharge current expression and the inductor current expression; that is, during the first conduction time T1, the consumed charge ΔQ1 of the device equivalent capacitor C is:
[0068]
[0069] ii. Determine the first residual voltage of the capacitive device according to the first discharge charge ΔQ1, the target discharge voltage U0 of the capacitive device and the device equivalent capacitance C That is, the corresponding capacitive device first residual voltage for:
[0070]
[0071] Among them, U0 is the target discharge voltage of the capacitive device; C is the equivalent capacitance of the device.
[0072] 4) Control the second transistor M2 to be turned on and the first transistor M1 to be turned off, and based on the discharge coil equivalent inductance L and the discharge coil resistance R L and the second discharge resistor Rp determines the second on-time T2 of the second transistor;
[0073] After the first on-time T1, the second transistor M2 is controlled to be on and the first transistor M1 is turned off. During this stage, the current i flowing through the inductor channel is l (t) Through the second discharge resistor Rp and the discharge coil resistor R L The maximum allowable current I of the capacitive device is reduced to less than 0.1%; that is, the accumulated energy on the discharge coil equivalent inductance L is discharged through the second discharge resistor Rp and the discharge coil resistance R L Release; can be directly based on the discharge coil equivalent inductance L, discharge coil resistance R L The second discharge resistor Rp determines the second conduction time T2 of the second transistor to be:
[0074]
[0075] Among them, R L is the discharge coil resistance, C is the equipment equivalent capacitance; Rp is the second discharge resistor.
[0076] 5) During the second conduction time T2, based on the resistor secondary discharge current expression Capacitive equipment first residual voltage and the device equivalent capacitance C to determine the second residual voltage of the capacitive device
[0077] Among them, during the second conduction time T2, the device equivalent capacitance C continues to discharge through the first discharge resistor R0 branch, and the resistor secondary discharge current is for:
[0078]
[0079] in, The first residual voltage discharge time for capacitive equipment is T2, That is the expression of the secondary discharge current of the resistor;
[0080] During the second conduction time T2, based on the expression of the secondary discharge current of the resistor Capacitive equipment first residual voltage and the device equivalent capacitance C to determine the second residual voltage of the capacitive device include:
[0081] i. During the second conduction time, based on the expression of the secondary discharge current of the resistor determining a second discharged charge ΔQ2;
[0082]
[0083] ii. According to the second discharge charge ΔQ2, the first residual voltage of the capacitive device and the equivalent capacitance of the device to determine the second residual voltage of the capacitive device for:
[0084]
[0085] 6) When the second residual voltage of the capacitive device If the voltage is greater than the safety voltage, the loop will be iterated and executed based on the inductor current expression, according to the discharge coil equivalent inductance L and discharge coil resistance R. L , equipment equivalent capacitance C, capacitive equipment second residual voltage and the maximum allowable current I of the capacitive device determine the first conduction time of the first transistor, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage Ur, and the cycle stops;
[0086] Among them, the safety voltage Ur is the voltage at which the capacitive device is discharged from the target discharge voltage of the capacitive device to the expected safety voltage of the capacitive device; in an ideal state, the safety voltage can be close to 0;
[0087] It should be noted that, as the iterative process cycles, the residual voltage of the capacitive device becomes closer and closer to the safety voltage, and in the stage where the first transistor M1 is turned on and the second transistor M2 is turned off, the first turn-on time T1 of the first transistor becomes longer and longer; and in the stage where the first transistor M1 is turned off and the second transistor M2 is turned on, the second turn-on time T2 of the second transistor M2 remains unchanged;
[0088] When the above two stages are iterated N times, the 2Nth residual voltage U T2n When it is lower than the safety voltage, the cycle stops.
[0089] 7) Determine the discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined by N cycles.
[0090] The discharge time is determined according to the first on-time of the first transistor and the first on-time of the second transistor determined by N cycles: N(T1+T2); T1 becomes longer and longer with the iteration process; T2 remains unchanged in each cycle. The same residual charge as the equivalent capacitance of the device is only released through the first discharge resistor. In comparison, the discharge time N(T1+T2) is shorter, which improves the discharge efficiency.
[0091] Based on the same concept, an embodiment of the present invention further provides a capacitive device rapid discharge control method, which is applied to the above-mentioned capacitive device rapid discharge system; Figure 2 FIG. 1 is a flow chart of a method for rapidly discharging a capacitive device provided by an embodiment of the present invention; Figure 2 As shown, the capacitive device rapid discharge control method includes the following steps:
[0092] S110, obtaining a target discharge voltage of a capacitive device and a maximum allowable current of the capacitive device;
[0093] S120, controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to a maximum allowable current of a capacitive device based on an expression of an inductor current;
[0094] Wherein, based on the inductor current expression, the first on-time of the first transistor is determined according to the maximum allowable current of the capacitive device, including: establishing the inductor current expression according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, and the capacitive device target discharge voltage; combining the inductor current expression, determining the first on-time of the first transistor according to the maximum allowable current of the capacitive device. Wherein, the establishment of the inductor current expression is as shown in the above formula (1), which is not described here; determining the first on-time of the first transistor is as shown in the above step 2), which is not described here.
[0095] S130, determining a first residual voltage of the capacitive device within a first conduction time based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance;
[0096] Wherein, during the first conduction time, the first residual voltage of the capacitive device is determined based on the resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage and the device equivalent capacitance, including: determining the resistor discharge current expression; during the first conduction time, determining the first discharge charge based on the resistor discharge current expression and the inductor current expression; determining the first residual voltage of the capacitive device according to the first discharge charge, the capacitive device target discharge voltage and the device equivalent capacitance. Wherein, the resistor discharge current expression is established as shown in the above formula (2); the determination of the first discharge charge is shown in the above formula (3); the determination of the first residual voltage of the capacitive device is shown in the above formula (4), which will not be described here.
[0097] S140, controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0098] The second on-time of the second transistor is determined by equation (5), which will not be described here.
[0099] S150, determining a second residual voltage of the capacitive device within the second conduction time based on an expression of a secondary discharge current of the resistor, a first residual voltage of the capacitive device, and an equivalent capacitance of the device;
[0100] Wherein, during the second conduction time, the second residual voltage of the capacitive device is determined according to the expression of the secondary discharge current of the resistor, the first residual voltage of the capacitive device and the equivalent capacitance of the device, including: during the second conduction time, the second discharge charge is determined based on the expression of the secondary discharge current of the resistor; the second residual voltage of the capacitive device is determined according to the second discharge charge, the first residual voltage of the capacitive device and the equivalent capacitance of the device. Wherein, the expression of the secondary discharge current of the resistor is shown in formula (6), the determination of the second discharge charge is shown in formula (7), and the determination of the second residual voltage of the capacitive device is shown in formula (8), which will not be described here.
[0101] S160, when the second residual voltage of the capacitive device is greater than the safety voltage, return to the loop to iteratively execute based on the inductor current expression, determine the first turn-on time of the first transistor according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and stop the loop;
[0102] S170, determining a discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined in N cycles.
[0103] The determined discharge time is: N(T1+T2); T1 becomes longer and longer as the iterative process repeats; T2 remains unchanged in each cycle; the same residual charge as the equivalent capacitance of the device is only released through the first discharge resistor and the discharge time is longer In comparison, the discharge time N(T1+T2) is shorter, so the present embodiment reduces the discharge time, thereby improving the discharge efficiency.
[0104] Optionally, based on the above method embodiment, the above method embodiment is further optimized. Figure 3 FIG. 1 is a flow chart of another method for rapidly discharging a capacitive device provided by an embodiment of the present invention; Figure 3 As shown, the method includes:
[0105] S210, obtaining a target discharge voltage of a capacitive device and a maximum allowable current of the capacitive device;
[0106] S220, controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to a maximum allowable current of a capacitive device based on an inductor current expression;
[0107] S230, determining a first residual voltage of the capacitive device within a first conduction time based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance;
[0108] S240, controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0109] S250, determining a second residual voltage of the capacitive device within the second conduction time based on an expression of a secondary discharge current of the resistor, a first residual voltage of the capacitive device, and an equivalent capacitance of the device;
[0110] S260, real-time collection of inductor current;
[0111] The inductor current is the current flowing through the discharge coil equivalent inductance L and the discharge coil resistance R when the first transistor M1 is turned on and the second transistor M2 is turned off. L The current i of the inductor channel formed l (t).
[0112] S270. When the second residual voltage of the capacitive device is greater than the safety voltage, return to the loop to iterate and execute based on the inductor current expression, and determine the first conduction time of the first transistor according to the discharge coil equivalent inductance, discharge coil resistance, device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, then stop the loop; or, until the inductor current is less than the safety end current during the N+1th conduction time of the first transistor, then stop the loop.
[0113] Among them, with the cycle of the iterative process, the residual voltage of the capacitive device is getting closer and closer to the safe voltage. In the LC circuit, in each oscillation period (T = 1 / 2π√LC), the inductor current (the inductor current part in the oscillation period can be greater than the maximum allowable current I of the capacitive device) shows a periodic oscillation trend; Figure 4 is a diagram showing a periodic oscillation trend of the inductor current provided by an embodiment of the present invention; Figure 4 As shown in the figure, with the iteration process, the residual voltage of the capacitive device is getting closer and closer to the safety voltage Ur, and the oscillation peak value of the inductor current is getting lower and lower in each oscillation cycle. When the iteration cycle is N times (the number of cycles corresponds to the number of oscillation cycles), the residual voltage of the capacitive device is equal to the safety voltage Ur. Then, after N cycles, the inductor current detected in N oscillation cycles is less than the end current I0. The end current I0 is determined by the safety voltage Ur and the discharge coil resistance R. L Determine; the end current I0 is less than the oscillation peak of the inductor current in each oscillation cycle;
[0114] Reference Figure 4 It can be seen that in the first half of each oscillation cycle (i.e., the on-time T1 of the first transistor M1), the inductor current can reach the maximum allowable current I of the capacitive device. At this time, the first transistor M1 can be directly disconnected and the second transistor M2 can be turned on. In this way, after N cycles, when the inductor current detected during the N+1th on-time of the first transistor is less than the end current I0, it can be determined that the cycle is stopped.
[0115] S270, determining a discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined in N cycles.
[0116] Based on the above embodiments, this embodiment collects the inductor current and comprehensively determines whether to cycle based on the fact that the 2Nth residual voltage of the capacitive device is less than the safety voltage and the inductor current during the N+1th conduction time of the first transistor is less than the safety end current. This improves the reliability of the cycle end judgment and the accuracy of determining the discharge time.
[0117] An embodiment of the present invention further provides a capacitive device rapid discharge control device, which can execute the capacitive device rapid discharge control method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. Figure 5 is a structural schematic diagram of a capacitive device rapid discharge control device provided by an embodiment of the present invention: Figure 5 As shown, the device comprises:
[0118] An acquisition module 100 is used to acquire a target discharge voltage of a capacitive device and a maximum allowable current of the capacitive device;
[0119] A first duration determination module 200, used to control the first transistor to be turned on and the second transistor to be turned off, and to determine a first turn-on duration of the first transistor according to a maximum allowable current of a capacitive device based on an inductor current expression;
[0120] A first residual voltage determination module 300 is used to determine a first residual voltage of a capacitive device within a first conduction time based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance;
[0121] A second duration determination module 400, for controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0122] A second residual voltage determination module 500 is used to determine a second residual voltage of the capacitive device based on a resistor discharge current expression, a first residual voltage of the capacitive device and an equivalent capacitance of the device within a second conduction time;
[0123] The iterative loop module 600 is used to return to the loop iteration execution to determine the first turn-on time of the first transistor based on the inductor current expression according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device when the second residual voltage of the capacitive device is greater than the safety voltage, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and then stop the loop;
[0124] The discharge time module 700 is used to determine the discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined in N cycles.
[0125] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the device includes a processor 80, a memory 81, an input device 82 and an output device 83; the number of processors 80 in the device can be one or more. Figure 6A processor 80 is taken as an example; the processor 80, memory 81, input device 82 and output device 83 in the device can be connected by a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0126] The memory 81 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the capacitive device rapid discharge control method in the embodiment of the present invention. The processor 80 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 81, that is, realizing the above-mentioned capacitive device rapid discharge control method.
[0127] The memory 81 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 81 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 81 may further include a memory remotely arranged relative to the processor 80, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0128] The input device 82 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 83 may include a display device such as a display screen.
[0129] An embodiment of the present invention further provides a storage medium containing computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to execute a capacitive device rapid discharge control method, the method comprising:
[0130] Obtaining the target discharge voltage of the capacitive device and the maximum allowable current of the capacitive device;
[0131] Controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to a maximum allowable current of the capacitive device based on an expression of the inductor current;
[0132] During the first on-time, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, an inductor current expression, a capacitive device target discharge voltage, and a device equivalent capacitance;
[0133] Controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance;
[0134] During the second conduction time, determining the second residual voltage of the capacitive device based on the expression of the secondary discharge current of the resistor, the first residual voltage of the capacitive device and the equivalent capacitance of the device;
[0135] When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first conduction time of the first transistor is determined according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and the loop is stopped;
[0136] The discharge time is determined according to the first on-time length of the first transistor and the first on-time length of the second transistor determined after N cycles.
[0137] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the above method operations, and can also execute related operations in the capacitive device rapid discharge control method provided in any embodiment of the present invention.
[0138] Through the above description of the implementation mode, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention 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 a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or 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 of various embodiments of the present invention.
[0139] It is worth noting that in the embodiment of the above-mentioned search device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0140] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A capacitive device rapid discharge system, characterized in that: include: Discharge circuit and control module; the discharge circuit includes an equipment equivalent capacitor, a first discharge resistor, a first transistor, a discharge coil equivalent inductance, a discharge coil resistor, a second transistor and a second discharge resistor; The first end of the device equivalent capacitor is electrically connected to the first end of the first transistor and the first end of the first discharge resistor; the second end of the first transistor is electrically connected to the first end of the discharge coil equivalent inductance and the first end of the second transistor; the second end of the discharge coil equivalent inductance is electrically connected to the first end of the discharge coil resistor; the second end of the second transistor is electrically connected to the first end of the second discharge resistor; The second end of the device equivalent capacitor, the second end of the first discharge resistor, the second end of the discharge coil resistor and the second end of the second discharge resistor are all grounded; The control end of the first transistor and the second end of the second transistor are both electrically connected to the control module; the control module is used to control the discharge time by controlling the on and off of the first transistor and the second transistor.
2. The capacitive device rapid discharge system according to claim 1, characterized in that: The control module is used to control the discharge time by controlling the on and off of the first transistor and the second transistor, specifically: Obtaining the target discharge voltage of the capacitive device and the maximum allowable current of the capacitive device; Controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to a maximum allowable current of the capacitive device based on an inductor current expression; During the first on-time, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage, and the device equivalent capacitance; Controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance; During the second on-time, determining a second residual voltage of the capacitive device based on an expression of a secondary discharge current of the resistor, a first residual voltage of the capacitive device, and an equivalent capacitance of the device; When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first conduction time of the first transistor is determined according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and the loop is stopped; The discharge time is determined according to the first on-time length of the first transistor and the first on-time length of the second transistor determined in N cycles.
3. A capacitive device rapid discharge control method, characterized in that: Applicable to the capacitive device rapid discharge system according to any one of claims 1 to 2 above; the capacitive device rapid discharge control method comprises: Obtaining the target discharge voltage of the capacitive device and the maximum allowable current of the capacitive device; Controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first on-time of the first transistor according to a maximum allowable current of the capacitive device based on an inductor current expression; During the first on-time, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage, and the device equivalent capacitance; Controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance; During the second on-time, determining a second residual voltage of the capacitive device according to an expression of a secondary discharge current of the resistor, the first residual voltage of the capacitive device and an equivalent capacitance of the device; When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first conduction time of the first transistor is determined according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and the loop is stopped; The discharge time is determined according to the first on-time length of the first transistor and the first on-time length of the second transistor determined in N cycles.
4. The capacitive device rapid discharge control method according to claim 3, characterized in that: During the first on-time, determining a first residual voltage of the capacitive device based on a resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage, and the device equivalent capacitance includes: Determine the resistor discharge current expression; During the first on-time, determining a first discharge charge based on the resistor discharge current expression and the inductor current expression; A first residual voltage of the capacitive device is determined according to the first discharge charge, the target discharge voltage of the capacitive device and the device equivalent capacitance.
5. The capacitive device rapid discharge control method according to claim 3, characterized in that: During the second on-time, determining the second residual voltage of the capacitive device according to the expression of the secondary discharge current of the resistor, the first residual voltage of the capacitive device and the equivalent capacitance of the device includes: During the second on-time, determining a second discharge charge based on a resistor secondary discharge current expression; A second residual voltage of the capacitive device is determined according to the second discharged charge, the first residual voltage of the capacitive device and the device equivalent capacitance.
6. The capacitive device rapid discharge control method according to claim 3, characterized in that: Also includes: Real-time collection of inductor current; When the second residual voltage of the capacitive device is greater than the safety voltage, the loop is returned to iteratively execute based on the inductor current expression, and the first turn-on time of the first transistor is determined according to the equivalent inductance of the discharge coil, the resistance of the discharge coil, the equivalent capacitance of the device, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the inductor current is less than the safety end current during the Nth turn-on time of the first transistor, and the loop is stopped.
7. The capacitive device rapid discharge control method according to claim 3, characterized in that: Based on the inductor current expression, determining a first on-time of the first transistor according to the maximum allowable current of the capacitive device includes: Establishing the inductor current expression according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, and the capacitive device target discharge voltage; In combination with the inductor current expression, the first on-time of the first transistor is determined according to the maximum allowable current of the capacitive device.
8. A capacitive device rapid discharge control device, characterized in that: include: An acquisition module is used to acquire a target discharge voltage of a capacitive device and a maximum allowable current of the capacitive device; A first duration determination module, used for controlling the first transistor to be turned on and the second transistor to be turned off, and determining a first turn-on duration of the first transistor according to the maximum allowable current of the capacitive device based on an inductor current expression; A first residual voltage determination module is used to determine a first residual voltage of a capacitive device within the first conduction time based on a resistor discharge current expression, the inductor current expression, the capacitive device target discharge voltage and a device equivalent capacitance; a second duration determination module, used for controlling the second transistor to be turned on and the first transistor to be turned off, and determining a second on-time of the second transistor based on the discharge coil equivalent inductance, the discharge coil resistance and the second discharge resistance; A second residual voltage determination module is used to determine the second residual voltage of the capacitive device within the second conduction time based on the expression of the resistor secondary discharge current, the first residual voltage of the capacitive device and the device equivalent capacitance; an iterative loop module, configured to, when the second residual voltage of the capacitive device is greater than the safety voltage, return to the loop iteration execution based on the inductor current expression, determine the first on-time of the first transistor according to the discharge coil equivalent inductance, the discharge coil resistance, the device equivalent capacitance, the second residual voltage of the capacitive device and the maximum allowable current of the capacitive device, ..., until the 2Nth residual voltage of the capacitive device is less than the safety voltage, and stop the loop; A discharge time module is used to determine the discharge time according to the first on-time of the first transistor and the first on-time of the second transistor determined in N cycles.
9. An electronic device, characterized in that: Electronic equipment includes: at least one processor; and A memory in communication with at least one control module; wherein, The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one control module, so that the at least one processor can execute the capacitive device rapid discharge control method according to any one of claims 2 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the capacitive device rapid discharge control method according to any one of claims 2 to 6 when executed.
