A control method and device based on an inverter

By calculating the error voltage in real time and dynamically adjusting the inverter's PWM signal, the shortcomings of traditional dead-time compensation methods under load changes are solved, improving the inverter's output voltage accuracy and system stability, and enhancing dynamic response capabilities.

CN121216608BActive Publication Date: 2026-07-03SHENZHEN SACOLAR NEW ENERGY CO
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511311547.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-15
Publication Date
2026-07-03
Estimated Expiration
2045-09-15

Smart Images

  • Figure CN121216608B_ABST
    Figure CN121216608B_ABST
Patent Text Reader

Abstract

This invention relates to the technical field of data recognition and provides a control method and apparatus based on an inverter. The inverter-based control method includes: acquiring current current, DC bus voltage, PWM duty cycle, and load back EMF; calculating an error voltage based on the current current, DC bus voltage, PWM duty cycle, and load back EMF; dividing a first adjustment interval and a second adjustment interval based on a current threshold; adjusting the inverter's PWM signal based on the first adjustment interval, the second adjustment interval, and the error voltage; and controlling the inverter based on the adjusted PWM signal. This solution effectively addresses the shortcomings of traditional dead-zone compensation methods by dynamically and in real-time adjusting compensation parameters, significantly improving the inverter's output voltage accuracy, system stability, and reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical field of data recognition, and particularly relates to a control method and device based on an inverter. Background Technology

[0002] Inverters are widely used in modern power electronic systems, such as photovoltaic power generation systems, uninterruptible power supplies (UPS), and electric vehicles. The basic function of an inverter is to convert DC power into AC power to meet the needs of different application scenarios. The performance of the inverter directly affects the efficiency, stability, and reliability of the entire system; therefore, inverter control strategies have always been a key focus of research and development.

[0003] Dead time is a crucial factor in inverter control. Dead time refers to the time interval reserved during switching between two inverter switching devices to prevent shoot-through short circuits (i.e., both switching devices conducting simultaneously). While this time improves system safety, it also introduces significant voltage errors, affecting the accuracy of the inverter's output voltage and harmonic performance. Therefore, dead time compensation technology has become one of the important means to improve inverter performance.

[0004] Traditional dead-zone compensation methods primarily rely on fixed compensation values ​​or simple voltage or current feedback. However, these methods often fail to adequately adapt to changes in load and operating conditions, resulting in suboptimal compensation performance. Especially under conditions of significant dynamic load variations, the effectiveness of fixed compensation values ​​may decrease significantly, failing to achieve the desired compensation effect. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a control method and apparatus based on an inverter to solve the technical problem that traditional dead-zone compensation methods mainly rely on fixed compensation values ​​and cannot fully adapt to changes in load and operating conditions.

[0006] A first aspect of this invention provides an inverter-based control method, the inverter-based control method comprising:

[0007] Collect current current, DC bus voltage, PWM duty cycle, and load back EMF;

[0008] Calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force;

[0009] The first adjustment interval and the second adjustment interval are divided based on the current threshold.

[0010] The inverter's PWM signal is adjusted according to the first adjustment range, the second adjustment range, and the error voltage, and the inverter is controlled based on the adjusted PWM signal.

[0011] Further, the step of calculating the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force includes:

[0012] Step A1: Obtain the load inductance, load resistance, controller-sent initial predicted loss voltage, initial iterative current, PWM interrupt cycle, and adaptive gain;

[0013] Step A2: Substitute the initial predicted loss voltage, DC bus voltage, PWM duty cycle, load inductance, load resistance, and load back EMF into the virtual load model, and solve for the predicted current in the virtual load model.

[0014] The virtual load model is: (Vref*s-Verr_est[k-1])≈L*(î[k]-î[k-1]) / Ts+R*î[k]+Ê;

[0015] Where Verr_est[k-1] represents the error voltage of the (k-1)th iteration, the initial predicted loss voltage is used as the error voltage of the first iteration, Vref represents the DC bus voltage, s represents the PWM duty cycle, Ts represents the PWM interruption period, Ê represents the load back electromotive force, L represents the load inductance, R represents the load resistance, î[k] represents the current to be predicted corresponding to the kth iteration, î[k-1] represents the predicted current corresponding to the (k-1)th iteration, the initial iteration current is used as the predicted current corresponding to the first iteration, î[0] represents the initial iteration current, î[0]=0, and Ts represents the PWM interruption period;

[0016] Step A3: Subtract the current from the predicted current to obtain the current error;

[0017] Step A4: If the current error is negative, then set the current direction value to -1;

[0018] Step A5: If the current error is positive, then set the current direction value to 1;

[0019] Step A6: Substitute the current error, initial predicted loss voltage, PWM interrupt period, and adaptive gain into the adaptive equation to obtain the current iteration error voltage;

[0020] The adaptive equation is: Verr_est[k] = Verr_est[k-1]-Γ*Ts*(ei[k]*sign(i[k]));

[0021] Where Verr_est[k-1] represents the error voltage of the (k-1)th iteration, Verr_est[k] represents the current error voltage corresponding to the kth iteration, ei[k] represents the current error corresponding to the kth iteration error voltage, sign(i[k]) represents the current direction value corresponding to the kth iteration error voltage, and Γ represents the adaptive gain;

[0022] Based on the current iteration error voltage, the virtual load model in step A2 is iteratively executed to the adaptive equation in step A6 until the current error is less than a preset value, and the final iteration error voltage is obtained.

[0023] The final iteration error voltage is used as the error voltage.

[0024] Furthermore, the step of dividing the first adjustment interval and the second adjustment interval based on the current threshold includes:

[0025] Calculate the continuous current amplitude;

[0026] The inverter output range where the current amplitude is less than the error threshold is taken as the first adjustment range;

[0027] The inverter output range where the current amplitude is not less than the error threshold is taken as the second adjustment range.

[0028] Further, the step of adjusting the inverter's PWM signal according to the first adjustment range, the second adjustment range, and the error voltage, and controlling the inverter based on the adjusted PWM signal includes:

[0029] Based on the error voltage and the preset function, calculate the first dead zone compensation voltage of the first adjustment interval;

[0030] The error voltage is used as the second dead zone compensation voltage of the second adjustment range;

[0031] Adjust the inverter's PWM signal based on the first dead-zone compensation voltage or the second dead-zone compensation voltage;

[0032] The inverter is controlled based on the adjusted PWM signal.

[0033] Further, the step of calculating the first dead-zone compensation voltage of the first adjustment interval based on the error voltage and the preset function includes:

[0034] Divide the current amplitude by the error threshold to obtain the first weight value;

[0035] Subtracting 1 from the first weight value yields the second weight value;

[0036] Multiply the preset compensation voltage by the first weight value to obtain the first value;

[0037] Multiply the error voltage by the second weight value to obtain the second value;

[0038] Add the first value to the second value to obtain the first dead zone compensation voltage.

[0039] Further, the step of calculating the first dead-zone compensation voltage of the first adjustment interval based on the error voltage and the preset function includes:

[0040] Calculate the smoothing factor using the smoothing function;

[0041] The smoothing function is:

[0042] F_smooth= 0.5*(1 + tanh(k*(|i|-I_transition)))

[0043] Where F_smooth represents the smoothing factor, k represents the preset steepness factor, |i| represents the current amplitude, I_transition represents the transition center point, and I_transition≈error threshold / 2;

[0044] The first dead zone compensation voltage is obtained by multiplying the smoothing factor by the error voltage.

[0045] Further, the step of adjusting the inverter's PWM signal based on the first dead-time compensation voltage or the second dead-time compensation voltage includes:

[0046] Convert the first dead zone compensation voltage or the second dead zone compensation voltage into a duty cycle correction value;

[0047] The original PWM duty cycle command is corrected based on the current direction and duty cycle correction amount to obtain the corrected PWM duty cycle command;

[0048] The corrected PWM duty cycle instruction is sent to the PWM generator to generate the final PWM signal.

[0049] A second aspect of the present invention provides a control device based on an inverter, comprising:

[0050] The acquisition unit is used to acquire current current, DC bus voltage, PWM duty cycle and load back electromotive force;

[0051] The calculation unit is used to calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force;

[0052] A division unit is used to divide a first adjustment interval and a second adjustment interval based on a current threshold.

[0053] The adjustment unit is used to adjust the PWM signal of the inverter according to the first adjustment range, the second adjustment range and the error voltage, and control the inverter based on the adjusted PWM signal.

[0054] A third aspect of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the inverter-based control method described in the first aspect.

[0055] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the inverter-based control method described in the first aspect.

[0056] The beneficial effects of this invention compared to existing technologies are as follows: Traditional fixed dead-time compensation methods often fail to effectively compensate for changes in load and operating conditions, leading to increased output voltage errors. This invention, by real-time acquisition of current, DC bus voltage, PWM duty cycle, and load back EMF, calculates the error voltage and dynamically adjusts compensation parameters, thereby significantly improving output voltage accuracy and reducing voltage errors caused by dead time. By dividing the system into first and second adjustment intervals based on a current threshold, this invention can adapt to different operating conditions and load changes, enabling the system to operate in a more stable state. The adjusted PWM signal can more accurately control the inverter output, avoiding system instability or failure caused by improper dead time, thus improving the overall stability and reliability of the system. Traditional compensation methods are usually static and cannot adapt to rapidly changing load conditions. This invention, through real-time calculation and adjustment, not only provides effective compensation under static conditions but, more importantly, can quickly respond and adjust compensation parameters when the load changes dynamically, ensuring the stability and accuracy of the inverter output voltage. This dynamic response capability significantly improves the system's adaptability. In summary, the inverter-based control method of the present invention effectively solves the shortcomings of traditional dead-zone compensation methods by dynamically adjusting compensation parameters in real time, significantly improving the output voltage accuracy, system stability and reliability of the inverter, enhancing dynamic response capability, reducing harmonic distortion, and improving system efficiency. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or related technologies 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.

[0058] Figure 1 A schematic flowchart of an inverter-based control method provided by the present invention is shown;

[0059] Figure 2 A schematic diagram of an inverter-based control device according to an embodiment of the present invention is shown;

[0060] Figure 3 A schematic diagram of a terminal device provided in an embodiment of the present invention is shown. Detailed Implementation

[0061] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0062] This invention provides an inverter-based control method and device to address the technical problem that existing body fat scales can only provide limited information, which is insufficient to support users' comprehensive understanding and long-term management of their own physical condition.

[0063] First, this invention provides a control method based on an inverter. Please refer to [link / reference]. Figure 1 , Figure 1 A schematic flowchart of an inverter-based control method provided by this invention is shown. Figure 1 As shown, the inverter-based control method may include the following steps:

[0064] Step 101: Collect current, DC bus voltage, PWM duty cycle, and load back EMF;

[0065] Current current refers to the output current through the inverter, reflecting the real-time operating status of the load. DC bus voltage refers to the DC voltage at the inverter input, directly affecting the inverter's output. PWM duty cycle is the inverter's control signal, determining the output voltage and current waveforms. Load back electromotive force (EMF) refers to the electromotive force generated by the load (such as a motor) during operation.

[0066] Introducing load back electromotive force enables the scheme to sense dynamic changes in load (especially changes in motor speed), laying the foundation for dynamic compensation. This is used to overcome the technical problem of "inability to adapt to load changes".

[0067] It is worth noting that, in order to better understand the technical solution of this invention, the dead zone, dead zone compensation, and defects of the prior art are further explained:

[0068] Problems caused by dead time: When current Ia > 0 (flowing out of the inverter): During the dead time, the current will freewheel through the body diode of the lower transistor, causing the output voltage to be clamped at ≈0V (ignoring diode voltage drop). However, the controller originally intended to output +Vdc. This results in the actual output voltage being ≈Vdc * (Td / Tsw) less than the target (Tsw is the switching cycle). When current Ia < 0 (flowing into the inverter): During the dead time, the current will freewheel through the body diode of the upper transistor, causing the output voltage to be clamped at ≈+Vdc. However, the controller originally intended to output 0V. This results in the actual output voltage being ≈Vdc * (Td / Tsw) higher than the target. Dead time causes an error V_error between the actual output voltage V_actual and the ideal command voltage V_ref. The magnitude and direction (+ or -) of this error depend on the current direction (sign(Ia)). This error voltage will distort the output current waveform (increase THD), especially when the direction is not accurately judged near the current zero-crossing point.

[0069] Dead-zone compensation: An additional compensation voltage V_comp is added to the original PWM command voltage V_ref, so that the actual voltage applied to the load (V_ref + V_comp) is as close as possible to the desired V_ref, i.e., V_comp ≈ V_error. The challenge lies in how to know the value of V_error in real time, accurately, and robustly.

[0070] Existing technology has limitations: it assumes that V_error is fixed, or that a fixed value is only needed based on the current direction. However, V_error is actually related to the current magnitude, temperature, and device characteristics, making a fixed value inaccurate. When the current crosses zero (Ia≈0), the current direction detection is affected by noise interference or delay, making it easy to misjudge the direction. Once the direction is misjudged, the compensation will be reversed (+Vcomp is added as -Vcomp), causing severe waveform distortion or even oscillation near the zero-crossing point.

[0071] Step 102: Calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force;

[0072] By collecting these parameters, the error voltage between the inverter output voltage and the expected value is calculated. This error voltage reflects the voltage deviation caused by the dead time.

[0073] By calculating the error voltage in real time, taking into account all key variables, the compensation value is no longer fixed, but can adapt to the current state, bus voltage, load speed (reflected by back EMF), and duty cycle command.

[0074] Specifically, step 102 includes steps A1 to A8:

[0075] Step A1: Obtain the load inductance, load resistance, controller-sent initial predicted loss voltage, initial iterative current, PWM interrupt cycle, and adaptive gain;

[0076] Load inductance (L) and load resistance (R) are inherent electrical parameters of a load (typically a motor). They form the basis for constructing a virtual load model.

[0077] The initial predicted loss voltage is the initial guess of the error voltage when the algorithm begins its iteration. The initial predicted loss voltage is an empirical value.

[0078] The initial iteration current (î[0]) is the predicted current value of the initial state. This is the starting point for the iterative calculation.

[0079] The PWM interrupt cycle (Ts) is the time interval between the controller performing PWM calculations and updating the interrupt. This serves as the time base (sampling time) for the discretized model.

[0080] The adaptive gain (Γ) is a positive real number parameter. It controls the convergence speed and stability of the adaptive algorithm. A larger Γ results in faster convergence but may cause oscillations; a smaller Γ results in slower convergence but is more stable. It needs to be tuned according to the system characteristics (such as L, R).

[0081] Step A2: Substitute the initial predicted loss voltage, DC bus voltage, PWM duty cycle, load inductance, load resistance, and load back EMF into the virtual load model, and solve for the predicted current in the virtual load model.

[0082] The virtual load model is: (Vref*s-Verr_est[k-1])≈L*(î[k]-î[k-1]) / Ts+R*î[k]+Ê;

[0083] Where Verr_est[k-1] represents the error voltage of the (k-1)th iteration, the initial predicted loss voltage is used as the error voltage of the first iteration, Vref represents the DC bus voltage, s represents the PWM duty cycle, Ts represents the PWM interruption period, Ê represents the load back electromotive force, L represents the load inductance, R represents the load resistance, î[k] represents the current to be predicted corresponding to the kth iteration, î[k-1] represents the predicted current corresponding to the (k-1)th iteration, the initial iteration current is used as the predicted current corresponding to the first iteration, î[0] represents the initial iteration current, î[0]=0, and Ts represents the PWM interruption period;

[0084] Vref *s refers to the reference voltage (bus voltage * duty cycle) applied to the load by the inverter under ideal conditions (no dead zone). Vref * s - Verr_est[k-1] refers to the predicted actual output voltage. It equals the ideal reference voltage minus the current predicted error voltage (loss or gain) caused by the dead zone. L * (î[k] - î[k-1]) / Ts refers to the voltage drop across the load inductance (induced electromotive force), determined by the rate of change of the predicted current. R * î[k] refers to the voltage drop across the load resistance. Ê refers to the load back electromotive force (such as the back electromotive force of a motor).

[0085] Using the electrical model of the load, calculate the predicted current (î[k]) that should be generated under the current predicted error voltage. Rearranging the above equations, we obtain an explicit algebraic equation for î[k]: î[k] = [(Vref * s - Verr_est[k-1]-Ê)*Ts+L*î[k-1]] / (L+R*Ts). Based on the current error voltage estimate (Verr_est[k-1]), it predicts what current (î[k]) the load model should generate under this voltage.

[0086] The virtual load model ((Vref*s-Verr_est[k-1])≈L*(î[k]-î[k-1]) / Ts+R*î[k]+Ê) directly and accurately describes the dynamic behavior of the current (i) of a load containing an inductor (L), a resistor (R), and a possible back electromotive force source (E) when driven by a voltage source (V_actual).

[0087] The term L*(î[k]-î[k-1]) / Ts represents the voltage drop caused by the inductor in the circuit. Its magnitude is proportional to the rate of change of current (di / dt), and its direction always opposes the change of current. Since dî(t) / dt≈(î[k]-î[k-1]) / Ts, the changing magnetic flux (dΦ / dt) will induce an electromotive force (e = -dΦ / dt) in the inductor coil. This induced electromotive force opposes the change of current (Lenz's law). The inductance L is the ratio of the magnetic flux linkage Ψ (Ψ=NΦ, N is the number of turns) to the current i, L = dΨ / di. For a linear inductor, L is a constant, Ψ= Li. Combining this: e = -dΨ / dt = -L di / dt. This -L di / dt is the induced electromotive force generated by the inductor. When we apply KVL along the loop direction (starting from the positive terminal of V_actual, passing through the inductor, and returning to the negative terminal), the voltage drop V_L across the inductor is equal to the negative of its induced electromotive force (V_L = -e), so V_L = L di / dt. L di / dt represents the voltage drop caused by the inductor in the loop, its magnitude is proportional to the rate of change of current (di / dt), and its direction always opposes the change of current.

[0088] R*î[k] represents the instantaneous voltage drop across the resistor. For a resistor R, the voltage drop V_R across it is proportional to the current î[k] flowing through it: V_R = R*î[k]. R*î[k] represents the voltage drop caused by the resistor in the circuit, its magnitude is proportional to the current î[k], and its direction is the same as the current direction (following the passive notation convention).

[0089] E represents the back electromotive force (back-EMF or CEMF) generated by the load itself (such as a motor). For inductive loads or the power grid, E can represent the grid voltage or other external voltage sources. When a motor rotates, its armature (rotor) windings cut magnetic lines of force in the magnetic field, generating an induced electromotive force according to Faraday's law of electromagnetic induction. This electromotive force is in the opposite direction to the applied voltage (V_actual), hence the name back electromotive force. Its magnitude is proportional to the motor speed (E = k_e*ω, where k_e is the back electromotive force constant and ω is the angular velocity). The back electromotive force represents the "load effect" by which the motor converts electrical energy into mechanical energy.

[0090] Step A3: Subtract the current from the predicted current to obtain the current error;

[0091] Calculate the difference (ei[k]) between the actual measured current (i_actual[k]) and the current (î[k]) predicted by the model in step A2. This current error (ei[k]) is a key signal. It directly reflects the deviation between the predicted error voltage (Verr_est[k-1]) and the actual, but unknown, true dead-zone voltage error. The actual current i_actual[k] includes the true dead-zone effect, while the predicted current î[k] is calculated based on the predicted dead-zone effect (Verr_est[k-1]). Therefore, ei[k] contains information about the true dead-zone voltage error.

[0092] Step A4: If the current error is negative, then set the current direction value to -1;

[0093] Step A5: If the current error is positive, then set the current direction value to 1;

[0094] The current direction value (sign(i[k])) is set according to the sign of the current error.

[0095] If ei[k]<0 then sign(i[k]) = -1.

[0096] If ei[k]>0 then sign(i[k]) =1.

[0097] When ei[k] < 0 (actual current is less than predicted current), the model-predicted voltage (Vref*s - Verr_est[k-1]) is too high (i.e., the predicted dead zone loss Verr_est[k-1] is too low). This usually occurs when the current flows in the forward direction, and the actual dead zone loss underestimates the loss of the forward current (compensation is needed). Therefore, sign(i[k]) = -1 is set to represent the influence trend of the forward current.

[0098] When ei[k] > 0 (actual current is greater than predicted current), the model-predicted voltage (Vref*s - Verr_est[k-1]) is too low (i.e., the predicted dead zone loss Verr_est[k-1] is too large). This usually occurs when the current flows in the negative direction, and the actual dead zone loss underestimates the loss of the negative current (or overestimates its gain, requiring reduced compensation). Therefore, sign(i[k]) = 1 is set to represent the influence trend of the negative current. sign(i[k]) reflects the direction in which the predicted error voltage (Verr_est[k-1]) needs to be adjusted (whether to increase or decrease) to approximate the true dead zone error voltage.

[0099] Step A6: Substitute the current error, initial predicted loss voltage, PWM interrupt period, and adaptive gain into the adaptive equation to obtain the current iteration error voltage;

[0100] The adaptive equation is: Verr_est[k] = Verr_est[k-1]-Γ*Ts*(ei[k]*sign(i[k]));

[0101] Where Verr_est[k-1] represents the error voltage of the (k-1)th iteration, Verr_est[k] represents the current error voltage corresponding to the kth iteration, ei[k] represents the current error corresponding to the kth iteration error voltage, sign(i[k]) represents the current direction value corresponding to the kth iteration error voltage, and Γ represents the adaptive gain;

[0102] Γ refers to the adaptive gain (step factor). Ts refers to the PWM interrupt period (time step). ei[k] * sign(i[k]) is a combination of adjustment direction and error strength. The magnitude of ei[k] reflects the magnitude of the prediction error. sign(i[k]) determines the direction of error voltage adjustment (increase or decrease) based on the current direction inference. Therefore, ei[k] * sign(i[k]) constitutes a gradient signal indicating how to modify Verr_est to reduce the model prediction error ei[k].

[0103] Step A7: Based on the current iterative error voltage, iteratively execute the virtual load model in step A2 to the adaptive equation in step A6 until the current error is less than a preset value, and obtain the final iterative error voltage;

[0104] Through multiple iterations, the algorithm continuously approximates the predicted error voltage (Verr_est) to the average dead-zone voltage error under real-world conditions. The iterative process allows the estimate to converge to the Verr_est value that makes the model-predicted current (î) as close as possible to the actual measured current (i_actual). Under reasonable adaptive gain (Γ) and system conditions (such as when the dead-zone effect is the primary error source), this adaptive algorithm can converge. A preset threshold ensures the termination of the computation and the stability of the results. Although multiple iterations are involved, the computations (solving equations in A2 and updating A6 are simple algebraic operations) can be completed within a single PWM interrupt cycle (Ts) (typically fast enough for microcontrollers), meeting real-time control requirements.

[0105] The iterative process is as follows: Use the newly updated Verr_est[k] (now the new Verr_est[k-1]). Return to step A2, substitute the new Verr_est[k-1] into the virtual load model, and calculate the new predicted current î[k] (now the î[k] for the next iteration). Execute step A3 to calculate the new current error ei[k]. Execute steps A4 / A5 to obtain the new sign(i[k]). Execute step A6 to update the error voltage again with the new error and direction, obtaining Verr_est[k] (now the Verr_est[k-1] for the next iteration). When the absolute value of the current error ei[k] calculated in a certain iteration is less than a preset small threshold (preset value), the iteration stops. The Verr_est[k] obtained in the last iteration is the final iteration error voltage.

[0106] It is worth noting that the voltage drop caused by the dead time occurs at the instant the switching transistor switches (on the nanosecond / microsecond scale) and is strongly correlated with the current direction. It is difficult to directly and accurately measure the average effect of this "lost voltage pulse" using ordinary sensors. Traditional methods rely on model parameters, and calculations based on traditional models require precise knowledge of the dead time Td, the on-state voltage drop of the switching transistor Vce / Vds(on), the diode voltage drop Vf, and the switching delay Tdon / Toff, etc. These parameters can change, affecting the calculation accuracy. Therefore, this embodiment utilizes precisely measurable quantities (current i, reference voltage V_ref) and the model, and through model comparison and error feedback, "back-calculates" the error voltage.

[0107] Step A8: Use the final iteration error voltage as the error voltage.

[0108] In the embodiments corresponding to steps A1 to A8, the system does not rely on precise dead-time parameters, can automatically adapt to changes in load and operating conditions, and can provide effective direction inference and error estimation even in the zero-current region, thus laying a solid foundation for achieving high-precision, full-range adaptive dead-time compensation.

[0109] Step 103: Divide the first adjustment interval and the second adjustment interval based on the current threshold;

[0110] The region where the absolute value of the current is less than the threshold (usually called the first adjustment interval) is the area where the dead zone effect is most complex and most difficult to compensate for. Here, current direction detection is prone to error, switching behavior is highly uncertain, and nonlinearity is strong. The region where the absolute value of the current is greater than the threshold (the second adjustment interval) is relatively linear, and compensation is more direct. These two intervals require different compensation strategies. Near zero current (the first interval), a more complex compensation algorithm is needed to avoid miscompensation and oscillation. However, when the current is large (the second interval), the calculated error voltage can be directly applied for compensation.

[0111] Specifically, step 103 includes steps 1031 to 1033:

[0112] Step 1031: Calculate the continuous current amplitude;

[0113] The instantaneous amplitude is obtained by performing an absolute value operation (|i|) on the measured current (one of the phase currents i_a, i_b, i_c or in vector form, |i| = sqrt(i_α²+i_β²)).

[0114] This is the fundamental signal for dividing the current into zones. The current amplitude reflects the load size and the extent to which the current crosses zero. The amplitude is used instead of the signed raw current value because we need to focus on the current's distance from zero, not its direction (although direction is extremely important in compensation, the zoning strategy is primarily based on amplitude). "Continuity" ensures that the zoning decision can respond in real time to changes in current, especially in the region near the current's zero-crossing.

[0115] Step 1032: The inverter output range where the current amplitude is less than the error threshold is taken as the first adjustment range;

[0116] A key parameter (error threshold) is set. At any given time, if the calculated current amplitude |i| is less than this threshold, the current operating point is determined to be within the first adjustment interval. The error threshold defines the boundary of the zero-current region (ZCR) or the zero-current crossing (ZCC) sensitive area. It is a narrow band surrounding the current zero point (i=0). The first adjustment interval corresponds to a state where the current amplitude is very small or close to zero. This is the region where the dead-zone effect is most complex, most nonlinear, most difficult to compensate for, and most prone to error.

[0117] Error threshold is a critical design parameter. Its value is based on the accuracy, noise level, and resolution of the current sensor. The threshold needs to be greater than the typical values ​​for sensor noise and zero drift. Tuning is performed through simulation and experiments to ensure effective compensation in the zero-current region while minimizing the impact on compensation in the high-current region.

[0118] Step 1033: The inverter output range where the current amplitude is not less than the error threshold is taken as the second adjustment range.

[0119] At any given time, if the calculated current amplitude |i| is greater than or equal to the threshold, the current operating point is determined to be in the second adjustment interval. The second adjustment interval essentially corresponds to a state where the current amplitude is relatively large. In this region, the current signal is significant, the influence of sensor noise and offset is relatively small, and the direction (sign(i)) can be accurately determined.

[0120] In the embodiments corresponding to steps 1031 to 1033, the performance of the traditional fixed compensation method (and some simple dynamic compensations) deteriorates sharply near the current zero-crossing point, resulting in obvious "steps" or "depressions" near the zero-crossing point. The torque is unstable during low-speed operation, affecting the control performance. Incorrect compensation may lead to confusion in the judgment of the current direction and cause oscillations. Additional harmonic losses. The first adjustment interval specifically targets this most difficult area and provides a clear identification basis for subsequent adoption of special and more robust compensation strategies.

[0121] Step 104: Adjust the PWM signal of the inverter according to the first adjustment interval, the second adjustment interval, and the error voltage, and control the inverter based on the adjusted PWM signal.

[0122] According to the currently located interval (determined in step 103) and the calculated error voltage (result of step 102), dynamically modify the original PWM duty cycle command to generate a compensated PWM signal. Then use this compensated signal to drive the power switching tubes of the inverter.

[0123] Specifically, step 104 specifically includes steps 1041 to 1044:

[0124] Step 1041: Calculate the first dead-time compensation voltage of the first adjustment interval based on the error voltage and a preset function.

[0125] Nonlinearly correct the error voltage (V_avg_error) through a preset function to generate the first dead-time compensation voltage applicable to the zero-current region (the first interval). When the current is close to zero (|i| < I_threshold), traditional direct compensation is prone to oscillations caused by misjudgment of the current direction.

[0126] This embodiment provides two calculation methods for the first dead-time compensation voltage (steps B1 to B5 and steps C1 to C2):

[0127] Specifically, step 1041 specifically includes steps B1 to B5:

[0128] Step B1: Divide the current amplitude by the error threshold to obtain the first weight value. ​​​​​​​​​​Step B5: Add the first value to the second value to obtain the first dead zone compensation voltage.

[0133] In the embodiments corresponding to steps B1 to B5, the influence of current amplitude and error voltage is comprehensively considered through weight calculation and weighted summation, ensuring that the compensation voltage can effectively cope with the inverter dead zone effect under different operating conditions, thereby improving the system's accuracy and response speed.

[0134] Specifically, step 1041 includes steps C1 to C2:

[0135] Step C1: Calculate the smoothing factor using the smoothing function;

[0136] The smoothing function is:

[0137] F_smooth= 0.5*(1 + tanh(k*(|i|-I_transition)))

[0138] Where F_smooth represents the smoothing factor, k represents the preset steepness factor, |i| represents the current amplitude, I_transition represents the transition center point, and I_transition≈error threshold / 2;

[0139] The larger the steepness factor k value, the narrower the transition band (significant compensation abrupt changes); the smaller the steepness factor k value, the wider the transition band (gradual compensation changes). Typical values: k = 1.5~3.0 (balancing response speed and smoothness).

[0140] Step C2: Multiply the smoothing factor by the error voltage to obtain the first dead zone compensation voltage.

[0141] In the embodiments corresponding to steps C1 to C2, the design of the smoothing function enables the compensation voltage to transition smoothly when the current amplitude changes, avoiding abrupt changes and improving the stability and response speed of the system.

[0142] Step 1042: Use the error voltage as the second dead zone compensation voltage of the second adjustment range;

[0143] When the current amplitude is large, the error voltage (V_avg_error) is directly used as the second dead zone compensation voltage.

[0144] Step 1043: Adjust the inverter's PWM signal based on the first dead-zone compensation voltage or the second dead-zone compensation voltage;

[0145] The compensation voltage is automatically switched according to the operating range.

[0146] Specifically, step 1043 includes steps D1 to D3:

[0147] Step D1: Convert the first dead-zone compensation voltage or the second dead-zone compensation voltage into a duty cycle correction value;

[0148] This step converts the calculated dead-time compensation voltage (first or second) into a corresponding duty cycle correction value. The duty cycle correction value refers to the amount by which the duty cycle of the PWM signal needs to be adjusted based on the compensation voltage value. By converting the compensation voltage into a duty cycle correction value, this correction value can be directly used to adjust the PWM signal, thereby compensating for errors caused by the dead-time effect.

[0149] Step D2: Correct the original PWM duty cycle command based on the current direction and duty cycle correction amount to obtain the corrected PWM duty cycle command;

[0150] The original PWM duty cycle command is modified based on the current direction (forward or reverse) and the calculated duty cycle correction. The current direction affects the dead-time effect, so the direction and magnitude of the correction must be considered. The modified PWM duty cycle command is obtained by adding or subtracting the duty cycle correction from the original command.

[0151] Step D3: Send the corrected PWM duty cycle instruction to the PWM generator to generate the final PWM signal.

[0152] By generating the final PWM signal, the inverter is ensured to operate with the compensated signal, thereby reducing or eliminating the negative impact of dead-zone effect and improving system performance and efficiency.

[0153] In the embodiments corresponding to steps D1 to D3, the accuracy and effectiveness of the PWM signal are improved by accurately compensating for voltage conversion and considering the correction of current direction, ensuring that the inverter can operate in the best condition under various operating conditions.

[0154] Step 1044: Control the inverter based on the adjusted PWM signal.

[0155] In the embodiments corresponding to steps 1041 to 1044, the first dead-zone compensation voltage of the first adjustment interval is calculated based on the error voltage and a preset function, which can effectively compensate for the dead-zone effect under low current conditions. The second dead-zone compensation voltage of the second adjustment interval directly uses the error voltage, simplifying the compensation process. This method achieves precise control of the inverter output by determining the compensation voltage for different operating intervals and adjusting the PWM signal, thereby improving the overall performance and efficiency of the system.

[0156] In the embodiments corresponding to steps 101 to 104, traditional fixed dead-time compensation methods often fail to effectively compensate for changes in load and operating conditions, leading to increased output voltage errors. This invention, by real-time acquisition of current, DC bus voltage, PWM duty cycle, and load back EMF, calculates the error voltage and dynamically adjusts compensation parameters, thereby significantly improving output voltage accuracy and reducing voltage errors caused by dead time. By dividing the first and second adjustment intervals based on a current threshold, this invention can adapt to different operating conditions and load changes, enabling the system to operate in a more stable state. The adjusted PWM signal can more accurately control the inverter output, avoiding system instability or failure caused by improper dead time, thus improving the overall stability and reliability of the system. Traditional compensation methods are usually static and cannot adapt to rapidly changing load conditions. This invention, through real-time calculation and adjustment, not only provides effective compensation under static conditions but, more importantly, can quickly respond and adjust compensation parameters when the load changes dynamically, ensuring the stability and accuracy of the inverter output voltage. This dynamic response capability significantly improves the system's adaptability. In summary, the inverter-based control method of the present invention effectively solves the shortcomings of traditional dead-zone compensation methods by dynamically adjusting compensation parameters in real time, significantly improving the output voltage accuracy, system stability and reliability of the inverter, enhancing dynamic response capability, reducing harmonic distortion, and improving system efficiency.

[0157] like Figure 2 This invention provides a control device based on an inverter; please refer to [link / reference]. Figure 2 , Figure 2 A schematic diagram of an inverter-based control device provided by the present invention is shown, as follows: Figure 2 The inverter-based control device shown includes:

[0158] Acquisition unit 21 is used to acquire current current, DC bus voltage, PWM duty cycle and load back electromotive force;

[0159] Calculation unit 22 is used to calculate error voltage based on the current current, the DC bus voltage, the PWM duty cycle and the load back electromotive force;

[0160] Dividing unit 23 is used to divide the first adjustment interval and the second adjustment interval based on the current threshold;

[0161] The adjustment unit 24 is used to adjust the PWM signal of the inverter according to the first adjustment range, the second adjustment range and the error voltage, and control the inverter based on the adjusted PWM signal.

[0162] This invention provides a control device based on an inverter. Traditional fixed dead-time compensation methods often fail to effectively compensate for changes in load and operating conditions, leading to increased output voltage errors. This invention calculates the error voltage by real-time acquisition of current, DC bus voltage, PWM duty cycle, and load back EMF, and dynamically adjusts compensation parameters, thereby significantly improving output voltage accuracy and reducing voltage errors caused by dead time. By dividing the system into first and second adjustment intervals based on a current threshold, this invention can adapt to different operating conditions and load changes, enabling the system to operate in a more stable state. The adjusted PWM signal can more accurately control the inverter output, avoiding system instability or failure caused by improper dead time, thus improving the overall stability and reliability of the system. Traditional compensation methods are usually static and cannot adapt to rapidly changing load conditions. This invention, through real-time calculation and adjustment, not only provides effective compensation under static conditions but, more importantly, can quickly respond and adjust compensation parameters under dynamic load changes, ensuring the stability and accuracy of the inverter output voltage. This dynamic response capability significantly improves the system's adaptability. In summary, the inverter-based control method of the present invention effectively solves the shortcomings of traditional dead-zone compensation methods by dynamically adjusting compensation parameters in real time, significantly improving the output voltage accuracy, system stability and reliability of the inverter, enhancing dynamic response capability, reducing harmonic distortion, and improving system efficiency.

[0163] Figure 3 This is a schematic diagram of a terminal device provided in an embodiment of the present invention. Figure 3 As shown, a terminal device 3 in this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as an inverter-based control program. When the processor 30 executes the computer program 32, it implements the steps described in the various embodiments of the inverter-based control method, for example... Figure 1 Steps 101 to 104 are shown. Alternatively, when the processor 30 executes the computer program 32, it implements the functions of each unit in the above-described device embodiments, for example... Figure 2 The function of the unit shown.

[0164] For example, the computer program 32 can be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 32 in the terminal device 3. For example, the specific functions of each unit of the computer program 32 can be divided as follows:

[0165] The acquisition unit is used to acquire current current, DC bus voltage, PWM duty cycle and load back electromotive force;

[0166] The calculation unit is used to calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force;

[0167] A division unit is used to divide a first adjustment interval and a second adjustment interval based on a current threshold.

[0168] The adjustment unit is used to adjust the PWM signal of the inverter according to the first adjustment range, the second adjustment range and the error voltage, and control the inverter based on the adjusted PWM signal.

[0169] The terminal device includes, but is not limited to, a processor 30 and a memory 31. Those skilled in the art will understand that... Figure 3 This is merely an example of a terminal device 3 and does not constitute a limitation on a terminal device 3. It may include more or fewer components than shown, or combine certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, etc.

[0170] The processor 30 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0171] The memory 31 can be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 can also be an external storage device of the terminal device 3, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the terminal device 3. Furthermore, the memory 31 can include both internal and external storage units of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 can also be used to temporarily store data that has been output or will be output.

[0172] It should be understood that the sequence number of each step in the above embodiments 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 the present invention.

[0173] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.

[0174] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0175] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0176] This invention provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the above-described method embodiments.

[0177] 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, all or part of the processes in the methods of the above embodiments of the present invention can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0178] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0179] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. 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 this invention.

[0180] In the embodiments provided by this invention, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or 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 coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0181] 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; they may be located in one place or distributed across multiple network units.

[0182] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0183] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0184] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."

[0185] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0186] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

Claims

1. A control method based on an inverter, characterized in that, The inverter-based control method includes: Collect current current, DC bus voltage, PWM duty cycle, and load back EMF; Calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force; The first adjustment interval and the second adjustment interval are divided based on the current threshold. The inverter's PWM signal is adjusted according to the first adjustment range, the second adjustment range, and the error voltage, and the inverter is controlled based on the adjusted PWM signal. The step of adjusting the inverter's PWM signal according to the first adjustment range, the second adjustment range, and the error voltage, and controlling the inverter based on the adjusted PWM signal includes: Based on the error voltage and the preset function, calculate the first dead zone compensation voltage of the first adjustment interval; The error voltage is used as the second dead zone compensation voltage for the second adjustment range; Adjust the inverter's PWM signal based on the first dead-zone compensation voltage or the second dead-zone compensation voltage; The inverter is controlled based on the adjusted PWM signal; The step of calculating the first dead zone compensation voltage of the first adjustment interval based on the error voltage and the preset function includes: Divide the current amplitude by the error threshold to obtain the first weight value; Subtracting 1 from the first weight value yields the second weight value; Multiply the preset compensation voltage by the first weight value to obtain the first value; Multiply the error voltage by the second weight value to obtain the second value; Add the first value to the second value to obtain the first dead zone compensation voltage.

2. The inverter-based control method as described in claim 1, characterized in that, The step of calculating the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force includes: Step A1: Obtain the load inductance, load resistance, controller-sent initial predicted loss voltage, initial iterative current, PWM interrupt cycle, and adaptive gain; Step A2: Substitute the initial predicted loss voltage, DC bus voltage, PWM duty cycle, load inductance, load resistance, and load back EMF into the virtual load model, and solve for the predicted current in the virtual load model. The virtual load model is as follows: ; Among them, V err_est [k-1] represents the error voltage of the (k-1)th iteration, with the initial predicted loss voltage used as the error voltage of the first iteration, V. ref The DC bus voltage is represented by s, the PWM duty cycle is represented by T. s The PWM interrupt period is represented by Ê, the load back EMF is represented by L, the load inductance is represented by R, the load resistance is represented by î[k], the predicted current corresponding to the k-th iteration is represented by î[k-1], the predicted current corresponding to the (k-1)-th iteration is represented by î[0], the initial iteration current is represented by î[0], and T is represented by î[0] = 0. s Indicates the PWM interrupt cycle; Step A3: Subtract the current from the predicted current to obtain the current error; Step A4: If the current error is negative, then set the current direction value to -1; Step A5: If the current error is positive, then set the current direction value to 1; Step A6: Substitute the current error, initial predicted loss voltage, PWM interrupt period, and adaptive gain into the adaptive equation to obtain the current iteration error voltage; The adaptive equation is: ; Among them, V err_est [k-1] represents the error voltage of the (k-1)th iteration, V err_est [k] represents the current iteration error voltage corresponding to the kth iteration, e i [k] represents the current error corresponding to the k-th iteration error voltage, sign(i[k]) represents the current direction value corresponding to the k-th iteration error voltage, and Γ represents the adaptive gain; Step A7: Based on the current iterative error voltage, iteratively execute the virtual load model in step A2 to the adaptive equation in step A6 until the current error is less than a preset value, and obtain the final iterative error voltage; Step A8: Use the final iteration error voltage as the error voltage.

3. The inverter-based control method as described in claim 1, characterized in that, The step of dividing the first adjustment interval and the second adjustment interval based on the current threshold includes: Calculate the continuous current amplitude; The inverter output range where the current amplitude is less than the error threshold is taken as the first adjustment range; The inverter output range where the current amplitude is not less than the error threshold is taken as the second adjustment range.

4. The inverter-based control method as described in claim 1, characterized in that, The step of calculating the first dead zone compensation voltage of the first adjustment interval based on the error voltage and the preset function includes: Calculate the smoothing factor using the smoothing function; The smoothing function is: Where F_smooth represents the smoothing factor, k represents the preset steepness factor, |i| represents the current amplitude, I_transition represents the transition center point, and I_transition≈error threshold / 2; The first dead zone compensation voltage is obtained by multiplying the smoothing factor by the error voltage.

5. The inverter-based control method as described in claim 1, characterized in that, The step of adjusting the inverter's PWM signal based on the first dead-zone compensation voltage or the second dead-zone compensation voltage includes: Convert the first dead zone compensation voltage or the second dead zone compensation voltage into a duty cycle correction value; The original PWM duty cycle command is corrected based on the current direction and duty cycle correction amount to obtain the corrected PWM duty cycle command; The corrected PWM duty cycle instruction is sent to the PWM generator to generate the final PWM signal.

6. A control device based on an inverter, characterized in that, The inverter-based control device includes: The data acquisition unit is used to acquire current current, DC bus voltage, PWM duty cycle, and load back electromotive force. The calculation unit is used to calculate the error voltage based on the current current, the DC bus voltage, the PWM duty cycle, and the load back electromotive force; A division unit is used to divide a first adjustment interval and a second adjustment interval based on a current threshold. An adjustment unit is configured to adjust the inverter's PWM signal according to the first adjustment range, the second adjustment range, and the error voltage, and control the inverter based on the adjusted PWM signal. The step of adjusting the inverter's PWM signal according to the first adjustment range, the second adjustment range, and the error voltage, and controlling the inverter based on the adjusted PWM signal includes: Based on the error voltage and the preset function, calculate the first dead zone compensation voltage of the first adjustment interval; The error voltage is used as the second dead zone compensation voltage for the second adjustment range; Adjust the inverter's PWM signal based on the first dead-zone compensation voltage or the second dead-zone compensation voltage; The inverter is controlled based on the adjusted PWM signal; The step of calculating the first dead zone compensation voltage of the first adjustment interval based on the error voltage and the preset function includes: Divide the current amplitude by the error threshold to obtain the first weight value; Subtracting 1 from the first weight value yields the second weight value; Multiply the preset compensation voltage by the first weight value to obtain the first value; Multiply the error voltage by the second weight value to obtain the second value; Add the first value to the second value to obtain the first dead zone compensation voltage.

7. A terminal device, characterized in that, The terminal device includes: a memory, a processor, and an inverter-based control program stored in the memory and executable on the processor, the inverter-based control program being configured to implement the steps of the inverter-based control method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps in the inverter-based control method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Dead time compensation using an error voltage calculation

    WO2019028444A1