Control method of bleeder circuit and related device
By determining the load characteristics of the resonant conversion circuit to control the conduction or disconnection of the bleeder circuit, the problem of damage to the bleeder circuit due to capacitance-voltage characteristics in the prior art is solved, and cost reduction and stability improvement are achieved.
Patent Information
- Application Number
- CN202410852309.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing bleeder circuit is easily damaged when the load characteristics are capacitance-voltage characteristics, and a separate anti-reverse diode needs to be set up to avoid damage, which increases cost and complexity.
By obtaining the load characteristics of the resonant conversion circuit, the discharge circuit is controlled to be turned on when the pure resistance characteristics are present and turned off when the capacitance-voltage characteristics are present, thereby avoiding unnecessary discharge current, reducing costs and improving stability.
There is no need to set up a separate anti-reverse diode, which reduces costs, avoids damage to the discharge circuit due to capacitance-voltage characteristics, and improves the stability and reliability of the discharge circuit.
Smart Images

Figure CN118694154A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a control method and related devices for a discharge circuit. Background Art
[0002] At present, in order to ensure the safety requirements of the output part of the electronic device, it is necessary to discharge the voltage stored in the capacitor of the electronic device after the electronic device stops working, so as to avoid the voltage stored in the capacitor from damaging the electronic device or affecting personal safety.
[0003] In the related art, a discharge circuit is generally used to discharge the voltage stored in the capacitor in the circuit of the electronic device. However, when the load characteristic of the circuit is a capacitance-voltage characteristic, that is, the voltage in the circuit is a constant voltage, it will not be discharged due to the opening of the discharge circuit, which may cause the discharge circuit to be damaged. Taking the power unit of the charging pile of the electronic device as an example, when the power unit is a bidirectional charging power module, the bidirectional charging power module is not provided with an anti-reverse diode, and when the load characteristic is a capacitance-voltage characteristic, it may cause damage to the discharge circuit; when the power unit is a unidirectional charging power module, the unidirectional charging power module is provided with an anti-reverse diode, but when the anti-reverse diode is damaged, it will still cause damage to the discharge circuit. Summary of the invention
[0004] Based on the above problems, the present application provides a control method and related devices for a discharge circuit, aiming to solve the problem that the discharge circuit may be damaged.
[0005] The embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a method for controlling a discharge circuit, the method being applied to a resonant conversion circuit, the resonant conversion circuit including a discharge circuit, including:
[0007] Obtaining a load characteristic of a resonant conversion circuit; wherein the load characteristic is a pure resistance characteristic or a capacitance-voltage characteristic;
[0008] When the load characteristic is a pure resistance characteristic, the discharge circuit is controlled to be turned on;
[0009] Alternatively, when the load characteristic is a capacitance-voltage characteristic, the discharge circuit is controlled to be disconnected.
[0010] Optionally, before obtaining the load characteristic of the resonant conversion circuit, the method further includes:
[0011] The discharge circuit is closed, and the output voltage value of the resonant conversion circuit is periodically collected;
[0012] determining an output voltage variation trend of a resonant conversion circuit according to a plurality of output voltage values;
[0013] According to the output voltage variation trend, the load characteristics of the resonant conversion circuit are determined.
[0014] Optionally, before obtaining the load characteristic of the resonant conversion circuit, the method further includes:
[0015] Obtaining an equivalent capacitance value corresponding to the resonant conversion circuit, and obtaining an actual capacitance value of the resonant conversion circuit; wherein the equivalent capacitance value is associated with an output mode of the resonant conversion circuit;
[0016] The load characteristics of the resonant conversion circuit are determined based on the equivalent capacitance value and the actual capacitance value.
[0017] Optionally, obtaining an equivalent capacitance value corresponding to the resonant conversion circuit includes:
[0018] Obtaining an output mode of the resonant conversion circuit; wherein the output mode includes a series output mode or a parallel output mode;
[0019] The equivalent capacitance value corresponding to the resonant conversion circuit is determined according to the output mode.
[0020] Optionally, obtaining an actual capacitance value of the resonant conversion circuit includes:
[0021] The discharge circuit is closed, and the output voltage value of the resonant conversion circuit is periodically collected;
[0022] According to the multiple output voltage values, the change rate between two adjacent output voltage values collected is obtained, and the average change rate of the multiple output voltage values in the collection period is obtained;
[0023] The actual capacitance value of the resonant conversion circuit is determined according to the average change rate, the acquisition period, and the discharge characteristics of the resistor-capacitor RC circuit.
[0024] Optionally, the discharge circuit includes a switch device and a discharge resistor, and the switch device is connected in series with the discharge resistor; controlling the discharge circuit to be turned on includes:
[0025] Controlling the switch device to close so as to conduct the discharge circuit;
[0026] The method also includes:
[0027] Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit;
[0028] When the output voltage is less than or equal to the standard voltage, or the discharge time is longer than the timing time, the switch device is controlled to be disconnected to disconnect the discharge circuit.
[0029] Optionally, the discharge circuit includes a variable discharge resistance unit and a first switch device, and the first switch device is connected in series with the variable discharge resistance unit; controlling the discharge circuit to be turned on includes:
[0030] Controlling the first switch device to close, and controlling the variable discharge resistance unit to be connected to the discharge circuit with a first resistance value;
[0031] The method also includes:
[0032] Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit;
[0033] When the output voltage is less than or equal to the first standard voltage, or the discharge time is greater than the first timing duration, the variable discharge unit is controlled to be connected to the discharge circuit with a second resistance value; wherein the second resistance value is less than the first resistance value;
[0034] Continue to detect the output voltage of the resonant conversion circuit in real time, or detect the discharge time of the discharge circuit in real time;
[0035] When the output voltage is less than or equal to the second standard voltage, or the discharge time is greater than the second timing duration, the first switch device is controlled to be disconnected to disconnect the discharge circuit.
[0036] Optionally, determining the load characteristics of the resonant conversion circuit according to the output voltage variation trend includes:
[0037] When the input voltage of the resonant conversion circuit changes, and the change trend of the output voltage is consistent with the change trend of the input voltage, it is determined that the load characteristic of the resonant conversion circuit is a pure resistance characteristic;
[0038] When the input voltage of the resonant conversion circuit changes and the output voltage change trend is that the output voltage remains constant, it is determined that the load characteristic of the resonant conversion circuit is a capacitance-resistance characteristic.
[0039] Optionally, determining the load characteristic of the resonant conversion circuit according to the equivalent capacitance value and the actual capacitance value includes:
[0040] Obtain the difference between the equivalent capacitance value and the actual capacitance value;
[0041] When the difference is within the preset error range, the load characteristic of the resonant conversion circuit is a pure resistance characteristic;
[0042] When the difference is outside the preset error range, the load characteristic of the resonant conversion circuit is a capacitance-voltage characteristic.
[0043] In a second aspect, an embodiment of the present application provides a control device for a discharge circuit, which is applied to a resonant conversion circuit, wherein the resonant conversion circuit includes a discharge circuit, including:
[0044] An acquisition module is used to acquire the load characteristics of the resonant conversion circuit; wherein the load characteristics are pure resistance characteristics or capacitance-voltage characteristics;
[0045] The first control module is used to control the discharge circuit to be turned on when the load characteristic is a pure resistance characteristic;
[0046] Alternatively, the second control module is used to control the discharge circuit to be disconnected when the load characteristic is a capacitance-voltage characteristic.
[0047] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that the device includes: a processor, a memory, and a system bus;
[0048] The processor and the memory are connected via the system bus;
[0049] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes the control method of the discharge circuit as described in the first aspect.
[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which is stored an implementation program for implementing the login method, and when the implementation program for implementing the login method is executed by a processor, the steps of the control method of the discharge circuit as described in the first aspect are implemented.
[0051] Compared with the prior art, this application has the following beneficial effects:
[0052] The control method of the discharge circuit provided in the embodiment of the present application obtains the load characteristic of the resonant conversion circuit, wherein the load characteristic is a pure resistance characteristic or a capacitance-voltage characteristic; when the load characteristic is a pure resistance characteristic, the discharge circuit is controlled to be turned on, or, when the load characteristic is a capacitance-voltage characteristic, the discharge circuit is controlled to be turned off. Wherein, it is determined based on the load characteristic of the resonant conversion circuit whether the residual voltage of the capacitor in the circuit can be discharged through the discharge circuit. On the one hand, there is no need to set up a separate anti-reverse diode, which reduces the cost. On the other hand, it can avoid the problem of damage to the discharge circuit caused by the capacitance-voltage characteristic to a certain extent, and improve the stability and reliability of the discharge circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0054] Figure 1 A flow chart of a method for controlling a discharge circuit provided in an embodiment of the present application;
[0055] Figure 2 A schematic diagram of the structure of a resonant conversion circuit provided in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of the structure of another resonant conversion circuit provided in an embodiment of the present application;
[0057] Figure 4 A schematic diagram of the structure of another resonant conversion circuit provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of the structure of a discharge circuit provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of the structure of another resonant conversion circuit provided in an embodiment of the present application;
[0060] Figure 7a A schematic diagram of a curve showing a change in residual pressure during a discharge process provided in an embodiment of the present application;
[0061] Figure 7b A schematic diagram of a curve showing current changes of a switching device in a discharge process provided by an embodiment of the present application;
[0062] Figure 8 A schematic diagram of the structure of a control device for a discharge circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] At present, in order to ensure the safety requirements of the output part of the electronic device, it is necessary to discharge the voltage stored in the capacitor of the electronic device after the electronic device stops working, so as to avoid the voltage stored in the capacitor from damaging the electronic device or affecting personal safety.
[0064] In the related art, a discharge circuit is generally used to discharge the voltage stored in the capacitor in the circuit of the electronic device. However, when the load characteristic of the circuit is a capacitance-voltage characteristic, that is, the voltage in the circuit is a constant voltage, it will not be discharged due to the activation of the discharge circuit, which may cause the risk of damage to the discharge circuit.
[0065] As an example, the power unit of the charging pile of the electronic device is taken as an example. When the power unit is a bidirectional charging power module, the bidirectional charging power module is not provided with an anti-reverse diode. When the load characteristic is a capacitance-voltage characteristic, it may cause damage to the discharge circuit; when the power unit is a unidirectional charging power module, the unidirectional charging power module is provided with an anti-reverse diode, but when the anti-reverse diode is damaged, it will still cause damage to the discharge circuit. Among them, the anti-reverse diode is mainly used to protect the circuit from damage by reverse current.
[0066] In view of the above technical problems, the present application provides a control method and related devices for a discharge circuit, the method comprising: obtaining the load characteristics of the resonant conversion circuit; wherein the load characteristics are pure resistance characteristics or capacitance-voltage characteristics; and further determining whether to turn on the discharge circuit according to the load characteristics, thereby controlling the discharge circuit to be closed or opened under different load characteristics.
[0067] In this way, by determining the load characteristics of the resonant conversion circuit, it is further determined based on the load characteristics whether the residual voltage of the capacitor in the circuit can be discharged through the discharge circuit. On the one hand, there is no need to set up a separate anti-reverse diode, which reduces costs. On the other hand, it can avoid the problem of damage to the discharge circuit caused by the capacitor-voltage characteristics, thereby improving the stability and reliability of the discharge circuit.
[0068] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0069] See also Figure 1 and Figure 2 , Figure 1 A flow chart of a method for controlling a discharge circuit provided in an embodiment of the present application is provided. Figure 2 A schematic diagram of the structure of a discharge circuit provided in an embodiment of the present application.
[0070] Combination Figure 2As shown, the control method of the discharge circuit provided in the embodiment of the present application can be applied to the resonant conversion circuit, and the resonant conversion circuit 200 may include: a first resonant module LLC_A, a second resonant module LLC_B, a first capacitor C1, a second capacitor C2, a first switch K1, a second switch K2, a third switch K3, a discharge circuit 201, a third capacitor C3 and a voltage acquisition circuit 202. The first input end of the first resonance module LLC_A serves as the positive electrode of the input end of the resonance conversion circuit, the second input end of the first resonance module LLC_A is connected to the first input end of the second resonance module LLC_B, the second input end of the second resonance module LLC_A serves as the negative electrode of the input end of the resonance conversion circuit, the first output end and the second output end of the first resonance module LLC_A are respectively connected to the first end and the second end of the first capacitor C1, the first output end and the second output end of the second resonance module LLC_B are respectively connected to the first end and the second end of the second capacitor C2, the first end of the first capacitor C1 is connected to the first end of the first switch K1, the second end of the first capacitor C1 is connected to the first end of the second switch K2 and the first end of the third switch K3, the first end of the second capacitor C2 is connected to the second end of the first switch K1 and the second end of the third switch K3, the second end of the second capacitor C2 is connected to the second end of the second switch K2, the first end and the second end of the discharge circuit 201 are respectively connected to the positive electrode and the negative electrode of the output end of the resonance conversion circuit, the third capacitor C3 is respectively connected to the positive electrode and the negative electrode of the output end of the resonance conversion circuit, and the collection end of the voltage collection circuit 202 is used to collect the voltage at the output end of the resonance conversion circuit.
[0071] Based on the above Figure 2 The resonant conversion circuit shown is further combined with Figure 1 As shown, the control method of the discharge circuit provided in the embodiment of the present application may include:
[0072] S101: Obtaining load characteristics of the resonant conversion circuit.
[0073] A resonant conversion circuit, also known as a resonant circuit, is a circuit composed of two components, an inductor and a capacitor, which can be connected in series or in parallel. In a resonant conversion circuit, changes in current and voltage are constantly converted to each other and kept synchronized at a certain frequency, and at the same time, alternating energy storage and release occurs in the inductor and capacitor. The essence of a resonant circuit is that the electric field energy in the capacitor and the magnetic field energy in the inductor are converted to each other, one increases and the other decreases, and they are fully compensated. In the resonant state, the sum of the electric field energy and the magnetic field energy remains unchanged at all times, and the power supply only needs to provide energy to the electric energy consumed by the resistor in the circuit. The resonant conversion circuit has a wide range of applications, including but not limited to the fields of radio communications, power electronics, etc. In an embodiment of the present application, the resonant conversion circuit can be applied to the power module of a DC charging pile.
[0074] Load characteristics refer to the characteristics of various electrical or electronic devices connected to the output end of the power supply. Load characteristics can be pure resistance characteristics (R characteristics) or capacitance-voltage characteristics (CV characteristics). Pure resistance characteristics are used to describe the situation where the current and voltage in the circuit are proportional. Capacitance-voltage characteristics are used to describe the situation where the capacitance of the capacitor in the circuit remains basically unchanged within the normal working range.
[0075] It should be understood that in the resonant conversion circuit, different load characteristics reflect different discharge processes. When the load characteristic is a pure resistance characteristic, since the discharge current under the pure resistance characteristic is positively correlated with the input voltage, when the power supply of the resonant conversion circuit is disconnected, the energy stored in the capacitor in the resonant conversion circuit will gradually be converted into heat energy through the resistor in the resonant conversion circuit, that is, the discharge current will decrease as the voltage on the capacitor decreases. When the load characteristic is a capacitor-voltage characteristic, due to the obstruction of the capacitor in the resonant conversion circuit to the resistor, the discharge current is relatively small at the beginning, but as the voltage on the capacitor decreases, the discharge current will gradually increase.
[0076] Therefore, the embodiment of the present application obtains the load characteristics of the resonant conversion circuit, and further controls the conduction or disconnection of the discharge circuit according to the load characteristics, thereby avoiding the problem of damage to the discharge circuit caused by the discharge circuit discharging when the load characteristics are capacitance-voltage characteristics.
[0077] S102: When the load characteristic is a pure resistance characteristic, the discharge circuit is controlled to be turned on.
[0078] In a resonant converter circuit with pure resistance characteristics, the discharge process is relatively simple and direct. When the power supply of the resonant converter circuit is disconnected or the voltage is reduced, the energy stored in the circuit (if any) will gradually be converted into heat energy and dissipated through the resistance element. The relationship between current and voltage is linear and follows Ohm's law. The magnitude of the discharge current depends on the resistance value and initial voltage of the circuit. As the power is consumed, the voltage gradually decreases and the current decreases accordingly until the energy in the circuit is completely exhausted and the voltage drops to zero.
[0079] It should be understood that, under pure resistance characteristics, the discharge current will gradually decrease due to the decrease in voltage on the capacitor, so the discharge circuit will not be damaged due to excessive discharge current. At this time, the discharge circuit can be controlled to be turned on to discharge the energy in the resonant conversion circuit.
[0080] S103: When the load characteristic is a capacitance-voltage characteristic, the discharge circuit is controlled to be disconnected.
[0081] In the capacitor-voltage resonant conversion circuit, the discharge process involves a combination of capacitors and resistors. Capacitors are used to store charge and energy, while resistors limit the flow of charge and the rate at which energy is consumed. At the beginning of the discharge, the voltage on the capacitor is high, and the current begins to flow through the resistor, and the capacitor begins to discharge. Due to the resistance of the capacitor to the current (capacitive reactance), the current may be small in the initial stage, but as the voltage on the capacitor decreases, the current gradually increases.
[0082] That is, when the load characteristic is a capacitance-voltage characteristic, the current in the discharge circuit will increase with the discharge time, which may cause damage to the discharge circuit. Therefore, when the load characteristic is a capacitance-voltage characteristic, the discharge circuit needs to be disconnected to avoid damage to the discharge circuit.
[0083] Based on the control method of the discharge circuit provided in the above embodiment, in order to obtain the load characteristics of the resonant conversion circuit, the load characteristics of the resonant conversion circuit can be determined by a "pre-discharge" method. In some possible implementations, before obtaining the load characteristics of the resonant conversion circuit, the following steps may also be included:
[0084] A1: Close the discharge circuit and periodically collect the output voltage value of the resonant conversion circuit.
[0085] The output voltage value refers to the voltage value output by the resonant conversion circuit.
[0086] It should be understood that due to the difference between the pure resistance characteristic and the capacitance-voltage characteristic, the judgment can be made through the change trend of the output voltage value of the resonant conversion circuit.
[0087] Periodically collecting the output voltage value of the resonant conversion circuit means collecting the output voltage value of the resonant conversion circuit according to a preset period, and the preset period means the time interval for collecting the output voltage value of the output end of the resonant conversion circuit, for example, it takes 2 milliseconds to collect the output voltage value. The number of times the output voltage value is collected is generally greater than or equal to three times to avoid randomness or contingency.
[0088] It should be noted that in the embodiment of the present application, the purpose of periodic acquisition is to obtain the change trend of the output voltage of the resonant conversion circuit. Periodic acquisition can be understood as being performed in the "pre-discharge stage", so after the periodic acquisition is completed, the discharge circuit needs to be disconnected to avoid the problem of damage to the discharge circuit caused by the continuous closure of the discharge circuit when the load characteristic is a capacitance-voltage characteristic.
[0089] A2: Determine the output voltage variation trend of the resonant conversion circuit based on multiple output voltage values.
[0090] The output voltage change trend refers to the change of the output voltage of the resonant conversion circuit within the acquisition period. As an example, assuming that the acquisition period is once per second, a total of 5 acquisitions, and the 5 acquisition results are 10v, 8v, 7v, 6v, and 4v respectively, then the output voltage change trend is 10v→8v→7v→6v→4v (a trend that gradually decreases over time).
[0091] A3: Determine the load characteristics of the resonant conversion circuit based on the output voltage change trend.
[0092] It should be understood that if the load characteristic is a pure resistance characteristic, the voltage change trend is variable, for example, after the power supply of the resonant conversion circuit is disconnected, the output voltage gradually decreases with time; if the load characteristic is a capacitance-voltage characteristic, the voltage change trend remains unchanged, for example, after the power supply of the resonant conversion circuit is disconnected, the output voltage changes with time and remains basically constant. Therefore, the load characteristic can be determined by the output voltage change trend of the resonant conversion circuit.
[0093] As an example, assuming that the output voltage change trend A is 10v→8v→7v→6v→4v, it can be seen that the output voltage of the output voltage change trend A decreases over time, and the load characteristic can be determined to be a pure resistance characteristic based on the output voltage change trend A. It should be understood that if the output voltage change trend shows a trend that the output voltage decreases over time, then the load characteristic of the resonant conversion circuit can be considered to be a pure resistance characteristic.
[0094] As another example, assuming that the output voltage change trend B is 10V→9.8v→10.1v→9.9v→10v, it can be seen that the output voltage of the output voltage change trend B remains constant within the error range over time, and the load characteristic can be determined as a capacitor-voltage characteristic based on the output voltage change trend B. It should be understood that if the output voltage change trend shows a trend that the output voltage remains constant within the error range over time, then the load characteristic of the resonant conversion circuit can be considered to be a capacitor-voltage characteristic. Among them, the error range refers to the error range allowed according to actual needs, such as an error range of 0v~0.2v.
[0095] It should be understood that when the input voltage of the resonant conversion circuit changes, when the output voltage change trend is consistent with the input voltage change trend, the load characteristic of the resonant conversion circuit is determined to be a pure resistance characteristic; when the input voltage of the resonant conversion circuit changes, when the output voltage change trend is such that the output voltage remains constant, the load characteristic of the resonant conversion circuit is determined to be a capacitance-resistance characteristic.
[0096] It should be understood that the embodiments of the present application can quickly determine the load characteristics of the resonant conversion circuit through the output voltage change trend, and control the closing or opening of the discharge circuit according to the load characteristics, thereby improving the efficiency of determining the load characteristics, as well as the safety and reliability of the discharge circuit.
[0097] Based on the control method of the discharge circuit provided in the above embodiment, in some other possible implementations, before obtaining the load characteristics of the resonant conversion circuit, the following may also be included:
[0098] B1: Obtaining the equivalent capacitance value corresponding to the resonant conversion circuit, and obtaining the actual capacitance value of the resonant conversion circuit.
[0099] The equivalent capacitance value refers to the capacitance value of the capacitance in the resonant conversion circuit after equivalent calculation in theoretical calculation. The actual capacitance value refers to the actual capacitance and value of each capacitor in the resonant conversion circuit.
[0100] It should be understood that after determining the equivalent capacitance value, since the capacitance in the resonant conversion circuit will be affected by circuit losses or other components in the circuit, the actual capacitance value is not the equivalent capacitance value. Therefore, it is necessary to further determine the actual capacitance value of the capacitance in the resonant conversion circuit through multiple collected output voltage values.
[0101] The equivalent capacitance value is associated with the output mode of the resonant conversion circuit. The output mode refers to the connection mode of the inductor and capacitor in the resonant conversion circuit, which generally includes a series output mode or a parallel output mode. Figure 2 As shown, the series output mode refers to the series output between two LLCs (LLC_A and LLC_B), at which time switches K1 and K2 are disconnected, and K3 is closed; the parallel output mode refers to the parallel output between two LLCs (LLC_A and LLC_B), at which time switches K1 and K2 are closed, and K3 is disconnected.
[0102] It should be understood that, since different output modes of the resonant conversion circuit correspond to different equivalent capacitance values, in one possible implementation, the output mode of the resonant conversion circuit can be obtained, and the equivalent capacitance value of the resonant conversion circuit can be further determined according to the output mode, so as to achieve the determination of the equivalent capacitance value under different output modes, so that the determination result of the equivalent capacitance value is more accurate.
[0103] In one possible implementation, combining Figure 2 As shown, the resonant conversion circuit includes three capacitors. When the electronic device stops working, the capacitors that mainly store residual voltage are the first capacitor, the second capacitor and the third capacitor. Among them, the capacitance value stored in the first capacitor is the first capacitance value, the capacitance value stored in the second capacitor is the second capacitance value, and the capacitance value stored in the third capacitor is the third capacitance value.
[0104] When the output mode is series output mode, the equivalent capacitance value can be determined by the following method:
[0105] C1: the first capacitance value and the second capacitance value are added to obtain a capacitance sum value, and the first capacitance value and the second capacitance value are multiplied to obtain a capacitance product value.
[0106] The capacitance sum value means the sum between two capacitance values, and the capacitance product value indicates the product between two capacitances. As an example, assuming that the first capacitance value is C1, the second capacitance value is C2, and the third capacitance value is C3, then the capacitance sum value is C1+C2, and the capacitance product value is C1*C2.
[0107] C2: Determines the capacitance ratio between the capacitance product value and the capacitance sum value.
[0108] Based on the previous example, the capacitance ratio between the capacitance product value and the capacitance sum value is (C1*C2) / (C1+C2).
[0109] C3: Add the third capacitance value to the capacitance ratio to obtain an equivalent capacitance value of the resonant conversion circuit.
[0110] Based on the previous example, the equivalent capacitance value of the resonant conversion circuit is (C3+((C1*C2) / (C1+C2))).
[0111] When the output mode is the parallel output mode, the equivalent capacitance value of the resonant conversion circuit can be determined by adding the first capacitance value, the second capacitance value and the third capacitance value to obtain the equivalent capacitance value of the resonant conversion circuit. As an example, assuming that the first capacitance value is C1, the second capacitance value is C2, and the third capacitance value is C3, when the output mode is the parallel mode, the equivalent capacitance value of the resonant conversion circuit is (C1+C2+C3).
[0112] It should be understood that in this embodiment, when the output mode is a series output mode, the equivalent capacitance value is (C3+((C1*C2) / (C1+C2))); when the output mode is a parallel output mode, the output mode of the equivalent capacitance value is (C1+C2+C3).
[0113] In a possible implementation, the actual capacitance value of the resonant conversion circuit can be obtained by:
[0114] D1: Close the discharge circuit and periodically collect the output voltage value of the resonant conversion circuit.
[0115] The output voltage value refers to the voltage value output by the resonant conversion circuit. Periodically collecting the output voltage value of the resonant conversion circuit means collecting the output voltage value of the resonant conversion circuit according to a preset period, and the preset period means the time interval for collecting the output voltage value of the output end of the resonant conversion circuit, for example, it takes 2 milliseconds to collect the output voltage value once. The number of times the output voltage value is collected is generally greater than or equal to three times to avoid randomness or contingency.
[0116] It should be noted that in the embodiment of the present application, the purpose of periodic acquisition is to obtain the change trend of the output voltage of the resonant conversion circuit. Periodic acquisition can be understood as a "pre-discharge stage", so after the periodic acquisition is completed, the discharge circuit needs to be disconnected to avoid the problem of damage to the discharge circuit caused by the continuous closure of the discharge circuit when the load characteristic is a capacitance-voltage characteristic.
[0117] D2: According to the multiple output voltage values, the change rate between each two adjacent output voltage values collected is obtained, and the average change rate of the multiple output voltage values in the collection period is obtained.
[0118] The rate of change is a parameter that describes the voltage stability performance or transient response capability of a circuit when the load changes. In the embodiment of the present application, the rate of change means the change between two adjacent output voltage values collected. As an example, assuming that the multiple output voltage values are 10V, 9v, 8v, and 7v, the rate of change between two adjacent output voltage values collected is 10V-9v=1v, 9v-8v=1v, and 8v-7v=1v.
[0119] This embodiment includes but is not limited to the following two definitions and calculation methods of the change rate:
[0120] (1) Defined as the ratio of the percentage change in output voltage to the percentage change in load: This formula is used to evaluate the stability of a power supply circuit when the load changes. Change rate (Load) = (percentage change in output voltage) ÷ (percentage change in load). In practical applications, it is necessary to ensure that the output voltage remains stable when the load changes.
[0121] (2) Defined as the percentage of output voltage change over time: This formula is used to evaluate the transient response performance of a power supply circuit. Rate of change (Load) = (percentage of output voltage change) ÷ time. In practical applications, it is necessary to ensure that the output voltage can quickly adjust to a new stable state when the load changes.
[0122] The average rate of change means the average value of multiple rates of change, for example, if the rate of change is 20%, 30%, and 25%, then the average rate of change of the three rates of change should be understood to be (20%+30%+25%) / 3=25%. It should be understood that after determining the rate of change between two adjacent output voltage values, multiple rates of change will be obtained, so the average value of multiple rates of change can be further calculated to obtain the average rate of change, which is convenient for subsequent determination of the actual capacitance value.
[0123] D3: Determine the actual capacitance value of the resonant conversion circuit based on the average rate of change, the acquisition period, and the discharge characteristics of the resistor-capacitor RC circuit.
[0124] The discharge characteristic of the resistor-capacitor circuit refers to the characteristic that when charge is stored in the capacitor and discharged through a resistor, the voltage on the capacitor gradually decreases over time, which can be described by the RC discharge equation.
[0125] The RC discharge equation is a mathematical formula used to describe the discharge process of a capacitor in an RC circuit. The RC discharge equation can be: V(t) = V0*e^(-t / RC). V(t) represents the voltage of the capacitor in the resonant conversion circuit at time t, V0 represents the initial voltage of the capacitor, e represents the base of the natural logarithm (approximately equal to 2.71828), t represents the elapsed time (that is, the time interval corresponding to the preset period), R represents the resistance value of the resistor in the resonant conversion circuit, and C represents the actual capacitance value of the capacitor in the resonant conversion circuit. V(t) and V0 are obtained based on the average rate of change.
[0126] Therefore, in the embodiment of the present application, the actual capacitance value in the resonant conversion circuit can be determined by the RC discharge equation defined by the discharge characteristics of the RC circuit, as well as the average change rate and the preset period.
[0127] As an example, assuming that the average change rate is K, the initial output voltage value (the output voltage value collected for the first time) is V0, the resistance value is R, and the preset period is to collect the output voltage value once every 1 second, for a total of 5 times; starting from t = 0, the output voltage value and the corresponding time t are recorded, then 5 groups of data can be obtained according to the initial output voltage value and the average change rate K, which are (t0, V0) (t1, V1), (t2, V2), (t4, V4), (t5, V5), for example, V1 = (1-k) × V0. Each data is fitted according to the RC discharge equation V(t) = V0*e^(-t / RC), and the actual capacitance value C can be further solved by numerical methods (such as least squares method) so that the RC discharge equation can best fit the experimental data, or a specific time point is selected (such as t = RC, at this time V(t) = V0 / e), and then the voltage V(t) at this time is measured, and the actual capacitance value C is substituted into the equation.
[0128] B2: Determine the load characteristics of the resonant conversion circuit based on the equivalent capacitance value and the actual capacitance value.
[0129] It should be understood that the load characteristics of the resonant conversion circuit can be determined by judging the difference between the equivalent capacitance value and the actual capacitance value. In one possible implementation, the error between the equivalent capacitance value and the actual capacitance value can be obtained, and it can be further determined whether the error meets the preset error range. If the error is within the preset error range, the load characteristic of the resonant conversion circuit is a pure resistance characteristic. If the error is outside the preset error range, the load characteristic of the resonant conversion circuit is a capacitance-voltage characteristic.
[0130] Understandably, there is a maximum value for the error range.
[0131] In an optional solution, as long as the difference between the equivalent capacitance value and the actual capacitance value is less than or equal to the maximum value, it is considered to be within the preset error range, and once the difference between the equivalent capacitance value and the actual capacitance value is greater than the maximum value, it is considered to be outside the preset error range.
[0132] In another optional solution, the difference between the equivalent capacitance value and the actual capacitance value is considered to be within the preset error range only if it is less than the maximum value, and once the difference between the equivalent capacitance value and the actual capacitance value is greater than or equal to the maximum value, they are considered to be outside the preset error range. Figure 3 , this figure is a structural schematic diagram of another resonant conversion circuit provided in an embodiment of the present application. Based on the resonant conversion circuit 200, the discharge circuit 201 may include a discharge resistor R1 and a switch device X1, and the switch device X1 is connected in series with the discharge resistor R1.
[0133] The switching device refers to a device used to control the discharge circuit to be on or off, and may be a MOS tube (Metal-Oxide-Semiconductor, Metal-Oxide-Semiconductor Field Effect Transistor) or other devices that can be used to achieve on or off, and is not specifically limited here.
[0134] In a possible implementation, S103 may include: controlling the switch device to close to turn on the discharge circuit. It should be understood that when the load characteristic is a pure resistance characteristic, the discharge circuit can be turned on by controlling the switch device X1 to close, and the discharge resistor R1 of the discharge circuit converts the residual electric energy in the resonant conversion circuit into heat energy to achieve discharge.
[0135] In a possible implementation, after the control switch device is closed, the following steps may be further performed:
[0136] E1: Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit.
[0137] The discharge time refers to the time duration of the output voltage discharge after the discharge circuit is connected.
[0138] E2: When the output voltage is less than or equal to the standard voltage, or the discharge time is longer than the timing time, the switch device is controlled to be disconnected to disconnect the discharge circuit.
[0139] Timing duration refers to the maximum discharge duration set according to demand.
[0140] It should be understood that whether the residual voltage stored in the capacitor in the resonant conversion circuit meets the requirements can be determined in two ways. One is to determine whether the output voltage is less than or equal to the standard voltage. The standard voltage means a human safety voltage that will not cause safety problems to people. If the output voltage is less than or equal to the standard voltage, you can choose to stop discharging. The other is that the electronic device has requirements for the discharge time and needs to set a timing time. It can be determined whether the discharge needs to continue by judging whether the discharge time is greater than the timing time. If the discharge time is greater than the timing time, the discharge can be stopped.
[0141] It should be noted that when the discharge circuit has only one discharge resistor and one switch device, the output mode of the resonant conversion circuit can be a series output mode or a parallel output mode, and the output mode of the resonant conversion circuit is not limited here.
[0142] Based on the above embodiment, the discharge circuit needs to be closed in the process of determining the actual capacitance value. When the discharge circuit includes only one resistor and one switch device, and the load characteristic is a capacitance-voltage characteristic, since the voltage under the capacitance-voltage characteristic will not decrease according to the RC curve, the resistor on the discharge circuit needs to withstand V 2 The heat loss power of / R may cause the resistor in the discharge circuit to burn out.
[0143] To solve the problem that determining the actual capacitance value under the capacitance-voltage characteristic may cause the bleeder resistor to burn out, see Figure 4 , which is a structural schematic diagram of another resonant conversion circuit provided in an embodiment of the present application. On the basis of the above-mentioned resonant conversion circuit 200, the discharge circuit 201 includes a variable discharge resistor unit 401 and a first switch device 402, and the first switch device 402 is connected in series with the variable discharge resistor unit 401; S103 may include: controlling the first switch device to close, and controlling the variable discharge resistor unit to connect to the discharge circuit with a first resistance value.
[0144] The variable discharge resistance unit refers to a unit that can change the resistance within a preset resistance range, such as a module that adjusts the resistance through a signal, a variable resistor, or a circuit composed of at least two resistors. The first resistance refers to the resistance required in the first discharge stage.
[0145] It should be understood that in this embodiment, the variable discharge resistor unit can be set to a larger resistance value before being connected for discharge, so as to avoid the discharge resistor in the discharge circuit being burned in the first discharge stage.
[0146] In a possible implementation manner, after controlling the first switch device to close, the following steps may be further performed:
[0147] F1: Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit.
[0148] It should be understood that when the variable discharge resistor unit is connected to the discharge circuit with a first resistance value, the discharge circuit will discharge with the first resistance value. However, since the first resistance value is large and the corresponding discharge current is small, the discharge time may be longer, thereby reducing the discharge efficiency. Therefore, the embodiment of the present application can also perform a step-by-step (or graded) discharge, and discharge with a smaller current in the first discharge stage to avoid burning of the discharge circuit caused by excessive current. At the same time, the output voltage or discharge time of the resonant conversion circuit can be detected in real time to determine whether to enter the second discharge stage.
[0149] F2: When the output voltage is less than or equal to the first standard voltage, or the discharge time is greater than the first timing duration, the variable discharge unit is controlled to be connected to the discharge circuit with a second resistance value.
[0150] It is understandable that after a period of discharge in the first discharge stage, the output voltage will gradually decrease, and the first standard voltage is the basis for judging whether to enter the second discharge stage. It is understandable that when the output voltage is less than the first standard voltage, it is believed that even if the discharge resistor becomes smaller, it will not be burned after being connected to the discharge circuit. The first timing duration means the maximum duration allowed in the first discharge stage. Among them, the first standard voltage and the first timing duration can be preset.
[0151] It should be understood that after the first discharge stage is completed, the second discharge stage will be entered. Since the discharge process conforms to the RC curve, the voltage gradually decreases. At this time, in order to improve the discharge efficiency, the resistance of the variable discharge resistor unit can be adjusted from the first resistance to the second resistance. The second resistance is smaller than the first resistance, the current increases, and the discharge efficiency can be improved.
[0152] F3: Continue to detect the output voltage of the resonant conversion circuit in real time, or detect the discharge time of the discharge circuit in real time.
[0153] F4: When the output voltage is less than or equal to the second standard voltage, or the discharge time is greater than the second timing duration, the first switch device is controlled to be disconnected to disconnect the discharge circuit.
[0154] The second standard voltage refers to a human safety voltage that will not cause safety problems to people. If the output voltage is less than or equal to the standard voltage, the discharge can be stopped, wherein the first standard voltage is greater than the second standard voltage. Another is that the electronic device has requirements for the discharge duration, and a timing duration needs to be set. Whether the discharge needs to continue can be determined by judging whether the discharge duration is greater than the second timing duration. If the discharge duration is greater than the second timing duration, the discharge can be stopped.
[0155] Based on the resonant conversion circuit and the control method of the discharge circuit provided in the above embodiments, in some possible implementations, the variable discharge resistor unit may include at least two discharge resistors and at least one switch device. To illustrate the connection relationship between multiple discharge resistors and multiple switch devices, see Figure 5 , which is a schematic diagram of the structure of a discharge circuit provided in an embodiment of the present application. Figure 5 As shown, the discharge circuit provided in the embodiment of the present application may include a first switch device X1 and a variable discharge resistor unit. The variable discharge resistor unit may include but is not limited to the following structure:
[0156] (1) Figure 5 As shown in a, when the variable discharge resistor unit includes the first discharge resistor R1, the second discharge resistor R2 and the second switch device X2, the first discharge resistor R1, the first switch device X1 and the second discharge resistor R2 are connected in series, and the second switch device X2 and the second discharge resistor R2 are connected in parallel.
[0157] In the first discharge stage, the first switch device X1 is closed and the second switch device X2 is opened; in the second discharge stage, both the first switch device X1 and the second switch device X2 are closed.
[0158] (2) Figure 5 As shown in b, when the variable discharge resistor unit includes a first discharge resistor R1, a second discharge resistor R2, a second switch device X2 and a third switch device X3, the first switch device X1, the first discharge resistor R1 and the second discharge resistor R2 are connected in series, the second switch device X2 is connected in parallel with the second discharge resistor R2, and the third switch device X3 is connected in parallel with the first discharge resistor R1.
[0159] In the first discharge stage: the first switch device X1 is closed, and the second switch device X2 and the third switch device X3 are opened;
[0160] In the second discharge stage: the first switch device X1 is closed, the second switch device X2 is closed, and the third switch device X3 is opened; or, the first switch device X1 is closed, the second switch device X2 is opened, and the third switch device X3 is closed. Since the resistance value of the first discharge resistor R1 and the resistance value of the second discharge resistor R2 can be different, the specific selection of which resistor to short-circuit in the second discharge stage can be determined according to the specific situation.
[0161] (3) Figure 5 As shown in c, when the variable discharge resistor unit includes a first discharge resistor R1, a second discharge resistor R2 and a second switch device X2, the first switch device X1 is connected in series with the first discharge resistor R1, and the second switch device X2 is connected in series with the second discharge resistor R2 and then connected in parallel across the first discharge resistor R1.
[0162] In the first discharge stage, the first switch device X1 is closed and the second switch device X2 is opened; in the second discharge stage, the first switch device X1 is closed and the second switch device X2 is closed.
[0163] (4) Figure 5 As shown in d, when the variable discharge resistor unit includes a first discharge resistor R1, a second discharge resistor R2 and a second switch device X2, the first switch device X1 is connected in series with the first discharge resistor R1, and the second switch device X2 is connected in series with the second discharge resistor R2 and then connected in parallel to the two ends of the first discharge resistor R1 and the first switch device X1 connected in series.
[0164] In the first discharge stage, the first switch device X1 is closed and the second switch device X2 is opened; in the second discharge stage, the first switch device X1 is closed and the second switch device X2 is closed.
[0165] It can be understood that when the number of discharge resistors included in the variable discharge resistor unit increases, the discharge stages can also increase. For example, when the variable discharge resistor unit can have three gradients of resistance value change, discharge can be performed in three discharge stages.
[0166] (5) Figure 5 As shown in e, when the variable discharge resistor unit includes the first discharge resistor R1, the second discharge resistor R2, the third discharge resistor R3, the second switch device X2 and the third switch device X3, the first switch device X1, the first discharge resistor R1, the second discharge resistor R2 and the third discharge resistor R3 are connected in series, the second switch device X2 is connected in parallel across the second discharge resistor R2, and the third switch device X3 is connected in parallel across the third discharge resistor R3.
[0167] In the first discharge stage: the first switch device X1 is closed, and the second switch device X2 and the third switch device X3 are opened;
[0168] Second discharge stage: the first switch device X1 is closed, and the second switch device X2 or the third switch device X3 is closed;
[0169] The third discharge stage: the first switch device X1 is closed, and the second switch device X2 and the third switch device X3 are both closed.
[0170] It can be seen that the resistance value is gradually decreasing from the first discharge stage to the third discharge stage.
[0171] (6) Figure 5 As shown in f, when the variable discharge resistor unit includes the first discharge resistor R1, the second discharge resistor R2, the third discharge resistor R3, the second switch device X2, the third switch device X3 and the fourth switch device X4, the first switch device X1, the first discharge resistor R1, the second discharge resistor R2 and the third discharge resistor R3 are connected in series, the second switch device X2 is connected in parallel across the second discharge resistor R2, the third switch device X3 is connected in parallel across the third discharge resistor R3, and the fourth switch device X4 is connected in parallel across the fourth discharge resistor.
[0172] In the first discharge stage: the first switch device X1 is closed, and the second switch device X2 and the third switch device X3 are opened;
[0173] Second discharge stage: the first switch device X1 is closed, the second switch device X2 or the third switch device X3 is closed or the fourth switch device X4 is closed;
[0174] The third discharge stage: the first switch device X1 is closed, the second switch device X2 and the third switch device X3 are closed, or the second switch device X2 and the fourth switch device X4 are closed, or the third switch device X3 and the fourth switch device X4 are closed;
[0175] Fourth discharge stage: the second switch device X2, the third switch device X3 and the fourth switch device X4 are all closed.
[0176] It can be seen that the resistance value is gradually decreasing from the first discharge stage to the fourth discharge stage.
[0177] (7) Figure 5 As shown in g, when the variable discharge resistor unit includes a first discharge resistor R1, a second discharge resistor R2, a third discharge resistor R3, a second switch device X2 and a third switch device X3, the first switch device X1 is connected in series with the first discharge resistor R1 (first branch), the second switch device X2 is connected in series with the second discharge resistor R2 (second branch), the third switch device X3 is connected in series with the third discharge resistor R3 (third branch), and the first branch, the second branch and the third branch are connected in parallel.
[0178] In the first discharge stage: the first switch device X1 or the second switch device X2 or the third switch device X3 is closed, and the other switch devices are opened;
[0179] Second discharge stage: the first switch device X1 and the second switch device X2 are closed, or the second switch device X2 and the third switch device X3 are closed, or the first switch device X1 and the third switch device X3 are closed;
[0180] The third discharge stage: the first switch device X1, the second switch device X2 and the third switch device X3 are all closed.
[0181] It can be seen that the resistance value is gradually decreasing from the first discharge stage to the third discharge stage.
[0182] (8) Figure 5 As shown in h, when the variable discharge resistor unit includes the first discharge resistor R1, the second discharge resistor R2, the third discharge resistor R3, the second switch device X2 and the third switch device X3, the first switch device X1, the first discharge resistor R1, the second discharge resistor R2, and the second switch device X2 are connected in series, and the third discharge resistor R3 and the third switch device X3 are connected in series and then connected in parallel at both ends of the second discharge resistor R2 and the second switch device X2.
[0183] In the first discharge stage: the first switch device X1 is closed, the second switch device X2 is closed, the third switch device X3 is opened, and the resistance value of the second discharge resistor R2 is greater than the resistance value of the third discharge resistor R3;
[0184] Second discharge stage: the first switch device X1 is closed, the second switch device X2 is opened, and the third switch device X3 is closed;
[0185] The third discharge stage: the first switch device X1, the second switch device X2 and the third switch device X3 are all closed.
[0186] It can be seen that the resistance value is gradually decreasing from the first discharge stage to the third discharge stage.
[0187] It should be understood that in the above 8 exemplary structures, the resistance connected in the first discharge stage is the largest, and the resistance connected in the last discharge stage is the smallest. The discharge is performed in a step-by-step manner from the first discharge stage to the last discharge stage to ensure that the discharge efficiency is improved without burning out the resistor in the discharge circuit.
[0188] In another implementation, when the discharge circuit includes multiple discharge resistors, discharge can be performed in stages, that is, the maximum resistance of the combination of multiple discharge resistors is used as the first discharge stage discharge to avoid the discharge resistor from burning due to excessive heat loss rate, and the resistance of the combination of multiple discharge resistors is reduced in sequence from the second discharge stage to the Nth stage to improve the discharge efficiency. More specifically, when multiple discharge resistors are in a series relationship, the discharge resistors from the first discharge stage to the Nth stage are reduced from the maximum number to one discharge resistor; when multiple discharge resistors are in a parallel relationship, the discharge resistors from the first discharge stage to the Nth stage are increased from one discharge resistor to the maximum number of discharge resistors to reduce the total resistance; when multiple discharge resistors include a series relationship and a parallel relationship, the combination of the discharge resistors with the maximum resistance to the combination of the discharge resistors with the minimum resistance is reduced in different stages.
[0189] Based on the control method of the discharge circuit provided in the above embodiment, further combined with Figure 3 As shown, when the switch device is a MOS switch, the embodiment of the present application may also provide a control process of the discharge circuit, which may include:
[0190] Step 1: Calculate the output equivalent capacitance value based on the series-parallel mode.
[0191] Among them, the current output mode can be judged according to the operating state of the resonant conversion circuit. Assuming that the first capacitance value is C1, the second capacitance value is C2, and the third capacitance value is C3, if the output mode is the series mode, the equivalent capacitance value of the output end is (C3+((C1*C2) / (C1+C2))); if the output mode is the parallel mode, the equivalent capacitance value of the output end is (C1+C2+C3).
[0192] Step 2: Calculate the output load characteristics by pre-discharging.
[0193] Specifically, the MOS switch is controlled to be turned on, the discharge resistor R1 is connected to the discharge circuit, and the timing is turned on at the same time; then the VT instantaneous value (that is, the output voltage value) is recorded once every T period; the MOS switch is disconnected after the number of records is greater than 3 times; the change rate of the voltage instantaneous value (output voltage value) of two adjacent times (that is, the instantaneous change rate) is further calculated; then the average value of the change rate of all voltage instantaneous values (that is, the average instantaneous change rate) is calculated; then the actual capacitance value can be calculated based on the average value, period T and RC discharge characteristics; finally, the actual capacitance value is compared with the equivalent capacitance value calculated in step 1. If the error between the actual capacitance value and the equivalent capacitance value is within the preset error range, the load characteristic is a pure resistance characteristic; otherwise, it is a CV characteristic.
[0194] Step 3: Perform formal discharge or alarm prompt according to load characteristics.
[0195] Specifically, if the load characteristic is a pure resistance characteristic, the MOS switch is controlled to be turned on, the discharge circuit starts to discharge formally, and the timing is turned on; it is judged whether the output voltage is less than or equal to the standard voltage, or whether the timer has timed out; if the output voltage is less than or equal to the standard voltage, or the timer has timed out, the MOS switch is controlled to be turned off, and the discharge ends. If the load characteristic is a CV characteristic, the MOS switch is controlled to be turned off, the discharge ends, and an alarm prompt is given.
[0196] In the embodiment of the present application, by determining the load characteristics and further completing the discharge action according to the load characteristics, there is no need to set an anti-reverse diode, thereby reducing the hardware cost. Further, by disconnecting the discharge circuit when the load characteristic is a CV characteristic, damage to the discharge circuit is avoided when the battery load is connected, thereby improving the stability of the discharge circuit.
[0197] Based on the control method of the discharge circuit provided in the above embodiment, in some possible implementations, when the load characteristic is a capacitance-voltage characteristic, the discharge circuit includes a discharge resistor and a switching device, and the discharge circuit is controlled to be closed or opened according to the load characteristic, including: controlling the switching device to be opened and sending an alarm message.
[0198] Alarm information refers to information used to provide warnings to maintenance personnel, which can be in the form of flashing indicator lights, sounding buzzers, pop-up windows on the host computer, messages sent through third-party applications, etc., and is not specifically limited here.
[0199] It should be understood that when the load characteristic is a capacitance-voltage characteristic, no matter how many discharge resistors the discharge resistor includes, the discharge circuit needs to be disconnected and an alarm message is sent so that maintenance personnel can maintain the electronic equipment and avoid damage to the discharge circuit.
[0200] Based on the control method of the discharge circuit provided in the above embodiment, see Figure 6 , which is a structural schematic diagram of another resonant conversion circuit provided in an embodiment of the present application. Figure 6 As shown, when the resonant conversion circuit includes a first discharge resistor R1, a second discharge resistor R2, a first switch device MOS1, and a second switch device MOS2, the embodiment of the present application may also provide a control process of the discharge circuit, which may include:
[0201] Step 1: Calculate the output equivalent capacitance value based on the series-parallel mode.
[0202] Among them, the current output mode can be judged according to the operating state of the resonant conversion circuit. Assuming that the first capacitance value is C1, the second capacitance value is C2, and the third capacitance value is C3, if the output mode is the series mode, the equivalent capacitance value of the output end is (C3+((C1*C2) / (C1+C2))); if the output mode is the parallel mode, the equivalent capacitance value of the output end is (C1+C2+C3).
[0203] Step 2: Calculate the output load characteristics through pre-discharge.
[0204] Specifically, MOS1 is controlled to be turned on and MOS2 is controlled to be turned off, so as to connect the first discharge resistor R1 and the second discharge resistor R2 in series to the circuit, and start the timing at the same time; the VT instantaneous value (that is, the output voltage value) is recorded once every T period; MOS1 is disconnected after the number of records is greater than 3 times; the change rate of the two adjacent VT instantaneous values (that is, the instantaneous change rate) is further calculated; then the average value of the change rate of all VT instantaneous values (that is, the average instantaneous change rate) is calculated; further according to the average value (average instantaneous change rate), period T and RC discharge function (discharge characteristic of RC circuit), the actual capacitance value is calculated; finally, the actual capacitance value is compared with the equivalent capacitance value calculated in step 1. If the error between the actual capacitance value and the equivalent capacitance value is within the preset error range, the load characteristic is a pure resistance characteristic; otherwise, it is a CV characteristic.
[0205] Step 3: Perform formal discharge or alarm prompt according to load characteristics.
[0206] If the load characteristic is a pure resistance characteristic, the MOS1 switch is controlled to be turned on and the MOS2 switch is turned off, that is, the first discharge stage discharge is started, and the timing is started; further determine whether the output voltage reaches the first standard voltage, or whether the timer has timed out; if the output voltage reaches the first standard voltage or the timer has timed out, the MOS1 switch and the MOS2 switch are controlled to be turned on, the second discharge stage discharge is started, and the timing is started; further determine whether the voltage reaches the second standard voltage, or whether the timer has timed out; if the output voltage reaches the second standard voltage or the timer has timed out, the MOS1 switch and the MOS2 switch are controlled to be disconnected, and the detection and discharge are ended. If the load characteristic is a CV characteristic, the MOS1 switch and the MOS2 switch are controlled to be disconnected, the discharge is ended, and an alarm prompt is given.
[0207] Among them, in the embodiment of the present application, graded discharge is performed through two discharge resistors. Under the premise of not changing the discharge time, the heating power of the resistor in the discharge circuit during the load characteristic determination stage is reduced and the conduction current of the MOS is reduced, and the discharge efficiency can be improved.
[0208] Based on the above embodiments, the discharge circuit includes a single discharge resistor (single resistor embodiment for short) and the discharge circuit includes two or more discharge resistors (multiple resistor embodiment for short), further combined with Figure 7a and Figure 7b As shown, Figure 7a A schematic diagram of a curve showing the variation of residual voltage during a single resistor discharge process provided in an embodiment of the present application. Figure 7bA schematic diagram of a curve showing current changes of a switching device in a dual-resistance discharge process provided in an embodiment of the present application.
[0209] Combination Figure 7a As shown, under the same discharge time, the discharge efficiency of the dual resistor embodiment is faster than that of the single resistor embodiment; Figure 7b As shown, in the initial discharge stage (i.e., from time 0 to the time when the currents of the single resistor embodiment and the dual resistor embodiment are the same), the current of the dual resistor embodiment in the discharge process is smaller than the current of the single resistor embodiment in the discharge process, which can prevent the discharge circuit from being burned due to excessive current; further, in the subsequent discharge stage (from the time when the currents of the single resistor embodiment and the dual resistor embodiment are the same to the last time), the dual resistor embodiment can increase the current by reducing the resistance value, which can further accelerate the discharge efficiency.
[0210] Based on the control method of a discharge circuit provided in the above embodiment, the present application also provides a control device for a discharge circuit, see Figure 8 , which is a schematic diagram of the structure of the control device of the discharge circuit provided in the embodiment of the present application, combined with FIG8, the control device of the discharge circuit provided in the embodiment of the present application can be applied to the resonant conversion circuit, and the resonant conversion circuit includes the discharge circuit, including:
[0211] The acquisition module 801 is used to acquire the load characteristic of the resonant conversion circuit; wherein the load characteristic is a pure resistance characteristic or a capacitance-voltage characteristic;
[0212] The first control module 802 is used to control the discharge circuit to be turned on when the load characteristic is a pure resistance characteristic;
[0213] Alternatively, the second control module 803 is used to control the discharge circuit to be disconnected when the load characteristic is a capacitance-voltage characteristic.
[0214] As an example, before obtaining module 801, it also includes:
[0215] A first acquisition module, used for closing the discharge circuit and periodically acquiring the output voltage value of the resonant conversion circuit;
[0216] A trend determination module, used to determine the output voltage change trend of the resonant conversion circuit according to a plurality of output voltage values;
[0217] The first load characteristic determination module is used to determine the load characteristic of the resonant conversion circuit according to the output voltage variation trend.
[0218] As an example, before obtaining module 801, it also includes:
[0219] A capacitance value acquisition module, used to acquire an equivalent capacitance value corresponding to the resonant conversion circuit, and to acquire an actual capacitance value of the resonant conversion circuit; wherein the equivalent capacitance value is associated with an output mode of the resonant conversion circuit;
[0220] The second load characteristic determination module is used to determine the load characteristic of the resonant conversion circuit according to the equivalent capacitance value and the actual capacitance value.
[0221] As an example, the capacitance value acquisition module is used to:
[0222] Obtaining an output mode of the resonant conversion circuit; wherein the output mode includes a series output mode or a parallel output mode;
[0223] The equivalent capacitance value corresponding to the resonant conversion circuit is determined according to the output mode.
[0224] As an example, the capacitance value acquisition module is used to:
[0225] The discharge circuit is closed, and the output voltage value of the resonant conversion circuit is periodically collected;
[0226] According to the multiple output voltage values, the change rate between two adjacent output voltage values collected is obtained, and the average change rate of the multiple output voltage values in the collection period is obtained;
[0227] The actual capacitance value of the resonant conversion circuit is determined according to the average change rate, the acquisition period, and the discharge characteristics of the resistor-capacitor RC circuit.
[0228] As an example, the discharge circuit includes a switch device and a discharge resistor, and the switch device is connected in series with the discharge resistor; the second control module 803 is used to:
[0229] Controlling the switch device to close so as to conduct the discharge circuit;
[0230] Also included is a first real-time control module, configured to:
[0231] Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit;
[0232] When the output voltage is less than or equal to the standard voltage, or the discharge time is longer than the timing time, the switch device is controlled to be disconnected to disconnect the discharge circuit.
[0233] As an example, the discharge circuit includes a variable discharge resistance unit and a first switch device, wherein the first switch device is connected in series with the variable discharge resistance unit; and a second control module 803 is used to:
[0234] Controlling the first switch device to close, and controlling the variable discharge resistance unit to be connected to the discharge circuit with a first resistance value;
[0235] Also includes: a second real-time control module, used for:
[0236] Real-time detection of the output voltage of the resonant conversion circuit, or real-time detection of the discharge time of the discharge circuit;
[0237] When the output voltage is less than or equal to the first standard voltage, or the discharge time is greater than the first timing duration, the variable discharge unit is controlled to be connected to the discharge circuit with a second resistance value; wherein the second resistance value is less than the first resistance value;
[0238] Continue to detect the output voltage of the resonant conversion circuit in real time, or detect the discharge time of the discharge circuit in real time;
[0239] When the output voltage is less than or equal to the second standard voltage, or the discharge time is greater than the second timing duration, the first switch device is controlled to be disconnected to disconnect the discharge circuit.
[0240] As an example, the first load characteristic determination module is used to:
[0241] When the input voltage of the resonant conversion circuit changes, and the change trend of the output voltage is consistent with the change trend of the input voltage, it is determined that the load characteristic of the resonant conversion circuit is a pure resistance characteristic;
[0242] When the input voltage of the resonant conversion circuit changes and the output voltage of the output voltage change trend remains constant, it is determined that the load characteristic of the resonant conversion circuit is a capacitance-resistance characteristic.
[0243] As an example, the second load characteristic determination module is used to:
[0244] Obtain the difference between the equivalent capacitance value and the actual capacitance value;
[0245] When the difference is within the preset error range, the load characteristic of the resonant conversion circuit is a pure resistance characteristic;
[0246] When the difference is outside the preset error range, the load characteristic of the resonant conversion circuit is a capacitance-voltage characteristic.
[0247] The control device of the discharge circuit provided in the embodiment of the present application has the same beneficial effects as the control method of the discharge circuit provided in the above embodiment, and therefore will not be described in detail.
[0248] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0249] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes, so that the device executes the control method of the discharge circuit described in any embodiment of the present application.
[0250] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the method for controlling a discharge circuit described in any embodiment of the present application.
[0251] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device and equipment embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0252] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0253] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0254] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling a discharge circuit, characterized in that: The method is applied to a resonant conversion circuit, wherein the resonant conversion circuit includes a discharge circuit, including: Obtaining a load characteristic of the resonant conversion circuit; wherein the load characteristic is a pure resistance characteristic or a capacitance-voltage characteristic; When the load characteristic is a pure resistance characteristic, controlling the discharge circuit to be turned on; Alternatively, when the load characteristic is a capacitance-voltage characteristic, the discharge circuit is controlled to be disconnected.
2. The method according to claim 1, characterized in that Before obtaining the load characteristic of the resonant conversion circuit, the method further includes: The discharge circuit is closed, and the output voltage value of the resonant conversion circuit is periodically collected; Determining the output voltage variation trend of the resonant conversion circuit according to the plurality of output voltage values; The load characteristic of the resonant conversion circuit is determined according to the output voltage variation trend.
3. The method according to claim 1, characterized in that Before obtaining the load characteristic of the resonant conversion circuit, the method further includes: Obtaining an equivalent capacitance value corresponding to the resonant conversion circuit, and obtaining an actual capacitance value of the resonant conversion circuit; wherein the equivalent capacitance value is associated with an output mode of the resonant conversion circuit; The load characteristic of the resonant conversion circuit is determined according to the equivalent capacitance value and the actual capacitance value.
4. The method according to claim 3, characterized in that The obtaining of an equivalent capacitance value corresponding to the resonant conversion circuit includes: Acquire an output mode of the resonant conversion circuit; wherein the output mode includes a series output mode or a parallel output mode; An equivalent capacitance value corresponding to the resonant conversion circuit is determined according to the output mode.
5. The method according to claim 3, characterized in that: The obtaining of the actual capacitance value of the resonant conversion circuit comprises: The discharge circuit is closed, and the output voltage value of the resonant conversion circuit is periodically collected; According to the plurality of output voltage values, obtaining a change rate between two adjacent output voltage values collected, and obtaining an average change rate of the plurality of output voltage values within a collection period; The actual capacitance value of the resonant conversion circuit is determined according to the average change rate, the acquisition period and the discharge characteristics of the resistor-capacitor RC circuit.
6. The method according to claim 1, characterized in that The discharge circuit comprises a switch device and a discharge resistor, wherein the switch device is connected in series with the discharge resistor; The controlling the discharge circuit to be turned on includes: Controlling the switch device to close so as to turn on the discharge circuit; The method further comprises: Detecting the output voltage of the resonant conversion circuit in real time, or detecting the discharge duration of the discharge circuit in real time; When the output voltage is less than or equal to the standard voltage, or the discharge time is greater than the timing time, the switch device is controlled to be disconnected to disconnect the discharge circuit.
7. The method according to claim 1, characterized in that The discharge circuit comprises a variable discharge resistance unit and a first switch device, wherein the first switch device is connected in series with the variable discharge resistance unit; The controlling the discharge circuit to be turned on includes: Controlling the first switch device to close, and controlling the variable discharge resistor unit to be connected to the discharge circuit with a first resistance value; The method further comprises: Detecting the output voltage of the resonant conversion circuit in real time, or detecting the discharge duration of the discharge circuit in real time; When the output voltage is less than or equal to the first standard voltage, or the discharge time is greater than the first timing duration, the variable discharge unit is controlled to be connected to the discharge circuit with a second resistance value; wherein the second resistance value is less than the first resistance value; Continue to detect the output voltage of the resonant conversion circuit in real time, or detect the discharge time of the discharge circuit in real time; When the output voltage is less than or equal to the second standard voltage, or the discharge time is greater than the second timing duration, the first switch device is controlled to be disconnected, so that the discharge circuit is disconnected.
8. The method according to claim 2, characterized in that: Determining the load characteristic of the resonant conversion circuit according to the output voltage variation trend includes: When the input voltage of the resonant conversion circuit changes, and the output voltage change trend is consistent with the input voltage change trend, determining that the load characteristic of the resonant conversion circuit is a pure resistance characteristic; When the input voltage of the resonant conversion circuit changes and the output voltage change trend is that the output voltage remains constant, it is determined that the load characteristic of the resonant conversion circuit is a capacitance-resistance characteristic.
9. The method according to claim 3, characterized in that: Determining the load characteristic of the resonant conversion circuit according to the equivalent capacitance value and the actual capacitance value includes: Obtaining a difference between the equivalent capacitance value and the actual capacitance value; When the difference is within a preset error range, the load characteristic of the resonant conversion circuit is a pure resistance characteristic; When the difference is outside the preset error range, the load characteristic of the resonant conversion circuit is a capacitance-voltage characteristic.
10. A control device for a discharge circuit, characterized in that: The device is applied to a resonant conversion circuit, wherein the resonant conversion circuit includes a discharge circuit, including: An acquisition module, used to acquire the load characteristic of the resonant conversion circuit; wherein the load characteristic is a pure resistance characteristic or a capacitance-voltage characteristic; A first control module, used for controlling the discharge circuit to be turned on when the load characteristic is a pure resistance characteristic; Alternatively, the second control module is used to control the discharge circuit to be disconnected when the load characteristic is a capacitance-voltage characteristic.
Citation Information
Cited By
Motion control card with motor protection function and control system
CN119787930A
A motion control card and control system with motor protection function
CN119787930B
