Dual-motor driving method, system, electronic device, and storage medium
By delaying and widening the rising edge of the dual-motor drive signal and increasing the dead time, the problem of inverter arm runaway caused by bus voltage fluctuations in the dual-motor frequency conversion drive system is solved, thereby improving the system's safety and anti-distortion capability.
Patent Information
- Application Number
- CN202611275473.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-24
AI Technical Summary
In a dual-motor variable frequency drive system, since the two motors share the same DC bus, sudden load changes cause bus voltage fluctuations, which in turn cause drive signal distortion and may lead to inverter arm malfunction, threatening system safety.
By acquiring the original input signal and the input inverted signal, delaying the rising edge and widening the pulse, increasing the dead time, and ensuring the minimum conduction time of the power transistor, a hardware-level dual protection measure is adopted.
It improves safety and distortion resistance during dual-motor drive, avoids the risk of shoot-through short circuit, and protects power devices.
Smart Images

Figure CN123163433A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital sampling signal processing technology, and in particular to a dual-motor drive method, system, electronic device, and storage medium. Background Technology
[0002] In dual-motor variable frequency drive systems, a common topology is that two motors and two independent three-level inverters share the same DC bus. This structure has advantages such as low switching stress, low output harmonics, and high efficiency, and is often used in medium-voltage and high-power dual-motor synchronous drive scenarios.
[0003] In dual-motor drive systems, space vector pulse width modulation (SVM) is typically used to generate drive pulse signals for each phase arm of the inverter. The upper and lower power transistors of the same phase arm require complementary drive signals (the original input signal and the inverted input signal of the original input signal). To avoid a shoot-through short circuit caused by the simultaneous conduction of the upper and lower power transistors, a fixed-duration dead time delay needs to be inserted between the rising and falling edges of the original input signal and the inverted input signal. However, since the two inverters share the same DC bus, a sudden change in the load of one motor can directly cause a voltage drop or overshoot on the common bus. The bus voltage fluctuations simultaneously affect the comparators of both inverters, causing distortion in the pulse width of the output drive signal. The pulse of the normal drive signal may be passively narrowed or even completely lost. The pulse of the distorted complementary drive signal is further reduced in width after being delayed by the dead zone. When the pulse width is too narrow, the effective conduction time is insufficient, and the motor control accuracy decreases. The power transistors are in a state where they cannot be turned on or off normally, which may damage the devices. In extreme cases, the pulse of the complementary drive signal disappears completely, causing the inverter's bridge arm to go out of control, thereby threatening the safety of the system. Summary of the Invention
[0004] This invention provides a dual-motor drive method, system, electronic device, and storage medium. Through hardware-level dual protection of drive signal dead zone isolation and minimum pulse width constraint, the safety and anti-distortion capability in the dual-motor drive process are improved.
[0005] According to a first aspect of the present invention, the present invention provides a dual-motor drive method, comprising: Acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal has the opposite logic level state to the original input signal. The rising edges of the original input signal and the input inverted signal are delayed by a first preset time to obtain the original input delayed signal and the input delayed inverted signal, wherein the rising edge represents the change from the second logic level state to the first logic level state; Pulse widening is performed on the pulses within a preset width range in the original input delay signal and the input delay inverted signal to obtain the pulse widened delay signal and the pulse widened delay inverted signal, respectively. The pulse widening delay signal and the pulse widening delay inverted signal are respectively output to the upper power transistor and the lower power transistor of the same bridge arm to drive the corresponding motor.
[0006] Optionally, pulse widening is performed on pulses within a preset width range in both the original input delay signal and the input delay inverted signal to obtain a pulse widened delay signal and a pulse widened delay inverted signal, including: Pulses smaller than the filter width in the original input delay signal and the inverted input delay signal are filtered out respectively to obtain the filtered input delay signal and the inverted filtered input delay signal. The pulses smaller than a first preset width in the filtered input delay signal and the filtered input delay inverted signal are respectively widened to obtain the pulse widened delay signal and the pulse widened delay inverted signal, wherein the preset width interval is greater than the filtering width and less than or equal to the first preset width.
[0007] Optionally, pulses smaller than a first preset width in the filtered input delay signal and the filtered input delay inverted signal are widened respectively to obtain the pulse widening delay signal and the pulse widening delay inverted signal, including: The widths of all pulses of the filtered input delay signal and the filtered input delay inverted signal are obtained respectively; Determine whether the width of each pulse is less than a first preset width; If so, the pulse is extended outward to a width greater than or equal to the first preset width; If not, then keep the pulse width unchanged.
[0008] Optionally, extending the pulse outward to a width greater than or equal to the first preset width includes: The pulse extends outward along both the rising and falling edges, such that the width of the extended pulse is greater than or equal to the first preset width, and the position of the center point of the pulse remains unchanged before and after the extension. The falling edge represents the change from the first logic level state to the second logic level state.
[0009] Optionally, extending the pulse outward to a width greater than or equal to the first preset width includes: Keeping either the rising edge or falling edge position of the pulse unchanged, the other is expanded outward so that the width of the expanded pulse is greater than or equal to the first preset width, and the falling edge represents the change from the first logic level state to the second logic level state.
[0010] Optionally, before outputting the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower transistors of the same bridge arm to drive the corresponding motor, the method further includes: Determine whether the time interval between the pulse broadening delay signal and the pulse broadening delay inverted signal is greater than or equal to the first preset duration; If not, adjust the edge position of the pulse broadening delay signal and / or the pulse broadening delay inverted signal so that the time interval is greater than or equal to the first preset duration.
[0011] Optionally, before outputting the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower power transistors of the same bridge arm to drive the corresponding motor, the method further includes: Determine whether each pulse of the pulse widening delay signal and the pulse widening delay inverted signal is greater than or equal to the first preset width; If not, pulses with a width less than the first preset width are widened until the width of the pulse is greater than or equal to the first preset width.
[0012] According to a second aspect of the present invention, the present invention also provides a dual-motor drive system for implementing the dual-motor drive method as described above, comprising: A signal acquisition module is used to acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal is opposite to the logic level state of the original input signal. The signal delay module is used to delay the rising edge of the original input signal and the input inverted signal by a first preset time, respectively, to obtain the original input delayed signal and the input delayed inverted signal; The signal widening module is used to widen the pulses in the preset width range of the original input delay signal and the input delay inverted signal respectively, to obtain the pulse widened delay signal and the pulse widened delay inverted signal; The output module is used to output the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower tubes of the same bridge arm, respectively, to drive the corresponding motor.
[0013] According to a third aspect of the present invention, the present invention also provides an electronic device, including a processor and a memory; The memory is used to store code; The processor is used to execute the code in the memory to implement the dual-motor drive method as described above.
[0014] According to a fourth aspect of the invention, the invention also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the dual-motor drive method as described above.
[0015] Compared with the prior art, the technical solution of the embodiments of the present invention has the following beneficial effects: The present invention provides a dual-motor drive method, system, electronic device, and storage medium. By acquiring the original input signal and its inverted input signal, and delaying the rising edges of both signals by a first preset time, the invention obtains the original delayed input signal and the delayed inverted input signal. The rising edge represents a change from a second logic level to a first logic level. This effectively avoids the risk of shoot-through short circuits caused by simultaneous conduction of upper and lower power transistors on the same bridge arm by adding dead time to the original input signal and the inverted input signal. Furthermore, by widening the pulses within a preset width range in both the original delayed input signal and the delayed inverted input signal, the invention obtains the pulse-widened delayed signal and the pulse-widened delayed inverted signal. These signals are then output to the upper and lower power transistors on the same bridge arm to drive the corresponding motors. Therefore, by widening the narrow pulses within the preset width range, the minimum conduction time of the power devices is guaranteed. Thus, through hardware-level dual protection of drive signal dead zone isolation and minimum pulse width constraint, the safety and anti-distortion capability during dual-motor drive are improved. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating a dual-motor drive method according to an embodiment of the present invention; Figure 2 This is a timing diagram of relevant signals in a dual-motor driving method according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a dual-motor drive system according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0018] As mentioned in the background art, the present invention aims to address the technical problem of improving safety and anti-distortion capabilities in the dual-motor drive process.
[0019] In view of this, the present invention proposes a dual-motor driving method. This method involves acquiring an original input signal and its inverted input signal. The original input signal has a first logic level state and a second logic level state, where the level of the first logic level state is greater than that of the second logic level state. The inverted input signal has the opposite logic level state to the original input signal. The rising edges of the original input signal and the inverted input signal are delayed by a first preset time to obtain an original delayed input signal and an inverted input delayed signal. The rising edge represents a change from the second logic level state to the first logic level state. Pulses within a preset width range in the original delayed input signal and the inverted input delayed signal are pulse-widened to obtain a pulse-widened delayed signal and a pulse-widened delayed inverted signal. The pulse-widened delayed signal and the pulse-widened delayed inverted signal are output to the upper and lower power transistors of the same bridge arm to drive the corresponding motors. Thus, through hardware-level dual protection of drive signal dead-time isolation and minimum pulse width constraint, the safety and distortion resistance during dual-motor driving are improved.
[0020] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0021] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0022] Please refer to Figure 1 The embodiments of the present invention provide a dual-motor drive method, which may include: S100: Acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal is opposite to the logic level state of the original input signal.
[0023] In this embodiment, the original input signal and the inverted input signal are two complementary signals.
[0024] S200: Delay the rising edge of the original input signal and the input inverted signal by a first preset time to obtain the original input delayed signal and the input delayed inverted signal. The rising edge represents the change from the second logic level state to the first logic level state.
[0025] In this embodiment, the first preset duration ranges from 4μs to 7μs.
[0026] S300: Perform pulse widening on the pulses within a preset width range in the original input delay signal and the input delay inverted signal respectively, to obtain the pulse widened delay signal and the pulse widened delay inverted signal.
[0027] In this embodiment, a pulse can be understood as an effective level range of a signal within one cycle. It can be a range that is continuously in a first logic level state or a range that is continuously in a second logic level state.
[0028] S400: Outputs pulse widening delay signal and pulse widening delay inverted signal to the upper and lower power transistors of the same bridge arm respectively to drive the corresponding motor.
[0029] In this embodiment, by acquiring the original input signal and its inverted input signal, and delaying the rising edge of both signals by a first preset time, the original input delayed signal and the input delayed inverted signal are obtained. The rising edge represents a change from a second logic level state to a first logic level state. Therefore, by adding dead time to the original input signal and the inverted input signal, the risk of shoot-through short circuit caused by simultaneous conduction of the upper and lower power transistors on the same bridge arm is effectively avoided. Furthermore, by pulse widening of the pulses within a preset width range in the original input delayed signal and the input delayed inverted signal, pulse widened delayed signal and pulse widened delayed inverted signal are obtained. These signals are then output to the upper and lower power transistors on the same bridge arm to drive the corresponding motors. Therefore, by widening the narrow pulses within the preset width range, the minimum conduction time of the power devices is ensured. Thus, through hardware-level dual protection of drive signal dead time isolation and minimum pulse width constraint, the safety and anti-distortion capability during dual-motor drive are improved.
[0030] In this embodiment, steps S100 to S500 can all be executed in parallel within a programmable logic block, thereby avoiding the central processing unit from participating in the calculation of the above steps, eliminating the execution time difference between multiple signals, and enabling the generation delay of the complementary driving waveforms, namely the pulse broadening delay signal and the pulse broadening delay inversion signal, to reach the nanosecond level.
[0031] In one specific implementation, step S300, which involves pulse widening of pulses within a preset width range in both the original input delay signal and the input delay inverted signal to obtain a pulse widened delay signal and a pulse widened delay inverted signal, may include: S310: Filter out pulses smaller than the filter width in the original input delay signal and the input delay inverted signal respectively to obtain the filtered input delay signal and the filtered input delay inverted signal.
[0032] S320: Widen the pulses smaller than the first preset width in the filtered input delay signal and the filtered input delay inverted signal respectively to obtain the pulse widened delay signal and the pulse widened delay inverted signal, wherein the preset width interval is greater than the filtered width and less than or equal to the first preset width.
[0033] In this embodiment, the first preset width is the maximum value of the preset width range.
[0034] In this embodiment, the filter width can be set according to the frequency of the original input signal.
[0035] In this embodiment, through the step-by-step processing of steps S310 to S320, the pulses in the original input delay signal and the input delay inverted signal are graded and filtered according to their width: pulses with a pulse width smaller than the filter width are considered invalid pulses that can no longer carry effective driving information after dead-zone shrinkage and are directly filtered out, avoiding subsequent widening operations on pulses without driving significance and reducing unnecessary logic resource consumption; pulses with a pulse width greater than or equal to the filter width but less than the first preset width are considered pulses that still have effective driving information but whose width is insufficient to reliably operate the power device and need to be compensated, and are widened to the first preset width so that the widened pulses can be normally responded to by the power device. Since the first preset width is greater than the filter width, a width gradient is formed between filtering and widening, distinguishing between unrecoverable extremely narrow pulses and compensable narrow pulses, thus taking into account both the effectiveness of the signal and the driving reliability of the power device.
[0036] In an optional embodiment, step S320, which involves widening pulses smaller than a first preset width in both the filtered input delay signal and the filtered input delay inverted signal to obtain a pulse widening delay signal and a pulse widening delay inverted signal, may include: S321: Obtain the width of all pulses of the filtered input delay signal and the filtered input delay inverted signal, respectively.
[0037] S322: Determine whether the width of each pulse is less than the first preset width.
[0038] If so, proceed to S323: extend the pulse outward to a width greater than or equal to the first preset width.
[0039] If not, proceed to S324: keep the pulse width unchanged.
[0040] In this embodiment, the pulse width can be understood as the length of time the signal remains in the first logic level state, and the pulse width can also be understood as the length of time the signal remains in the second logic level state.
[0041] In this embodiment, pulses with a width less than a first preset width are widened to the first preset width, ensuring that the widened pulse width is sufficient for the power device to reliably perform turn-on and turn-off actions. This avoids the device's half-on / half-off state caused by narrow pulse driving and the resulting risk of device damage. For pulses with a width greater than or equal to the first preset width, their original width is kept unchanged, avoiding unnecessary width corrections to pulses that already meet the minimum pulse width constraint. Thus, the original duty cycle information of space vector pulse width modulation is preserved to the greatest extent, reducing the impact of pulse widening on the accuracy of output voltage vector synthesis.
[0042] In an optional implementation, S323: extending the pulse outward to a width greater than or equal to a first preset width may include: S3231: The pulse is extended outward along the rising edge and falling edge directions respectively, so that the width of the extended pulse is greater than or equal to the first preset width, and the position of the center point of the pulse remains unchanged before and after the extension. The falling edge represents the change from the first logic level state to the second logic level state.
[0043] In this embodiment, the pulse expands outward along both the rising and falling edges, while maintaining the same center point position before and after expansion. Since the center point position corresponds to the time centroid of the pulse within one PWM cycle in space vector pulse width modulation, keeping the center point unchanged ensures that the equivalent effect of the expanded pulse on the output voltage vector is consistent with that before expansion. This compensates for the pulse width while minimizing the offset of the output voltage vector synthesis angle caused by the expansion operation, thus reducing the torque ripple introduced by pulse expansion.
[0044] In another optional implementation, S323: extending the pulse outward to a width greater than or equal to the first preset width may include: S3232: Keep one of the rising edge position or the falling edge position of the pulse unchanged, and expand the other outward so that the width of the expanded pulse is greater than or equal to the first preset width, and the falling edge represents the change from the first logic level state to the second logic level state.
[0045] In this embodiment, either the rising edge position or the falling edge position of the pulse remains unchanged, while only the other is extended outward. Since only one edge is moved, the timing calculation required for the widening logic is less than that of the method of simultaneous expansion on both sides, reducing the logic resource occupation of the programmable logic block; at the same time, keeping one edge position unchanged ensures that the widened pulse maintains a definite timing relationship with adjacent switching events, avoiding accidental overlap between the pulse edge and adjacent pulse edges when expanding on both sides simultaneously, and reducing the complexity of dead-time verification.
[0046] In one specific embodiment, before step S400, where the pulse broadening delay signal and the pulse broadening delay inverted signal are respectively output to the upper power transistor and the lower power transistor of the same bridge arm to drive the corresponding motor, the method further includes: S401: Determine whether each pulse of the pulse widening delay signal and the pulse widening delay inverted signal is greater than or equal to the first preset width.
[0047] If not, proceed to S402: widen pulses whose width is less than the first preset width until the pulse width is greater than or equal to the first preset width.
[0048] If so, then enter S400: output the pulse widening delay signal and the pulse widening delay inverted signal to the upper power transistor and the lower power transistor of the same bridge arm respectively, so as to drive the corresponding motor.
[0049] In this embodiment, by performing a second check on the pulse widths of the pulse widening delay signal and the pulse widening delay inverted signal before outputting to the power transistor, a second widening is performed on pulses whose widths are still less than the first preset width after the aforementioned steps. Since the dead-time constraints and pulse widening operations between complementary channels may affect each other in the aforementioned dead-time insertion, pulse filtering, and pulse widening processing chain, for example, the widening of a pulse on one side may compress the effective width of the corresponding pulse in the complementary channel, causing pulses that originally met the minimum pulse width constraint to fail again after dead-time rechecking. Steps S401 and S402, as the final check stage before output, provide fallback compensation for narrow pulses remaining due to operational coupling in the aforementioned processing chain, ensuring that the width of each pulse finally output to the upper and lower power transistors is not less than the first preset width, thus eliminating the risk of power device damage caused by narrow pulse driving from the end of the signal chain.
[0050] In one specific embodiment, before step S400, which outputs the pulse broadening delay signal and the pulse broadening delay inverted signal to the upper and lower transistors of the same bridge arm to drive the corresponding motor, the following may also be included: S403: Determine whether the time interval between the pulse widening delay signal and the pulse widening delay inverted signal is greater than or equal to the first preset duration.
[0051] If not, proceed to S404: Adjust the edge position of the pulse widening delay signal and / or the pulse widening delay inverted signal so that the time interval is greater than or equal to the first preset duration.
[0052] In this embodiment, if the time interval between the pulse widening delay signal and the pulse widening delay inversion signal is greater than or equal to the first preset duration, then step S400 is entered, and the pulse widening delay signal and the pulse widening delay inversion signal are output to the upper and lower tubes of the same bridge arm respectively to drive the corresponding motor.
[0053] In this embodiment, step S403 verifies the time interval between the pulse-widened delay signal and the pulse-widened delay inverted signal before outputting the pulse-widened delay signal and the pulse-widened delay signal to the power transistor. When the time interval between the two signals is less than a first preset duration, step S404 adjusts the edge position of one or both signals to expand the time interval to not less than the first preset duration. Since the pulse-widened edge extends towards the complementary channel in the aforementioned pulse-widening operation, it may compress the dead zone interval between the complementary signals, causing the two signals that originally met the dead zone constraint to overlap or have insufficient dead zone after widening. Steps S403 and S404 serve as dead zone verification steps before output, ensuring that after any pulse width compensation operation is completed, the complementary channels always maintain a dead zone isolation of not less than the first preset duration, fundamentally preventing DC bus short circuits caused by the simultaneous conduction of the upper and lower transistors of the same bridge arm.
[0054] Please refer to Figure 2 A timing diagram of relevant signals in a dual-motor driving method according to an embodiment of the present invention.
[0055] exist Figure 2 In this diagram, Vin1 represents the original input signal; Vin2 represents the inverted input signal; Vin3 represents the original delayed input signal; Vin4 represents the delayed inverted input signal; Vout1 represents the pulse widening delay signal; and Vout2 represents the pulse widening delay inverted signal.
[0056] exist Figure 2At time t1, the original input signal Vin1 is at the rising edge, the input inverted signal Vin2 is at the falling edge, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the falling edge, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the falling edge.
[0057] During the time period t1~t2, the original input signal Vin1 is at the first logic level, the input inverted signal Vin2 is at the second logic level, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the second logic level.
[0058] At time t2, the original input signal Vin1 is at the first logic level, the input inverted signal Vin2 is at the second logic level, the original input delay signal Vin3 is at the rising edge, the input delay inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the rising edge, and the pulse widening delay inverted signal Vout2 is at the second logic level.
[0059] During the time period t2~t3, the original input signal Vin1 is at the first logic level, the input inverted signal Vin2 is at the second logic level, the original input delayed signal Vin3 is at the first logic level, the input delayed inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the first logic level, and the pulse widening delay inverted signal Vout2 is at the second logic level.
[0060] At time t3, the original input signal Vin1 is at the falling edge, the input inverted signal Vin2 is at the rising edge, the original input delay signal Vin3 is at the falling edge, the input delay inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the first logic level, and the pulse widening delay inverted signal Vout2 is at the second logic level.
[0061] During the time period t3~t4, the original input signal Vin1 is at the second logic level, the input inverted signal Vin2 is at the first logic level, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the first logic level, the pulse widening delay signal Vout1 is at the first logic level, and the pulse widening delay inverted signal Vout2 is at the second logic level.
[0062] At time t4, the original input signal Vin1 is at the second logic level, the input inverted signal Vin2 is at the first logic level, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the rising edge, the pulse widening delay signal Vout1 is at the falling edge, and the pulse widening delay inverted signal Vout2 is at the rising edge.
[0063] During the time period t4~t5, the original input signal Vin1 is at the second logic level, the input inverted signal Vin2 is at the first logic level, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the first logic level, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the first logic level.
[0064] At time t5, the original input signal Vin1 is at the rising edge, the input inverted signal Vin2 is at the falling edge, the original input delay signal Vin3 is at the second logic level, the input delay inverted signal Vin4 is at the falling edge, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the first logic level.
[0065] During the time period t5~t6, the original input signal Vin1 is at the first logic level, the input inverted signal Vin2 is at the second logic level, the original input delayed signal Vin3 changes from the second logic level to the rising edge and then back to the first logic level, the input delayed inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the first logic level.
[0066] At time t6, the original input signal Vin1 is at the falling edge, the input inverted signal Vin2 is at the rising edge, the original input delay signal Vin3 is at the falling edge, the input delay inverted signal Vin4 is at the falling edge, the input delay inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the first logic level.
[0067] During the time period t6~t7, the original input signal Vin1 is at the second logic level, the input inverted signal Vin2 is at the first logic level, the original input delayed signal Vin3 is at the second logic level, the input delayed inverted signal Vin4 is at the second logic level, the pulse widening delay signal Vout1 is at the second logic level, and the pulse widening delay inverted signal Vout2 is at the first logic level.
[0068] As can be seen, after processing by the method of this embodiment, the pulse broadening delay signal and the pulse broadening delay inverted signal are not simultaneously in the first logic level state at any time. That is, a dead interval of not less than the first preset duration is always maintained between the complementary signals, avoiding the simultaneous conduction of the upper and lower transistors of the same bridge arm. At the same time, pulses with a pulse width smaller than the filter width after dead-time insertion are filtered out, eliminating invalid pulses that lose their driving significance due to excessively narrow pulse widths, and avoiding interference introduced by subsequent meaningless broadening operations. For pulses with a pulse width not less than the filter width but still less than the first preset width after dead-time insertion, they are broadened to not less than the first preset width, ensuring that the conduction time of each output pulse is sufficient for the power device to complete a reliable switching operation.
[0069] Accordingly, please refer to Figure 3 The present invention also provides a dual-motor drive system for implementing the dual-motor drive method described above, which may include: The signal acquisition module 100 is used to acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal is opposite to the logic level state of the original input signal. The signal delay module 200 is used to delay the rising edge of the original input signal and the input inverted signal by a first preset time, respectively, to obtain the original input delayed signal and the input delayed inverted signal; The signal widening module 300 is used to widen the pulses in the preset width range of the original input delay signal and the input delay inverted signal respectively, and obtain the pulse widened delay signal and the pulse widened delay inverted signal. The output module 400 is used to output the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower tubes of the same bridge arm, respectively, to drive the corresponding motors.
[0070] In addition, please refer to Figure 4 The present invention also provides an electronic device 500, comprising: a processor 510 and a memory 520; Memory 520 is used to store code.
[0071] Processor 510 is used to execute code in memory 520 to implement the dual-motor drive method described above.
[0072] The processor 510 is configured to execute the bicuspid aortic valve malformation classification method described above by executing executable instructions.
[0073] In this embodiment, the processor 510 can communicate with the memory 520 via the bus 530.
[0074] Embodiments of the present invention also provide a storage medium storing a computer program that, when executed by a processor, implements the dual-motor drive method as described above.
[0075] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0076] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A dual-motor drive method, characterized in that, include: Acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal has the opposite logic level state to the original input signal. The rising edges of the original input signal and the input inverted signal are delayed by a first preset time to obtain the original input delayed signal and the input delayed inverted signal, wherein the rising edge represents the change from the second logic level state to the first logic level state; Pulse widening is performed on the pulses within a preset width range in the original input delay signal and the input delay inverted signal to obtain the pulse widened delay signal and the pulse widened delay inverted signal, respectively. The pulse widening delay signal and the pulse widening delay inverted signal are respectively output to the upper power transistor and the lower power transistor of the same bridge arm to drive the corresponding motor.
2. The dual-motor drive method as described in claim 1, characterized in that, Pulse widening is performed on pulses within a preset width range in both the original input delay signal and the input delay inverted signal to obtain a pulse widened delay signal and a pulse widened delay inverted signal, including: Pulses smaller than the filter width in the original input delay signal and the inverted input delay signal are filtered out respectively to obtain the filtered input delay signal and the inverted filtered input delay signal. The pulses smaller than a first preset width in the filtered input delay signal and the filtered input delay inverted signal are respectively widened to obtain the pulse widened delay signal and the pulse widened delay inverted signal, wherein the preset width interval is greater than the filtering width and less than or equal to the first preset width.
3. The dual-motor drive method as described in claim 2, characterized in that, The pulses smaller than a first preset width in the filtered input delay signal and the filtered input delay inverted signal are respectively widened to obtain the pulse widened delay signal and the pulse widened delay inverted signal, including: The widths of all pulses of the filtered input delay signal and the filtered input delay inverted signal are obtained respectively; Determine whether the width of each pulse is less than a first preset width; If so, the pulse is extended outward to a width greater than or equal to the first preset width; If not, then keep the pulse width unchanged.
4. The dual-motor drive method as described in claim 3, characterized in that, Extending the pulse outward to a width greater than or equal to the first preset width includes: The pulse extends outward along both the rising and falling edges, such that the width of the extended pulse is greater than or equal to the first preset width, and the position of the center point of the pulse remains unchanged before and after the extension. The falling edge represents the change from the first logic level state to the second logic level state.
5. The dual-motor drive method as described in claim 3, characterized in that, Extending the pulse outward to a width greater than or equal to the first preset width includes: Keeping either the rising edge or falling edge position of the pulse unchanged, the other is expanded outward so that the width of the expanded pulse is greater than or equal to the first preset width, and the falling edge represents the change from the first logic level state to the second logic level state.
6. The dual-motor drive method as described in claim 1, characterized in that, Before outputting the pulse broadening delay signal and the pulse broadening delay inverted signal to the upper and lower transistors of the same bridge arm to drive the corresponding motors, the method further includes: Determine whether the time interval between the pulse broadening delay signal and the pulse broadening delay inverted signal is greater than or equal to the first preset duration; If not, adjust the edge position of the pulse broadening delay signal and / or the pulse broadening delay inverted signal so that the time interval is greater than or equal to the first preset duration.
7. The dual-motor drive method as described in claim 2, characterized in that, Before outputting the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower power transistors of the same bridge arm to drive the corresponding motors, the method further includes: Determine whether each pulse of the pulse widening delay signal and the pulse widening delay inverted signal is greater than or equal to the first preset width; If not, pulses with a width less than the first preset width are widened until the width of the pulse is greater than or equal to the first preset width.
8. A dual-motor drive system, characterized in that, A method for implementing the dual-motor drive method as described in any one of claims 1 to 7 includes: A signal acquisition module is used to acquire the original input signal and the input inverted signal of the original input signal. The original input signal has a first logic level state and a second logic level state. The level of the first logic level state is greater than the level of the second logic level state. The input inverted signal is opposite to the logic level state of the original input signal. The signal delay module is used to delay the rising edge of the original input signal and the input inverted signal by a first preset time, respectively, to obtain the original input delayed signal and the input delayed inverted signal; The signal widening module is used to widen the pulses in the preset width range of the original input delay signal and the input delay inverted signal respectively, to obtain the pulse widened delay signal and the pulse widened delay inverted signal; The output module is used to output the pulse widening delay signal and the pulse widening delay inverted signal to the upper and lower tubes of the same bridge arm, respectively, to drive the corresponding motor.
9. An electronic device, characterized in that, Including processor and memory; The memory is used to store code; The processor is configured to execute code in the memory to implement the dual-motor drive method according to any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, which, when executed by a processor, implements the dual-motor drive method according to any one of claims 1 to 7.
