Data-driven low common-mode voltage predictive control method for v2g interface converter
By adopting a data-driven V2G interface converter low common-mode voltage prediction control method, the parameter dependence and common-mode voltage safety issues of traditional V2G systems are solved, the universality of the control algorithm and electrical safety are achieved, and the difficulty and cost of topology porting are reduced.
Patent Information
- Application Number
- CN202611384338.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-09-08
AI Technical Summary
Traditional V2G system control strategies rely on accurate system physical models, making it difficult to adapt to parameter drift and common-mode voltage safety hazards. Furthermore, they are highly topologically dependent, making portability difficult and leading to system instability and hardware damage.
A data-driven V2G interface converter low common-mode voltage predictive control method is adopted. By constructing a hyperlocal model and a pseudo-Jacobi matrix, the mapping relationship between input and output data is realized. Combined with a multi-objective weighted performance index function, the optimal suppression strategy is generated, reducing the dependence on precise physical parameters.
It achieves decoupling of control algorithm and circuit structure, adapts to multiple vehicle models and power grid changes, provides electrical safety assurance, reduces R&D costs, and meets high-frequency control requirements.
Smart Images

Figure CN122890841B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of voltage control, specifically to a data-driven method for predictive control of low common-mode voltage in V2G interface converters. Background Technology
[0002] With the development of low-carbon development, new energy vehicles have entered a growth phase. The massive number of electric vehicles are not only transportation tools but also widely distributed and flexibly adjustable mobile energy storage units. Vehicle-to-Grid (V2G) technology, as a key link connecting the transportation network and the energy network, allows electric vehicles to exchange energy bidirectionally according to grid demand: they can act as loads charging during grid off-peak hours and as power sources supplying power back to the grid during peak hours, which is of great significance for peak shaving and valley filling and improving grid stability. As the core power interface of the V2G system, the bidirectional power electronic converter faces extremely complex operating challenges. It not only needs to possess high efficiency and high power density characteristics but also needs to achieve millisecond-level smooth switching between rectifier charging and inverter discharging modes, which places extremely high demands on the dynamic performance of the control system.
[0003] However, in practical V2G engineering applications, traditional control strategies face severe challenges, mainly in two aspects: high parameter uncertainty and common-mode voltage safety hazards. First, traditional control methods, such as model-based predictive control and deadbeat control, heavily rely on accurate system physical models. Once actual parameters drift or mismatch, the controller's predictive accuracy will drop significantly, leading to grid current distortion, system oscillation, or even shutdown, making it difficult to adapt to V2G scenarios involving multiple vehicle models. Second, the common-mode voltage (CMV) problem is particularly prominent in V2G systems. Due to the large parasitic capacitance between the electric vehicle's battery pack and the chassis, the common-mode voltage generated by the high-frequency switching of the converter can easily form a ground leakage current through this parasitic capacitance. This not only causes leakage protection devices to malfunction and interrupt the charging process, but the long-term presence of shaft current can even corrode the motor bearings, causing irreversible damage to vehicle hardware and posing a serious safety hazard.
[0004] Although there are existing parameter identification and common-mode suppression methods for specific topologies, these solutions are usually derived from specific circuit differential equations, which are highly topology-dependent and difficult to port. When the converter hardware structure is upgraded or changed (for example, from two-level to multi-level), the entire control algorithm needs to be re-derived and redesigned, resulting in extremely high R&D costs. Summary of the Invention
[0005] To address the aforementioned issues, this application proposes a data-driven low common-mode voltage predictive control method for V2G interface converters, comprising: For the vehicle-to-grid (V2G) interactive converter, the input and output data during its operation are collected and normalized to construct standardized generalized input and output vectors. Based on the generalized input vector and the generalized output vector, and based on the dynamic linearization theory, a hyperlocal model is constructed by introducing a time-varying pseudo-Jacobi matrix; the hyperlocal model is used to describe the mapping relationship between the output increment of the vehicle-to-grid interactive converter at the next time step and the input increment at the current time step; Based on the input vector sequence and output vector sequence corresponding to the generalized input vector and the generalized output vector at the most recent time, the pseudo-Jacobi matrix is updated by constructing an estimation algorithm that includes a fitting error minimization criterion. Based on the current tracking error, internal potential balance error, common-mode rejection error, and the corresponding weight matrix, a multi-objective weighted performance index function is constructed. The multi-objective weighted performance index function is then solved according to the updated hyperlocal model to obtain the corresponding control input vector, which is used to drive the vehicle-to-grid converter.
[0006] In one example, for a vehicle-to-grid (V2G) interactive converter, its input and output data during operation are collected and normalized to construct standardized generalized input and output vectors, specifically including: For the vehicle-to-grid converter, collect its corresponding three-phase grid-connected current, DC bus capacitor voltage, and three-phase flying capacitor voltage; The three-phase grid-connected current is mapped to a synchronous rotating coordinate system using the Park transformation matrix to obtain the active current component and the reactive current component; the common-mode current component is obtained based on the three-phase grid-connected current; the midpoint voltage deviation is obtained based on the DC bus capacitor voltage; and the flyover capacitor voltage deviation is obtained based on the three-phase flyover capacitor voltage. The obtained variables are processed by sliding window Z-score standardization; A standardized generalized input vector is generated by using the active voltage component, reactive voltage component, and active control degrees of freedom corresponding to the three-phase grid-connected voltage; and a standardized generalized output vector is generated by using the flying capacitor voltage deviation, the active current component, the reactive current component, the common-mode current component, and the midpoint voltage deviation.
[0007] In one example, based on the generalized input vector and the generalized output vector, and based on dynamic linearization theory, a hyperlocal model is constructed by introducing a time-varying pseudo-Jacobi matrix, specifically including: Based on the generalized input vector and the generalized output vector, the corresponding input increment and output increment are obtained respectively; Using the hyperlocal model, the output increment at the next time step is obtained based on the time-varying pseudo-Jacobi matrix and the input increment at the current time step. In the pseudo-Jacobi matrix, each matrix element is obtained based on its corresponding element in the input increment and the output increment, respectively.
[0008] In one example, based on the input vector sequence and output vector sequence corresponding to the generalized input vector and the generalized output vector at the most recent time, the pseudo-Jacobi matrix is updated by constructing an estimation algorithm that includes a fitting error minimization criterion. Specifically, this includes: Construct an estimation criterion function; the estimation criterion function is obtained through a first term, a second term, and a weighting factor; the first term is obtained by subtracting the product of the current output increment and the pseudo-Jacobi matrix and the input increment of the previous time step; the second term is obtained by subtracting the estimated value of the pseudo-Jacobi matrix of the current time step from the estimated value of the pseudo-Jacobi matrix of the previous time step, and combining it with the weighting factor. By taking the partial derivative of the estimation criterion function, the estimated value of the pseudo-Jacobi matrix at the current time without constraints is obtained by using the steepest descent method. Based on prior physical knowledge, a range constraint is applied to the estimated value of the pseudo-Jacobi matrix at the current moment, and values exceeding the constraint range are projected to obtain the estimated value of the pseudo-Jacobi matrix at the current moment.
[0009] In one example, a multi-objective weighted performance index function is constructed based on the current tracking error, internal potential balance error, common-mode rejection error, and the corresponding weight matrix. Specifically, this includes: The expected values of the flying capacitor voltage deviation and the midpoint voltage deviation are both set to 0, corresponding to the internal potential balance error in the multi-objective; the expected value of the common-mode current component is set to 0, corresponding to the common-mode rejection error in the multi-objective; and the expected values of the active current component and the reactive current component are set respectively, corresponding to the current tracking error in the multi-objective. Based on the expected values corresponding to the internal potential balance error, the common mode rejection error, and the current tracking error, the expected vector is obtained; By using the generalized output vector at the current time step and the output increment at the next time step, the generalized output vector at the next time step is obtained. Based on the expected vector at the next time step, the generalized output vector at the next time step, and the corresponding weight matrix, the multi-objective performance error at the next time step is obtained. Based on the multi-objective performance error at the next time step, the input increment at the current time step, and the penalty factor, a multi-objective weighted performance index function is constructed.
[0010] In one example, the weight matrix has the following priorities from highest to lowest: the first priority includes: midpoint voltage deviation and common-mode current component; the second priority includes: active current component and reactive current component; and the third priority includes: flying capacitor voltage deviation.
[0011] In one example, the multi-objective weighted performance index function is solved based on the updated hyperlocal model to obtain the corresponding control input vector, specifically including: The multi-objective weighted performance index function is simplified using the matrix trace, and the partial derivative of the multi-objective weighted performance index function with respect to the input increment is set to 0 to obtain the corresponding control input increment. Specifically, for the control input increment at the current time step, the numerator is obtained by multiplying the step size factor, the pseudo-Jacobi matrix at the current time step, the weight matrix, the difference between the expected vector at the next time step and the generalized output vector at the current time step; the denominator is obtained by summing the penalty factor and the trace of the weighted norm of the pseudo-Jacobi matrix. Based on the control input vector from the previous time step and the control input increment at the current time step, the control input vector at the current time step is obtained.
[0012] In one example, driving the vehicle-to-grid interaction converter according to the control input vector specifically includes: Based on the active and reactive voltage components in the control input vector, the voltage is converted into a two-phase stationary coordinate system voltage through inverse Park transformation; the active control degrees of freedom in the control input vector are used as common-mode components. Based on the two-phase stationary coordinate system voltage and the common-mode component, a three-phase modulated wave is synthesized; The three-phase modulated wave is compared with the triangular carrier wave by the five-level stacked carrier modulation module to generate the gate pulse signal that drives the single-phase switching transistor of the inverter.
[0013] In one example, the method further includes: The prediction error is determined by comparing the predicted generalized output vector with the actual generalized output vector. If the prediction error continues to exceed a preset threshold, then parameter adaptive adjustment is triggered, adjusting the penalty factor and the step size factor.
[0014] The data-driven low common-mode voltage prediction control method for V2G interface converters proposed in this application can bring the following benefits: Universal MIMO black-box modeling decouples the strong binding between control algorithms and specific circuit structures. The same control kernel requires only simple configuration dimensions to cover all mainstream topologies, from three-level and five-level to cascaded H-bridges. This shortens the R&D cycle for charging pile companies when upgrading their product lines and reduces technology migration costs.
[0015] It abandons the reliance on precise physical parameters (inductance L, capacitance C, resistance R) and uses online data streams to compensate for model errors in real time. Regardless of whether it is facing electric vehicles of different brands with vastly different internal resistances or drastic fluctuations in grid impedance, the system can adaptively match and operate stably.
[0016] By incorporating common-mode voltage into a multi-objective optimization closed loop, the optimal suppression strategy is actively generated. This blocks high-frequency leakage current paths at the source, effectively eliminating the risk of residual current device (RCD) malfunction and preventing long-term shaft current corrosion of motor bearings, thus providing the highest level of electrical safety for human-vehicle interaction in V2G systems.
[0017] By deriving an analytical control law that does not require matrix inversion, complex nonlinear optimization is transformed into low-load linear algebraic operations. The algorithm can be easily deployed in conventional industrial-grade digital signal processors (DSPs) to meet the real-time requirements of high-frequency control for wide-bandgap devices (silicon carbide SiC / gallium nitride GaN). Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart illustrating the data-driven V2G interface converter low common-mode voltage prediction control method in the embodiments of this application. Figure 2 This is a block diagram of low common-mode voltage model-predictive control for a vehicle-to-grid (V2G) converter, as described in one embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0021] like Figure 1 As shown, this application provides a data-driven V2G interface converter low common-mode voltage prediction control method, including: S101: For the vehicle-to-grid interactive converter, collect the input and output data during its operation, and perform normalization processing to construct standardized generalized input vectors and generalized output vectors.
[0022] like Figure 2 The diagram shows a data-driven low common-mode voltage model-free predictive control block diagram for a vehicle-to-grid (V2G) converter. In the Pulse Width Modulation (PWM) section, a Multiple-Input Multiple-Output (MIMO) module acquires the corresponding input data and performs the optimization and constraint of the pseudo-Jacobi matrix, calculation of the control input increment (i.e., the control increment vector), and generation and driving of the three-phase modulated wave. This PWM section drives the ANPC topology. In the ANPC topology, the DC side includes a series-connected DC capacitor. , The DC bus has positive terminal P and negative terminal N at both ends, and the connection point of the two capacitors is led out to the midpoint O. The three-phase bridge arm includes three identical phase units: Phase A, Phase B, and Phase C. Taking phase A as an example, the bridge arm does not include multiple power switching transistors (such as...). ~ The circuit includes the main switch and its anti-parallel diode, as well as an active clamping branch (connected to the switch at midpoint O). By controlling different conduction combinations of the main switch and the clamping switch, the circuit can synthesize a voltage waveform with five different level steps at the AC output.
[0023] It should be noted that, in order to make the technical solution of this application clearer and more intuitive, the following section, in conjunction with the accompanying drawings, uses the “five-level active neutral-point clamped (ANPC)” topology, which has a relatively complex structure and a high control dimension, as an example to illustrate the specific implementation process in detail. However, this choice is only for illustrative purposes and does not limit the scope of protection of this application.
[0024] Those skilled in the art will understand that the core inventive point disclosed in this application lies in a general data-driven control kernel based on online identification of the "Ultra-local Model" and the "Pseudo-Jacobian Matrix (PJM)". Mathematically, this control kernel targets generalized multiple-input multiple-output (MIMO) nonlinear time-varying systems, and the derivation and operation of its control law are not limited by specific power electronic hardware connection forms. Therefore, the control method of this application has extremely strong cross-topology portability. Those skilled in the art can easily and seamlessly port and apply the control method of this application to three-level neutral point clamped converter (NPC) topologies, three-level T-type converter (T-Type) topologies, cascaded H-bridge converter (CHB) topologies, and other power electronic converters with similar multi-level characteristics. Any adaptive adjustments made to different topologies based on the data-driven modeling concept of this application should be considered as extensions of the technical solution of this application in different application scenarios and are covered within the scope of protection of the claims of this application.
[0025] Furthermore, although the DC-side power supply in this embodiment is illustrated using an electric vehicle power battery (or a DC analog source) as an example, it is also applicable to other scenarios where DC sources interact with the power grid, such as photovoltaic arrays and energy storage battery stacks.
[0026] Based on this, this embodiment discloses a model-free predictive control method for a five-level active neutral-point clamped (ANPC) grid-connected inverter with a neutral-point reconnection. This method can be implemented in a high-performance digital signal processor (such as the TMS320F28379D), with a control cycle of... Set to 100ms.
[0027] For the five-level ANPC topology selected in this embodiment, since the electric vehicle power battery has a direct electrical connection between the DC bus midpoint O and the inverter arm, a low-impedance path for common-mode current is formed. Therefore, in addition to the conventional grid-connected current, the common-mode current component... and midpoint voltage deviation It is a state quantity that needs to be strictly observed.
[0028] Constructing a generalized state data space: The vehicle-to-grid (V2G) converter is treated as a multiple-input multiple-output (MIMO) system, and its input and output data (referred to as input-output data) are collected in real time during its operation. The input-output data includes at least grid-side electrical quantities (such as three-phase grid-connected current and voltage), voltage states of internal energy storage components (such as DC bus capacitor voltage and three-phase flying capacitor voltage (also known as floating capacitor voltage)), and common-mode characteristic variables (such as common-mode current). Subsequently, the collected data is normalized to construct standardized generalized input and output vectors (referred to as generalized input-output vectors).
[0029] Specifically, for the vehicle-to-grid (V2G) converter, its corresponding three-phase grid-connected current, DC bus capacitor voltage, and three-phase flying capacitor voltage are collected. Using high-precision Hall sensors and differential voltage probes, the system status at time k is collected in real time: three-phase grid-connected current. DC bus capacitor voltage (DC side voltage divider capacitor) Three-phase flying capacitor voltage (floating capacitor voltage) Where k represents time.
[0030] By using the Park transformation matrix, the three-phase grid-connected current is mapped to a synchronous rotating coordinate system to obtain the active current components. reactive current component .
[0031] The common-mode (zero-sequence) current component is obtained based on the three-phase grid-connected current: ;in, This represents the common-mode current component.
[0032] Based on the DC bus capacitor voltage, the midpoint voltage deviation is obtained: ;in, This represents the midpoint voltage deviation.
[0033] Based on the three-phase flying capacitor voltage, the flying capacitor voltage deviation is obtained: ;in, For the flying capacitor voltage deviation, For reference voltage, the flying capacitor voltage deviation includes .
[0034] For each variable obtained, sliding window Z-score standardization is applied. Since the voltage variable (approximately 800V), current variable (approximately 50A), and midpoint deviation (approximately 5V) have zero-order-of-magnitude differences in value, directly inputting them into the gradient descent algorithm would result in a "canyon-like" optimization surface, severely slowing down the convergence speed. Therefore, this application employs sliding window Z-score standardization. ;in, For standardized variables, For the original variables, This represents the mean of the variable over the past N periods. Standard deviation To prevent the division by zero to a minimum value. Variables can include the already collected active current component, reactive current component, common-mode current component, midpoint voltage deviation, and flying capacitor voltage deviation.
[0035] This step maps all variables to The standard normal distribution interval provides a "numerically stationary" input for subsequent algorithms.
[0036] By utilizing the active and reactive voltage components corresponding to the three-phase grid-connected voltage, as well as the active control degrees of freedom, a standardized generalized input vector is generated: a 3x1 input vector is constructed. : .in, These are the active voltage component and reactive voltage component corresponding to the three-phase grid-connected voltage, respectively. It is defined as an independent, actively controlled degree of freedom, rather than the passively calculated zero-order component in the traditional scheme.
[0037] By considering the capacitor voltage deviation, active and reactive current components, common-mode current component, and midpoint voltage deviation, a standardized generalized output vector is generated: a 7x1 output vector is constructed. : .
[0038] S102: Based on the generalized input vector and the generalized output vector, and based on the dynamic linearization theory, a hyperlocal model is constructed by introducing a time-varying pseudo-Jacobi matrix; the hyperlocal model is used to describe the mapping relationship between the output increment of the vehicle-to-grid interactive converter at the next time step and the input increment at the current time step.
[0039] In the hyperlocal model, a time-varying pseudo-Jacobi matrix is introduced to characterize the dynamic sensitivity of the system's input vector to the output vector in real time, thereby replacing the traditional differential equation model based on physical circuit parameters (such as inductance L, resistance R, and capacitance C).
[0040] Specifically, a compact form dynamic linearization (CFLD) data model is established to eliminate the dependence on inductor-capacitor-inductor (LCL) filter parameters. Based on the dependence of line impedance, this application establishes a pure data model based on CFLD theory.
[0041] Based on the generalized input vector and the generalized output vector, the corresponding input increment and output increment are obtained, respectively. The input increment and output increment can be obtained by subtracting the vector at the next time step from the vector at the previous time step.
[0042] Using a hyperlocal model, the output increment at the next time step is obtained based on the time-varying pseudo-Jacobi matrix and the input increment at the current time step. Assuming the system satisfies the generalized Lipschitz continuity condition, the changes in the system's output and input at adjacent sampling times satisfy the following: Where k is time, For the output increment at the next time step, The input increment at the current moment, It is a pseudo-Jacobi matrix.
[0043] In the pseudo-Jacobi matrix, each element is derived from its corresponding element in the input increment and output increment, respectively. Input vector The size is 3x1, therefore the input increment is... The size is also 3x1; similarly, the output vector The size is 7x1, therefore the output increment is... Its dimensions are also 7x1. At this time, The size is 7x3. Matrix elements ;in, Let represent the matrix element in the i-th row and j-th column of the pseudo-Jacobi matrix. For the i-th output increment, This is the j-th input increment. At this point, Dynamics characterize the system's sensitivity. For example, ;in, For the control cycle, L is the inductance, which corresponds to the 4th output increment. and the first input increment This reflects the control gain of the active voltage component on the active current component. The pseudo-Jacobi matrix is time-varying and automatically incorporates inductance changes caused by core saturation and resistance changes caused by temperature rise.
[0044] S103: Based on the input vector sequence and output vector sequence corresponding to the generalized input vector and the generalized output vector at the most recent time, the pseudo-Jacobi matrix is updated by constructing an estimation algorithm that includes the fitting error minimization criterion.
[0045] In order to obtain accurate real-time data A gradient descent estimation algorithm with projection constraint was designed.
[0046] Specifically, an estimation criterion function is constructed. The estimation criterion function is obtained through the first term, the second term, and the weighting factor. The first term is obtained by subtracting the product of the current output increment and the pseudo-Jacobi matrix and the input increment of the previous time step. The second term is obtained by subtracting the estimated value of the pseudo-Jacobi matrix of the current time step from the estimated value of the pseudo-Jacobi matrix of the previous time step, and combining it with the weighting factor.
[0047] The estimation criterion function is: ;in, To estimate the criterion function, As the first item, For the second item, The weighting factor (values range from 0.1 to 1.0). Let be the actual value of the pseudo-Jacobi matrix at the current time (time k). This is an estimate of the pseudo-Jacobi matrix at the previous time step. The first term aims to minimize the data fitting error, and the second term aims to penalize drastic jumps in parameters (regularization).
[0048] By taking the partial derivative with respect to the estimation criterion function, the estimated value of the unconstrained pseudo-Jacobi matrix at the current time is obtained using the steepest descent method. Since the actual value of the pseudo-Jacobi matrix is difficult to calculate directly, the corresponding estimate is obtained using the steepest descent method. ;in, This is an estimate of the pseudo-Jacobi matrix at the current time, without constraints. This is the step size factor.
[0049] Based on prior physical knowledge, a range constraint is imposed on the estimated value of the pseudo-Jacobi matrix at the current moment. Values exceeding the constraint range are then projected to obtain the estimated value of the pseudo-Jacobi matrix at the current moment. To address the issue of pure data-driven algorithms being susceptible to noise interference leading to parameter drift (such as calculating negative resistance or infinite gain), prior physical knowledge is introduced as a constraint: the main diagonal elements must conform to physical laws, i.e. The gain needs to be within a reasonable physical range, i.e. ;in, , These are the lower and upper limits of the constraint range, respectively. If the estimated value... If the constraint range is exceeded, a projection operation is performed: This enhances the robustness of the algorithm during grid voltage drops or startup moments.
[0050] S104: Based on the current tracking error, internal potential balance error, common mode suppression error, and the corresponding weight matrix, a multi-objective weighted performance index function is constructed. The multi-objective weighted performance index function is then solved according to the updated hyperlocal model to obtain the corresponding control input vector, which is used to drive the vehicle-to-grid interactive converter.
[0051] First, for the multi-objective weighted performance index function (also known as the weighted quadratic performance index function), the strong coupling conflict between "current tracking error", "internal potential balance error" and "common mode rejection error" in the five-level ANPC system is resolved through its construction and weight classification.
[0052] Specifically, the multi-objective weighted performance index function is: ; in, For multi-objective weighted performance index functions, Let Q be the expected vector at the next time step, and let Q be the weight matrix. This is a penalty factor.
[0053] in, , These are the expected values corresponding to the active and reactive current components, respectively. In this process, the expected values of the flying capacitor voltage deviation and the midpoint voltage deviation are both set to 0, corresponding to the internal potential balance error in the multi-objective scenario; the expected value of the common-mode current component is also set to 0, corresponding to the common-mode rejection error in the multi-objective scenario; and the expected values of the active current component and the reactive current component are set respectively, corresponding to the current tracking error in the multi-objective scenario. Based on the expected values corresponding to the internal potential balance error, common-mode rejection error, and current tracking error, the expected vector is obtained. .
[0054] The generalized output vector at the next time step is obtained by using the generalized output vector at the current time step and the output increment at the next time step. Based on the expected vector at the next time step, the generalized output vector at that next time step, and the corresponding weight matrix, the multi-objective performance error at the next time step is obtained. .
[0055] Based on the multi-objective performance error at the next time step, and the input increment at the current time step. and penalty factors Construct a multi-objective weighted performance index function.
[0056] In the weight matrix, the priorities from high to low are as follows: the first priority includes: midpoint voltage deviation and common-mode current component; the second priority includes: active current component and reactive current component; and the third priority includes: flying capacitor voltage deviation.
[0057] Here, we set the weight matrix. ;in, These correspond to the respective weights of the flying capacitor voltage deviation (including the flying capacitor voltage deviation of the three phases), the current components (including active current components and reactive current components), the common-mode current components, and the midpoint voltage deviation.
[0058] First priority (high weight) (Level) and For midpoint-connected topologies, midpoint imbalance can lead to a significant increase in voltage stress on the switching transistors, potentially causing damage. Excessive common-mode current can also cause electromagnetic interference (EMI) to exceed limits, impacting intrinsic system safety; therefore, it has the highest priority. The second highest priority (medium weight) (Level) To ensure that power quality meets grid connection standards. Third priority (low weight) (Level) The balancing can be aided by the switching redundancy of the five-level circuit itself, without the need for excessive weighting.
[0059] Secondly, when solving the multi-objective weighted performance index function, the multi-objective weighted performance index function is simplified by using the matrix trace, and the partial derivative of the multi-objective weighted performance index function with respect to the input increment is set to 0 to obtain the corresponding control input increment. Specifically, for the control input increment at the current time, its corresponding numerator is obtained by multiplying the step size factor, the pseudo-Jacobi matrix at the current time, the weight matrix, the difference between the expected vector at the next time and the generalized output vector at the current time; its corresponding denominator is obtained by summing the penalty factor and the trace of the weighted norm of the pseudo-Jacobi matrix.
[0060] To avoid the time-consuming matrix inversion operations in traditional Model Predictive Control (MPC) methods, this application utilizes the matrix trace operation property to solve low-complexity control laws. The performance index function is solved in a simplified manner. The matrix trace operation properties here are illustrative descriptions; x and A are matrices used for example descriptions and do not have actual physical meaning.
[0061] make The analytical solution is derived as follows: .
[0062] This control law consists of only simple matrix multiplication and scalar division, with a computational complexity of O(n), far lower than that of traditional quadratic programming (QP) solvers. This level ensures the algorithm's real-time operation capability at high switching frequencies above 10kHz.
[0063] Based on the control input vector from the previous time step and the control input increment at the current time step, the control input vector at the current time step is obtained. After calculating the increment, the control input vector at the current time step is updated. .at this time Includes the best .
[0064] Finally, when driving the vehicle-to-grid (V2G) converter, the active voltage component in the control input vector is used as the basis for the calculation. reactive voltage component Through the inverse Park transformation, it is converted into a two-phase stationary coordinate system voltage. Based on the active control degrees of freedom in the control input vector , as a common-mode component.
[0065] Based on the two-phase stationary coordinate system voltage and the common-mode component, a three-phase modulated wave is synthesized: ;in, It is a three-phase modulated wave.
[0066] Based on the five-level stacked carrier modulation module, the three-phase modulated wave is compared with the triangular carrier wave to generate the gate pulse signal driving the single-phase switching transistor of the inverter. During this process... The optimal value is actively calculated by the algorithm based on the current common-mode current magnitude and internal potential deviation, rather than the regular waveform passively injected in traditional space vector pulse width modulation (SVPWM) merely to expand the linear range.
[0067] Generation of Pulse Width Modulation (PWM) pulses: The generated pulses will be... The signal is fed into a five-level layered PWM (LS-PWM) module, which compares it with four triangular carrier waves to generate gate pulse signals that drive the eight single-phase switching transistors (24 in total for three phases) of the inverter.
[0068] Furthermore, during long-term system operation, closed-loop adaptive correction can be configured. The prediction error is determined based on the predicted generalized output vector and the actual generalized output vector. ;in, For prediction error, , These are the predicted generalized output vector and the actual generalized output vector, respectively.
[0069] If the prediction error continues to exceed a preset threshold, adaptive parameter adjustment is triggered, adjusting the penalty factor and step size factor. If the prediction error continues to exceed a preset threshold (e.g., 5%), an adaptive parameter mechanism is triggered: if the error is large and oscillating, the penalty factor is increased. Reduce step size factor To enhance stability; if the error is large and the response is slow, reduce the penalty factor. Increase step size This improves dynamic response speed. This mechanism ensures optimal performance of the control system throughout its entire lifecycle.
[0070] In summary, this application demonstrates high efficiency in handling the complex five-level ANPC. For other topologies in vehicle-to-grid interaction scenarios, those skilled in the art can apply this method simply by adjusting the dimensions of the aforementioned state vectors. Specifically, the extensions are as follows: For three-level NPC or T-type topologies: Since there is no flying capacitor, simply remove the "flying capacitor voltage" term from the generalized output vector y(k), reduce the matrix dimension, and retain the grid-connected current, internal potential deviation, and common-mode current terms. For cascaded H-bridge (CHB) topologies: simply replace the "flying capacitor voltage" in the vector with the "DC-side capacitor voltage of each cascaded unit" to achieve model-free control of voltage balancing in the cascaded units. For different filtering stages: Regardless of whether the system uses L-type, LC-type, or LCL-type filters, since this application uses a pseudo-Jacobi matrix to identify the input-output relationship online, the algorithm can automatically adapt to changes in filter order without modifying the control law expression.
[0071] Universal MIMO black-box modeling decouples the strong binding between control algorithms and specific circuit structures. The same control kernel requires only simple configuration dimensions to cover all mainstream topologies, from three-level and five-level to cascaded H-bridges. This shortens the R&D cycle for charging pile companies when upgrading their product lines and reduces technology migration costs.
[0072] It abandons the reliance on precise physical parameters (inductance L, capacitance C, resistance R) and uses online data streams to compensate for model errors in real time. Regardless of whether it is facing electric vehicles of different brands with vastly different internal resistances or drastic fluctuations in grid impedance, the system can adaptively match and operate stably.
[0073] By incorporating common-mode voltage into a multi-objective optimization closed loop, the optimal suppression strategy is actively generated. This blocks high-frequency leakage current paths at the source, effectively eliminating the risk of residual current device (RCD) malfunction and preventing long-term shaft current corrosion of motor bearings, thus providing the highest level of electrical safety for human-vehicle interaction in V2G systems.
[0074] By deriving an analytical control law that does not require matrix inversion, complex nonlinear optimization is transformed into low-load linear algebraic operations. The algorithm can be easily deployed in conventional industrial-grade digital signal processors (DSPs) to meet the real-time requirements of high-frequency control for wide-bandgap devices (silicon carbide SiC / gallium nitride GaN).
[0075] This application embodiment also provides a five-level ANPC grid-connected inverter control device for implementing the above method, the hardware architecture of which includes: Main control unit: Adopts a dual-core DSP (TMS320F28379D) + FPGA (Xilinx Spartan-6) architecture. The DSP is responsible for executing the core control algorithms mentioned above (Z-score normalization, PJM estimation, and control law solving); the FPGA is responsible for high-precision PWM waveform generation, dead-time insertion, and fault protection logic.
[0076] Sampling circuit: Includes 7 high-precision ADC channels to collect three-phase current, three-phase flying capacitor voltage and bus voltage respectively, with sampling frequency synchronized with switching frequency (20kHz).
[0077] Drive interface: It adopts fiber optic isolation drive technology to transmit the PWM signal output by the FPGA to the power module, and has overcurrent, overtemperature and short circuit protection functions.
[0078] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A data-driven V2G interface converter low common-mode voltage predictive control method, characterized in that, include: For the vehicle-to-grid (V2G) converter, input and output data during its operation are collected and normalized to construct standardized generalized input and output vectors. Specifically, this includes: collecting the corresponding three-phase grid-connected current, DC bus capacitor voltage, and three-phase flying capacitor voltage; mapping the three-phase grid-connected current to a synchronous rotating coordinate system using the Park transformation matrix to obtain active and reactive current components; obtaining the common-mode current component based on the three-phase grid-connected current; obtaining the midpoint voltage deviation based on the DC bus capacitor voltage; and obtaining the flying capacitor voltage deviation based on the three-phase flying capacitor voltage; standardizing each variable using a sliding window Z-score; generating a standardized generalized input vector using the active and reactive voltage components corresponding to the three-phase grid-connected voltage, as well as the active control degrees of freedom; and generating a standardized generalized output vector using the flying capacitor voltage deviation, the active and reactive current components, the common-mode current component, and the midpoint voltage deviation. Based on the generalized input vector and the generalized output vector, and based on the dynamic linearization theory, a hyperlocal model is constructed by introducing a time-varying pseudo-Jacobi matrix; the hyperlocal model is used to describe the mapping relationship between the output increment of the vehicle-to-grid interactive converter at the next time step and the input increment at the current time step; Based on the input vector sequence and output vector sequence corresponding to the generalized input vector and the generalized output vector at the most recent time, the pseudo-Jacobi matrix is updated by constructing an estimation algorithm that includes a fitting error minimization criterion. Based on the current tracking error, internal potential balance error, common-mode rejection error, and the corresponding weight matrix, a multi-objective weighted performance index function is constructed. Specifically, this includes: setting the expected values of the flying capacitor voltage deviation and the midpoint voltage deviation to 0, corresponding to the internal potential balance error in the multi-objective calculation; setting the expected value of the common-mode current component to 0, corresponding to the common-mode rejection error in the multi-objective calculation; setting the expected values of the active current component and the reactive current component, respectively, corresponding to the current tracking error in the multi-objective calculation; obtaining the expected vector based on the expected values corresponding to the internal potential balance error, the common-mode rejection error, and the current tracking error; obtaining the generalized output vector at the next time step using the generalized output vector at the current time step and the output increment at the next time step; obtaining the multi-objective performance error at the next time step based on the expected vector at the next time step, the generalized output vector at the next time step, and the corresponding weight matrix; and constructing the multi-objective weighted performance index function based on the multi-objective performance error at the next time step, the input increment at the current time step, and the penalty factor. Based on the updated hyperlocal model, the multi-objective weighted performance index function is solved to obtain the corresponding control input vector, which is then used to drive the vehicle-to-grid interactive converter.
2. The method according to claim 1, characterized in that, Based on the generalized input vector and the generalized output vector, and based on dynamic linearization theory, a hyperlocal model is constructed by introducing a time-varying pseudo-Jacobi matrix, specifically including: Based on the generalized input vector and the generalized output vector, the corresponding input increment and output increment are obtained respectively; Using the hyperlocal model, the output increment at the next time step is obtained based on the time-varying pseudo-Jacobi matrix and the input increment at the current time step. In the pseudo-Jacobi matrix, each matrix element is obtained based on its corresponding element in the input increment and the output increment, respectively.
3. The method according to claim 2, characterized in that, Based on the input vector sequence and output vector sequence corresponding to the generalized input vector and the generalized output vector at the most recent time, the pseudo-Jacobi matrix is updated by constructing an estimation algorithm that includes a fitting error minimization criterion. Specifically, this includes: Construct an estimation criterion function; the estimation criterion function is obtained through a first term, a second term, and a weighting factor; the first term is obtained by subtracting the product of the current output increment and the pseudo-Jacobi matrix and the input increment of the previous time step; the second term is obtained by subtracting the estimated value of the pseudo-Jacobi matrix of the current time step and the pseudo-Jacobi matrix of the previous time step, and combining it with the weighting factor. By taking the partial derivative of the estimation criterion function, the estimated value of the pseudo-Jacobi matrix at the current time without constraints is obtained by using the steepest descent method. Based on prior physical knowledge, a range constraint is applied to the estimated value of the pseudo-Jacobi matrix at the current moment, and values exceeding the constraint range are projected to obtain the estimated value of the pseudo-Jacobi matrix at the current moment.
4. The method according to claim 1, characterized in that, In the weight matrix, the priorities from high to low are as follows: the first priority includes: midpoint voltage deviation and common-mode current component; the second priority includes: active current component and reactive current component; and the third priority includes: flying capacitor voltage deviation.
5. The method according to claim 1, characterized in that, Based on the updated hyperlocal model, the multi-objective weighted performance index function is solved to obtain the corresponding control input vector, specifically including: The multi-objective weighted performance index function is simplified using the matrix trace, and the partial derivative of the multi-objective weighted performance index function with respect to the input increment is set to 0 to obtain the corresponding control input increment. Specifically, for the control input increment at the current time step, the numerator is obtained by multiplying the step size factor, the pseudo-Jacobi matrix at the current time step, the weight matrix, the difference between the expected vector at the next time step and the generalized output vector at the current time step; the denominator is obtained by summing the penalty factor and the trace of the weighted norm of the pseudo-Jacobi matrix. Based on the control input vector from the previous time step and the control input increment at the current time step, the control input vector at the current time step is obtained.
6. The method according to claim 1, characterized in that, Driving the vehicle-to-grid (V2G) converter according to the control input vector specifically includes: Based on the active and reactive voltage components in the control input vector, the voltage is converted into a two-phase stationary coordinate system voltage through inverse Park transformation; the active control degrees of freedom in the control input vector are used as common-mode components. Based on the two-phase stationary coordinate system voltage and the common-mode component, a three-phase modulated wave is synthesized; The three-phase modulated wave is compared with the triangular carrier wave by the five-level stacked carrier modulation module to generate the gate pulse signal that drives the single-phase switching transistor of the inverter.
7. The method according to claim 5, characterized in that, The method further includes: The prediction error is determined by comparing the predicted generalized output vector with the actual generalized output vector. If the prediction error continues to exceed a preset threshold, then parameter adaptive adjustment is triggered, adjusting the penalty factor and the step size factor.
Citation Information
Patent Citations
Data-driven multi-target control method, device and system based on model prediction
CN121454941A
Model-free, high-robustness predictive control method and system for a 3-level SNPC inverter
JP7883334B1
