A pre-charging circuit and a pre-charging control method

By using a high-side switching unit controlled by pulse width modulation to precharge the robot system, the problems of current surge and circuit complexity are solved, enabling flexible circuit design and saving board space.

CN123122222APending Publication Date: 2026-11-17JILIN JIYI EMBODIED INTELLIGENT ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611372865.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-17

Smart Images

  • Figure CN123122222A_ABST
    Figure CN123122222A_ABST
Patent Text Reader

Abstract

This paper provides a pre-charging circuit and a pre-charging control method, including: a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller. The voltage detection unit is used to detect the bus voltage of the downstream DC bus. The controller is connected to the voltage detection unit and an enable terminal, and is configured to: output a pulse-width modulated enable signal to the enable terminal during the pre-charging phase, causing the high-side switching unit to periodically turn on and off to pre-charge the capacitive load connected to the downstream DC bus; after the bus voltage reaches a preset voltage threshold, output a continuously effective enable signal to the enable terminal, causing the high-side switching unit to switch to a continuously conducting state, so as to continuously supply power to the downstream DC bus via the high-side switching unit. This can reduce the current surge generated when the capacitive load is directly powered on, and also helps to reduce the number of circuit components, reduce circuit complexity, and save board space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification relate to the field of robotics, and in particular to a pre-charging circuit and a pre-charging control method. Background Technology

[0002] In a robot system, there are typically multiple joint modules. Each joint module usually has a motor drive circuit and a DC bus connected to the motor drive circuit. To reduce voltage fluctuations during motor operation, an input capacitor is usually connected to the DC bus. For a robot system with multiple joint modules, the input capacitors of multiple joint modules may be connected to the same power supply bus, thus forming a capacitive load with a large capacitance.

[0003] During system power-up, a significant voltage difference exists between the DC input terminal and the subsequent DC bus. Since the input capacitor on the subsequent DC bus typically has a low voltage during the initial power-up phase, and the voltage across the capacitor cannot change abruptly, a large charging current will be generated when the DC input terminal is directly connected to the subsequent DC bus. This charging current usually manifests as a power-up inrush current, which can cause significant current surges to the high-side switching unit, connectors, wiring, and subsequent motor drive circuitry.

[0004] In related technologies, a pre-charging resistor is typically placed between the DC input terminal and the subsequent DC bus. During the initial power-up phase of the system, the pre-charging resistor limits the charging current flowing to the subsequent DC bus, allowing the input capacitor on the subsequent DC bus to gradually charge. Once the voltage of the subsequent DC bus reaches a set value, the pre-charging resistor is bypassed via a relay, switching device, or other switching circuit, allowing the DC input terminal to supply power to the subsequent DC bus normally.

[0005] When using a pre-charging resistor for pre-charging, the resistor consumes electrical energy and generates heat during the charging process. When the capacitive load connected to the downstream DC bus is large, the pre-charging resistor needs to withstand a large instantaneous power, thus typically requiring a resistor with a large power capacity and package size. This not only increases the requirements for heat dissipation design but also increases the PCB area and component cost. Furthermore, the pre-charging resistor is subject to thermal shock and pulse power surges during repeated power-on processes, which may affect its operational reliability.

[0006] Furthermore, the pre-charge time using a pre-charge resistor is typically related to the resistor's resistance value, the capacitance of the subsequent capacitive load, and the circuit's equivalent parameters. When the number of joint modules, the input capacitor capacity, or the cascading method in the robot system changes, the equivalent capacitance of the subsequent capacitive load will also change. In this case, the original pre-charge resistor and pre-charge time may no longer meet the power-on requirements, usually necessitating the selection of a new pre-charge resistor's resistance value, power rating, or other circuit parameters, making circuit debugging and hardware modifications quite inconvenient.

[0007] Furthermore, the pre-charging circuit mainly operates during the system power-on phase. Once the downstream DC bus has completed pre-charging and entered normal power supply mode, the pre-charging resistor and related switching devices used to bypass the pre-charging resistor typically no longer perform the main power supply function. Therefore, setting up a separate pre-charging branch increases the number of circuit components and board area, and some of these components have low utilization rates during normal system operation. Summary of the Invention

[0008] This specification provides a pre-charging circuit and a pre-charging control method, which can reduce the current surge generated when a capacitive load is directly powered on, and also helps to reduce the number of circuit components, reduce circuit complexity, and save board space.

[0009] One aspect of this specification provides a pre-charge circuit, comprising: a DC input terminal, a subsequent DC bus, a high-side switching unit, a voltage detection unit, and a controller; The high-side switch unit is connected between the DC input terminal and the subsequent DC bus, and has an enable terminal; The voltage detection unit is used to detect the bus voltage of the downstream DC bus; The controller is connected to the voltage detection unit and the enable terminal respectively, and is configured to: output a pulse width modulation enable signal to the enable terminal during the pre-charge phase, so that the high-side switch unit is periodically turned on and off to pre-charge the capacitive load connected to the downstream DC bus; after the bus voltage reaches a preset voltage threshold, output a continuously effective enable signal to the enable terminal, so that the high-side switch unit is switched to a continuously conducting state to continuously supply power to the downstream DC bus via the high-side switch unit.

[0010] Furthermore, the controller is configured to: during the pre-charge phase, determine the bus voltage rise slope based on the bus voltage obtained at multiple sampling times, and dynamically adjust the duty cycle of the pulse width modulation enable signal based on the bus voltage rise slope.

[0011] Furthermore, the controller is configured to decrease the duty cycle when the bus voltage rise slope is greater than the upper limit of the preset slope range, and increase the duty cycle when the bus voltage rise slope is less than the lower limit of the preset slope range.

[0012] Furthermore, the controller is also configured to: determine a pre-charge abnormality when the pre-charge duration reaches a preset timeout duration and the bus voltage does not reach the preset voltage threshold, and reduce the duty cycle of the pulse width modulation enable signal or stop outputting a valid enable signal to the enable terminal, so as to prevent the high-side switch unit from entering a continuous conduction state.

[0013] Furthermore, the enable terminal of the high-side switch unit is connected to a low-level terminal via a pull-down resistor, so that the high-side switch unit remains off when the control output terminal of the controller is in a high-impedance state or no valid enable signal is output.

[0014] Furthermore, the high-side switching unit includes a high-side gate driver and an N-channel power MOSFET. The output terminal of the high-side gate driver is connected to the gate drive of the N-channel power MOSFET, and the N-channel power MOSFET is connected in series between the DC input terminal and the subsequent DC bus.

[0015] Furthermore, the capacitive load includes a robot joint module, the input capacitor of which is connected to the downstream DC bus.

[0016] Furthermore, the capacitive load includes multiple robot joint modules, the input capacitors of which are connected to the same downstream DC bus to form a distributed capacitive load.

[0017] Another aspect of this specification provides a pre-charge control method applied to a pre-charge circuit, the pre-charge circuit including a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller, the high-side switching unit being connected between the DC input terminal and the downstream DC bus and having an enable terminal, the voltage detection unit being used to detect the bus voltage of the downstream DC bus, the method comprising: During the pre-charging phase, the controller outputs a pulse width modulation enable signal to the enable terminal, causing the high-side switch unit to periodically turn on and off, so as to pre-charge the capacitive load connected to the downstream DC bus. The bus voltage of the downstream DC bus is detected by the voltage detection unit. After the bus voltage reaches a preset voltage threshold, the controller outputs a continuously effective enable signal to the enable terminal, causing the high-side switch unit to switch from a periodic on / off state to a continuously on state, so as to continuously supply power to the downstream DC bus via the high-side switch unit.

[0018] Another aspect of this specification provides a pre-charge control device applied to a pre-charge circuit, the pre-charge circuit including a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller. The high-side switching unit is connected between the DC input terminal and the downstream DC bus and has an enable terminal. The voltage detection unit is used to detect the bus voltage of the downstream DC bus. The device includes: The pulse width modulation control module is used to output a pulse width modulation enable signal to the enable terminal through the controller during the pre-charge stage, so as to periodically turn the high-side switch unit on and off to pre-charge the capacitive load connected to the downstream DC bus. A voltage acquisition module is used to detect the bus voltage of the downstream DC bus through the voltage detection unit; The switching control module is used to output a continuously effective enable signal to the enable terminal through the controller after the bus voltage reaches a preset voltage threshold, so that the high-side switch unit switches from a periodic on and off state to a continuously on state, so as to continuously supply power to the downstream DC bus through the high-side switch unit.

[0019] In another aspect of this specification, a computer device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described above.

[0020] In another aspect of this specification, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the method described above.

[0021] In another aspect of this specification, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the method described above.

[0022] The following beneficial technical effects can be achieved by using the embodiments of this specification: During the pre-charge phase, the high-side switching unit is periodically turned on and off by a pulse-width modulation enable signal, allowing the capacitive load connected to the downstream DC bus to charge gradually in a controlled manner. By limiting the average charging current during the pre-charge phase and slowing down the bus voltage build-up process, the current surge generated when the capacitive load is directly powered on can be reduced, thus minimizing the instantaneous current impact on the DC input terminal, power supply line, and high-side switching unit.

[0023] When the bus voltage of the downstream DC bus reaches a preset voltage threshold, the high-side switch unit switches to a continuously conducting state to maintain a continuous power supply connection between the DC input terminal and the downstream DC bus. Since the pre-charge stage and the continuous power supply stage share the same high-side switch unit, it reduces current surges without the need for an additional independent pre-charge switch branch, which helps reduce the number of circuit components, reduce circuit complexity, and save board space.

[0024] In addition to the technical problems solved by at least one embodiment of this application, the technical features constituting the technical solution, and the beneficial effects brought about by the technical features of these technical solutions as described above, other technical problems that can be solved by at least one embodiment of this application, other technical features included in the technical solution, and the beneficial effects brought about by these technical features will be further described in detail in the specific embodiments. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 A circuit diagram of a pre-charging circuit provided in an embodiment of this specification is shown; Figure 2 Another circuit diagram of the pre-charging circuit provided in the embodiments of this specification is shown; Figure 3 A schematic flowchart of a pre-charge control method provided in an embodiment of this specification is shown; Figure 4 A schematic diagram of a pre-charge control device provided in an embodiment of this specification is shown. Figure 5 A schematic diagram of a computer device provided in an embodiment of this specification is shown.

[0026] [Explanation of Figure Markers]: 1. DC input terminal; 2. High-side switching unit; 3. Downstream DC bus; 4. Voltage detection unit; 5. Controller; 6. Capacitive load; 21. Enable terminal; 401. Pulse Width Modulation Control Module; 402. Voltage acquisition module; 403. Switch control module; 502. Computer equipment; 504. Processing equipment; 506. Storage resources; 508. Drive mechanism; 510. Input / Output Module; 512. Input devices; 514. Output devices; 516. Presentation equipment; 518. Graphical User Interface; 520. Network interface; 522. Communication link; 524. Communication bus. Detailed Implementation

[0027] The present specification will now be described in detail with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the scope of this specification, and any structural, methodological, or functional modifications made by those skilled in the art based on these embodiments are included within the scope of protection of this specification.

[0028] It should be understood that in the description of the specific embodiments in this specification, terms such as "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature.

[0029] In the specific embodiments described in this specification, unless otherwise explicitly stated and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a movable connection, a detachable connection, or an integral part; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this specification according to the specific circumstances.

[0030] In the specific embodiments described herein, unless otherwise expressly specified and limited, the term "above" or "below" the second feature may include direct contact between the first and second features, or contact between the first and second features not in direct contact but through another feature between them.

[0031] In the specific implementation of this specification, unless otherwise expressly stated and limited, the term "more" means two or more.

[0032] This specification provides method operation steps as shown in the embodiments or flowcharts, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only execution order. In actual system or device products, the methods shown in the embodiments or drawings can be executed sequentially or in parallel.

[0033] To address the problems existing in the prior art, this specification provides a pre-charging circuit and a pre-charging control method. The pre-charging circuit and control method are described below in conjunction with the circuit structure, control flow, and specific parameters. It should be noted that the following embodiments are used to illustrate the technical solution of the present invention and are not intended to limit the scope of protection of the present invention. Without changing the technical concept of the present invention, those skilled in the art can make adaptive adjustments to the device parameters, control parameters, and specific connection methods.

[0034] like Figure 1 As shown, this embodiment provides a pre-charging circuit, including a DC input terminal 1, a high-side switching unit 2, a downstream DC bus 3, a voltage detection unit 4, a controller 5, and a capacitive load 6. The high-side switching unit 2 is connected between the DC input terminal 1 and the downstream DC bus 3, and has an enable terminal 21. The capacitive load 6 is connected to the downstream DC bus 3. The voltage detection unit 4 is connected to the downstream DC bus 3 and is used to detect the bus voltage of the downstream DC bus 3, and output a bus voltage detection signal to the controller 5. The controller 5 is connected to the enable terminal 21 of the high-side switching unit 2 and is used to output a pulse-width modulation enable signal or a continuously active enable signal to the enable terminal 21.

[0035] During the pre-charging phase, controller 5 outputs a pulse-width modulation (PWM) enable signal to enable terminal 21, causing high-side switch unit 2 to periodically turn on and off to pre-charge the capacitive load 6 connected to the downstream DC bus 3. When the bus voltage detected by voltage detection unit 4 reaches a preset voltage threshold, controller 5 outputs a continuously valid enable signal to enable terminal 21, causing high-side switch unit 2 to switch to a continuously conducting state, so as to continuously supply power to the downstream DC bus 3 through high-side switch unit 2.

[0036] For example, after DC input terminal 1 is connected to a DC power supply, controller 5 performs a power-on initialization operation and keeps high-side switch unit 2 off. Controller 5 can keep high-side switch unit 2 off by setting the control output terminal to a low level, stopping the output of a valid enable signal, or setting the control output terminal to a high-impedance state. At this time, the downstream DC bus 3 does not receive continuous power through high-side switch unit 2.

[0037] After receiving the control command to enable power supply between DC input terminal 1 and the downstream DC bus 3, controller 5 determines that the pre-charge start conditions are met and begins the pre-charge phase. The pre-charge start conditions may include: receiving the control command to enable power supply; the high-side switch unit 2 being in the off state; the bus voltage of the downstream DC bus 3 being lower than a preset voltage threshold; and no fault state prohibiting pre-charge being detected. When the above pre-charge start conditions are met, controller 5 outputs a pulse-width modulated enable signal with a preset frequency and preset duty cycle to the enable terminal 21 of the high-side switch unit 2 via a timer.

[0038] During the active level of the pulse width modulation enable signal, high-side switch unit 2 is turned on, and DC input terminal 1 provides charging current to the downstream DC bus 3, charging the capacitive load 6. During the inactive level of the pulse width modulation enable signal, high-side switch unit 2 is turned off, and the charging path between DC input terminal 1 and the downstream DC bus 3 is cut off or restricted. By repeating the above turn-on and turn-off process, the bus voltage of the downstream DC bus 3 gradually increases.

[0039] Voltage detection unit 4 continuously detects the bus voltage of the downstream DC bus 3 and provides the bus voltage detection signal to controller 5. Controller 5 compares the bus voltage determined based on the bus voltage detection signal with a preset voltage threshold. When the bus voltage does not reach the preset voltage threshold, controller 5 continues to output a pulse width modulation enable signal to enable terminal 21, and high-side switch unit 2 continues to periodically turn on and off, and the pre-charge phase continues.

[0040] When the bus voltage reaches the preset voltage threshold, the controller 5 determines that the pre-charge is complete, stops outputting the pulse width modulation enable signal, and outputs a continuously valid enable signal to the enable terminal 21. The high-side switch unit 2 switches from a periodic on / off state to a continuously on state, and the DC input terminal 1 continuously supplies power to the downstream DC bus 3 via the high-side switch unit 2. At this time, the pre-charge stage ends and the continuous power supply stage begins.

[0041] In one specific application, the input voltage of DC input terminal 1 is 48V, and the preset voltage threshold can be set to 95% of the input voltage of DC input terminal 1. The preset voltage threshold can also be set according to the operating voltage of the downstream DC bus 3, the operating requirements of the capacitive load 6, and the voltage difference allowed by the system.

[0042] In this embodiment, pre-charging and continuous power supply are accomplished by the same high-side switching unit. Specifically, during the pre-charging phase, the controller outputs a pulse-width modulation (PWM) enable signal to the enable terminal of the high-side switching unit, causing the high-side switching unit to periodically turn on and off according to the PWM enable signal. The electrical energy supplied by the DC input terminal is delivered to the subsequent DC bus through the periodically turning on and off high-side switching unit, gradually charging the capacitive load on the subsequent DC bus.

[0043] When the voltage detection unit detects that the bus voltage of the downstream DC bus has reached the preset voltage threshold, the controller stops outputting the pulse width modulation enable signal and outputs a continuously valid enable signal to the enable terminal of the high-side switch unit, causing the high-side switch unit to switch to a continuously conducting state. At this time, the DC input terminal continuously supplies power to the downstream DC bus through the high-side switch unit.

[0044] In some embodiments of this specification, a two-stage step-down power supply may be further provided in the pre-charge circuit to power the controller through the two-stage step-down.

[0045] For example, see Figure 2 The pre-charge control circuit provided in this embodiment includes a 48V input terminal, a high-side drive switch, a power conversion circuit, an MCU, a timer, two resistors, and a bus voltage monitoring circuit. The high-side drive switch is connected between the 48V input terminal and the subsequent DC bus, allowing 48V power supply equipment to be connected to the subsequent DC bus. The high-side drive switch controls the power supply path between the 48V input terminal and the subsequent DC bus. Figure 2 As shown, the voltage detection circuit includes two resistors connected in series between the downstream DC bus and the low-level terminal. The connection node between the two resistors is connected to the voltage detection input terminal of the controller. The voltage of the power supply bus is sampled through the resistor element, and the voltage of the downstream DC bus is converted into a voltage signal suitable for MCU detection.

[0046] The 48V input terminal is also connected to a power conversion circuit. This circuit includes a 48V to 5V DC-DC converter and a 5V to 3.3V LDO, used to convert the 48V input voltage to a low-voltage power supply suitable for MCU operation. The MCU is connected to a timer and generates a pulse-width modulation (PWM) control signal to control the high-side drive switch. This PWM control signal is output to the enable terminal of the high-side drive switch to control its periodic on and off states.

[0047] During the pre-charge phase, the MCU generates a pulse width modulation control signal via a timer, and controls the high-side drive switch to periodically turn on and off via the enable terminal of the high-side drive switch. This allows the 48V input terminal to provide intermittent charging current to the 48V power supply equipment, thus pre-charging the capacitive load in the 48V power supply equipment. The bus voltage monitoring circuit monitors the bus voltage on the output side of the high-side drive switch in real time or periodically, and feeds the monitoring results back to the MCU.

[0048] When the MCU determines that the bus voltage has reached the preset voltage threshold based on the detection results fed back by the bus voltage monitoring circuit, the MCU controls the high-side drive switch to switch from the periodic on and off state to the continuous on state, so that the 48V input terminal continuously supplies power to the 48V power supply equipment through the high-side drive switch.

[0049] As can be seen, during the pre-charge phase, the pulse width modulation enable signal controls the periodic switching of the high-side switching unit, enabling the capacitive load connected to the downstream DC bus to charge gradually in a controlled manner. By limiting the average charging current during the pre-charge phase and slowing down the bus voltage build-up process, the current surge generated when the capacitive load is directly powered on can be reduced, thus minimizing the instantaneous current impact on the DC input terminal, power supply line, and high-side switching unit.

[0050] When the bus voltage of the downstream DC bus reaches a preset voltage threshold, the high-side switch unit switches to a continuously conducting state to maintain a continuous power supply connection between the DC input terminal and the downstream DC bus. Since the pre-charge stage and the continuous power supply stage share the same high-side switch unit, it reduces current surges without the need for an additional independent pre-charge switch branch, which helps reduce the number of circuit components, reduce circuit complexity, and save board space.

[0051] In some embodiments of this specification, the controller determines the bus voltage rise slope based on the bus voltage obtained at multiple sampling times, and dynamically adjusts the duty cycle of the pulse width modulation enable signal based on the bus voltage rise slope.

[0052] For example, the controller obtains the bus voltage at the k-th sampling time. The bus voltage is obtained at the (k-1)th sampling time. Combined with the time interval between sampling times, It can calculate the slope of the bus voltage rise.

[0053] The controller compares the bus voltage rise slope with a preset slope range. The preset slope range includes an upper and a lower limit. When the bus voltage rise slope is greater than the upper limit of the preset slope range, it indicates that the bus voltage is rising rapidly. The controller reduces the duty cycle of the pulse width modulation (PWM) enable signal to shorten the on-time of the high-side switching unit within one PWM cycle, thereby reducing the average charging current of the downstream capacitive load. When the bus voltage rise slope is less than the lower limit of the preset slope range, it indicates that the bus voltage is rising slowly. The controller increases the duty cycle of the PWM enable signal to increase the on-time of the high-side switching unit, allowing the downstream capacitive load to obtain a larger average charging current.

[0054] When the bus voltage rise slope is within a preset slope range, the controller can maintain the current duty cycle unchanged. The controller can also adjust the duty cycle according to a preset adjustment step size to avoid excessive instantaneous changes in the duty cycle. Through this control method, the charging process can be adjusted according to the actual charging state of the downstream capacitive load.

[0055] For the power-on process of robot joints, the downstream capacitive load can be approximated as a capacitor charging load. In the initial stage of the power-on process, the bus voltage may rise rapidly; as the bus voltage increases, the charging speed may decrease. Therefore, the controller can reduce the duty cycle during the phase where the bus voltage rises with a large slope, and increase the duty cycle during the phase where the bus voltage rises with a small slope, so that the bus voltage establishes itself in a relatively gradual manner during the pre-charging phase.

[0056] As can be seen, by determining the bus voltage rise slope based on the bus voltage obtained at multiple sampling times during the pre-charging stage, and dynamically adjusting the duty cycle of the pulse width modulation enable signal according to the bus voltage rise slope, the duty cycle can be adjusted according to the actual charging state of the downstream capacitive load.

[0057] When the bus voltage rises rapidly, the controller can reduce the duty cycle, thus reducing the effective on-time of the high-side switching unit per unit time. Conversely, when the bus voltage rises slowly, the controller can increase the duty cycle, increasing the effective on-time of the high-side switching unit per unit time. This reduces charging speed mismatch caused by changes in downstream capacitive load or charging stage when using a fixed duty cycle, allowing the pre-charge time and charging current to be adjusted according to changes in bus voltage.

[0058] In some embodiments of this specification, the controller is further configured to: determine a pre-charge abnormality when the pre-charge duration reaches a preset timeout duration and the bus voltage does not reach the preset voltage threshold, and reduce the duty cycle of the pulse width modulation enable signal or stop outputting a valid enable signal to the enable terminal, so as to prevent the high-side switch unit from entering a continuous conduction state.

[0059] In one specific implementation, the preset timeout duration can be set to 200ms. If the pulse width modulation enable signal is continuously output for more than 200ms and the bus voltage still has not reached 95% of 48V, the controller determines that the pre-charge is abnormal. The controller can first reduce the duty cycle of the pulse width modulation enable signal at a preset decreasing rate, and then stop outputting the valid enable signal.

[0060] The controller can also classify precharge anomalies based on the fault status reported by the high-side gate driver. When the high-side gate driver reports an overcurrent or short-circuit condition, the controller can lock the high-side gate driver and output a short-circuit fault status for the subsequent stage. When the high-side gate driver does not report a hardware fault, but the bus voltage has not yet been established, the controller can determine the anomaly as a capacitive load not connected, poor connection, or precharge timeout, and output the corresponding precharge timeout status.

[0061] In implementations that allow automatic retries, the controller can restart the precharge control once after confirming that the high-side switch unit is in the off state and the preset retry conditions are met. The number of automatic retries can be preset by the controller, for example, to one. If the bus voltage still does not reach the preset voltage threshold after the retry, the controller keeps the high-side switch unit off and retains the precharge abnormal state.

[0062] It can be seen that when the precharge duration reaches the preset timeout period and the bus voltage still does not reach the preset voltage threshold, the controller determines that the precharge is abnormal and reduces the duty cycle of the pulse width modulation enable signal or stops outputting a valid enable signal to the enable terminal.

[0063] When the downstream capacitive load is not properly connected, the connection is abnormal, or the charging process is not established as expected, this control method can stop or reduce the continued charging of the downstream DC bus, thus preventing the high-side switching unit from directly entering the continuous conduction state when the bus voltage has not reached the preset voltage threshold.

[0064] In some embodiments of this specification, the enable terminal of the high-side switch unit is connected to a low-level terminal via a pull-down resistor, so as to keep the high-side switch unit off when the control output terminal of the controller is in a high-impedance state or no valid enable signal is output.

[0065] The low-level terminal can be the reference ground of the pre-charge circuit, the logic ground of the controller, or a reference potential terminal corresponding to the low level of the controller output signal. One end of the pull-down resistor is connected to the enable terminal, and the other end is connected to the low-level terminal. The controller's control output terminal can be a push-pull output, an open-drain output, or an open-collector output, as long as the pull-down resistor can maintain the enable terminal at an invalid level when no valid enable signal is output.

[0066] When the controller is in normal pre-charge control mode, it outputs a pulse width modulation (PWM) enable signal to the enable terminal. During the period when the PWM enable signal is at an active level, the high-side switch unit turns on in response to the active level; during the period when the PWM enable signal is at an inactive level, the pull-down resistor pulls the enable terminal low, turning off the high-side switch unit. Thus, the high-side switch unit can periodically turn on and off according to the PWM enable signal.

[0067] After pre-charging is complete, the controller outputs a continuously valid enable signal to the enable terminal, maintaining the enable terminal at a valid level. The high-side switch unit remains on, allowing the DC input terminal to continuously supply power to the subsequent DC bus via the high-side switch unit. At this time, the setting of the pull-down resistor does not affect the controller's control over the valid level of the enable terminal.

[0068] During the controller's power-on initialization phase, the controller's control output may be in a high-impedance state, or it may not yet have output a valid enable signal to control the high-side switching unit. In this case, the pull-down resistor pulls the enable pin low, keeping the high-side switching unit off. After the controller completes initialization and confirms the need for pre-charge, it then actively outputs a pulse-width modulation (PWM) enable signal to the enable pin.

[0069] In situations such as controller reset, program malfunction, control output configured as input or high-impedance, or control output failure to maintain a valid enable signal, a pull-down resistor can still bring the enable pin low, thus keeping the high-side switch unit off. The value of the pull-down resistor can be determined based on the controller output's driving capability, the input current requirement of the high-side switch unit's enable pin, signal switching speed, and anti-interference requirements. Specifically, the pull-down resistor should reliably drive the enable pin when the controller output is valid, and stably maintain the enable pin at a low level when the controller output is high-impedance.

[0070] As can be seen, by connecting the enable terminal of the high-side switch unit to the low-level terminal via a pull-down resistor, the high-side switch unit can be made to have a default off state. When the controller does not output a valid enable signal or the control output terminal is in a high-impedance state, the enable terminal will not be floating, but will be maintained at a low level by the pull-down resistor, thereby reducing the possibility of the high-side switch unit being unexpectedly turned on due to the uncertainty of the enable terminal level.

[0071] This structure is particularly suitable for the power-on initialization phase of the controller. Before the controller completes initialization and pre-charge control is initiated, the high-side switch unit remains off, preventing the DC input from continuously supplying power to the downstream DC bus. Therefore, capacitive loads on the downstream DC bus can enter the controlled pre-charge process after the controller outputs a pulse-width modulation enable signal.

[0072] In addition, when the controller is reset or the control output is abnormal, the pull-down resistor can return the enable terminal to an invalid level, causing the high-side switching unit to tend to be turned off, which helps to improve the determinism of the power supply control state.

[0073] In some embodiments of this specification, the high-side switching unit includes a high-side gate driver and an N-channel power MOSFET. The output terminal of the high-side gate driver is connected to the gate drive of the N-channel power MOSFET, and the N-channel power MOSFET is connected in series between the DC input terminal and the subsequent DC bus.

[0074] The N-channel power MOSFET includes a gate, a drain, and a source. For example, the drain and source of the N-channel power MOSFET are connected to the DC input terminal and the subsequent DC bus, respectively, to establish a power supply path between the DC input terminal and the subsequent DC bus when the N-channel power MOSFET is turned on, and to cut off or limit current transmission in the power supply path when the N-channel power MOSFET is turned off.

[0075] The high-side gate driver has an enable terminal connected to the controller. The controller outputs a pulse-width modulated enable signal or a continuously active enable signal to the enable terminal of the high-side gate driver. Based on the signal received at the enable terminal, the high-side gate driver outputs a gate drive signal to the gate of the N-channel power MOSFET to control the turn-on and turn-off of the N-channel power MOSFET.

[0076] During the pre-charge phase, the controller outputs a pulse-width modulation (PWM) enable signal to the enable terminal of the high-side gate driver. The high-side gate driver periodically outputs or stops outputting gate drive signals according to the PWM enable signal, causing the N-channel power MOSFET to periodically turn on and off. When the N-channel power MOSFET is on, the DC input terminal provides charging current to the subsequent DC bus; when the N-channel power MOSFET is off, the charging path between the DC input terminal and the subsequent DC bus is disconnected. By controlling the on-time of the N-channel power MOSFET in each PWM cycle, the average charging current supplied by the subsequent DC bus to the capacitive load can be adjusted.

[0077] Once the bus voltage of the downstream DC bus reaches a preset voltage threshold, the controller outputs a continuously valid enable signal to the enable terminal of the high-side gate driver. The high-side gate driver continuously provides a corresponding gate drive signal to the gate of the N-channel power MOSFET, keeping the N-channel power MOSFET turned on. The DC input terminal then continuously supplies power to the downstream DC bus via the N-channel power MOSFET.

[0078] As can be seen, by driving the N-channel power MOSFET connected in series between the DC input terminal and the subsequent DC bus using a high-side gate driver, the power supply path of the subsequent DC bus can be controlled at the DC input terminal. After receiving the pulse width modulation enable signal output by the controller, the high-side gate driver can control the N-channel power MOSFET to periodically turn on and off, thereby adjusting the pre-charging process of the subsequent capacitive load by the on-time of the N-channel power MOSFET.

[0079] After pre-charging is complete, the controller enables the high-side gate driver to continuously drive the N-channel power MOSFET to conduct. The same N-channel power MOSFET serves as both the controlled switch during the pre-charging phase and the power supply switch during the continuous power supply phase. Therefore, there is no need to set up an additional independent power switch for the pre-charging phase, which helps to reduce the number of devices and board space in the pre-charging branch.

[0080] In one embodiment, the capacitive load includes a robot joint module, the input capacitor of which is connected to a downstream DC bus. The robot joint module may be a drive module, an execution module, or other functional module at the robot joint that requires power supply from the downstream DC bus. The robot joint module may include an input terminal connected to the downstream DC bus, and this input terminal is equipped with an input capacitor for filtering and regulating the DC voltage input to the robot joint module.

[0081] The input capacitor of the robot joint module is connected to the downstream DC bus. When the pre-charging circuit starts supplying power, the input capacitor constitutes a capacitive load on the downstream DC bus. The high-side switch unit is connected between the DC input terminal and the downstream DC bus. The controller controls the enable terminal of the high-side switch unit to periodically turn it on and off according to the pulse width modulation enable signal during the pre-charging phase.

[0082] When the pulse width modulation (PWM) enable signal is active, the high-side switch unit is turned on, providing charging current to the downstream DC bus via the DC input terminal. This charges the input capacitor of the robot joint module, causing the bus voltage of the downstream DC bus to rise. When the PWM enable signal is inactive, the high-side switch unit is turned off or stops providing continuous charging current to the downstream DC bus. By repeating this on / off process, the input capacitor of the robot joint module can gradually build up the bus voltage required for operation.

[0083] The voltage detection unit is connected to the downstream DC bus to detect the bus voltage and sends the detection signal to the controller. The controller uses the bus voltage detection signal to determine whether the input capacitor of the robot joint module has completed pre-charging. When the detected bus voltage reaches a preset voltage threshold, the controller outputs a continuously valid enable signal to the enable terminal of the high-side switch unit, switching the high-side switch unit from a periodic on / off state to a continuously on state, thus allowing the DC input terminal to continuously supply power to the robot joint module via the high-side switch unit.

[0084] In the above process, the input capacitor of the robot joint module is both a power filtering component required for the normal operation of the robot joint module and a capacitive load that needs to be charged in a controlled manner during the pre-charging stage.

[0085] In one embodiment, the input capacitor of the robot joint module can be directly connected between the downstream DC bus and the low-level terminal. In another embodiment, the input terminal of the robot joint module can be equipped with rectification, filtering, or other input power processing circuits, and the input capacitor is electrically connected to the downstream DC bus through the input power processing circuits. As long as the input capacitor is charged by the downstream DC bus during the pre-charging phase, it is considered a capacitive load as described in this embodiment.

[0086] During robot system startup, the controller initially keeps the high-side switch unit off and obtains the initial bus voltage of the downstream DC bus through the voltage detection unit. After the pre-charge startup conditions are met, the controller outputs a pulse-width modulation enable signal, causing the input capacitor of the robot joint module to charge in a controlled manner. Since the input capacitor is not directly connected to the DC input terminal for instantaneous charging, but is gradually charged through the controlled high-side switch unit, the power supply bus voltage of the robot joint module can be gradually established.

[0087] As can be seen, by connecting the input capacitor of the robot joint module to the subsequent DC bus, the input capacitor of the robot joint module can be used as a capacitive load controlled by the pre-charging circuit. The controller uses a high-side switching unit to perform pulse-width modulation power supply to the subsequent DC bus, which can control the charging process of the input capacitor of the robot joint module and reduce the charging current surge that may occur when the input capacitor is directly connected to the DC input terminal.

[0088] Since this scheme utilizes a high-side switching unit connected between the DC input terminal and the subsequent DC bus to simultaneously pre-charge the input capacitor of the robot joint module and provide continuous power after pre-charging, it is not necessary to set up an additional independent pre-charging branch just for pre-charging the input capacitor of the robot joint module, which helps to simplify the circuit structure related to the power supply of the robot joint module.

[0089] In some embodiments, the capacitive load includes multiple robot joint modules, the input capacitors of which are connected to the same downstream DC bus to form a distributed capacitive load.

[0090] Specifically, each of the multiple robot joint modules has a corresponding input terminal and input capacitor. The input capacitors of each robot joint module are connected to the same downstream DC bus, so that the multiple input capacitors together constitute a distributed capacitive load connected to the downstream DC bus. The multiple robot joint modules can be respectively set at different joint positions on the robot, or they can correspond to different drive units or execution units in the same robot system.

[0091] The multiple robot joint modules can be distributed along the robot power supply network. The input capacitor of each robot joint module can be set on the power supply input side of the corresponding robot joint module and connected to the same downstream DC bus through corresponding power supply lines.

[0092] During the pre-charging phase, the controller outputs a pulse-width modulation (PWM) enable signal to the enable terminal of the high-side switch unit, causing the high-side switch unit to periodically turn on and off. When the high-side switch unit is on, the DC input terminal provides charging current to the same downstream DC bus. This charging current is distributed to the input capacitors of multiple robot joint modules through the downstream DC bus, allowing multiple input capacitors to charge simultaneously or in stages. When the high-side switch unit is off, the power supply path between the DC input terminal and the downstream DC bus is cut off or restricted, thereby limiting the charging process of multiple input capacitors within the corresponding PWM cycle.

[0093] Since multiple input capacitors are connected to the same downstream DC bus, the voltage detection unit can obtain a bus voltage detection signal that reflects the overall charging state of the multiple input capacitors by detecting the bus voltage of this downstream DC bus. The controller determines the overall pre-charge state of the distributed capacitive load based on the bus voltage detection signal. When the bus voltage does not reach the preset voltage threshold, the controller continues to output a pulse width modulation enable signal, causing the high-side switch unit to continue to periodically turn on and off. When the bus voltage reaches the preset voltage threshold, the controller outputs a continuously effective enable signal, causing the high-side switch unit to remain on, providing continuous power to the multiple robot joint modules.

[0094] When the input capacitors of multiple robot joint modules have different capacities, or when the power supply line impedances of each robot joint module are different, the charging speeds of the multiple input capacitors may differ. Since the controller detects the bus voltage of the common downstream DC bus, it can control the conduction and cutoff of the high-side switch unit based on the overall voltage establishment of the common bus, and switch to continuous power supply mode after the common bus voltage reaches a preset voltage threshold.

[0095] It should be noted that, in this embodiment, "distributed capacitive load" refers to the input capacitors of multiple robot joint modules being distributed across multiple robot joint modules and connected together to the same downstream DC bus. However, it does not limit the multiple input capacitors to having the same capacitance or to being carried by the same circuit board.

[0096] As can be seen, by connecting the input capacitors of multiple robot joint modules to the same downstream DC bus, the multiple distributed input capacitors can be pre-charged uniformly by the same high-side switching unit. Compared with setting up independent pre-charging circuits for each robot joint module, this scheme can centrally control the input capacitors of multiple robot joint modules using a common downstream DC bus and a high-side switching unit. The overall pre-charging status of the distributed capacitive load composed of multiple input capacitors can be determined based on the common bus voltage, which helps to reduce redundant pre-charging switches and related control connections.

[0097] See Figure 3 This specification also provides a pre-charge control method for the aforementioned pre-charge circuit, specifically applicable to the controller of the pre-charge circuit. The pre-charge circuit includes a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller. The high-side switching unit is connected between the DC input terminal and the downstream DC bus and has an enable terminal; the voltage detection unit is used to detect the bus voltage of the downstream DC bus. The method includes the following steps: Step 301: During the pre-charge stage, the controller outputs a pulse width modulation enable signal to the enable terminal to periodically turn the high-side switch unit on and off, so as to pre-charge the capacitive load connected to the downstream DC bus. Step 302: Detect the bus voltage of the downstream DC bus using the voltage detection unit; Step 303: After the bus voltage reaches the preset voltage threshold, the controller outputs a continuously effective enable signal to the enable terminal, so that the high-side switch unit switches from a periodic on and off state to a continuously on state, so as to continuously supply power to the downstream DC bus through the high-side switch unit.

[0098] Specifically, after pre-charge startup, the controller outputs a pulse-width modulation (PWM) enable signal to the enable terminal of the high-side switching unit, causing the high-side switching unit to periodically turn on and off according to the PWM enable signal. When the high-side switching unit is on, the DC input terminal provides charging current to the capacitive load on the downstream DC bus; when the high-side switching unit is off, it limits the continuous charging current provided by the DC input terminal to the downstream DC bus. By controlling the periodic on and off of the high-side switching unit, the capacitive load is gradually charged, and the bus voltage of the downstream DC bus gradually increases.

[0099] During the pre-charging process, the voltage detection unit detects the bus voltage of the downstream DC bus and transmits the corresponding bus voltage detection signal to the controller. The controller determines whether the bus voltage has reached the preset voltage threshold based on the bus voltage detection signal.

[0100] When the bus voltage reaches a preset voltage threshold, the controller stops outputting the pulse width modulation enable signal used for periodic control of the high-side switching unit and outputs a continuously valid enable signal to the enable terminal of the high-side switching unit, switching the high-side switching unit from a periodic on / off state to a continuously on state. At this time, the DC input terminal continuously supplies power to the downstream DC bus through the high-side switching unit to maintain the normal power supply state of the capacitive load.

[0101] In another implementation, the controller can switch the high-side switch unit to a continuously conducting state only after detecting that the bus voltage has reached a preset voltage threshold and remained there for a preset time, thereby improving the stability of the pre-charge completion judgment. The preset voltage threshold and preset time can be determined based on the DC input voltage, the input capacitance of the capacitive load, the operating voltage of the power supply equipment, and the allowable voltage fluctuation range of the system.

[0102] Therefore, during the pre-charge phase, the pulse width modulation enable signal controls the high-side switching unit to periodically turn on and off, allowing the capacitive load connected to the downstream DC bus to charge gradually in a controlled manner. By limiting the average charging current during the pre-charge phase and slowing down the bus voltage build-up process, the current surge generated when the capacitive load is directly powered on can be reduced, thus minimizing the instantaneous current impact on the DC input terminal, power supply line, and high-side switching unit.

[0103] When the bus voltage of the downstream DC bus reaches a preset voltage threshold, the high-side switch unit switches to a continuously conducting state to maintain a continuous power supply connection between the DC input terminal and the downstream DC bus. Since the pre-charge stage and the continuous power supply stage share the same high-side switch unit, it reduces current surges without the need for an additional independent pre-charge switch branch, which helps reduce the number of circuit components, reduce circuit complexity, and save board space.

[0104] Based on the same inventive concept, embodiments of this specification also provide a pre-charge control device applied to a pre-charge circuit. The pre-charge circuit includes a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller. The high-side switching unit is connected between the DC input terminal and the downstream DC bus and has an enable terminal. The voltage detection unit is used to detect the bus voltage of the downstream DC bus. (See also...) Figure 4 The device includes: The pulse width modulation control module 401 is used to output a pulse width modulation enable signal to the enable terminal through the controller during the pre-charge stage, so as to periodically turn the high-side switch unit on and off to pre-charge the capacitive load connected to the downstream DC bus. Voltage acquisition module 402 is used to detect the bus voltage of the downstream DC bus through the voltage detection unit; The switching control module 403 is used to output a continuously effective enable signal to the enable terminal through the controller after the bus voltage reaches a preset voltage threshold, so that the high-side switch unit switches from a periodic on and off state to a continuously on state, so as to continuously supply power to the downstream DC bus through the high-side switch unit.

[0105] The beneficial effects obtained by the above-described device are the same as those obtained by the above-described method, and will not be described in detail in the embodiments of this specification.

[0106] like Figure 5 The diagram shown is a structural schematic of a computer device according to an embodiment of this specification. The pre-charge control method of this invention can be applied to the computer device in this embodiment. The computer device 502 may include one or more processing devices 504, such as one or more central processing units (CPUs), each of which may implement one or more hardware threads.

[0107] Computer device 502 may also include any storage resource 506 for storing any kind of information such as code, settings, data, etc.

[0108] Non-limiting, for example, storage resource 506 may include any one or more of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc.

[0109] More generally, any storage resource can use any technology to store information.

[0110] Furthermore, any storage resource can provide volatile or non-volatile retention of information.

[0111] Furthermore, any storage resource can represent a fixed or removable component of computer device 502.

[0112] In one scenario, when processing device 504 executes associated instructions stored in any storage resource or combination of storage resources, computer device 502 can perform any operation of the associated instructions. Computer device 502 also includes one or more drive mechanisms 508 for interacting with any storage resource, such as hard disk drive mechanisms, optical disk drive mechanisms, etc.

[0113] Computer device 502 may also include an input / output module 510 (I / O) for receiving various inputs (via input device 512) and providing various outputs (via output device 514). A specific output mechanism may include a presentation device 516 and an associated graphical user interface (GUI) 518. In other embodiments, the input / output module 510 (I / O), input device 512, and output device 514 may be omitted, and the device may function solely as a computer device within a network. Computer device 502 may also include one or more network interfaces 520 for exchanging data with other devices via one or more communication links 522. One or more communication buses 524 couple the components described above together.

[0114] Communication link 522 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. Communication link 522 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.

[0115] This specification also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0116] This specification also provides computer-readable instructions, wherein when a processor executes the instructions, the program therein causes the processor to perform the above-described method.

[0117] This specification also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method.

[0118] It should be understood that in the various embodiments of this specification, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this specification.

[0119] It should also be understood that, in the embodiments of this specification, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, C and / or D can represent: C existing alone, C and D existing simultaneously, and D existing alone. Furthermore, in the embodiments of this specification, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0120] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this specification can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the embodiments in this specification.

[0121] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0122] In the embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, devices, or units, or they may be electrical, mechanical, or other forms of connection.

[0123] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments described in this specification, depending on actual needs.

[0124] Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0125] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this specification, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this specification. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0126] This specification describes the principles and implementation methods of the embodiments using specific examples. The above descriptions of the embodiments are only for the purpose of helping to understand the methods and core ideas of the embodiments in this specification. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the embodiments in this specification. Therefore, the content of this specification should not be construed as a limitation on the embodiments in this specification.

Claims

1. A pre-charging circuit, characterized in that, include: DC input terminal, subsequent DC bus, high-side switching unit, voltage detection unit and controller; The high-side switch unit is connected between the DC input terminal and the subsequent DC bus, and has an enable terminal; The voltage detection unit is used to detect the bus voltage of the downstream DC bus; The controller is connected to the voltage detection unit and the enable terminal respectively, and is configured to: output a pulse width modulation enable signal to the enable terminal during the pre-charge phase, so that the high-side switch unit is periodically turned on and off to pre-charge the capacitive load connected to the downstream DC bus; after the bus voltage reaches a preset voltage threshold, output a continuously effective enable signal to the enable terminal, so that the high-side switch unit is switched to a continuously conducting state to continuously supply power to the downstream DC bus via the high-side switch unit.

2. The pre-charging circuit according to claim 1, characterized in that, The controller is configured to: during the pre-charge phase, determine the bus voltage rise slope based on the bus voltage obtained at multiple sampling times, and dynamically adjust the duty cycle of the pulse width modulation enable signal based on the bus voltage rise slope.

3. The pre-charging circuit according to claim 2, characterized in that, The controller is configured to decrease the duty cycle when the bus voltage rise slope is greater than the upper limit of a preset slope range, and increase the duty cycle when the bus voltage rise slope is less than the lower limit of the preset slope range.

4. The pre-charging circuit according to claim 1, characterized in that, The controller is further configured to: determine a pre-charge abnormality when the pre-charge duration reaches a preset timeout duration and the bus voltage does not reach the preset voltage threshold, and reduce the duty cycle of the pulse width modulation enable signal or stop outputting a valid enable signal to the enable terminal to prevent the high-side switch unit from entering a continuous conduction state.

5. The pre-charging circuit according to claim 1, characterized in that, The enable terminal of the high-side switch unit is connected to the low-level terminal through a pull-down resistor, so that the high-side switch unit remains off when the control output terminal of the controller is in a high-impedance state or no valid enable signal is output.

6. The pre-charging circuit according to claim 1, characterized in that, The high-side switching unit includes a high-side gate driver and an N-channel power MOSFET. The output terminal of the high-side gate driver is connected to the gate drive of the N-channel power MOSFET. The N-channel power MOSFET is connected in series between the DC input terminal and the subsequent DC bus.

7. The pre-charging circuit according to claim 1, characterized in that, The capacitive load includes a robot joint module, and the input capacitor of the robot joint module is connected to the downstream DC bus.

8. The pre-charging circuit according to claim 7, characterized in that, The capacitive load includes multiple robot joint modules, and the input capacitors of the multiple robot joint modules are connected to the same downstream DC bus to form a distributed capacitive load.

9. A pre-charge control method, characterized in that, The method is applied to a pre-charging circuit, which includes a DC input terminal, a downstream DC bus, a high-side switching unit, a voltage detection unit, and a controller. The high-side switching unit is connected between the DC input terminal and the downstream DC bus and has an enable terminal. The voltage detection unit is used to detect the bus voltage of the downstream DC bus. During the pre-charging phase, the controller outputs a pulse width modulation enable signal to the enable terminal, causing the high-side switch unit to periodically turn on and off, so as to pre-charge the capacitive load connected to the downstream DC bus. The bus voltage of the downstream DC bus is detected by the voltage detection unit. After the bus voltage reaches a preset voltage threshold, the controller outputs a continuously effective enable signal to the enable terminal, causing the high-side switch unit to switch from a periodic on / off state to a continuously on state, so as to continuously supply power to the downstream DC bus via the high-side switch unit.

10. A pre-charge control device, characterized in that, An application is made in a pre-charging circuit, the pre-charging circuit including a DC input terminal, a subsequent DC bus, a high-side switching unit, a voltage detection unit, and a controller. The high-side switching unit is connected between the DC input terminal and the subsequent DC bus and has an enable terminal. The voltage detection unit is used to detect the bus voltage of the subsequent DC bus. The device includes: The pulse width modulation control module is used to output a pulse width modulation enable signal to the enable terminal through the controller during the pre-charge stage, so as to periodically turn the high-side switch unit on and off to pre-charge the capacitive load connected to the downstream DC bus. A voltage acquisition module is used to detect the bus voltage of the downstream DC bus through the voltage detection unit; The switching control module is used to output a continuously effective enable signal to the enable terminal through the controller after the bus voltage reaches a preset voltage threshold, so that the high-side switch unit switches from a periodic on and off state to a continuously on state, so as to continuously supply power to the downstream DC bus through the high-side switch unit.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, When the processor executes the computer program, it implements the method of claim 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of claim 9.

13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of claim 9.