Mode management method, device and computer storage medium of electric drive inverter

By configuring the peripherals of the electric drive inverter according to the working mode on the motor control chip, the problem of mismatch in resource configuration in the prior art is solved, the compatibility between motor control and boost charging functions is realized, and the electric drive inverter is improved The resource utilization efficiency of the converter.

CN117977991BActive Publication Date: 2024-12-03格至达智能科技(江苏)有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410165028.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-05
Publication Date
2024-12-03
Estimated Expiration
2044-02-05

AI Technical Summary

Technical Problem

The prior art cannot meet the motor control function and boost charging function at the same time on the same chip resource, resulting in the mismatch of resource configuration when the electric drive inverter is driven to drive the wheels and boost charging.

Method used

By configuring the timer output module, dead zone module and three-phase current sampling ADC module on the motor control chip, the initial configuration of the motor control mode and the boost charging mode is realized, ensuring that the chip peripherals are in different functional scenarios adaptation.

Benefits of technology

It realizes that the requirements of motor control function and boost charging function are met simultaneously based on the same chip resource, and improves the resource utilization efficiency and functional compatibility of the electric drive inverter in different modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117977991B_ABST
    Figure CN117977991B_ABST
Patent Text Reader

Abstract

The present application relates to the field of vehicle technology, and in particular to a mode management method, device and computer storage medium of an electric drive inverter, the method is applied to a motor control chip, the peripherals of the chip include a timer output module for generating PWM waves, a dead zone module for generating PWM waves with inserted dead zones and complementary upper and lower bridges, and a three-phase current sampling ADC module; specifically, the working mode of the electric drive inverter is obtained; when the working mode is the motor control mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are first configured according to the motor control mode; when the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are second configured according to the boost charging mode. The present application aims to meet the requirements of both the motor control function and the boost charging function based on the same chip resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a mode management method, device and computer storage medium for an electric drive inverter. Background Art

[0002] At present, in addition to driving the wheels, the electric drive inverter for new energy vehicles also provides a boost charging function. When controlling the motor, a PWM wave with center alignment and complementary upper and lower bridges is required, and the three-phase current is triggered and sampled synchronously. When boosting and charging, in order to reduce the current ripple, the three-phase PWM is staggered and each phase current is sampled at the midpoint of each phase PWM wave opening, and only the lower bridge module needs to be opened. The configuration of the PWM wave-related peripherals and ADC peripherals on the main control chip used for these two functions is different. However, the existing technology only describes the implementation principle of a single function, that is, it is impossible to meet the requirements of the motor control function and the boost charging function at the same time based on the same chip resources. Summary of the invention

[0003] The main purpose of the present application is to provide a mode management method, device and computer storage medium for an electric drive inverter, aiming to simultaneously meet the motor control function and the boost charging function based on the same chip resources.

[0004] To achieve the above-mentioned purpose, the present application provides a mode management method of an electric drive inverter, wherein the mode management method of the electric drive inverter is applied to a motor control chip, and the motor control chip is electrically connected to a timer output module, a dead zone module and a three-phase current sampling ADC module respectively;

[0005] The mode management method of the electric drive inverter includes:

[0006] Get the working mode of the electric drive inverter;

[0007] When the working mode is the motor control mode, performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode, wherein the first configuration process is an initialization configuration of the motor control mode;

[0008] When the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are subjected to a second configuration process according to the boost charging mode, and the second configuration process is an initialization configuration of the boost charging mode.

[0009] Optionally, the step of performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode includes:

[0010] Configuring the timer output module to be initialized to the motor control mode;

[0011] Configuring the dead zone module to be initialized to the motor control mode;

[0012] The three-phase current sampling ADC module is configured to be initialized to the motor control mode.

[0013] Optionally, the step of configuring the timer output module to be initialized to the motor control mode includes:

[0014] Configuring the three-phase PWM wave channel of the timer output module to generate a center-aligned three-phase PWM wave, and determining the period of the three-phase PWM wave;

[0015] The current trigger channel of the timer output module is configured to trigger the three-phase current sampling ADC module to perform current sampling at the beginning of the cycle.

[0016] Optionally, the step of configuring the dead zone module to be initialized to the motor control mode comprises:

[0017] Configure the dead time of the dead zone module, wherein the dead time includes a rising edge dead time and a falling edge dead time;

[0018] A three-phase PWM wave with a dead zone inserted and upper and lower bridges complementary is generated according to the rising edge dead zone time and the falling edge dead zone time.

[0019] Optionally, the three-phase current sampling ADC module includes a U-phase current sampling ADC channel, a V-phase current sampling ADC channel and a W-phase current sampling ADC channel;

[0020] The step of configuring the three-phase current sampling ADC module to be initialized to the motor control mode comprises:

[0021] Configure the three-phase current sampling ADC module to be in master-slave mode;

[0022] The step of configuring the three-phase current sampling ADC module in master-slave mode includes:

[0023] When the current trigger channel of the timer output module triggers the U-phase current sampling ADC channel to sample the U-phase current, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel sample the V-phase current and the W-phase current respectively.

[0024] Optionally, the step of performing a second configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the boost charging mode includes:

[0025] The three-phase PWM wave channel of the timer output module is configured to adjust the center-aligned and left-right symmetrical three-phase PWM wave to a three-phase PWM wave with staggered three-phase duty ratios;

[0026] The dead zone module is configured to be initialized to the boost charging mode, and the three-phase current sampling ADC module is configured to be initialized to the boost charging mode.

[0027] Optionally, the step of configuring the dead zone module to be initialized to the boost charging mode includes:

[0028] The dead zone module is configured to switch the upper bridge module of the electric drive inverter from a switch switching state to a cut-off state, and the dead zone time is adjusted to the dead zone configuration time corresponding to the boost charging mode.

[0029] Optionally, the step of configuring the three-phase current sampling ADC module to be initialized to the boost charging mode includes:

[0030] Turn off the master-slave mode of the three-phase current sampling ADC module, and enable the U-phase current sampling ADC channel, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel to respectively sample the U-phase current, the V-phase current and the W-phase current at the midpoint of their respective three-phase duty cycles.

[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a mode management device of an electric drive inverter, wherein the mode management device of the electric drive inverter includes a memory, a processor, and a mode management program of the electric drive inverter stored in the memory and executable on the processor, and when the mode management program of the electric drive inverter is executed by the processor, the steps of the mode management method of the electric drive inverter are implemented.

[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer storage medium, on which a mode management program of an electric drive inverter is stored, and when the mode management program of the electric drive inverter is executed by a processor, the steps of the above-mentioned mode management method of the electric drive inverter are implemented.

[0033] The present application provides a mode management method for an electric drive inverter, which realizes the requirements of motor control function and boost charging function based on the same chip resource. The mode management method for the electric drive inverter is applied to the motor control chip, and the motor control chip is electrically connected to the timer output module, the dead zone module and the three-phase current sampling ADC module respectively. Specifically, the motor control chip can obtain the working mode of the electric drive inverter in time; when the working mode is the motor control mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are first configured according to the motor control mode, and the first configuration is the initialization configuration of the motor control mode; when the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are second configured according to the boost charging mode, and the second configuration is the initialization configuration of the boost charging mode. That is, after the motor control chip in the present application determines the working mode of the electric drive inverter, the corresponding mode function scene can be accurately obtained according to the working mode, and then the motor control chip performs the corresponding chip peripheral configuration processing according to each mode function scene, so as to realize the requirements of motor control function and boost charging function based on the same chip resource. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of the first embodiment of the mode management method of the electric drive inverter of the present application;

[0035] Figure 2 This is a functional architecture diagram involved in the embodiment of the present application;

[0036] Figure 3 It is a flow chart of the second embodiment of the mode management method of the electric drive inverter of the present application;

[0037] Figure 4 It is a schematic diagram of the center-aligned three-phase PWM wave generation principle and current triggering principle involved in the embodiment of the present application;

[0038] Figure 5 This is a schematic diagram of the implementation scheme of the embodiment of the present application, which involves inserting a dead zone module into a dead zone and generating a PWM wave that complements the upper and lower bridges;

[0039] Figure 6 is a circuit diagram of a motor control mode related to an embodiment of the present application;

[0040] Figure 7 It is a schematic diagram of a scenario of a motor control mode involved in the embodiment of the present application;

[0041] Figure 8 is another schematic diagram of a motor control mode involved in an embodiment of the present application;

[0042] Fig. 9 1 is a circuit diagram of a boost charging mode according to an embodiment of the present application;

[0043] Fig.10 This is a schematic diagram of a scenario involving a boost charging mode in an embodiment of the present application;

[0044] Fig.11 This is a schematic diagram of the structure of a mode management device for an electric drive inverter involved in an embodiment of the present application.

[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] The present application embodiment provides a mode management method for an electric drive inverter, referring to Figure 1 As shown, Figure 1 It is a flow chart of the first embodiment of the mode management method of the electric drive inverter of the present application.

[0047] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0048] In this embodiment, the mode management method of the electric drive inverter of the present application is applied to a motor control chip, and the motor control chip is electrically connected to a timer output module, a dead zone module, and a three-phase current sampling ADC module, respectively, wherein the timer output module, the dead zone module, and the three-phase current sampling ADC module can be peripherals of the motor control chip, that is, the motor control chip and its peripherals can constitute a complete microcontroller chip. The execution subject of the present application will not be described in detail in the following embodiments.

[0049] The mode management method of the electric drive inverter of the present application includes:

[0050] Step S10: obtaining the working mode of the electric drive inverter;

[0051] In this embodiment, the electric drive inverter can be integrated into the electric vehicle. Figure 2 , Figure 2This is a functional architecture diagram involved in the embodiment of the present application. The motor control chip runs motor control application layer software and underlying complex drive software. Specifically, when the motor control application layer software receives a mode request sent by the electric vehicle controller that is a motor control mode, such as a torque control mode, the motor control application layer software generates a PWM mode request corresponding to the motor control mode and transmits it to the underlying complex drive software to initialize the various peripherals of the mode, which can accurately determine that the working mode of the electric drive inverter is the motor control mode.

[0052] Furthermore, in another embodiment, when the motor control application layer software receives a mode request sent by the electric vehicle controller that is a boost charging mode, a PWM mode corresponding to the boost charging mode request corresponding to the vehicle mode request is generated and transmitted to the underlying complex driving software and each peripheral of the mode is initialized. The underlying complex driving software responds to the boost charging request and can accurately determine that the working mode of the electric drive inverter is the boost charging mode.

[0053] Step S20: When the working mode is the motor control mode, a first configuration process is performed on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode, wherein the first configuration process is an initialization configuration of the motor control mode.

[0054] In this embodiment, refer to Figure 2 When the working mode is the motor control mode, the underlying complex driver software performs the first configuration processing on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode. Specifically, the timer output module, the dead zone module and the three-phase current sampling ADC module are initialized to the chip peripheral configuration corresponding to the motor control mode. For example, the three-phase PWM wave channel of the timer output module is configured to generate a center-aligned three-phase PWM wave, and the current trigger channel of the timer output module is configured to output the U-phase trigger current to the three-phase current sampling ADC module at the beginning of the cycle. At this time, the three-phase current sampling ADC module is configured in master-slave mode, that is, at the same time when the three-phase current sampling ADC module samples the U-phase current of the motor according to the U-phase trigger current sent by the timer output module, the three-phase current sampling ADC module is enabled to sample the V-phase current and W-phase current of the motor respectively, thereby ensuring the synchronous triggering and conversion of the three-phase current sampling ADC module and realizing the synchronous triggering sampling of the three-phase current; in addition, the dead time of the dead zone module is also configured so that the center-aligned three-phase PWM wave output by the timer output module passes through the dead zone module, and then outputs the three-phase PWM wave with complementary upper and lower bridges and inserted in the dead zone (that is, the three-phase PWM wave with complementary upper and lower bridges and inserted in the dead zone is finally generated, which is center-aligned and left-right symmetrical).

[0055] It should be noted that the first configuration process is an initialization configuration of the motor control mode.

[0056] Step S30: When the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are subjected to a second configuration process according to the boost charging mode, wherein the second configuration process is an initialization configuration of the boost charging mode.

[0057] In this embodiment, refer to Figure 2 When the working mode is the boost charging mode, the underlying complex driver software performs the second configuration processing on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the boost charging mode. Specifically, the timer output module, the dead zone module and the three-phase current sampling ADC module are initialized to the chip peripheral configuration corresponding to the boost charging mode. For example, the underlying complex driver software performs the initialization configuration of the boost charging mode on the timer output module, the dead zone module and the three-phase current sampling ADC module. Specifically, the timer module is configured to generate a PWM waveform with UVW three-phase staggered opening, and the preset trigger signal of the corresponding phase is configured in the U current trigger channel, the V current trigger channel, and the W current trigger channel of the timer output module to the current sampling ADC channel of the corresponding phase in the three-phase current sampling ADC module, and then the current sampling ADC module of the corresponding phase is enabled for sampling according to each preset trigger current; in addition, the dead zone module is configured to close the dead zone time, and the PWM wave output by the upper bridge module is configured to always keep a low level (that is, the boost charging mode does not require the upper bridge module to be opened), and the ADC is configured to close the UVW three-phase current master-slave mode.

[0058] It should be noted that the preset trigger signal of the corresponding phase may include a U-phase trigger edge, a V-phase trigger edge and a W-phase trigger edge.

[0059] The three-phase current sampling ADC module includes a U-phase current sampling ADC channel, a V-phase current sampling ADC channel and a W-phase current sampling ADC channel, and the current sampling ADC channel of the corresponding phase in the three-phase current sampling ADC module can be a U-phase current sampling ADC channel, a V-phase current sampling ADC channel or a W-phase current sampling ADC channel. For example, after the U-phase current sampling ADC channel is connected to the U current trigger channel to output the U-phase trigger edge, the U-phase current of the motor is sampled; after the V-phase current sampling ADC channel is connected to the V current trigger channel to output the V-phase trigger edge, the V-phase current of the motor is sampled; after the W-phase current sampling ADC channel is connected to the W-phase trigger edge output by the W current trigger channel, the W-phase current of the motor is sampled. In addition, the trigger edge of the corresponding phase can be the edge position where the digital signal jumps from a low level (0) to a high level (1), or from a high level to a low level. The above is only one implementation of the trigger edge of the corresponding phase, and this application does not impose any restrictions here.

[0060] In addition, it should be noted that, referring to Figure 2 The motor control chip (i.e., microcontroller) can use the Infineon Tricore platform, wherein the Infineon Tricore platform can also include microcontroller peripherals such as a timer output module, a dead zone module, and a three-phase current sampling ADC module, that is, the Infineon Tricore platform is electrically connected to the microcontroller peripherals. In addition, the microcontroller peripherals can include a timer output module, a dead zone module, and a three-phase current sampling ADC module.

[0061] In a specific embodiment, refer to Figure 2 In boost charging mode or motor control mode, the motor control software generates the channel comparison value of the timer output module and goes to the timer output module and dead zone module of the motor control chip peripheral to generate the UVW upper and lower bridge PWM waveforms and generate the current sampling trigger edge to touch the ADC module to trigger current sampling for motor control and boost charging control. That is, this application is based on the Infineon Tricore platform, and proposes a method of switching different timer output modules, dead zone modules and ADC module configurations to achieve the generation of center-aligned and upper and lower bridge complementary PWM waves and three-phase current synchronous trigger sampling in motor control mode, as well as staggered opening of the three-phase PWM to reduce current ripple in boost charging mode and sampling of each phase current at the midpoint of each phase PWM wave opening, and realize flexible switching of the two mode function scenarios.

[0062] It should be noted that, refer to Figure 2 , the motor control software can include application layer software and underlying complex driver software.

[0063] In summary, the present application provides a mode management method for an electric drive inverter that realizes the requirements of motor control function and boost charging function based on the same chip resource. The mode management method of the electric drive inverter is applied to the motor control chip, and the motor control chip is electrically connected to the timer output module, the dead zone module and the three-phase current sampling ADC module respectively. Specifically, the motor control chip can obtain the working mode of the electric drive inverter in time; when the working mode is the motor control mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are first configured according to the motor control mode, and the first configuration is the initialization configuration of the motor control mode; when the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are second configured according to the boost charging mode, and the second configuration is the initialization configuration of the boost charging mode. That is, after the motor control chip in the present application determines the working mode of the electric drive inverter, the corresponding mode function scene can be accurately obtained according to the working mode, and then the motor control chip performs the corresponding chip peripheral configuration processing according to each mode function scene, so as to realize the requirements of motor control function and boost charging function based on the same chip resource.

[0064] Further, based on the first embodiment of the mode management method of the electric drive inverter of the present application, a second embodiment of the mode management method of the electric drive inverter of the present application is proposed, referring to Figure 3 , Figure 3 It is a flow chart of the second embodiment of the mode management method of the electric drive inverter of the present application.

[0065] Further, in some feasible embodiments, the above step S20: performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode may also include the following implementation steps:

[0066] Step S201: configuring the timer output module to be initialized to the motor control mode.

[0067] In this embodiment, the three-phase PWM wave channel of the timer output module is configured to generate a center-aligned three-phase PWM wave and determine the period of the three-phase PWM wave; then the current trigger channel of the timer output module is configured to trigger the three-phase current sampling ADC module to perform current sampling at the beginning of the period.

[0068] Step S202: configuring the dead zone module to be initialized to the motor control mode.

[0069] In this embodiment, the rising edge dead zone time and the falling edge dead zone time of the dead zone module are configured. After the dead zone module is connected to the center-aligned three-phase PWM wave output by the timer, the configured rising edge dead zone time and the falling edge dead zone time are respectively inserted into the center-aligned three-phase PWM wave (that is, the dead zone module inserts the dead zone on the basis of the center-aligned three-phase PWM wave), so that the three-phase PWM wave with complementary upper and lower bridges can be obtained, and finally the three-phase PWM wave with center alignment, dead zone insertion and complementary upper and lower bridges is output through the dead zone module.

[0070] It should be noted that the rising edge dead time and the falling edge dead time can be customized according to application requirements, and this application does not impose any restrictions here.

[0071] Step S203: configuring the three-phase current sampling ADC module to be initialized to the motor control mode.

[0072] In this embodiment, the three-phase current sampling ADC module is configured in master-slave mode. Specifically, the U-phase current sampling ADC channel of the U-phase current sampling ADC channel is configured as the master; the V-phase current sampling ADC channel of the V-phase current sampling ADC channel, and the W-phase current sampling ADC channel of the W-phase current sampling ADC channel are configured as slaves. By only triggering the U-phase current sampling ADC channel, the simultaneous conversion of the three-phase current sampling ADC channels is achieved.

[0073] Furthermore, in some other feasible embodiments, the above step S201: configuring the timer output module to be initialized to the motor control mode may also include the following implementation steps:

[0074] Step S2011: configuring the three-phase PWM wave channel of the timer output module to generate a center-aligned three-phase PWM wave, and determining the period of the three-phase PWM wave;

[0075] Step S2012: configuring the current trigger channel of the timer output module to trigger the three-phase current sampling ADC module to perform current sampling at the start time of the cycle.

[0076] Further, in some feasible embodiments, the above step S202: configuring the dead zone module to be initialized to the motor control mode may also include the following implementation steps:

[0077] Step S2021: configuring the dead time of the dead time module, wherein the dead time includes a rising edge dead time and a falling edge dead time;

[0078] Step S2022: Generate a three-phase PWM wave with a dead zone inserted and upper and lower bridges complementary according to the rising edge dead zone time and the falling edge dead zone time.

[0079] In this embodiment, the dead time of the dead zone module is configured, wherein the dead time includes a rising edge dead time and a falling edge dead time; and after the dead time of the dead zone module is configured, the center-aligned three-phase PWM wave output by the timer output module passes through the rising edge dead time and the falling edge dead time of the dead zone module, and then outputs a three-phase PWM wave with complementary upper and lower bridges and inserted in the dead zone (i.e., a center-aligned and left-right symmetrical three-phase PWM wave).

[0080] Further, in some other feasible embodiments, the three-phase current sampling ADC module includes a U-phase current sampling ADC channel, a V-phase current sampling ADC channel and a W-phase current sampling ADC channel. In the above step S203: configuring the three-phase current sampling ADC module to be initialized to the motor control mode, the following implementation steps may also be included:

[0081] Step S2031: configuring the three-phase current sampling ADC module to be in master-slave mode.

[0082] The above step S2031: configuring the three-phase current sampling ADC module to be in master-slave mode, may also include the following implementation steps:

[0083] When the current trigger channel of the timer output module triggers the U-phase current sampling ADC channel to sample the U-phase current, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel sample the V-phase current and the W-phase current respectively.

[0084] In this embodiment, the three-phase current sampling ADC module is configured as a master-slave mode, that is, the U-phase current sampling ADC channel is configured as the master, and the V and W-phase current sampling ADC channels are configured as slaves, and the three-phase current sampling ADC channels are converted simultaneously by triggering only the U-phase current sampling ADC channel. Specifically, when the current trigger channel of the timer output module triggers the U-phase current sampling ADC channel to perform current sampling on the U-phase current, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel perform current sampling on the V-phase current and the W-phase current, respectively.

[0085] In a specific embodiment, the motor corresponding to the motor control chip is determined; when the U-phase current sampling ADC channel in the three-phase current sampling ADC module performs current sampling on the U-phase current of the motor, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel in the three-phase current sampling ADC module are enabled to perform current sampling on the V-phase current of the motor and the W-phase current of the motor respectively, thereby realizing synchronous triggering sampling of the three-phase current.

[0086] Further, in another embodiment, after completing the first configuration process, the circuit diagram in the motor control mode is as follows: Figure 6As shown, the implementation principle of three-phase PWM wave and current triggering in motor control mode is as follows:

[0087] (1) Implementation of the center alignment and left-right symmetry of the three-phase PWM wave in each cycle. The reference channel of the timer output module is configured to reset when the timer reaches the maximum value of the cycle, and the channel comparison value of the reference channel is adjusted according to the underlying complex driver software. Specifically, the channel comparison value is adjusted to the adjustment value corresponding to the UVW three-phase duty cycle (for example, the UVW three-phase duty cycle is 50%), so that the reference channel generates a three-phase PWM wave with a UVW three-phase duty cycle. The UVW timer channel of the timer output module is configured to reset when the three-phase PWM wave channel is reset; and the center alignment and left-right symmetry of the three-phase PWM wave are achieved by adding or subtracting half of the duty cycle at the midpoint of the reference channel, that is, the unified management of the center alignment of the UVW three-phase timer channel and its cycle is achieved through the reference channel, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the center-aligned three-phase PWM wave generation principle and current triggering principle involved in the embodiment of the present application. In addition, the UVW three-phase duty cycle of 50% is only one implementation of this embodiment, and this application does not make any limitation here.

[0088] (2) Selection of current triggering moment. The current triggering moment is set at the beginning of each cycle, that is, at the midpoint where all three phases are at a low level, to avoid current fluctuations during sampling caused by PWM switching. Figure 4 shown.

[0089] (3) Inserting dead zone and complementing the upper and lower bridges of UVW are realized by configuring the dead zone module. The corresponding dead zone module channel dead zone time is configured so that it can output the waveform with complementary upper and lower bridges and inserted dead zone, such as Figure 5 As shown, Figure 5 This is a schematic diagram of the embodiment of the present application, in which a dead zone module is inserted into a dead zone and a PWM wave complementary to the upper and lower bridges is generated. Figure 5 Only take U phase as an example.

[0090] (4) For the extremely large duty cycle close to 1 and the extremely small duty cycle close to 0, special treatment of the minimum narrow pulse width and dead time must be considered.

[0091] When the UVW duty cycle is in the maximum duty cycle range, that is, when the UVW duty cycle is greater than 1 minus the duty cycle caused by the dead zone and the duty cycle caused by the minimum narrow pulse, the output is based on the maximum duty cycle of 1. At this time, the output result of the dead zone module is that the lower bridge module remains normally low, and the upper bridge module maintains a low level with a dead zone time in each cycle, such as Figure 7 As shown, Figure 7 : is a schematic diagram of a motor control mode involved in the embodiment of the present application. Figure 7Take the U phase as an example only. Specifically, take the PWM waveform of the U phase as an example. When the duty cycle is very large, the output of the lower bridge module of the dead zone module is always low, and the upper bridge module has a low-level waveform during the dead zone time.

[0092] When the UVW duty cycle is in the extremely small duty cycle range, that is, when the UVW duty cycle is less than the dead time duty cycle and the minimum narrow pulse duty cycle, the output is based on the minimum duty cycle of 0. At this time, the output result of the dead zone module is that the upper bridge module remains normally low, and the lower bridge module maintains a low level with a dead time in each cycle, such as Figure 8 As shown, Figure 8 It is another schematic diagram of the motor control mode involved in the embodiment of the present application. Specifically, taking the PWM waveform of the U phase as an example, when the duty cycle is very small, the upper bridge module output of the dead zone module is always low, and the lower bridge module has a low level waveform during the dead zone time.

[0093] Further, in some feasible embodiments, the above step S30: performing a second configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the boost charging mode may also include the following implementation steps:

[0094] Step S301: configuring the three-phase PWM wave channel of the timer output module to adjust the center-aligned and left-right symmetrical three-phase PWM wave to a three-phase PWM wave with staggered duty cycles;

[0095] In this embodiment, when the working mode is the boost charging mode, the three-phase PWM wave channel of the timer output module is configured to enable the UVW three-phase duty cycle to be staggered. Specifically, the three-phase PWM wave channel of the timer output module is configured to adjust the center-aligned and left-right symmetrical three-phase PWM wave to a three-phase PWM wave with a staggered duty cycle.

[0096] Step S302: configuring the dead zone module to be initialized to the boost charging mode, and configuring the three-phase current sampling ADC module to be initialized to the boost charging mode.

[0097] In this implementation, the dead zone module is configured to be initialized to the boost charging mode, and the three-phase current sampling ADC module is configured to be initialized to the boost charging mode. Specifically, the dead zone module is configured to set the upper bridge module to maintain a low level, and maintain the normal switch of the lower bridge module (that is, the boost charging mode only requires the lower bridge of the inverter to be turned on), and then the dead zone module dead zone time is configured to be the dead zone configuration time corresponding to the boost charging mode. The dead zone configuration time corresponding to the boost charging mode can be 0, that is, the insertion dead zone is turned off (the boost charging mode does not require the upper and lower bridges to complement each other, so there is no need to insert the dead zone). In addition, the master-slave mode of the three-phase current sampling ADC module is turned off, so that each phase can be triggered to convert separately. After the U current trigger channel, the V current trigger channel, and the W current trigger channel of the timer output module are respectively configured with corresponding preset trigger currents, the U phase current sampling ADC channel, the V phase current sampling ADC channel, and the W phase current sampling ADC channel in the three-phase current sampling ADC module are triggered to respectively sample the U phase current, the V phase current, and the W phase current at the midpoint of the corresponding three-phase duty cycle opening.

[0098] Furthermore, in some other feasible embodiments, the above step S302: configuring the dead zone module to be initialized to the boost charging mode, may also include the following implementation steps:

[0099] Step S2021: configure the dead zone module to switch the upper bridge module of the electric drive inverter from the switch switching state to the cut-off state, and adjust the dead zone time to the dead zone configuration time corresponding to the boost charging mode.

[0100] In this embodiment, the dead zone module is configured to switch the upper bridge module of the electric drive inverter from the switch switching state to the cut-off state. Specifically, when the working mode is the boost charging mode, the dead zone module is configured to enable the upper bridge module of the electric drive inverter to continuously maintain a low level, and the rising edge dead zone time and the falling edge dead zone are respectively adjusted to the dead zone configuration time corresponding to the boost charging mode.

[0101] Further, in some feasible embodiments, in the above step S302: configuring the three-phase current sampling ADC module to be initialized to the boost charging mode, the following implementation steps may also be included:

[0102] Step S3021: turn off the master-slave mode of the three-phase current sampling ADC module, and enable the U-phase current sampling ADC channel, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel to respectively sample the U-phase current, the V-phase current and the W-phase current at the midpoint of their respective three-phase duty cycles.

[0103] In this example, when the working mode is the boost charging mode, the master-slave mode of the three-phase current sampling ADC module is turned off, and the U-phase current sampling ADC channel, the V-phase current sampling ADC channel, and the W-phase current sampling ADC channel are enabled to perform current sampling on the U-phase current, the V-phase current, and the W-phase current at the midpoint of the corresponding three-phase duty cycle.

[0104] Further, in another embodiment, after completing the second configuration process, the circuit diagram in the boost charging mode is as follows: Fig. 9 As shown, the implementation principle of the three-phase PWM wave and current triggering in the boost charging mode is as follows:

[0105] (1) In boost charging mode, the upper bridge does not need to be turned on and there is no need to insert a dead zone. In the dead zone module, the upper bridge is configured to a specified low level and the rising and falling edge dead zone times are configured to 0.

[0106] (2) In boost charging mode, the three-phase duty cycles are controlled individually, without the need for unified reference channel scheduling. Therefore, each timer output channel is configured to reset when the count value reaches the maximum value of its own cycle.

[0107] (3) The staggered opening of the three-phase PWM wave requires the separate triggering of the three-phase current and ensures that there is no PWM wave level switching at the triggering moment. This paper selects the sampling of each phase current at the midpoint of the PWM wave opening of its corresponding phase. By configuring the duty cycle of the current trigger channel to be half of the duty cycle of the three-phase PWM wave, no matter how the duty cycle of each phase changes, the current triggering moment is always at the midpoint of the PWM wave opening of each phase, such as Fig.10 shown.

[0108] (4) To reduce current ripple during boost charging, the three-phase duty cycle needs to be staggered according to a certain time difference. This can be achieved by configuring different count maximum values ​​when initializing the timer channel of the three-phase PWM wave, that is, by different times in the first cycle. The difference in the count maximum values ​​of the timers of different phases is the time difference of staggered opening, such as Fig.10 As shown, Fig.10 It is a schematic diagram of a scenario involving a boost charging mode according to an embodiment of the present application. Fig.10 Only phase U and phase V are taken as an example.

[0109] (5) Because the three-phase current needs to be triggered by each timer channel separately, it is necessary to configure the ADC channel of the three-phase current sampling ADC module to cancel the master-slave mode and configure the UVW three-phase current ADC channel to be triggered by the rising edge of the UVW three-phase current trigger timer channel.

[0110] In summary, this application makes full use of the dead zone module to generate PWM waves with inserted dead zones and complementary upper and lower bridges when generating PWM waves for motor control, eliminating the complex logic operations of inserting dead zones and complementary upper and lower bridges by software; this application uses the same resources to meet the realization of PWM waves with two functions through flexible and simple chip peripheral configuration changes in the PWM waves of two application scenarios; this application makes full use of the dead zone module to generate PWM waves for two special situations: when the upper bridge maintains a low level and the lower bridge maintains a low level, and the upper bridge has a dead time and a low level, considering the maximum and minimum duty cycles when controlling the motor, eliminating the need to use software to implement the complex logic of considering the minimum narrow pulse and dead time when implementing the maximum and minimum duty cycles. This application realizes the function of staggered opening of three-phase PWM waves and sampling of three-phase currents at the midpoint of each PWM wave opening in order to reduce current ripple during boost charging. No matter how the three-phase PWM wave changes, the three-phase current sampling can always be triggered at the midpoint of the lower bridge opening of each phase.

[0111] In addition, the present application also provides a mode management device for an electric drive inverter. Fig.11 , Fig.11 The schematic diagram of the structure of the mode management device of the electric drive inverter involved in the embodiment of the present application is shown in FIG. The mode management device of the electric drive inverter in the embodiment of the present application may be a device for locally running the mode management of the electric drive inverter.

[0112] like Fig.11 As shown, the mode management device of the electric drive inverter of the embodiment of the present application may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).

[0113] The memory 1005 is arranged on the main body of the mode management device of the electric drive inverter. The memory 1005 stores a program, and the program implements the corresponding operation when executed by the processor 1001. The memory 1005 is also used to store parameters used by the mode management device of the electric drive inverter. The memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0114] Those skilled in the art will understand that Fig.11The structure of the mode management device of the electric drive inverter shown in the figure does not constitute a limitation on the mode management device of the electric drive inverter, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0115] like Fig.11 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a mode management program of an electric drive inverter of a mode management device of the electric drive inverter.

[0116] exist Fig.11 In the mode management device of the electric drive inverter shown, the processor 1001 can be used to call the mode management program of the electric drive inverter of the mode management device of the electric drive inverter stored in the memory 1005, and perform the following mode management operation of the electric drive inverter:

[0117] Get the working mode of the electric drive inverter;

[0118] When the working mode is the motor control mode, performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode, wherein the first configuration process is an initialization configuration of the motor control mode;

[0119] When the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are subjected to a second configuration process according to the boost charging mode, and the second configuration process is an initialization configuration of the boost charging mode.

[0120] Optionally, the mode management operation of the electric drive inverter further includes:

[0121] Configuring the timer output module to be initialized to the motor control mode;

[0122] Configuring the dead zone module to be initialized to the motor control mode;

[0123] The three-phase current sampling ADC module is configured to be initialized to the motor control mode.

[0124] Optionally, the mode management operation of the electric drive inverter further includes:

[0125] The step of configuring the timer output module to be initialized to the motor control mode comprises:

[0126] Configuring the three-phase PWM wave channel of the timer output module to generate a center-aligned three-phase PWM wave, and determining the period of the three-phase PWM wave;

[0127] The current trigger channel of the timer output module is configured to trigger the three-phase current sampling ADC module to perform current sampling at the beginning of the cycle.

[0128] Optionally, the mode management operation of the electric drive inverter further includes:

[0129] The step of configuring the dead zone module to be initialized to the motor control mode comprises:

[0130] Configure the dead time of the dead zone module, wherein the dead time includes a rising edge dead time and a falling edge dead time;

[0131] A three-phase PWM wave with a dead zone inserted and upper and lower bridges complementary is generated according to the rising edge dead zone time and the falling edge dead zone time.

[0132] Optionally, the mode management operation of the electric drive inverter further includes:

[0133] Configure the three-phase current sampling ADC module to be in master-slave mode;

[0134] The step of configuring the three-phase current sampling ADC module in master-slave mode includes:

[0135] When the current trigger channel of the timer output module triggers the U-phase current sampling ADC channel to sample the U-phase current, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel sample the V-phase current and the W-phase current respectively.

[0136] Optionally, the mode management operation of the electric drive inverter further includes:

[0137] The step of performing a second configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the boost charging mode comprises:

[0138] The three-phase PWM wave channel of the timer output module is configured to adjust the center-aligned and left-right symmetrical three-phase PWM wave to a three-phase PWM wave with staggered three-phase duty ratios;

[0139] The dead zone module is configured to be initialized to the boost charging mode, and the three-phase current sampling ADC module is configured to be initialized to the boost charging mode.

[0140] Optionally, the mode management operation of the electric drive inverter further includes:

[0141] The step of configuring the dead zone module to be initialized to the boost charging mode comprises:

[0142] The dead zone module is configured to switch the upper bridge module of the electric drive inverter from a switch switching state to a cut-off state, and the dead zone time is adjusted to the dead zone configuration time corresponding to the boost charging mode.

[0143] Optionally, the mode management operation of the electric drive inverter further includes:

[0144] Turn off the master-slave mode of the three-phase current sampling ADC module, and enable the U-phase current sampling ADC channel, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel to respectively sample the U-phase current, the V-phase current and the W-phase current at the midpoint of their respective three-phase duty cycles.

[0145] In addition, the present application provides a computer storage medium on which a mode management program of an electric drive inverter is stored, and when the mode management program of the electric drive inverter is executed by a processor, the steps of the above-mentioned mode management method of the electric drive inverter are implemented.

[0146] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0147] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a computer storage medium (such as ROM / RAM, disk, CD) as mentioned above, including a number of instructions for enabling a mode management device of an electric drive inverter (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0149] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A mode management method for an electric drive inverter, characterized in that: The mode management method of the electric drive inverter is applied to a motor control chip, and the motor control chip is electrically connected to a timer output module, a dead zone module and a three-phase current sampling ADC module respectively; The mode management method of the electric drive inverter includes: Get the working mode of the electric drive inverter; When the working mode is the motor control mode, performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode, wherein the first configuration process is an initialization configuration of the motor control mode; When the working mode is the boost charging mode, the timer output module, the dead zone module and the three-phase current sampling ADC module are subjected to a second configuration process according to the boost charging mode, wherein the second configuration process is an initialization configuration of the boost charging mode; The motor control chip runs motor control application layer software and underlying complex drive software. The step of obtaining the working mode of the electric drive inverter includes: When the motor control application layer software receives a mode request sent by the electric vehicle controller as a motor control mode, the motor control application layer software generates a PWM mode request corresponding to the motor control mode and transmits it to the underlying complex driving software. When the underlying complex driving software initializes each peripheral of the motor control mode according to the PWM mode request, it is determined that the working mode of the electric drive inverter is the motor control mode; When the motor control application layer software receives a mode request sent by the electric vehicle controller that is a boost charging mode, the motor control application layer software generates a PWM mode corresponding to the boost charging mode request and transmits it to the underlying complex driving software. When the underlying complex driving software initializes each peripheral of the boost charging mode according to the boost charging mode request, it is determined that the working mode of the electric drive inverter is the boost charging mode; The step of performing a first configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the motor control mode comprises: Configure the timer output module to be initialized to the motor control mode; configure the dead zone module to be initialized to the motor control mode; configure the three-phase current sampling ADC module to be initialized to the motor control mode; The step of configuring the dead zone module to be initialized to the motor control mode comprises: Configure the dead time of the dead zone module, wherein the dead time includes a rising edge dead time and a falling edge dead time; According to the center-aligned three-phase PWM wave output by the timer output module, after the rising edge dead time and the falling edge dead time of the dead zone module are passed through, a three-phase PWM wave with a dead zone inserted and upper and lower bridges complementary is generated; The step of configuring the timer output module to be initialized to the motor control mode comprises: Configuring the three-phase PWM wave channel of the timer output module to generate a center-aligned three-phase PWM wave, and determining the period of the three-phase PWM wave; Configuring the current trigger channel of the timer output module to trigger the three-phase current sampling ADC module to perform current sampling at the start time of the cycle; The three-phase current sampling ADC module includes a U-phase current sampling ADC channel, a V-phase current sampling ADC channel and a W-phase current sampling ADC channel; The step of configuring the three-phase current sampling ADC module to be initialized to the motor control mode comprises: Configure the three-phase current sampling ADC module to be in master-slave mode; The step of configuring the three-phase current sampling ADC module in master-slave mode includes: When the current trigger channel of the timer output module triggers the U-phase current sampling ADC channel to sample the U-phase current, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel respectively sample the V-phase current and the W-phase current; The step of performing a second configuration process on the timer output module, the dead zone module and the three-phase current sampling ADC module according to the boost charging mode comprises: The three-phase PWM wave channel of the timer output module is configured to adjust the center-aligned and left-right symmetrical three-phase PWM wave to a three-phase PWM wave with staggered three-phase duty ratios; Configuring the dead zone module to be initialized to the boost charging mode, and configuring the three-phase current sampling ADC module to be initialized to the boost charging mode; The step of configuring the dead zone module to be initialized to the boost charging mode comprises: The dead zone module is configured to switch the upper bridge module of the electric drive inverter from a switch switching state to a cut-off state, and the dead zone time is adjusted to the dead zone configuration time corresponding to the boost charging mode; The step of configuring the three-phase current sampling ADC module to be initialized to the boost charging mode includes: Turn off the master-slave mode of the three-phase current sampling ADC module, and enable the U-phase current sampling ADC channel, the V-phase current sampling ADC channel and the W-phase current sampling ADC channel to respectively sample the U-phase current, the V-phase current and the W-phase current at the midpoint of their respective three-phase duty cycles.

2. A mode management device for an electric drive inverter, characterized in that: The mode management device of the electric drive inverter includes a memory, a processor, and a mode management program of the electric drive inverter stored in the memory and executable on the processor. When the processor executes the mode management program of the electric drive inverter, the steps of the mode management method of the electric drive inverter as claimed in claim 1 are implemented.

3. A computer storage medium, characterized in that: The computer storage medium stores a mode management program for the electric drive inverter, and when the mode management program for the electric drive inverter is executed by the processor, the steps of the mode management method for the electric drive inverter as claimed in claim 1 are implemented.

Citation Information

Patent Citations

  • Three-phase driving bridge lower bridge arm three-resistor based motor current sampling method and system

    CN109347397A

  • Control method of three-port energy transmission circuit and energy transmission equipment

    CN113659824A

  • Boost charging control method and device, equipment and storage medium

    CN116404732A