A High-Voltage High-Power Floating Capacitor Pre-Charge Control Method

Through the precharge control model of the integration of deep learning and attention mechanism, the stability and accuracy problems of suspended capacitor precharge control in traditional methods are solved, and efficient voltage control is achieved under complex operating conditions.

CN120074255BActive Publication Date: 2025-07-29NINGBO GINLONG TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510550537.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-07-29
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

Traditional suspended capacitor precharge control methods lack the modeling ability of long-term dependencies, and it is difficult to quickly adapt to the dynamic changes in voltage, current and temperature, resulting in poor system stability and prone to overcharge or undercharging during charging.

Method used

Using a pre-charge control model based on the fusion of deep learning and attention mechanisms, the construction of feature vectors and Actor network generation actions is achieved by optimizing long-term returns with Critic networks to achieve high-precision voltage control.

Benefits of technology

Under complex operating conditions such as sudden temperature changes and bus voltage fluctuations, the system operates stably, improving voltage control accuracy and charging efficiency, and avoiding overcharging or undercharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074255B_ABST
    Figure CN120074255B_ABST
Patent Text Reader

Abstract

The present application discloses a pre-charge control method for high-voltage high-power floating capacitors, which is applied to a resonant soft-switching push-pull topology circuit and includes the following control steps: constructing a pre-charge control model based on a fusion framework of deep learning and attention mechanism; using the real-time collected floating capacitor charging parameters as the input of the pre-charge control model to generate feature vectors; based on the obtained feature vectors, conducting long-term reward evaluation on the actions generated by the Actor network for adjusting the pre-charge process; and optimizing the long-term reward according to the real-time charging effect of the floating capacitor and outputting the optimized actions. The beneficial effects of the present application: The DRL-Transformer hybrid framework combines the capabilities of time series modeling and dynamic optimization, effectively improving the voltage control accuracy to ensure that the system can still operate stably under complex working conditions such as sudden temperature changes and bus voltage fluctuations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power electronics technology, and in particular, to a high-voltage high-power floating capacitor pre-charging control method. Background Art

[0002] A floating capacitor refers to a capacitor used in power electronic devices, especially multilevel inverters, to improve the electric field distribution and balance the voltage. Currently, the control methods for floating capacitor pre-charging mainly use fuzzy control or PID control algorithms; however, traditional algorithms lack the ability to model long-term time-dependent relationships and are difficult to capture the dynamic change laws of voltage, current, and temperature. For example, when the bus voltage fluctuates or the temperature rises suddenly, traditional algorithms cannot quickly adjust the charging strategy, affecting the system stability. And existing algorithms need to be retrained with a large amount of data in new scenarios (such as sudden temperature changes, load fluctuations), cannot quickly adapt to dynamic changes, and are difficult to achieve high-precision control, and overcharging or undercharging phenomena are likely to occur during the charging process. Summary of the Invention

[0003] One of the purposes of the present application is to provide a high-voltage high-power floating capacitor pre-charging control method that can solve at least one defect in the above background art.

[0004] To achieve at least one of the above purposes, the technical solution adopted by the present application is: a high-voltage high-power floating capacitor pre-charging control method, applied to a resonant soft-switching push-pull topology circuit, includes the following control steps: constructing a pre-charging control model based on a fusion framework of deep learning and attention mechanism; using the real-time collected floating capacitor charging parameters as the input of the pre-charging control model to generate feature vectors; based on the obtained feature vectors, conducting a long-term reward evaluation on the actions generated by the Actor network for adjusting the pre-charging process; and optimizing the long-term reward according to the real-time charging effect of the floating capacitor and outputting the optimized actions.

[0005] Preferably, the generation of the feature vectors includes the following process: preprocessing the input charging parameters; constructing a historical state matrix based on the preprocessed data combined with the input charging parameters; and extracting the long-term time-dependent relationship of the historical state matrix through the multi-head attention mechanism, thereby generating high-dimensional feature vectors.

[0006] Preferably, the charging parameters include the capacitor voltage V C (t), the bus voltage U dc (t), and the temperature T(t); the preprocessing process is as follows: calculating the voltage error e(t) between the capacitor voltage V C (t) and the set target voltage V ref and the corresponding error change rate Δe(t).

[0007] Preferably, the historical state matrix Xt-N:t and the eigenvector h t has the following expression:

[0008] ;

[0009] h t = TransformerEncoder(X t-N:t );

[0010] where N represents the time window length and N = 5.

[0011] Preferably, the long-term reward evaluation of the actions generated by the Actor network includes the following process: receiving the eigenvector h encoded by the Transformer t entering a fully connected neural network to output the action a t ; using the Q-value function to input the eigenvector h t and the action a t to evaluate the long-term reward Q(h t , a t ) generated by the Actor.

[0012] Preferably, the action a generated by the Actor network t includes the duty cycle adjustment amount ΔD(t) and the current limit threshold I limit , and the acquisition of the action a t includes the following process: inputting the eigenvector h t into a fully connected neural network, and outputting the action a through the hidden layer activation function ReLU and the output layer activation function Tanh t ; the expression of the action a t is as follows:

[0013] a t = [ΔD(t), I limit = Tanh(W3 × ReLU(W2 × ReLU(W1 × h t + b1) + b2) + b3);

[0014] where b1 to b3 and W1 to W3 are all network parameters.

[0015] Preferably, the optimization of the long-term reward includes the following process: optimizing the policy by maximizing the cumulative reward, designing a reward function in combination with the real-time charging effect; based on the obtained reward function, evaluating the value of the actions generated by the Actor network through the Critic network; updating the parameters corresponding to the Critic network and the Actor network through gradient descent to optimize the long-term reward.

[0016] Preferably, the reward function includes a charging efficiency reward R1, a stability penalty R2, and an overcharge / undercharge penalty R3, and the total reward R = R1 + R2 + R3; the expressions for the charging efficiency reward R1, the stability penalty R2, and the overcharge / undercharge penalty R3 are as follows:

[0017] ;

[0018] ;

[0019] ;

[0020] where α, β, and γ respectively represent the corresponding weight coefficients, V ref represents the target voltage, and ε represents the allowable deviation threshold.

[0021] Preferably, the pre-charge control model is trained through meta-learning. The specific training process is as follows: Define the data fluctuation ranges of the target voltage, temperature, and bus voltage in multiple scenarios, and then generate the time-series data for each scenario; perform a small number of gradient updates and learn the general initialization parameters in each scenario to obtain a set of general parameters; judge the error range of the general parameters. If the error is too large, fine-tune and update the general parameters and deploy the updated parameters to the real-time control system; otherwise, maintain the current policy without update.

[0022] Preferably, the upper limit of the error range of the difference between the temperature in the general parameters and the average value is 10%, and the upper limit of the error range of the fluctuation of the bus voltage in the general parameters is 5%.

[0023] Compared with the prior art, the beneficial effects of the present application are as follows:

[0024] The DRL-Transformer hybrid framework combines the time-series modeling and dynamic optimization capabilities, effectively improving the voltage control accuracy to ensure that the system can still operate stably under complex working conditions such as sudden temperature changes and bus voltage fluctuations. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a schematic structural diagram of the resonant soft-switching push-pull topology circuit of the present application.

[0026] Figure 2 is a schematic diagram of the working process of the present application.

[0027] Figure 3 is a schematic diagram of the basic architecture of the pre-charge control model in the present application.

[0028] Figure 4 is a schematic diagram of the logic of the pre-charge control model in the present application for pre-charge control.

[0029] Figure 5Schematic diagram of the meta - learning training process for the pre - charge control model in this application. Specific implementation manners

[0030] Next, in combination with specific implementation manners, the present application will be further described. It should be noted that in the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above - mentioned terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification.

[0031] In the description of the present application, it should be noted that for orientation terms, if there are terms such as "center", "horizontal", "longitudinal", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., indicating the orientation and position relationship is based on the orientation or position relationship shown in the drawings. This is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and should not be understood as limiting the specific protection scope of the present application.

[0032] It should be noted that the terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence.

[0033] In the present application, unless otherwise clearly specified and limited, terms such as "installation", "connection", "connection", "fixation", etc. should be understood in a broad sense. For example, it can be a connection, a detachable connection, or an integral body; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above - mentioned terms in the present invention can be understood according to specific situations.

[0034] In this application, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may include direct contact between the first and second features, or may include the situation where the first and second features are not in direct contact but in contact through additional features therebetween. Moreover, the first feature being "above", "over" and "on top of" the second feature includes the first feature being directly above and obliquely above the second feature, or merely indicating that the horizontal height of the first feature is higher than that of the second feature. The first feature being "under", "beneath" and "underneath" the second feature includes the first feature being directly below and obliquely below the second feature, or merely indicating that the horizontal height of the first feature is less than that of the second feature.

[0035] The terms "comprise" and "have" and any variations thereof in the description and claims of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that comprises a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these process, method, product or device.

[0036] For the convenience of understanding the technical solution of this application, the specific structure and working process of the pre-charging hardware architecture of the high-voltage high-power floating capacitor in this application will be described in detail below.

[0037] As Figure 1 shown, it is a schematic structural diagram of the specific structure of the resonant soft-switching push-pull topology circuit required for pre-charging the high-voltage high-power floating capacitor. This circuit includes two switching tubes Q1 and Q2, a transformer T with a center tap, a full-bridge rectifier circuit (D1, D2, D3, D4) and a filter capacitor C. The primary side of the push-pull transformer T is alternately conducted by the switching tubes Q1 and Q2 to form a push-pull structure, generating an alternating current in positive and negative directions. The secondary side rectifies the alternating current into high-voltage direct current through the bridge rectifier circuit, and finally realizes pre-charging for the floating capacitor after filtering by the filter capacitor.

[0038] Specifically, as Figure 1 shown, the primary coil of the push-pull transformer is divided into two symmetrical windings N 11 and N 12 by the center tap, so as to balance the current and magnetic flux of the primary side. The drains of the two switching tubes are respectively connected to N 11 and N 12At one end, the power supply terminal is provided by a 12V DC power supply. The control signals output by the PWM controller are used to control the alternating conduction of switching transistors Q1 and Q2. When switching transistor Q1 conducts, the current flows from the 12V power supply through the upper half winding of the primary winding of the transformer and then through switching transistor Q1 to ground. At this time, magnetic flux is generated in the primary winding of the transformer and is transferred to the secondary winding. When switching transistor Q2 conducts, the current flows in the opposite direction through the lower half winding of the primary winding, forming an opposite magnetic flux; this bidirectional magnetic flux change helps to improve the utilization rate of the transformer. On the secondary side, the expression of the output voltage U2 is: U2 = N2 / N1 × Ui.

[0039] In the formula, N1 = N 11 = N 12 ; The number of turns of the two windings is the same to ensure that the transformer can provide the same amount of magnetic flux change in each switching cycle. U2 is the voltage output by the secondary of the transformer, and Ui is the voltage input to the push-pull circuit. Then, the high-frequency alternating voltage is converted into direct current through the rectification and filtering circuits. Due to the large turns ratio, the voltage output by the secondary is much higher than the voltage input to the primary.

[0040] The rectification part uses a full-bridge rectifier, which consists of four fast-recovery diodes with high voltage withstand. When the AC voltage U2 of the secondary of the transformer passes through the rectifier bridge, diodes D1 and D4 conduct during the positive half cycle of the voltage, and diodes D2 and D3 conduct during the negative half cycle, ensuring that a positive current passes through the output terminal of the rectification circuit in each cycle, thereby converting the alternating current into a unidirectional pulsating direct current. The pulsating direct current output by the rectification circuit still contains a large ripple voltage. The filter capacitor acts as an energy storage element in the circuit. When the voltage fluctuates, the capacitor can absorb and release charges to smooth the output voltage, reduce the influence of the ripple, and ensure that the pre-charging process of the floating capacitor can proceed smoothly.

[0041] In this circuit, the secondary voltage of the push-pull transformer is connected in parallel with the floating capacitor, and a high-voltage DC power supply is formed through the full-bridge rectifier and the filter capacitor. As the soft-start process progresses, the voltage across the floating capacitor gradually rises to the target value to complete the pre-charging. After the pre-charging is completed, the system enters the normal working state, and the floating capacitor maintains voltage balance, providing stable voltage support for the subsequent five-level topology. To ensure the stable start of the resonant soft-switching push-pull topology circuit, this embodiment provides a control method for pre-charging the high-voltage and high-power floating capacitor.

[0042] One preferred embodiment of this application is as Figure 2 and Figure 3As shown in the figure, a high-voltage high-power floating capacitor pre-charging control method is applied to the above-mentioned resonant soft-switching push-pull topology circuit, and includes the following control steps: constructing a pre-charging control model based on the fusion framework of deep learning and attention mechanism (DRL-Transformer). Taking the real-time collected floating capacitor charging parameters as the input of the pre-charging control model to generate feature vectors. Based on the obtained feature vectors, the long-term reward of the actions generated by the Actor network for adjusting the pre-charging process is evaluated. Optimize the long-term reward according to the real-time charging effect of the floating capacitor and output the optimized actions.

[0043] It can be understood that deep reinforcement learning (DRL) refers to the combination of reinforcement learning and deep learning, which optimizes the reinforcement learning algorithm through the deep learning technology of neural networks. In this embodiment, by integrating the strategy of deep reinforcement learning with the attention mechanism and combining with the resonant soft-switching push-pull topology circuit, efficient and high-precision capacitor pre-charging can be achieved. The Transformer model architecture uses the Self-Attention structure to replace the RNN network structure commonly used in NLP tasks. Compared with the RNN network structure, its biggest advantage is that it can perform parallel computing. The Transformer model is a neural network that learns context and thus meaning by tracking the relationships in sequential data. In this embodiment, the long-term time series dependencies are extracted by the Transformer encoder to generate high-dimensional feature vectors, and the DDPG algorithm is used to generate continuous control actions (such as duty cycle adjustment amount, current threshold), and the long-term reward of the actions is evaluated by the Critic network to achieve the optimal pre-charging control of the floating capacitor. Specifically, in this embodiment, the DRL-Transformer hybrid framework combines the time series modeling and dynamic optimization capabilities to effectively improve the voltage control accuracy to ensure that the system can still operate stably under complex working conditions such as sudden temperature changes and bus voltage fluctuations.

[0044] Specifically, as Figure 3 and Figure 4As shown in the figure, the basic structure of the pre-charge control model based on the DRL-Transformer hybrid framework mainly includes an input layer, a Transformer encoder, a DRL network, and an execution layer. The input layer is mainly used for collecting data input and calculating related preprocessing processes. The Transformer encoder can receive the data output by the input layer and perform state encoding and feature extraction to obtain corresponding feature vectors. The DRL network can receive the feature vectors output by the Transformer encoder through the Actor network to generate corresponding charging actions. At the same time, the DRL network can also evaluate and optimize the long-term charging benefits brought by the charging actions generated by the Actor network through the Critic network. The execution layer can combine the real-time charging effect and the optimization result of the long-term charging benefit to output a circuit control signal, and then control the duty cycle and charging current during the pre-charge process of the resonant soft-switching push-pull topology circuit, so that the floating capacitor pre-charge always works in a better or optimal state. For the convenience of understanding, the specific working processes of each part of the pre-charge control model will be described in detail below.

[0045] In this embodiment, as Figure 4 shown, the generation of the feature vector includes the following process: The input layer first preprocesses the input charging parameters. Then the Transformer encoder constructs a historical state matrix based on the preprocessed data combined with the input charging parameters. Finally, the long-term time series dependence of the historical state matrix is extracted through the multi-head attention mechanism, and then a high-dimensional feature vector is generated.

[0046] Specifically, the charging parameters corresponding to the floating capacitor during the charging process mainly include the capacitor voltage V C (t), the bus voltage U dc (t), and the temperature T(t). Among them, the parameter that has the most obvious response to the charging state of the floating capacitor is the capacitor voltage V C (t). Then the preprocessing of the charging parameters is mainly to calculate the change state of the capacitor voltage V C (t) during the charging process; that is, to calculate the voltage error e(t) between the capacitor voltage V C (t) and the set target voltage V ref and the corresponding error change rate Δe(t).

[0047] It can be understood that e(t)=V ref -V C (t), Δe(t)=e(t)-e(t - 1). The target voltage V ref is related to the specific performance of the floating capacitor; for the specific value of the target voltage V ref , those skilled in the art can select it according to actual needs.

[0048] It can also be understood that the historical state matrix X t-N:t and the eigenvector h t are expressed as follows:

[0049] .

[0050] h t = TransformerEncoder(X t-N:t ).

[0051] Where N represents the time window length, and N = 5.

[0052] In this embodiment, as Figure 4 shown, the DRL network adopts an Actor-Critic architecture based on the DDPG algorithm; after receiving the eigenvector h t output by the Transformer encoder, the DRL network can first generate the corresponding action a t through the Actor network, and the action a t includes the duty cycle adjustment amount ΔD(t) and the current limiting threshold I limit . Then the DRL network can evaluate the long-term charging benefit of the action a t generated by the Actor network through the Critic network, and optimize according to the evaluation result, and then can output the optimized action a t to the execution layer. The execution layer sends the optimized duty cycle adjustment amount ΔD(t) to the PWM controller to adjust the duty cycle of the switching tubes of the resonant soft-switching push-pull topology circuit; at the same time, the execution layer can also send the optimized current limiting threshold I limit to the synchronous rectification module of the resonant soft-switching push-pull topology circuit, and then limit the charging current I chg (t) of the floating capacitor during the pre-charging process to I chg (t) ≤ I limit .

[0053] It can be understood that the Actor network is a policy gradient algorithm based on policy, which can select behaviors according to probability. The Actor network directly interacts with the environment according to the current policy, and then directly optimizes the current policy according to the rewards obtained after the interaction. The Critic network is a Q-Learning algorithm based on the value function, which is used to judge the behavior score of the Actor network; the update of the Critic network adopts the method of gradient descent. The Critic network directly obtains the interaction between the policy and the environment through the value function, and the rewards obtained from the interaction are used to optimize the current value function, thereby helping the Actor network to update the policy.

[0054] It should be noted that the specific working processes of the Actor network and the Critic network are well-known to those skilled in the art, so they will not be elaborated in detail here.

[0055] Specifically, as Figure 4 shown, the long-term reward evaluation of the Actor network for generating actions includes the following process: receiving the feature vector h encoded by the Transformer t and entering a fully connected neural network to output the action a t . Using the Q-value function to input the feature vector h t and the action a t to evaluate the long-term reward Q(h t , a t ) generated by the Actor. The acquisition of the action a t includes the following process: inputting the feature vector h t into a fully connected neural network, and outputting the action a t through the hidden layer activation function ReLU and the output layer activation function Tanh; the expression of the action a t is as follows:

[0056] a t = [ΔD(t), I limit = Tanh(W3 × ReLU(W2 × ReLU(W1 × h t + b1) + b2) + b3); where, b1 to b3 and W1 to W3 are all network parameters.

[0057] In this embodiment, the optimization of the long-term reward of the DRL network includes the following process: optimizing the strategy by maximizing the cumulative reward, and designing the reward function in combination with the real-time charging effect. Based on the obtained reward function, the Critic network evaluates the value of the actions generated by the Actor network. The parameters corresponding to the Critic network and the Actor network are updated by gradient descent to optimize the long-term reward.

[0058] It can be understood that the pre-charging process of the floating capacitor mainly considers the charging efficiency, the stability during the charging process, and whether there is overcharging or undercharging behavior. Then, when optimizing the long-term reward, the reward function needs to comprehensively consider the above three situations.

[0059] Specifically, the reward function includes the charging efficiency reward R1, the stability penalty R2, and the overcharging / undercharging penalty R3, and the total reward R = R1 + R2 + R3; the expressions of the charging efficiency reward R1, the stability penalty R2, and the overcharging / undercharging penalty R3 are as follows:

[0060] .

[0061] 。

[0062] 。

[0063] Among them, α, β, and γ respectively represent the corresponding weight coefficients, and ε represents the allowable deviation threshold.

[0064] In this embodiment, as Figure 3 shown, to improve the generalization ability of the pre-charge control model in new scenarios (such as temperature mutations and load fluctuations), the core idea of introducing the Meta-Learning framework is to pre-train the model in multiple simulation scenarios to learn a general strategy, enabling it to quickly adjust the strategy parameters through a small amount of real-time data in new scenarios, thereby adapting to different working conditions. As Figure 5 shown, the specific training process is as follows: Define the data fluctuation ranges of the target voltage V ref , temperature T, and bus voltage U dc , and then generate the time-series data for each scenario. Perform a small amount of gradient updates and learn the general initialization parameters in each scenario to obtain a set of general parameters. Judge the error range of the general parameters. If the error is too large, fine-tune and update the general parameters and deploy the updated parameters to the real-time control system.

[0065] It can be understood that the number of samples generated for each scenario can be determined according to actual needs. For example, 1000 - 5000 samples can be generated for each scenario, so as to ensure the diversity of data. The limitation of the error range can also be set according to the actual needs of those skilled in the art. For example, the upper limit of the difference error range between the temperature T(t) and the average value T avg in the general parameters is 10%, the upper limit of the fluctuation error range of the bus voltage U dc in the general parameters is 5%, and the change amount of the fluctuation amplitude of the bus voltage U dc can be represented by ΔU dc .

[0066] Specifically, if |T(t) - T avg | > 10%, and ΔU dc > 5%, it means that the error range of the general parameters is too large. At this time, a small number of samples, such as 10 real-time sample parameters D new , can be collected for quick fine-tuning and updating, and then the updated parameter D new is deployed to the real-time control system to adjust and control the pre-charge process of the floating capacitor; otherwise, maintain the current strategy without parameter update.

[0067] The basic principles, main features and advantages of the present application have been described above. Those skilled in the art should understand that the present application is not limited by the above embodiments. What is described in the above embodiments and the specification is only the principle of the present application. Without departing from the spirit and scope of the present application, various changes and improvements will occur to the present application, and these changes and improvements all fall within the scope of the present application claimed. The scope of protection required by the present application is defined by the appended claims and their equivalents.

Claims

1. A high-voltage high-power floating capacitor pre-charging control method, which is applied to a resonant soft-switching push-pull topology circuit, is characterized in that It includes the following control steps: Construct a pre-charge control model based on the fusion framework of deep learning and attention mechanism; Take the charging parameters of the floating capacitor collected in real time as the input of the pre-charge control model to generate feature vectors; Based on the obtained feature vectors, conduct long-term reward evaluation on the actions generated by the Actor network for adjusting the pre-charge process; Optimize the long-term reward according to the real-time charging effect of the floating capacitor and output the optimized actions; The optimization of the long-term reward includes the following process: Optimize the strategy by maximizing the cumulative reward and design the reward function in combination with the real-time charging effect; Based on the obtained reward function, evaluate the value of the actions generated by the Actor network through the Critic network; Update the parameters corresponding to the Critic network and the Actor network by gradient descent to optimize the long-term reward; The reward function includes the charging efficiency reward R1, the stability penalty R2, and the overcharge / undercharge penalty R3, and the total reward R = R1 + R2 + R3; The expressions of the charging efficiency reward R1, the stability penalty R2, and the overcharge / undercharge penalty R3 are as follows: ; ; ; where α, β, and γ respectively represent the corresponding weight coefficients, V ref represents the target voltage, ε represents the allowable deviation threshold, e(t) represents the voltage error, represents the error change rate, V C (t) represents the capacitor voltage; Train the pre-charge control model through meta-learning, and the specific training process is as follows: Define the data fluctuation ranges of the target voltage, temperature, and bus voltage in multiple scenarios, and then generate the time-series data in each scenario; Perform a small amount of gradient updates and learn the general initialization parameters in each scenario to obtain a set of general parameters; Judge the error range of the general parameters. If the error is too large, fine-tune and update the general parameters and deploy the updated parameters to the real-time control system; Otherwise, maintain the current strategy without update.

2. The high-voltage high-power floating capacitor pre-charging control method according to claim 1, characterized in that, The generation of the feature vectors includes the following process: Preprocess the input charging parameters; Construct a historical state matrix based on the preprocessed data combined with the input charging parameters; Extract the long-time series dependence relationship of the historical state matrix through the multi-head attention mechanism, and then generate high-dimensional feature vectors.

3. The high-voltage high-power floating capacitor pre-charging control method according to claim 2, characterized in that, The charging parameters include the capacitor voltage, the bus voltage, and the temperature; the preprocessing process is as follows: Calculate the voltage error between the capacitor voltage and the set target voltage and the corresponding error change rate.

4. The high-voltage high-power floating capacitor pre-charging control method according to claim 3, wherein Historical state matrix X t-N:t and eigenvector h t are expressed as follows: ; h t =TransformerEncoder(X t-N:t ); Among them, V C (t) represents the capacitor voltage, U dc (t) represents the bus voltage, T(t) represents the temperature, e(t) represents the voltage error, represents the error change rate, N represents the time window length, N = 5.

5. The high-voltage high-power floating capacitor pre-charging control method according to claim 1, wherein The action a generated by the Actor network t The long-term return evaluation process is as follows: Receive the feature vector h encoded by the Transformer t Enter the fully connected neural network to output the action a t ; Use the Q-value function to input the feature vector h t and the action a t to evaluate the long-term reward Q(h t , a t ) generated by the Actor.

6. The high-voltage high-power floating capacitor pre-charging control method according to claim 5, characterized in that, The action a generated by the Actor network t including the duty cycle adjustment amount and the current limiting threshold I limit , the action a t is obtained through the following process: Input the feature vector h t into the fully connected neural network, and output the action a through the ReLU activation function of the hidden layer and the Tanh activation function of the output layer t ; The expression of the action a t is as follows: ; Among them, b1 to b3 and W1 to W3 are all network parameters.

7. The high-voltage high-power floating capacitor pre-charging control method according to claim 1, wherein The upper limit of the difference error range between the temperature and the average value in the general parameters is 10%, and the upper limit of the fluctuation error range of the bus voltage in the general parameters is 5%.

Citation Information

Patent Citations

  • Fuzzy control method and device for high-voltage capacitor charging

    CN103457475A

  • Equalization charging method, device and equipment for power battery pack

    CN119765584A