Precharge control method, device and storage medium

By judging the load voltage change and time during the pre-charging process, and combining adjustable resistors and sliding rheostats, adaptive pre-charging control is achieved, which solves the problem of inefficient pre-charging in different devices and ensures the safety and efficiency of motors and high-voltage components.

CN122159144APending Publication Date: 2026-06-05GUANGZHOU SHIYUAN INNOVATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU SHIYUAN INNOVATION TECH CO LTD
Filing Date
2024-12-05
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing pre-charge control technology cannot achieve optimal performance in different devices, leading to damage to motors and high-voltage components and reduced efficiency.

Method used

By judging the voltage change across the load during the pre-charging process, and combining the pre-charging duration and the power supply voltage difference, the pre-charging process is dynamically adjusted to ensure that the load reaches the optimal state. The current is adjusted by using an adjustable resistor and a sliding rheostat to achieve adaptive pre-charging control.

Benefits of technology

It can optimize the load under any precharge condition, prevent damage and improve motor efficiency, and provide timely precharge alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122159144A_ABST
    Figure CN122159144A_ABST
Patent Text Reader

Abstract

The application provides a pre-charging control method, device and storage medium. The method is applied to a pre-charging device, the pre-charging device comprises a pre-charging circuit, the pre-charging circuit is connected with a load, the load comprises a load resistance and a load capacitance, and the load resistance is connected in parallel with the load capacitance. The method comprises the following steps: in a pre-charging process, a first voltage and a second voltage are acquired, the pre-charging process is a process of pre-charging the load, the first voltage is a voltage across the load at a current moment, and the second voltage is a voltage across the load at a previous moment of the current moment; and if the first voltage is less than or equal to the second voltage, the pre-charging process is ended. The technical scheme can make the pre-charging reach an optimal state in any case.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of pre-charging technology, and more particularly to pre-charging control methods, devices, and storage media. Background Technology

[0002] Pre-charge control technology is a technique that protects motors and high-voltage components through a pre-charging process. The main purpose of pre-charge control technology is to pre-charge the motor before high-voltage power is applied, preventing damage to high-voltage components from instantaneous high currents in the high-voltage circuit, extending the motor's lifespan, and improving its efficiency.

[0003] During pre-charging, a voltage threshold is typically set in advance, and pre-charging stops when the load voltage reaches the threshold. Alternatively, a time threshold is set in advance, and pre-charging stops when the pre-charging time reaches the threshold. However, because pre-charging circuits or loads differ in different devices, preset voltage or time thresholds cannot meet all pre-charging conditions and cannot achieve optimal pre-charging performance. Summary of the Invention

[0004] This application provides a pre-charge control method, apparatus, and storage medium to optimize pre-charge.

[0005] In a first aspect, a pre-charging control method is provided, applied to a pre-charging device, the pre-charging device including a pre-charging circuit connected to a load, the load including a load resistor and a load capacitor, the load resistor and the load capacitor being connected in parallel;

[0006] The method includes:

[0007] During the pre-charging process, a first voltage and a second voltage are acquired. The pre-charging process is a process of pre-charging the load. The first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment.

[0008] If the first voltage is less than or equal to the second voltage, the pre-charging process ends.

[0009] In this technical solution, during the pre-charging process, a first voltage and a second voltage are acquired. The pre-charging process is the process of pre-charging the load. The first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment. If the first voltage is less than or equal to the second voltage, the pre-charging process ends. This is equivalent to stopping the pre-charging only when the voltage across the load remains unchanged or decreases in two adjacent moments. The voltage across the load in two adjacent moments can change accordingly with the changes in the pre-charging circuit. Regardless of the pre-charging situation, when the voltage across the load remains unchanged or decreases in two adjacent moments, it indicates that the load has reached its optimal state. Therefore, the technical solution of this application can make the pre-charging reach its optimal state under any circumstances.

[0010] In conjunction with the first aspect, the pre-charging control method further includes: determining the pre-charging duration at the current moment, wherein the pre-charging duration is the duration of the pre-charging process; and terminating the pre-charging process if the pre-charging duration is longer than a preset duration.

[0011] If the duration of the pre-charging process exceeds the preset duration, the pre-charging process will end to prevent it from remaining in the pre-charging process indefinitely due to uncertainties such as load short circuits.

[0012] In conjunction with the first aspect, in one possible implementation, the pre-charging circuit is connected between the charging power supply and the load; after the pre-charging process ends, the method further includes: comparing the first voltage and the third voltage, wherein the third voltage is the voltage of the charging power supply at the current moment; if the voltage difference between the third voltage and the first voltage is greater than a preset voltage difference, outputting a pre-charging alarm, wherein the pre-charging alarm is used to indicate pre-charging failure.

[0013] When the voltage difference between the voltage after the pre-charging process ends and the voltage of the charging power supply is greater than the preset voltage difference, a pre-charging alarm is output to indicate that the pre-charging has failed, providing timely warning.

[0014] In conjunction with the first aspect, in one possible implementation, before ending the pre-charging process, the method further includes: determining whether the first voltage is greater than a preset voltage; if the first voltage is greater than the preset voltage, performing the step of ending the pre-charging process.

[0015] Before ending the pre-charging process, the system checks whether the first voltage is greater than the preset voltage. The pre-charging process ends only when the first voltage is greater than the preset voltage, thus avoiding misjudgments caused by the voltage across the capacitor remaining unchanged due to power outages or other reasons.

[0016] In conjunction with the first aspect, in one possible implementation, the pre-charging circuit includes a pre-charging resistor connected between the charging power supply and the load, the pre-charging resistor being an adjustable resistor; the pre-charging process, before acquiring the first voltage and the second voltage, further includes: acquiring the load demand current, the load demand current being the current required to pre-charge the load; and adjusting the pre-charging resistor according to the load demand current.

[0017] By setting an adjustable resistor as a pre-charging resistor in the pre-charging circuit, the load demand current required for pre-charging can be obtained before pre-charging. The adjustable resistor can be adjusted according to the load demand current to prevent damage to the load caused by an unsuitable pre-charging current and ensure normal pre-charging.

[0018] In conjunction with the first aspect, in one possible implementation, the pre-charging resistor includes a plurality of fixed resistors connected in parallel, and a switch is provided on the parallel branch where each fixed resistor is located; adjusting the pre-charging resistor according to the load demand current includes: determining a first fixed resistor among the plurality of fixed resistors according to the load demand current, the first fixed resistor being the fixed resistor required to pre-charge the load; and turning on the switch on the parallel branch where the first fixed resistor is located.

[0019] By setting multiple fixed resistors connected in parallel in the pre-charging circuit, and turning on the switches in the parallel branches where the corresponding fixed resistors are located according to the load demand current, the pre-charging current can be made to meet the load demand.

[0020] In conjunction with the first aspect, in one possible implementation, the pre-charging resistor is a sliding rheostat, which includes a sliding switch; adjusting the pre-charging resistor according to the load demand current includes: determining the pre-charging demand resistance value according to the load demand current, the pre-charging demand resistance value being the resistance value required to pre-charge the load; and adjusting the sliding switch to the position corresponding to the pre-charging demand resistance value.

[0021] By setting a sliding rheostat in the pre-charging circuit and adjusting the sliding switch of the rheostat to the appropriate position according to the load demand current, the pre-charging current can be made to meet the load demand.

[0022] In a second aspect, a computer device is provided, including a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, wherein when the processor executes the one or more computer programs, the computer device implements the pre-charge control method of the first aspect described above.

[0023] Thirdly, a pre-charging device is provided, comprising a pre-charging circuit and a pre-charging control unit, wherein: the pre-charging circuit is connected to a load, the load comprising a load resistor and a load capacitor, the load resistor and the load capacitor being connected in parallel; the pre-charging control unit is connected to the pre-charging circuit and the load, and the pre-charging control unit is used to execute the pre-charging control method of the first aspect described above.

[0024] In conjunction with the third aspect, in one possible design, the pre-charging device further includes a charging power supply and a main charging switch. The pre-charging circuit includes a pre-charging resistor and a pre-charging switch, wherein: one end of the main charging switch is connected to the charging power supply, and the other end of the main charging switch is connected to the load; one end of the pre-charging resistor is connected to the charging power supply, and the other end of the pre-charging resistor is connected to one end of the pre-charging switch, and the other end of the pre-charging switch is connected to the load.

[0025] Fourthly, a computer-readable storage medium is provided, which stores a computer program, the computer program including program instructions, which, when executed by a processor, cause the processor to perform the precharge control method of the first aspect.

[0026] This application can achieve the following technical effects: it is equivalent to stopping the pre-charging only when the voltage across the load remains unchanged or decreases in two adjacent moments. The voltage across the load in two adjacent moments can change accordingly with the change of the pre-charging circuit. Regardless of the pre-charging situation, when the voltage across the load remains unchanged or decreases in two adjacent moments, it indicates that the load has reached the optimal state. Therefore, the technical solution of this application can make the pre-charging reach the optimal state under any circumstances. Attached Figure Description

[0027] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a schematic diagram of the composition of the pre-charging device provided in the embodiments of this application;

[0029] Figures 2A-2C A schematic diagram illustrating the composition of the pre-charge resistor provided in an embodiment of this application;

[0030] Figure 3 A flowchart illustrating a pre-charge control method provided in an embodiment of this application;

[0031] Figure 4This is a schematic diagram of the structure of a pre-charging control device provided in an embodiment of this application;

[0032] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0034] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. Moreover, the terms "first," "second," and "third" used in this application do not limit the data or execution order, but only distinguish identical or similar items with substantially the same function and effect.

[0035] The solution in this application is applicable to pre-charging scenarios, which refer to scenarios where a small current is supplied to the load to charge it before the load is officially charged. Pre-charging scenarios include, for example, pre-charging a motor, pre-charging a battery system, pre-charging an electric vehicle drive system, pre-charging a high-power switch-mode power supply, and so on, and are not limited to the examples here.

[0036] There are two common pre-charging schemes:

[0037] The first method involves setting a voltage threshold in advance. During the pre-charging process, it is determined whether the load voltage reaches the voltage threshold. If the load voltage reaches the voltage threshold, pre-charging is stopped, thus ending the pre-charging process.

[0038] The second method involves setting a time threshold in advance. During the pre-charging process, it is determined whether the pre-charging time has reached the time threshold. If the pre-charging time has reached the time threshold, pre-charging is stopped, thus ending the pre-charging process.

[0039] Because the pre-charging circuits or loads in different devices are different, determining whether to stop pre-charging based on a fixed voltage threshold or a fixed time threshold cannot ensure that pre-charging reaches its optimal state in all cases when it stops.

[0040] In view of this, this application proposes a new pre-charging scheme. During the pre-charging process, the pre-charging is stopped by judging the voltage change at two adjacent moments across the load. The pre-charging process ends only when the voltage at two adjacent moments across the load remains unchanged or decreases. The voltage at two adjacent moments across the load can adaptively change with the changes in the pre-charging circuit and the load. Regardless of the pre-charging situation, stopping the pre-charging only when the voltage at two adjacent moments across the load remains unchanged or decreases ensures that the load reaches its optimal state. Therefore, it can adapt to all pre-charging situations and ensure that the pre-charging reaches its optimal state under any circumstances.

[0041] The technical solution of this application can be applied to pre-charging equipment. For ease of understanding, the pre-charging equipment of this application will be introduced first.

[0042] See Figure 1 , Figure 1 This is a schematic diagram of the composition of a pre-charging device provided in an embodiment of this application, as shown below. Figure 1 As shown, the pre-charging device 10 includes a charging power supply 101, a pre-charging circuit 102, and a pre-charging control unit 103, wherein:

[0043] The pre-charging circuit 102 includes a pre-charging resistor 1021. The charging power supply 101 is connected to the load 20 through the pre-charging resistor 1021. The load 20 includes a load resistor 201 and a load capacitor 202. The load resistor 201 and the load capacitor 202 are connected in parallel. There can be multiple loads 20.

[0044] The pre-charge control unit 103 is connected to the pre-charge circuit 102 and the load 20.

[0045] The charging power supply 101 is used to charge the load 20. A main charging switch S1 is also connected between the charging power supply 101 and the load 20. One end of the main charging switch S1 is connected to the charging power supply 101, and the other end of the main charging switch S1 is connected to the load 20. The charging branch containing the main charging switch S1 is the main charging branch, which is used to formally charge the load 20. When the main charging switch S1 is closed, the main charging branch is turned on, and the charging power supply 101 outputs charging current to the load 20 through the main charging branch to formally charge the load 20.

[0046] It is understood that the charging power supply 101 can also be located outside the pre-charging device 10 and be an independent device from the pre-charging device 10. This application does not limit the form of the charging power supply.

[0047] The pre-charging circuit 102 is a circuit connected between the charging power supply 101 and the load 20 for pre-charging the load 20. The pre-charging circuit 102 also includes a pre-charging switch S2, which is connected between the pre-charging resistor 1021 and the load 20. One end of the pre-charging switch S2 is connected to the pre-charging resistor 1021, and the other end is connected to the load 20. The pre-charging circuit 102 is connected in parallel with the main charging branch containing the main charging switch S1, forming a pre-charging branch. When the main charging switch S1 is open and the pre-charging switch S2 is closed, the main charging branch containing the main charging switch S1 is open, and the pre-charging branch is connected. The charging power supply 101 outputs a pre-charging current to the load 20 through the pre-charging branch to pre-charge the load 20.

[0048] In some possible cases, the pre-charge resistor 1021 in the pre-charge circuit 102 can be an adjustable resistor, which is a resistor whose resistance value can be adjusted. The pre-charge resistor 1021 can be as follows: Figure 2A As shown, it includes multiple fixed resistors, which are resistors with fixed resistance values. These fixed resistors are connected in parallel, and a switch is installed in each parallel branch containing a fixed resistor. The resistance values ​​of the multiple fixed resistors in the pre-charge resistor 1021 can be the same or different; alternatively, the pre-charge resistor 1021 can also be as follows... Figure 2B As shown, it includes a sliding rheostat, which includes a sliding switch; or, the pre-charge resistor 1021 can also be as follows: Figure 2C As shown, it includes multiple fixed resistors connected in parallel and a sliding rheostat connected in series with the multiple fixed resistors. This application does not limit the specific composition and structure of the pre-charge resistor 1021.

[0049] The pre-charge control unit 103 is a module used to control the charging power supply 101 to charge the load. The pre-charge control unit 103 can be any module capable of charging control. For example, the pre-charge control unit 103 can be a microcontroller unit (MCU). The pre-charge control unit 103 can control the main charging switch S1 to open and control the pre-charge switch S2 to close, pre-charging the load and thus initiating the pre-charging process. The pre-charge control unit 103 can also control the pre-charge switch S2 to open, stopping the pre-charging of the load and ending the pre-charging process. The pre-charge control unit 103 can also control the main charging switch S1 to close, initiating formal charging of the load. The pre-charge control unit 103 can acquire the voltage across the load using methods such as analog-to-digital conversion (ADC).

[0050] The technical solution of this application can be realized based on the pre-charging device. The technical solution of this application is described below.

[0051] See Figure 3 , Figure 3 This is a flowchart illustrating a pre-charge control method provided in an embodiment of this application, as shown below. Figure 3 As shown, the method includes the following steps:

[0052] S301 precharges the load.

[0053] Here, the process of pre-charging the load can be referred to as the pre-charging process. The pre-charging device can pre-charge the load by closing the pre-charging switch and opening the main charging switch. For information on the location and function of the pre-charging switch and the main charging switch within the pre-charging device, please refer to the preceding description of the pre-charging device.

[0054] S302, determine the pre-charge duration at the current moment.

[0055] Here, the pre-charge duration is the duration of the pre-charge process.

[0056] The difference between the current time and the pre-charging start time can be calculated to obtain the pre-charging duration at the current time. The pre-charging start time refers to the moment when the pre-charging of the load begins, which can be understood as the moment when the pre-charging switch is closed and the main charging switch is opened.

[0057] S303, determine whether the pre-charging duration is greater than the preset duration.

[0058] If the pre-charging duration exceeds the preset duration, it indicates that the pre-charging process has lasted for an extended period, potentially indicating a pre-charging malfunction. Step S307 should then be executed. Ending the pre-charging process when its duration exceeds the preset duration prevents it from remaining in the pre-charging process indefinitely due to unforeseen factors such as load short circuits.

[0059] If the pre-charging duration is less than or equal to the preset duration, it indicates that the pre-charging is proceeding normally, and step S304 is executed.

[0060] S304, obtain the first voltage and the second voltage.

[0061] Here, the first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment.

[0062] Specifically, the voltage across the load collected by the pre-charging control unit in the pre-charging device at the current moment can be determined to obtain the first voltage, and the voltage across the load collected by the pre-charging control unit in the charging device at the previous moment can be determined to obtain the second voltage.

[0063] S305 determines whether the first voltage is less than or equal to the second voltage.

[0064] If the first voltage is less than or equal to the second voltage, it means that the voltage across the load is no longer changing or decreasing, the load capacitor in the load is fully charged, and the load has reached its optimal state. Proceed to step S306. If the first voltage is greater than the second voltage, it means that the voltage across the load is still changing, the load capacitor in the load is not fully charged, and the load has not reached its optimal state. Proceed to step S301.

[0065] S306, determine whether the first voltage is greater than the preset voltage.

[0066] If the first voltage is greater than the preset voltage, it indicates that the voltage across the load has changed, and step S307 is executed. Before ending the pre-charging process, the first voltage is checked to see if it is greater than the preset voltage. The pre-charging process ends only when the first voltage is greater than the preset voltage, thus avoiding misjudgment caused by the voltage across the capacitor remaining unchanged due to power outages or other reasons.

[0067] If the first voltage is less than or equal to the preset voltage, it means that the voltage across the load has not changed, and step S301 continues.

[0068] S307, the pre-charging process has ended.

[0069] The pre-charging device can stop pre-charging the load by disconnecting the pre-charging switch, thereby ending the pre-charging process.

[0070] In some possible scenarios, after the pre-charging process ends, a comparison can be made between the first voltage and the third voltage, where the third voltage is the current voltage of the charging power supply. If the voltage difference between the third voltage and the first voltage is greater than a preset voltage difference, it indicates that the voltage across the load has not reached a safe voltage level, and a pre-charging alarm is output to indicate pre-charging failure. The pre-charging alarm also provides timely alerts when the voltage difference between the voltage after the pre-charging process ends and the voltage of the charging power supply is greater than a preset voltage difference.

[0071] If the voltage difference between the third voltage and the first voltage is less than or equal to the preset voltage difference, it means that the voltage across the load has reached a safe voltage level, the pre-charging is successful, and the main charging switch can be closed to charge the load and enter the formal charging process.

[0072] In the above Figure 3The corresponding technical solution involves acquiring a first voltage and a second voltage during the pre-charging process. The pre-charging process is the process of pre-charging the load. The first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment. If the first voltage is less than or equal to the second voltage, the pre-charging process ends. This is equivalent to stopping the pre-charging only when the voltage across the load remains unchanged or decreases in two adjacent moments. The voltage across the load in two adjacent moments can change accordingly with the changes in the pre-charging circuit. Regardless of the pre-charging situation, when the voltage across the load remains unchanged or decreases in two adjacent moments, it indicates that the load has reached its optimal state. Therefore, the technical solution of this application can ensure that the pre-charging reaches its optimal state under any circumstances.

[0073] In some possible cases, where the pre-charging resistor in the pre-charging device is an adjustable resistor, the pre-charging resistor can be adjusted according to the load's requirements before pre-charging the load. Specifically, before obtaining the first and second voltages, steps A1-A2 can be performed:

[0074] A1. Obtain the load current requirement.

[0075] Here, the load demand current is the current required to precharge the load.

[0076] The load current requirement can be input by the user, and the load current requirement can be obtained by acquiring the user input; or the load current requirement can be pre-stored in the load, and the load current requirement can be obtained by communicating with the load.

[0077] A2. Adjust the pre-charge resistor according to the load current requirement.

[0078] Here, adjusting the pre-charging resistor according to the load demand current means adjusting the resistance value of the pre-charging resistor according to the load demand current so that the current difference between the current flowing through the pre-charging resistor and the load demand current is less than the preset current difference.

[0079] In the pre-charge resistor Figure 2A As shown, in the case of multiple fixed resistors connected in parallel, the pre-charge resistance can be adjusted through the following steps a1-a2:

[0080] a1. Based on the load demand current, determine the first fixed resistor from among the multiple fixed resistors included in the pre-charge resistor.

[0081] Here, the first fixed resistor is the fixed resistor required to precharge the load, and the first fixed resistor includes at least one of the multiple fixed resistors included in the precharge resistor.

[0082] In some possible cases, multiple fixed resistors included in the pre-charge resistor can be pre-combined to obtain various combinations of fixed resistors, where the number of fixed resistor combinations is less than or equal to 'n' represents the number of fixed resistors included in the pre-charge resistor. The system determines the resistance values ​​for various fixed resistor combinations and stores the different combinations and their individual resistance values. After obtaining the load current requirement, the required pre-charge resistance value can be determined based on this current. This pre-charge resistance value is the resistance required to pre-charge the load. Among the resistance values ​​for each of the various fixed resistor combinations, the first resistance value closest to the required pre-charge resistance value is determined, and the fixed resistor in the combination corresponding to this first resistance value is designated as the first fixed resistor.

[0083] In other possible scenarios, multiple current ranges can be pre-set, with no overlap between them. Based on the multiple fixed resistors included in the pre-charging resistor, a matching combination of fixed resistors is pre-set for each of these current ranges. This matching combination refers to the combination of fixed resistors that ensures the output current of the pre-charging circuit falls within that current range, establishing a correspondence between current ranges and fixed resistor combinations. After obtaining the load demand current, the target current range to which the load demand current belongs can be determined from among the multiple current ranges. Based on the correspondence between current ranges and fixed resistor combinations, the fixed resistor combination corresponding to the target current range is determined, and the fixed resistor in the fixed resistor combination corresponding to the target current range is designated as the first fixed resistor.

[0084] a2. Turn on the switch on the parallel branch where the first fixed resistor is located.

[0085] Specifically, the switch on the parallel branch containing the first fixed resistor can be closed to turn on the switch on the same branch. Turning on the switch on the branch containing the first fixed resistor allows the first fixed resistor to be connected to the pre-charging circuit.

[0086] In steps a1-a2 above, by setting multiple fixed resistors connected in parallel in the pre-charging circuit, and turning on the switches in the parallel branches where the corresponding fixed resistors are located according to the load demand current, the pre-charging current can meet the load demand.

[0087] In the pre-charge resistor Figure 2B As shown, including the sliding rheostat, the pre-charge resistance can be adjusted through the following steps b1-b2:

[0088] b1. Determine the required precharge resistance value based on the load current demand.

[0089] Here, the precharge requirement resistance is the resistance required to precharge the load.

[0090] Since the load resistance is small, in one feasible implementation, the pre-charge required resistance value can be determined based on the voltage of the charging power supply in the pre-charge device and the load required current. The pre-charge required resistance value is the ratio of the voltage of the charging power supply in the pre-charge device to the load required current.

[0091] b2. Adjust the slide switch of the pre-charge resistor to the position corresponding to the pre-charge required resistance value.

[0092] Here, the position corresponding to the pre-charge demand resistance value refers to the position where the resistance of the sliding rheostat is equal to the pre-charge demand resistance value.

[0093] In steps b1-b2 above, by setting a sliding rheostat in the pre-charging circuit and adjusting the sliding switch of the rheostat to the appropriate position according to the load demand current, the pre-charging current can meet the load demand.

[0094] In the pre-charge resistor Figure 2C As shown, in the case of multiple fixed resistors connected in parallel and a sliding rheostat connected in series with the multiple fixed resistors, the pre-charge resistance can be adjusted by c1-c5 as follows:

[0095] c1. Determine the required precharge resistance value based on the load current demand.

[0096] For details on how step c1 is implemented, please refer to the description of step b1 above.

[0097] c2. Among the resistance values ​​corresponding to various fixed resistor combinations, determine the second resistance value that is less than the pre-charge required resistance value and closest to the pre-charge required resistance value, and determine the fixed resistor in the fixed resistor combination corresponding to the second resistance value as the second fixed resistor.

[0098] Here is an introduction to the resistance values ​​corresponding to various fixed value combinations, which can be found in the description of step a1 above.

[0099] c3. Turn on the switch on the parallel branch where the second fixed resistor is located.

[0100] Specifically, the switch on the parallel branch containing the second fixed resistor can be closed to turn on the switch on the same branch. Turning on the switch on the branch containing the second fixed resistor allows the second fixed resistor to be connected to the pre-charging circuit.

[0101] c4. Calculate the difference between the pre-charge required resistance and the second fixed resistance to obtain the required resistance difference.

[0102] c5. Adjust the slide switch of the pre-charge resistor to the position corresponding to the required resistance difference.

[0103] Here, the position corresponding to the required resistance difference refers to the position where the resistance of the sliding rheostat is equal to the required resistance difference.

[0104] By combining multiple fixed resistors with a sliding rheostat, precise adjustment of the current output by the pre-charging circuit can be achieved.

[0105] This application does not limit the specific implementation of adjusting the pre-charge resistor according to the load demand current.

[0106] In steps A1-A2 above, by setting an adjustable resistor as a pre-charging resistor in the pre-charging circuit, before pre-charging, the load demand current required for pre-charging the load is obtained, and the adjustable resistor is adjusted according to the load demand current. This can prevent damage to the load caused by an unsuitable pre-charging current and ensure that pre-charging proceeds normally.

[0107] The method of this application has been described above; the apparatus of this application will be described below.

[0108] See Figure 4 , Figure 4 This is a schematic diagram of a pre-charging control device provided in an embodiment of this application. The pre-charging control device is applied to a pre-charging device, which includes a pre-charging circuit connected to a load. The load includes a load resistor and a load capacitor, and the load resistor and the load capacitor are connected in parallel. Figure 4 As shown, the pre-charge control device 40 includes:

[0109] The voltage acquisition module 401 is used to acquire a first voltage and a second voltage during the pre-charging process, wherein the pre-charging process is the process of pre-charging the load, the first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment.

[0110] The pre-charge termination module 402 is used to terminate the pre-charge process if the first voltage is less than or equal to the second voltage.

[0111] It should be noted that the pre-charge control device 40 described above can execute the pre-charge control method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the embodiments of the pre-charge control device 40 can be found in the pre-charge control method provided in the embodiments of this application.

[0112] See Figure 5 , Figure 5This is a schematic diagram of the structure of a computer device 50 provided in an embodiment of this application. The computer device 50 includes a processor 501 and a memory 502. The memory 502 is connected to the processor 501, for example, via a bus.

[0113] Processor 501 is configured to support the computer device 50 in performing the corresponding functions in the methods described in the above method embodiments. Processor 501 may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0114] Memory 502 is used to store program code, etc. Memory 502 may include volatile memory (VM), such as random access memory (RAM); memory 502 may also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); memory 502 may also include combinations of the above types of memory.

[0115] The memory 502 is used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the pre-charge control method in the embodiments of this application. The processor executes various functional applications and data processing of the pre-charge control method by running the non-volatile software programs, instructions, and modules stored in the memory, thereby realizing the functions of the pre-charge control method provided in the above method embodiments.

[0116] Memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function. The data storage area may store data created based on the use of the precharge control device, etc. In some embodiments, the memory may include memory remotely located relative to the processor, which can be connected to the precharge control device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0117] The one or more modules are stored in the memory. When executed by the one or more processors, they perform the pre-charge control method in any of the above method embodiments. For example, they perform the method steps described in the above method embodiments to realize the functions of the modules described in the above device embodiments.

[0118] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the method described in the foregoing embodiments.

[0119] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0120] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A pre-charge control method, characterized in that, The device is used in a pre-charging device, which includes a pre-charging circuit connected to a load. The load includes a load resistor and a load capacitor, and the load resistor and the load capacitor are connected in parallel. The pre-charge control method includes: During the pre-charging process, a first voltage and a second voltage are acquired. The pre-charging process is a process of pre-charging the load. The first voltage is the voltage across the load at the current moment, and the second voltage is the voltage across the load at the previous moment. If the first voltage is less than or equal to the second voltage, the pre-charging process ends.

2. The pre-charge control method according to claim 1, characterized in that, The pre-charge control method further includes: Determine the pre-charging duration at the current moment, where the pre-charging duration is the duration of the pre-charging process; If the pre-charging duration exceeds a preset duration, the pre-charging process ends.

3. The pre-charge control method according to claim 1, characterized in that, The pre-charging circuit is connected between the charging power supply and the load; After the pre-charging process is completed, the method further includes: Compare the first voltage and the third voltage, wherein the third voltage is the voltage of the charging power supply at the current moment; If the voltage difference between the third voltage and the first voltage is greater than a preset voltage difference, a pre-charge alarm is output, which is used to indicate that pre-charge has failed.

4. The pre-charge control method according to claim 1, characterized in that, Before the pre-charging process ends, the following is also included: Determine whether the first voltage is greater than a preset voltage; If the first voltage is greater than the preset voltage, the step of ending the pre-charging process is executed.

5. The pre-charge control method according to any one of claims 1-4, characterized in that, The pre-charging circuit includes a pre-charging resistor, which is connected between the charging power supply and the load. The pre-charging resistor is an adjustable resistor. Before acquiring the first and second voltages during the pre-charging process, the method further includes: Obtain the load demand current, which is the current required to precharge the load; The pre-charge resistor is adjusted according to the load demand current.

6. The pre-charge control method according to claim 5, characterized in that, The pre-charge resistor includes multiple fixed resistors, which are connected in parallel, and a switch is provided on the parallel branch where each fixed resistor is located; The step of adjusting the pre-charge resistor according to the load demand current includes: Based on the load demand current, a first fixed resistor is determined from the plurality of fixed resistors. The first fixed resistor is the fixed resistor required to precharge the load. Turn on the switch on the parallel branch where the first fixed resistor is located.

7. The pre-charge control method according to claim 5, characterized in that, The pre-charge resistor is a sliding rheostat, which includes a sliding switch; The step of adjusting the pre-charge resistor according to the load demand current includes: Based on the load demand current, the pre-charge demand resistance value is determined, which is the resistance value required to pre-charge the load. Adjust the slide switch to the position corresponding to the precharge required resistance value.

8. A computer device, characterized in that, The device includes a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, the processor causing the computer device to perform the method as described in any one of claims 1-7 when executing the one or more computer programs.

9. A pre-charging device, characterized in that, Includes a pre-charging circuit and a pre-charging control unit, wherein: The pre-charging circuit is connected to the load, which includes a load resistor and a load capacitor, and the load resistor and the load capacitor are connected in parallel. The pre-charge control unit is connected to the pre-charge circuit and the load, and the pre-charge control unit is used to perform the method as described in any one of claims 1-7.

10. The pre-charging device according to claim 9, characterized in that, The pre-charging device further includes a charging power supply and a main charging switch, and the pre-charging circuit includes a pre-charging resistor and a pre-charging switch, wherein: One end of the main charging switch is connected to the charging power source, and the other end of the main charging switch is connected to the load; One end of the pre-charge resistor is connected to the charging power supply, the other end of the pre-charge resistor is connected to one end of the pre-charge switch, and the other end of the pre-charge switch is connected to the load.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-7.