Modulation method of multi-level inverter for dual-motor torque cooperative distribution

By using a multi-level inverter modulation method for coordinated torque distribution between dual motors, the capacitor voltage difference is predicted and the torque command is adjusted, thus solving the problem of voltage difference correction lag under motor load and improving the stability of load distribution and voltage balance capability.

CN123144685APending Publication Date: 2026-11-20JIANGSU AEROSPACE POWER ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611584854.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In the existing technology, when two motors drive the load together, there is a time difference between the change in torque command and the actual response of the motor, which leads to untimely correction of capacitor voltage difference and transient deviation of total torque, making it difficult to effectively adjust the balance of midpoint voltage.

Method used

A multi-level inverter modulation method with dual-motor torque collaborative distribution is adopted. By acquiring the total torque command and motor status, the capacitor voltage difference is predicted, and the torque command is adjusted within the prediction period. Combined with the current closed-loop response and the pulse width modulation effective delay, an executable midpoint charge set is generated and jointly modulated to correct the capacitor voltage difference.

Benefits of technology

It reduces the lag correction of torque command changes to the midpoint voltage difference, lowers the risk of total electromagnetic torque deviation, and improves the stability of motor load distribution and voltage balance capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The application discloses a modulation method of a multi-level inverter for torque coordination distribution of double motors. Two coaxial permanent magnet synchronous motors are respectively driven by three-level neutral-point-clamped inverters sharing a split DC bus and a common neutral point. According to the measured state, a set of executable neutral-point charge is determined and jointly modulated; when the capacitor voltage difference exceeds the limit under the basic torque distribution, an equal and opposite torque adjustment trajectory is generated, the current closed-loop response and the pulse width modulation effective delay are taken into account, the neutral-point adjustment capacity is predicted and updated cycle by cycle; the trajectories that meet the current, voltage difference and total torque deviation constraints and timely reduce the neutral-point charge gap and improve the error boundary are screened, the next segment is executed, and the measured response is verified. The method is used for reducing the neutral-point correction failure and torque deviation risk caused by the asynchronization of instruction change and actual response.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power electronic conversion and motor control technology, specifically to a multi-level inverter modulation method for dual-motor torque collaborative distribution. Background Technology

[0002] When two motors drive a load together, it is necessary to coordinate the torque sharing of the two motors and the voltage output of the inverter to ensure that the mechanical load receives the required driving force. For dual three-level neutral-point clamped inverters sharing a split DC bus, the voltage distribution of the upper and lower bus capacitors will also affect the output voltage synthesis and the voltage that the power devices can withstand.

[0003] Existing control systems typically determine the torque commands for the two motors based on the total torque demand and the individual motor's operating capacity. These commands are then used to generate voltage references via vector control, and finally, pulse-width modulation (PWM) drives the inverters. To address voltage imbalances between the upper and lower bus capacitors, zero-sequence voltage injection or redundant switching states can be used to regulate the neutral point current. Alternatively, both inverters can be coordinated to share the voltage balancing task. Under conditions where the current response is relatively stable, the output voltage is unrestricted, and the modulation margin is sufficient, these methods can balance torque output and neutral point voltage regulation. Their regulation capability is influenced by the phase current, voltage reference, and the duration of the switching states.

[0004] When bus voltage fluctuates, load sharing changes, or the motor approaches the voltage utilization boundary, there is a time lag between the torque command change and the actual motor response. The response speed of the current loop, voltage limiting, and the effective timing of pulse width modulation commands mean that the updated torque command cannot directly represent the phase current at the same moment. The response difference between the two motors may also cause the sum of torque commands to remain unchanged, while the sum of actual electromagnetic torques will produce transient deviations. At the same time, the common midpoint bears the superposition of the midpoint currents of the two inverters. The regulation effect of each inverter changes with the current direction and voltage demand. The torque margin of a single motor does not directly correspond to the voltage balance capability of the dual inverters in the required direction. For control methods that judge the regulation capability based on the instantaneous operating point or the adjusted command value, the regulation requirements that can be met according to the command value may not have been formed before the capacitor voltage difference approaches the allowable boundary, or may be canceled by the action of the other inverter, causing the voltage difference to deviate continuously. If the load sharing continues to change, the risk of phase current exceeding the limit or total torque transient deviation may also be added. Summary of the Invention

[0005] The purpose of this invention is to provide a multi-level inverter modulation method for dual-motor torque collaborative distribution, in order to solve the technical problems in the prior art where the midpoint regulation capability is judged based on the real-time operating point or the adjusted command value, which makes it difficult to reflect the lag in current response and modulation effectiveness, and easily causes untimely correction of capacitor voltage difference and transient deviation of total torque.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: a multi-level inverter modulation method for dual-motor torque collaborative distribution, applied to two three-phase permanent magnet synchronous motors coaxially driving a load. Each of the two motors is driven by a set of three-level neutral-point clamping inverters. The two inverters share a positive bus, a negative bus, and a common neutral point between the upper and lower bus capacitors, comprising:

[0007] Obtain the total torque command and the basic torque command of the two motors. The sum of the basic torque commands of the two motors is equal to the total torque command. Collect the phase current, rotor position, speed, upper bus capacitor voltage and lower bus capacitor voltage of the two motors. Read the current loop control status of the two motors and the pulse width modulation command of the two inverters. Determine the difference between the upper bus capacitor voltage and the lower bus capacitor voltage as the capacitor voltage difference.

[0008] The neutral point charge correction target is determined based on the capacitor voltage difference. Three-phase voltage references are formed by the vector control of the two motors. By superimposing zero-sequence voltages on each three-phase voltage reference, and combining the phase current, upper bus capacitor voltage, lower bus capacitor voltage, and pulse width modulation timing constraints, the executable neutral point charge sets of the two inverters are determined respectively, and the correspondence between the neutral point charge and the corresponding pulse width modulation sequence is retained. The pulse width modulation sequence combination that makes the total neutral point charge closest to the neutral point charge correction target is selected from the two executable neutral point charge sets and then jointly modulated.

[0009] Taking the acquisition and reading status as the initial state, and taking into account the current closed-loop response and the effective delay of the pulse width modulation command, the capacitor voltage difference when maintaining the basic torque command is predicted; when the predicted capacitor voltage difference exceeds the allowable range, torque transfer candidate trajectories are generated, and each torque transfer candidate trajectory applies an equal amount of reverse adjustment to the basic torque command of the two motors, and the amplitude and rate of change of the torque adjustment are limited.

[0010] For each torque transfer candidate trajectory, starting from the same initial state, the current, electromagnetic torque, and capacitor voltage difference are calculated for each prediction cycle. Based on the current state and three-phase voltage reference for each prediction cycle, the executable midpoint charge set and the corresponding pulse width modulation sequence combination are re-determined, and the capacitor voltage difference is updated based on the total midpoint charge. The absolute value of the difference between the total midpoint charge of the selected pulse width modulation sequence combination and the corresponding midpoint charge correction target is determined as the midpoint charge gap.

[0011] Remove candidate torque transfer trajectories whose deviations from the total torque command in any prediction period exceed their respective allowable ranges for phase current, capacitor voltage difference, or the sum of predicted electromagnetic torques of the two motors. From the remaining candidate torque transfer trajectories, select candidate torque transfer trajectories that, before the predicted voltage difference corresponding to the basic torque command exceeds the limit, reduce the midpoint charge gap relative to the case of maintaining the basic torque command at the same prediction time, and the amount of gap reduction exceeds the comparison error boundary determined by modeling error, sampling error, and parameter error.

[0012] The next torque command of the selected torque transfer candidate trajectory is applied to the two motors respectively, and the corresponding pulse width modulation sequence combination is executed. The voltage difference change corresponding to the point charge in the prediction is verified based on the subsequently collected capacitor voltage difference change. The prediction and screening are repeated using the updated measured state. If there is no torque transfer candidate trajectory that meets the screening conditions, the torque transfer is not executed.

[0013] Furthermore, the phase current, rotor position, rotational speed, upper bus capacitor voltage, and lower bus capacitor voltage are acquired under a unified pulse width modulation time base.

[0014] The current loop control states include integrator state, limiting state, and anti-saturation state. The pulse width modulation (PWM) commands include PWM commands that have been activated and PWM commands that have been generated but have not yet been activated. The voltage action timing used for prediction is determined based on the activation time of each PWM command.

[0015] Furthermore, the executable midpoint charge set is generated using adjacent level pulse width modulation;

[0016] Let the voltage of the upper bus capacitor and the voltage of the lower bus capacitor be denoted as follows: and The pulse width modulation period is denoted as , will the The first set of inverters The phase voltage reference, phase current, zero-sequence voltage, superimposed phase voltage, and zero-level duty cycle are respectively denoted as: , , , and ,in, Number the inverter. For each of the three phases, the phase current flows from the inverter to the motor in the positive direction;

[0017] The range of values ​​for the superimposed phase voltage and zero-sequence voltage should be determined according to the following relationships:

[0018]

[0019]

[0020] In the periodic averaging model that does not account for the dead zone, the zero-level duty cycle is determined according to the following relationship:

[0021]

[0022] The first The candidate value of the midpoint charge of the inverter is denoted as The candidate values ​​of the midpoint charge are calculated according to the following relationship:

[0023]

[0024] A timing constraint check is performed on the pulse width modulation sequence corresponding to the midpoint charge candidate value, and the midpoint charge candidate values ​​that pass the check and their corresponding pulse width modulation sequences are retained.

[0025] Furthermore, the timing constraint check includes minimum pulse width, timing resolution, dead time, device commutation sequence and gate interlock checks, as well as voltage synthesis error checks based on the upper bus capacitor voltage and the lower bus capacitor voltage.

[0026] Remove pulse width modulation sequences that contain disallowed direct transitions between positive and negative levels; for discontinuous executable midpoint charge sets formed by minimum pulse width or timing resolution, retain their segmented or discrete structures, and select midpoint charges from the retained segmented or discrete values.

[0027] Furthermore, the capacitances of the upper bus capacitor and the lower bus capacitor are equal, and their capacitances are denoted as... The pulse width modulation period is denoted as The selected midpoint voltage recovery time constant is denoted as... , will the The capacitor voltage difference and midpoint charge correction target for each pulse width modulation cycle are denoted as follows: and ,in, This refers to the pulse width modulation cycle number;

[0028] The midpoint charge correction target is determined according to the following relationship:

[0029]

[0030] The first The midpoint charges of the two inverters within each pulse width modulation cycle are denoted as follows: and Taking the charge corresponding to the current flowing to the motor at the common midpoint as positive, the predicted capacitor voltage difference is updated according to the following relationship:

[0031]

[0032] The midpoint charge correction target for the next prediction cycle is determined based on the updated capacitor voltage difference.

[0033] Furthermore, the basic torque commands for the two motors are respectively denoted as... and The torque transfer amount is denoted as The torque commands of the two motors in the torque transfer candidate trajectory are respectively denoted as... and ,in, For time, candidate torque transfer trajectories are generated according to the following relationship:

[0034]

[0035]

[0036] The torque transfer candidate trajectory includes the trajectory that maintains the basic torque command and the trajectory in two torque transfer directions; the amplitude limit and rate of change limit of the torque transfer amount are determined according to the torque capacity, current limit, thermal limit and shaft response of the two motors, and the trajectory that does not meet the amplitude limit or rate of change limit is eliminated.

[0037] Furthermore, prediction is made using the dynamic models of direct-axis and quadrature-axis currents of the permanent magnet synchronous motor and the electromagnetic torque calculation relationship. The resistance, inductance, and permanent magnet flux linkage parameters used in the current dynamic model are derived from motor data or parameter identification.

[0038] For the torque transfer candidate trajectory, the integrator state, limiting state, and anti-saturation state are advanced cycle by cycle. The input voltage of the current dynamic model is determined according to the current loop output and the effective timing of the pulse width modulation command. The predicted current is calculated, and the predicted electromagnetic torque is calculated according to the predicted current, the number of motor pole pairs, inductance, and permanent magnet flux linkage. The sum of the predicted electromagnetic torques of the two motors is compared with the total torque command.

[0039] Furthermore, a voltage margin is set in the capacitor voltage difference constraint for each prediction period, and the voltage margin covers the influence of switching ripple, sampling error and model error on the capacitor voltage difference.

[0040] The allowable voltage envelope is determined based on the voltage limits and derating requirements of the power devices and bus capacitors, and the voltage margin is retained in the candidate trajectory screening.

[0041] Furthermore, the prediction error range is determined by comparing the model prediction results with the measured results, and the comparison error boundary is determined by combining the current sampling error, voltage sampling error, and the range of motor parameters changing with temperature and current.

[0042] The comparison error bound is used to cover the midpoint charge gap comparison error between the prediction result of the base torque command and the prediction result of the torque transfer candidate trajectory, and only torque transfer candidate trajectories whose midpoint charge gap reduction exceeds the comparison error bound are accepted.

[0043] Furthermore, after executing the selected torque transfer candidate trajectory, if the deviation between the measured capacitor voltage difference change and the voltage difference change corresponding to the predicted charge exceeds the prediction error range, the deviation between the sum of the electromagnetic torque estimates of the two motors and the total torque command exceeds the allowable range, or the prediction calculation is not completed before the next torque coordination cycle, the execution of the torque transfer candidate trajectory is stopped, and the torque allocation that meets the single-machine torque, current and thermal limits is returned according to the torque change rate limit;

[0044] When there are no candidate torque transfer trajectories that meet the screening criteria, the basic torque distribution is maintained and joint modulation is performed without the protection triggering condition being met; when it is determined from the measured upper bus capacitor voltage and lower bus capacitor voltage that the derating or hardware protection triggering condition has been met, the corresponding derating or hardware protection is executed.

[0045] Beneficial effects:

[0046] 1. This invention performs joint modulation under the basic torque distribution, and when the predicted capacitor voltage difference exceeds the limit, it selects an equal and reverse torque adjustment based on the prediction results including the current closed-loop response and the pulse width modulation effective delay. This makes the judgment of the regulation capability correspond to the expected current and switching action, which helps to reduce the correction lag caused by directly regarding the change of torque command as the midpoint correction capability has been formed, and reduces the risk that the total electromagnetic torque deviation exceeds the allowable range during torque adjustment.

[0047] 2. Determine the midpoint charge based on the phase current and zero-level duty cycle, and update the capacitor voltage difference with the total midpoint charge under the condition of equal capacitance of the upper and lower bus capacitors, so that the correction target corresponds to the capacitor charging and discharging relationship; combine minimum pulse width, dead zone and commutation constraints to retain segmented or discrete executable values, and limit candidate acceptance with comparison error boundary, which can reduce the risk of using unexecutable switching timing or apparent improvement within the error range as the basis for torque adjustment.

[0048] 3. Under a unified time base, the system collects status data, distinguishes between effective and pending instructions, verifies the actual results after execution, and backs down the limited rate of change, ensuring that the timing of the prediction corresponds to the execution process. It also provides a closed-loop processing path for stopping, transferring, reducing the rate of change, and protecting the system when prediction mismatch occurs, calculation timeout occurs, or protection conditions are triggered. Attached Figure Description

[0049] The invention will now be further described with reference to the accompanying drawings.

[0050] Figure 1 This is a schematic diagram of the system connection of dual motors, dual three-level neutral point clamped inverters, and a common split DC bus.

[0051] Figure 2 This is a schematic diagram of the main process of the dual-motor torque collaborative distribution and joint modulation method.

[0052] Figure 3 It is a schematic diagram of generating an executable midpoint charge set based on voltage reference, phase current and pulse width modulation timing constraints.

[0053] Figure 4 It is a schematic diagram of a cycle-by-cycle prediction loop that includes the current closed-loop response and the pulse width modulation effective delay.

[0054] Figure 5 This is a schematic diagram of constraint checking and acceptance condition screening for torque transfer candidate trajectories.

[0055] Figure 6 It is a timing diagram of state acquisition, instruction activation, rolling prediction and next stage execution under a unified time base.

[0056] Figure 7 This is a schematic diagram illustrating the processing of measured response verification, predicted mismatch, calculation timeout, and protection condition triggering. Detailed Implementation

[0057] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0058] like Figure 1 As shown, the DC source is connected to the positive bus P and the negative bus N. The upper bus capacitor C+ is connected between P and the common neutral point O, and the lower bus capacitor C- is connected between O and N. Two sets of three-level neutral-point clamped inverters NPC1 and NPC2 are connected to P, O, and N respectively, and the AC sides are connected to three-phase permanent magnet synchronous motors M1 and M2 respectively. The two motors are coaxially connected to drive the load together, and the neutral point of the motor windings is not connected to O due to sharing a DC bus. In the figure, P, O, and N represent the three DC nodes that the bridge arm output can connect to, and their corresponding levels are positive, zero, and negative, respectively.

[0059] The digital controller acquires phase current, rotor position, speed, and upper and lower capacitor voltages, outputs PWM commands to both inverters, and reads the internal state of the current loop. The phase current is defined as positive when flowing from the inverter to the motor, and the torque direction is unified according to the direction of the shared load. Position and current are obtained as direct-axis and quadrature-axis components through coordinate transformation of each motor; coaxial connection does not require the two motors to have the same electrical angle. The controller uses a unified PWM time base, ensuring that sampling, prediction, and command updates have corresponding time positions. Figure 1 The sampling lines and PWM control lines in the diagram are respectively represented by the main power connection lines.

[0060] This embodiment uses a configuration where the equivalent capacitance of the two half-buses is equal, and each capacitance is denoted as C. The capacitor voltage difference and the total bus voltage are respectively:

[0061]

[0062] The total torque command is denoted as The basic torque command is denoted as , The sum of these values ​​equals the total torque command. The base allocation is the control input determined before proceeding to this method. This method first checks the joint modulation capability corresponding to the allocation, without changing the torque ratio in each cycle. The resistance, inductance, permanent magnet flux linkage, and number of pole pairs of each motor are identified from motor data or normal parameters; the current and voltage channels are calibrated using standard procedures, and the dead zone, minimum pulse width, and command update delay are confirmed based on the drive data and actual timing.

[0063] State acquisition and fundamental joint modulation, Figure 2 S101 in the code is used to obtain the current state. In addition to the sampled values, it records the integrator, limiting, and anti-saturation states of the two current loops, as well as the PWM instructions that have been activated and those that have been generated but not yet activated. Figure 6 This indicates the relationship between the above data within the same time base: the completion of the calculation does not mean that the new instruction has been applied to the motor; before reaching the specified PWM loading time, the prediction still uses the currently valid instruction. The same initial state is saved in each torque coordination calculation, and the basic trajectory and each transfer trajectory are compared starting from this state.

[0064] S102 generates an executable set of point charges and performs joint modulation, specifically as follows: Figure 3 As shown. The FOC of both machines provides three-phase voltage references. ,in , The same zero-sequence voltage is superimposed on the three-phase reference of the same inverter. ,get:

[0065]

[0066] The adjacent-level PWM used requires that the reference of each phase be located between the negative and positive bus levels, therefore the zero-sequence voltage satisfies:

[0067]

[0068] When the upper and lower bounds do not form an effective range, the voltage reference cannot be directly realized under this modulation method. It should be handled according to the existing voltage limiting state, and a candidate cannot be obtained by arbitrarily expanding the zero-sequence range. For values ​​within the effective range, when Modulation occurs between P and O, when The modulation occurs between O and N. Ignoring the dead zone, the periodic average model gives the zero-level duty cycle:

[0069]

[0070] When the bridge arm is connected to O, the corresponding phase current participates in the midpoint charging and discharging. This is based on the PWM cycle. The current within the sample forms the candidate midpoint charge:

[0071]

[0072] In this formula, the current unit is ampere, the time unit is second, and the charge unit is coulomb. It is a periodic average relationship for generating candidates, and does not mean that every value obtained after ignoring dead time and current changes can be directly executed. The controller retains the correspondence between charge candidates, zero-sequence values, and PWM sequences, and then checks the voltage synthesis error under measured upper and lower voltage conditions according to PWM timing resolution, minimum pulse width, dead time, device commutation sequence, and gate interlocking check sequence.

[0073] like Figure 3 As shown, sequences and charge values ​​that failed the check were deleted, and the values ​​that passed the check were composed of... , Direct transitions between positive and negative levels are not permitted and cannot be considered as candidate sequences. When timing constraints cause discontinuities in the set, the controller saves each available segment or discrete point and its corresponding sequence, and does not automatically consider all values ​​between the two endpoints as executable. Separate execution sequences are also used when the voltages of the upper and lower capacitors are unequal. , The calculation does not treat the nominal redundancy state as the same as the actual voltage state.

[0074] Under conditions of equal capacitance, a positive midpoint charge causes... As the capacitor voltage difference increases, the update is as follows:

[0075]

[0076] According to the selected recovery time constant Forming correction targets:

[0077]

[0078] Therefore, when the capacitor voltage is high, the correction target is negative; this target does not require eliminating the entire voltage difference within a single PWM cycle. The recovery time constant is determined based on the capacitance, modulation capability, and current response, without pre-setting an unverified optimal value. The controller selects the executable sequence combination whose total charge is closest to the target from the two sets and retains this combination for PWM execution. If the target falls within an inaccessible gap, only the actually executable value is selected, and the interpolated result is not used to replace the executable sequence.

[0079] Basic trajectory prediction and torque candidate generation, Figure 2 S103 in the calculation predicts whether the base allocation will exceed the capacitor voltage difference limit. The total torque demand used for prediction is the demand already obtained in this round; if no future demand changes are given, the current command continues to evaluate the round's trajectory, and is recalculated after new demand is obtained, without using future actual measurements or unknown commands. If the base allocation, in conjunction with joint modulation, can remain within the allowable range, then the allocation continues.

[0080] When the predicted base trajectory exceeds the limit, proceed to step S104 to generate finite torque transfer trajectories in two directions, while simultaneously retaining the base trajectory as a reference. The transfer amount is... :

[0081]

[0082] The candidate amplitude and rate of change are limited by the single-machine torque capacity, current limit, thermal limit, and confirmed shaft response. Forward and reverse transfers change the load sharing between the two machines respectively, without requiring the introduction of additional braking torque to cancel each other out. The trajectory maintains the sum of the torque commands of the two machines; due to the different dynamics of the two current loops, the actual sum of electromagnetic torques still needs to be checked separately, and the transient torque at the shaft end is not considered strictly constant.

[0083] Prediction including closed-loop state and PWM delay:

[0084] S105 press Figure 4 Advance each candidate. Dynamically use the direct-axis and quadrature-axis currents of the motor:

[0085]

[0086]

[0087] in For stator resistance, , For right- and quadrature-axis inductors, It is a permanent magnet flux linkage. Let be the electric angular velocity. The two motors use their respective parameters and states. The electromagnetic torque is estimated using the following formula:

[0088]

[0089] In the formula It is a pole-logarithm. The temperature and current dependence of motor parameters are included in the determined parameter variation range, without assuming that the parameters are precisely constant. The prediction adopts discrete propagation corresponding to the control cycle, and the new quadrature-axis current command is not directly assigned to the predicted actual current.

[0090] Each prediction step first advances the current controller according to the candidate instructions and predicted current, including the integrator, limiting, and anti-saturation state; then according to... Figure 6 The indicated instruction effective time determines the voltage and sequence that can actually be applied in this step. If the update time has not yet arrived, the previously effective sequence continues to be used. Based on this voltage, the motor current is driven, and the voltage reference, zero-sequence executable range, and midpoint charge set are re-established in the next prediction step. Scheduled but not yet effective instructions cannot be omitted from the prediction initial state. For prediction intervals locked by effective timing, the midpoint charge is calculated using sequences that are effective or scheduled within that interval; newly selected sequences only participate in charge and capacitor voltage difference recursion after the corresponding loading time.

[0091] The total charge selected in each step is used to recursively calculate the capacitor voltage difference, and the correction target is redefined based on the updated voltage difference. Current, torque, and charge are predicted values ​​in future steps, not actual measured results. Each candidate uses the same starting state, prediction time base, and comparison time to avoid directly comparing the capabilities of earlier time steps of the base trajectory with those of later time steps of the candidate.

[0092] The voltage difference is directly derived from the capacitance charge relationship; it cannot determine the future voltages of the two absolute capacitors or the total bus voltage independently. The initial voltage state is based on the actual measurements taken in this round. , The voltage state used in subsequent voltage synthesis and current prediction is a model quantity, and its applicability is constrained by the error range obtained by comparing the model with actual measurements. The future total bus voltage is not used as a known measured input; the applicability range of the model and the voltage prediction error need to be confirmed before it is used for trajectory screening. If changes in the bus cause the relevant prediction deviation to exceed the determined range, the prediction cannot be accepted or the transfer cannot continue; subsequent rounds will be re-initialized using the new measured upper and lower voltages. The derating and protection judgment of the absolute capacitor voltage are still based on the measured values.

[0093] Candidate filtering and rolling execution, S106 Figure 5 Perform a screening. The absolute value of the difference between the selected total charge and the target value for this correction step is taken as the midpoint charge gap.

[0094]

[0095] First, tracks where the deviation of phase current, capacitor voltage difference, or the sum of predicted electromagnetic torques from the two machines relative to the total torque command exceeds the limit within any prediction cycle are eliminated. The allowable range of voltage difference is determined based on the voltage limits and derating requirements of the devices and capacitors, and margins are deducted to cover switch ripple, sampling, and model errors. The cancellation of total charge within a cycle does not necessarily mean that the peak value within the cycle will meet the requirements; this margin is retained in the constraint check of each prediction cycle.

[0096] Among candidates that meet the constraints throughout the entire process, the gaps at the same prediction time are compared. A candidate is only accepted if it reduces the gap before the predicted gap exceeds the limit, and the reduction exceeds the comparison error bound. This error bound covers the comparison error between the base prediction and the candidate prediction, and is determined based on a comparison of the model and actual measurements, combined with current and voltage sampling errors and parameter variation ranges. Improvements occurring after the limit is exceeded, or apparent improvements that cannot be distinguished from prediction errors, are not grounds for acceptance. When multiple qualified trajectories exist, the one with the smallest deviation from the base assignment is preferred.

[0097] Figure 2 S107 and Figure 6 , Figure 7 Correspondingly, the controller only applies the next segment of torque command and corresponding PWM combination for the selected trajectory, and re-initializes the prediction after the new sample arrives, without pre-executing the entire trajectory unconditionally. The voltage difference change corresponding to the predicted charge in the previous round is verified by the voltage difference change of the newly sampled voltage difference, and the sum of the electromagnetic torques of the two machines is estimated based on the measured current to check its deviation from the total torque command.

[0098] When the feedback deviation exceeds the prediction error range, the total electromagnetic torque estimation deviation exceeds the limit, or the prediction calculation is not completed before the next coordination cycle, the execution of the transfer trajectory is stopped, and the allocation that meets the single-machine torque, current, and thermal limits is returned according to the torque change rate limit. If there is no qualified candidate and the transfer has not yet been executed, nor has the protection condition been met, the basic allocation is maintained and joint modulation is performed; for transfers that have already been executed, the torque change rate limit is still observed when stopping the transfer and returning to the allowed allocation, and maintaining the basic allocation is not interpreted as an instantaneous jump back to the basic command. When the measured upper and lower capacitor voltages have triggered derating or hardware protection, the corresponding measures are executed without waiting for the torque transfer to form a correction effect. Figure 7 Rollback and protection are different processing branches, and limited slope rollback cannot replace timely hardware protection.

[0099] The illustrative operating procedure and applicable boundaries are as follows: During the illustrative operating procedure, both machines jointly drive the load according to the basic instructions, and then it is detected that the voltage of the upper capacitor is higher than that of the lower capacitor. The controller first requests a negative midpoint correction charge and selects a joint PWM combination under the basic allocation. If the predicted voltage difference can be kept within the allowable range, the load sharing is not changed; if the prediction is still to exceed the limit, then the limited transfer in both directions is compared.

[0100] Even if a certain direction shows significant correction capability when calculated according to the new current command, it may still fail to reduce the gap in time due to the current not yet being established or the PWM not yet being effective; therefore, this candidate should be rejected. The other direction should only proceed to the next stage if it meets the current, differential voltage, and total electromagnetic torque deviation constraints in the stepwise prediction and achieves improvement exceeding the comparison error limit before the reference exceeds the limit. If the next round of actual measurements does not support the previous prediction, proceed according to... Figure 7 Stop the transfer and reassess. This process does not presuppose that one direction is necessarily better than another, nor does it indicate that an improvement has been achieved.

[0101] When the parameters, electrical angle, and modulation state of the two machines are the same, and the forward current adjustable capability is approximately proportional to the torque, a redistribution of the total torque without change may not increase the total midpoint adjustment capability; in this case, all transfer candidates are rejected. Similarly, when both machines are approaching current or voltage limits simultaneously, the light load current is insufficient, the imbalance develops faster than the current response, the shaft response does not allow the required rate of change, or the parameter error is too large, a qualified trajectory cannot be guaranteed.

[0102] The PWM period, torque coordination period, and prediction length are determined based on the current response, command delay, and worst-case execution time of the controller. The prediction should cover the response process required for correction, and the calculation should be completed before the specified update time. Phase current and voltage sensor calibration, motor parameter identification, and shaft response confirmation are necessary implementation conditions. The executable charge set only describes the capability of the adjacent-level PWM used and its timing constraints, and does not represent the physical limits of other modulation methods; the above steps are not predicated on expanding the balance capability under all operating conditions or completely eliminating torque errors.

[0103] The foregoing has provided a detailed description of one embodiment of the present invention, but this description is merely a preferred embodiment and should not be construed as limiting the scope of the invention. All equivalent variations and modifications made within the scope of the claims of this invention should still fall within the patent coverage of this invention.

Claims

1. A multi-level inverter modulation method for coordinated torque distribution between two motors, applied to two three-phase permanent magnet synchronous motors coaxially driving a load, each motor being driven by a three-level neutral point clamping inverter, the two inverters sharing a common neutral point between the positive and negative buses and the upper and lower bus capacitors, characterized in that... include: Obtain the total torque command and the basic torque commands of the two motors that sum to the command; collect the phase current, rotor position, speed and upper and lower bus capacitor voltages; read the current loop control status and pulse width modulation command; and use the difference between the two capacitor voltages as the capacitor voltage difference. The midpoint charge correction target is determined based on the capacitor voltage difference. The zero-sequence voltage of the three-phase voltage formed by the vector control of the two motors is superimposed. Combined with the phase current, the voltage of the two capacitors and the pulse width modulation timing constraints, the executable midpoint charge set and its corresponding pulse width modulation sequence are determined respectively. The sequence combination with the total midpoint charge closest to the correction target is selected for joint modulation. Taking the acquisition and reading status as the initial state, and taking into account the current closed-loop response and the pulse width modulation command effective delay, the capacitor voltage difference when maintaining the basic torque command is predicted; when the limit is exceeded, a torque transfer candidate trajectory is generated that adjusts the two basic torque commands in opposite directions with equal amount, and the adjustment amplitude and rate of change are limited. For each candidate trajectory, the current, electromagnetic torque and capacitor voltage difference are calculated cycle by cycle from the same initial state. The set and sequence combination are re-determined based on the current state and three-phase voltage reference of each cycle. The capacitor voltage difference is updated according to the total midpoint charge. The absolute value of the difference between the total midpoint charge and the corresponding correction target is the midpoint charge gap. Candidate trajectories whose deviations from the sum of the predicted electromagnetic torques of the two motors and the total torque command exceed their respective allowable ranges within any prediction period are eliminated; from the remaining trajectories, the trajectories that reduce the midpoint charge gap compared to the same prediction time when maintaining the basic torque command before the predicted voltage difference exceeds the limit are selected; Apply the next segment of torque command to the selected trajectory and execute the corresponding sequence combination. Verify the voltage difference change corresponding to the point charge in the prediction based on the subsequent measured change in capacitor voltage difference. Repeat the prediction and screening with the updated measured state. If there is no trajectory that meets the screening conditions, do not perform torque transfer.

2. The method according to claim 1, characterized in that, The phase current, rotor position, rotational speed, upper bus capacitor voltage, and lower bus capacitor voltage are acquired under a unified pulse width modulation time base. The current loop control states include integrator state, limiting state, and anti-saturation state. The pulse width modulation (PWM) commands include PWM commands that have been activated and PWM commands that have been generated but have not yet been activated. The voltage action timing used for prediction is determined based on the activation time of each PWM command.

3. The method according to claim 1, characterized in that, The executable midpoint charge set is generated using adjacent level pulse width modulation; Let the voltage of the upper bus capacitor and the voltage of the lower bus capacitor be denoted as follows: and The pulse width modulation period is denoted as , will the The first set of inverters The phase voltage reference, phase current, zero-sequence voltage, superimposed phase voltage, and zero-level duty cycle are respectively denoted as: , , , and ,in, Number the inverter. For each of the three phases, the phase current flows from the inverter to the motor in the positive direction; The range of values ​​for the superimposed phase voltage and zero-sequence voltage should be determined according to the following relationships: ; ; In the periodic averaging model that does not account for the dead zone, the zero-level duty cycle is determined according to the following relationship: ; The first The candidate value of the midpoint charge of the inverter is denoted as The candidate values ​​of the midpoint charge are calculated according to the following relationship: ; A timing constraint check is performed on the pulse width modulation sequence corresponding to the midpoint charge candidate value, and the midpoint charge candidate values ​​that pass the check and their corresponding pulse width modulation sequences are retained.

4. The method according to claim 3, characterized in that, The timing constraint checks include minimum pulse width, timing resolution, dead zone, device commutation sequence and gate interlock checks, as well as voltage synthesis error checks based on the upper bus capacitor voltage and the lower bus capacitor voltage. Remove pulse width modulation sequences that contain disallowed direct transitions between positive and negative levels; for discontinuous executable midpoint charge sets formed by minimum pulse width or timing resolution, retain their segmented or discrete structures, and select midpoint charges from the retained segmented or discrete values.

5. The method according to claim 1, characterized in that, The capacitances of the upper bus capacitor and the lower bus capacitor are equal, and their capacitances are denoted as... The pulse width modulation period is denoted as The selected midpoint voltage recovery time constant is denoted as... , will the The capacitor voltage difference and midpoint charge correction target for each pulse width modulation cycle are denoted as follows: and ,in, This refers to the pulse width modulation cycle number; The midpoint charge correction target is determined according to the following relationship: ; The first The midpoint charges of the two inverters within each pulse width modulation cycle are denoted as follows: and Taking the charge corresponding to the current flowing to the motor at the common midpoint as positive, the predicted capacitor voltage difference is updated according to the following relationship: ; The midpoint charge correction target for the next prediction cycle is determined based on the updated capacitor voltage difference.

6. The method according to claim 1, characterized in that, The basic torque commands for the two motors are denoted as follows: and The torque transfer amount is denoted as The torque commands of the two motors in the torque transfer candidate trajectory are respectively denoted as... and ,in, For time, candidate torque transfer trajectories are generated according to the following relationship: ; ; The torque transfer candidate trajectory includes the trajectory that maintains the basic torque command and the trajectory in two torque transfer directions; the amplitude limit and rate of change limit of the torque transfer amount are determined according to the torque capacity, current limit, thermal limit and shaft response of the two motors, and the trajectory that does not meet the amplitude limit or rate of change limit is eliminated.

7. The method according to claim 2, characterized in that, The prediction is made using the dynamic models of the direct-axis and quadrature-axis currents of the permanent magnet synchronous motor and the electromagnetic torque calculation relationship. The resistance, inductance and permanent magnet flux linkage parameters used in the current dynamic model are derived from motor data or parameter identification. For the torque transfer candidate trajectory, the integrator state, limiting state, and anti-saturation state are advanced cycle by cycle. The input voltage of the current dynamic model is determined according to the current loop output and the effective timing of the pulse width modulation command. The predicted current is calculated, and the predicted electromagnetic torque is calculated according to the predicted current, the number of motor pole pairs, inductance, and permanent magnet flux linkage. The sum of the predicted electromagnetic torques of the two motors is compared with the total torque command.

8. The method according to claim 1, characterized in that, A voltage margin is set in the capacitor voltage difference constraint for each prediction period. The voltage margin covers the effects of switching ripple, sampling error and model error on the capacitor voltage difference. The allowable voltage envelope is determined based on the voltage limits and derating requirements of the power devices and bus capacitors, and the voltage margin is retained in the candidate trajectory screening.

9. The method according to claim 1, characterized in that, The prediction error range is determined by comparing the model prediction results with the measured results, and the comparison error boundary is determined by combining the current sampling error, voltage sampling error, and the range of motor parameters changing with temperature and current. The comparison error bound is used to cover the midpoint charge gap comparison error between the prediction result of the base torque command and the prediction result of the torque transfer candidate trajectory, and only torque transfer candidate trajectories whose midpoint charge gap reduction exceeds the comparison error bound are accepted.

10. The method according to claim 1, characterized in that, After executing the selected torque transfer candidate trajectory, if the deviation between the measured capacitor voltage difference change and the voltage difference change corresponding to the predicted charge exceeds the prediction error range, the deviation between the sum of the electromagnetic torque estimates of the two motors and the total torque command exceeds the allowable range, or the prediction calculation is not completed before the next torque coordination cycle, the execution of the torque transfer candidate trajectory will be stopped, and the torque allocation that meets the single-machine torque, current and thermal limits will be returned according to the torque change rate limit. When there are no candidate torque transfer trajectories that meet the screening criteria, the basic torque distribution is maintained and joint modulation is performed without the protection triggering condition being met; when it is determined from the measured upper bus capacitor voltage and lower bus capacitor voltage that the derating or hardware protection triggering condition has been met, the corresponding derating or hardware protection is executed.