Charging and discharging system and vehicle

By optimizing the multiphase winding and inverter structure, and combining it with the current ripple suppression circuit, the problem of low charging and discharging efficiency at low power was solved, and a more efficient charging and discharging process was achieved.

CN121947223APending Publication Date: 2026-05-01BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411550537.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In low-power charging and discharging scenarios, the charging and discharging efficiency of new energy vehicles is relatively low, mainly due to the losses in motor windings, electronic control power devices, and boost circuits, resulting in a low proportion of charging and discharging power.

Method used

The motor and inverter structure adopts a multi-phase winding. By controlling the conduction of the bridge arm of the target phase winding, the number of windings is determined according to the charging and discharging state, reducing current ripple loss. The charging and discharging process is optimized through current ripple suppression circuit and switching module.

Benefits of technology

It improves battery charging and discharging efficiency, reduces current loss, and enhances charging and discharging performance in low-power scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121947223A_ABST
    Figure CN121947223A_ABST
Patent Text Reader

Abstract

The invention discloses a charging and discharging system and a vehicle, relates to the technical field of vehicle control, and aims to solve the problem of low charging and discharging efficiency of a battery. The charging and discharging system comprises a motor, an inverter and a controller, the motor comprises a multi-phase winding, the inverter comprises a multi-phase bridge arm, each phase bridge arm is electrically connected with one phase winding, and the controller is configured to control the bridge arm connected with a target phase winding in the multi-phase winding to be conducted so as to charge or discharge a battery electrically connected with the charging and discharging system; wherein the number of the target phase windings is determined according to the maximum charging current value allowed by the current charging state of the charging and discharging system or the maximum discharging current value allowed by the current discharging state of the charging and discharging system.
Need to check novelty before this filing date? Find Prior Art

Description

Charging and discharging systems and vehicles Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a charging and discharging system and a vehicle. Background Technology

[0002] With the rapid popularization of new energy vehicles, their application scenarios are becoming increasingly widespread. The core of new energy vehicles lies in battery components. Therefore, improving the charging and discharging efficiency of battery components, especially the charging and discharging efficiency in low-power scenarios, is an area that automakers are currently focusing on research and development.

[0003] In related technologies, under low-power charging and discharging scenarios of battery modules, the actual charging and discharging power ratio is low due to the loss of charging and discharging power caused by the motor windings, electronic control power devices, and boost circuit in the charging and discharging circuit, which in turn leads to low charging and discharging efficiency of the battery module. Summary of the Invention

[0004] The purpose of this application is to provide a charging and discharging system and a vehicle that aims to solve the problem of low charging and discharging efficiency of battery components.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] This application provides a charging and discharging system, which includes a motor, an inverter, and a controller. The motor includes multi-phase windings, the inverter includes multi-phase bridge arms, each bridge arm being electrically connected to one phase winding, and the controller being configured to control the bridge arm connected to a target phase winding in the multi-phase windings to conduct, so as to charge or discharge a battery electrically connected to the charging and discharging system. The number of target phase windings is determined based on the maximum charging current value allowed in the current charging state of the charging and discharging system, or the maximum discharging current value allowed in the current discharging state.

[0007] The charging and discharging system provided in this application has the following advantages: Since the more windings in the motor involved in charging or discharging, the greater the allowable current value flowing through the motor, the more likely this application is to determine the number of windings in the motor used for charging or discharging the battery based on the maximum current value required for charging or discharging the battery. However, since multiple phase windings in the motor are energized, current ripples are generated between the windings, resulting in significant current loss during charging or discharging and affecting charging or discharging efficiency. Therefore, this application determines the minimum number of windings corresponding to the maximum current value in the current charging or discharging scenario to reduce current ripples between windings, thereby reducing current loss and improving the charging and discharging efficiency of the battery.

[0008] In some embodiments, when the number of target phase windings is 1, the target phase winding is determined based on the position of the rotor in the motor.

[0009] In some embodiments, the combined torque of the magnetic field generated by the target phase winding and the magnetic field generated by the rotor in the multiphase winding is minimized.

[0010] In some embodiments, the angle between the magnetic field generated by the target phase winding and the magnetic field generated by the rotor is the smallest in the multiphase winding.

[0011] In some embodiments, the magnetic field generated by the target phase winding in the multiphase winding is closest to the magnetic field generated by the rotor in the positive and negative 90-degree direction.

[0012] In some embodiments, the maximum charging current value is the minimum of at least one of the following: a first charging current value, a second charging current value, and a third charging current value; wherein the first charging current value is used to characterize the maximum charging current value currently allowed by the controller, the second charging current value is used to characterize the maximum charging current value currently supported by the battery, and the third charging current value is used to characterize the maximum charging current value currently provided by the external power supply; the maximum discharging current value is the minimum of at least one of the following: a first discharging current value, a second discharging current value, and a third discharging current value; wherein the first discharging current value is used to characterize the maximum discharging current value currently allowed by the controller, the second discharging current value is used to characterize the maximum discharging current value currently provided by the battery, and the third discharging current value is used to characterize the maximum discharging current value currently required by the external load.

[0013] In some embodiments, the controller is configured to control the bridge arm connected to the target phase winding to conduct according to a first carrier frequency; wherein the first carrier frequency is determined based on the current value flowing through the motor.

[0014] In some embodiments, the first carrier frequency is determined based on the motor current value and a preset charging efficiency, or based on the current flowing through the motor and a preset discharging efficiency.

[0015] In some embodiments, the first carrier frequency is determined based on the current value flowing through the motor when the charging efficiency of the charging and discharging system is greater than or equal to a preset charging efficiency, or the discharging efficiency is greater than or equal to a preset discharging efficiency.

[0016] In some embodiments, the first carrier frequency is negatively correlated with the maximum charging current value, or the first carrier frequency is negatively correlated with the maximum discharging current value.

[0017] In some embodiments, the charging and discharging system provided in this application further includes a current ripple suppression circuit, one end of which is connected to a motor and the other end is connected to a charging and discharging port; the controller is further configured to control the current ripple suppression circuit to conduct so as to charge or discharge the battery electrically connected to the charging and discharging system.

[0018] In some embodiments, the current ripple suppression circuit includes an inductor and a first switching module connected in series; the branch formed by the connection of the inductor and the first switching module is connected between the motor and the charging / discharging port.

[0019] In some embodiments, the charging and discharging system provided in this application further includes a second switch module, the two ends of which are electrically connected to the two ends of the current ripple suppression circuit, respectively; the controller is further configured to control the second switch module to conduct when the current value flowing through the motor is greater than a preset charging current value or a preset discharging current value, so as to charge or discharge the battery electrically connected to the charging and discharging system.

[0020] In some embodiments, the first end of each phase winding of the motor is electrically connected to the inverter, and the second end of each phase winding of the motor is electrically connected to the common terminal of the current ripple suppression circuit and the second switching module.

[0021] In some embodiments, the first end of each phase winding of the motor is electrically connected to the inverter; the first end of any phase winding in the target phase winding is electrically connected to the common terminal of the current ripple suppression circuit and the second switching module.

[0022] This application provides a means of transportation that includes a charging and discharging system as described in the above embodiments.

[0023] The aforementioned vehicles have the same structure and beneficial technical effects as the charging and discharging systems described in any of the above embodiments, and will not be repeated here. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 is an architecture diagram of a vehicle provided in an embodiment of this application;

[0026] Figure 2 is a circuit structure topology diagram of a charging and discharging system provided in an embodiment of this application;

[0027] Figure 3 is a topology diagram of a boost circuit structure of a neutral point-leaded charging and discharging system provided in an embodiment of this application;

[0028] Figure 4 is a current flow diagram of the charging and discharging system shown in Figure 3 during the battery charging process;

[0029] Figure 5 shows another current flow diagram of the charging and discharging system shown in Figure 3 during the battery charging process;

[0030] Figure 6 is a topology diagram of a boost circuit structure of a charging and discharging system with a neutral point lead-out provided in an embodiment of this application;

[0031] Figure 7 is a current flow diagram of the charging and discharging system shown in Figure 6 during the battery charging process;

[0032] Figure 8 shows another current flow diagram of the charging and discharging system shown in Figure 6 during the battery discharge process;

[0033] Figure 9 is a topology diagram of a boost circuit structure of a charging and discharging system with a neutral point lead-out provided in an embodiment of this application;

[0034] Figure 10 is a circuit topology diagram of a neutral point-leaded charging and discharging system provided in an embodiment of this application;

[0035] Figure 11 is a topology diagram of a step-down circuit structure of a charging and discharging system with a neutral point provided in an embodiment of this application.

[0036] Figure 12 is a current flow diagram of the charging and discharging system shown in Figure 11 during the battery charging process;

[0037] Figure 13 shows another current flow diagram of the charging and discharging system shown in Figure 11 during the battery charging process;

[0038] Figure 14 is a topology diagram of a step-down circuit structure of a charging and discharging system with a neutral point provided in an embodiment of this application.

[0039] Figure 15 is a current flow diagram of the charging and discharging system shown in Figure 14 during the battery charging process;

[0040] Figure 16 shows another current flow diagram of the charging and discharging system shown in Figure 14 during the battery charging process;

[0041] Figure 17 is a topology diagram of a boost and buck circuit structure of a charging and discharging system with a neutral point provided in an embodiment of this application.

[0042] Figure 18 is a topology diagram of a boost circuit structure of a charging and discharging system with a non-outlined neutral point provided in an embodiment of this application.

[0043] Figure 19 is a current flow diagram of the charging and discharging system shown in Figure 18 during the battery charging process;

[0044] Figure 20 shows another current flow diagram of the charging and discharging system shown in Figure 18 during the battery charging process;

[0045] Figure 21 is a topology diagram of a boost circuit structure of a charging and discharging system with a non-neutral point provided in an embodiment of this application.

[0046] Figure 22 is a current flow diagram of the charging and discharging system shown in Figure 21 during the battery charging process;

[0047] Figure 23 shows another current flow diagram of the charging and discharging system shown in Figure 21 during the battery charging process;

[0048] Figure 24 is a topology diagram of a boost circuit structure of a charging and discharging system with a non-out neutral point provided in an embodiment of this application.

[0049] Figure 25 is a circuit topology diagram of a charging and discharging system with a non-outlined neutral point provided in an embodiment of this application;

[0050] Figure 26 is a topology diagram of a step-down circuit structure of a charging and discharging system with a non-outlined neutral point provided in an embodiment of this application;

[0051] Figure 27 is a current flow diagram of the charging and discharging system shown in Figure 26 during the battery charging process;

[0052] Figure 28 shows another current flow diagram of the charging and discharging system shown in Figure 26 during the battery charging process;

[0053] Figure 29 is a schematic diagram showing the positions of a motor rotor and multiphase windings according to an embodiment of this application;

[0054] Figure 30 is a schematic diagram showing the position of a motor rotor and multiphase windings according to an embodiment of this application;

[0055] Figure 31 is a schematic diagram showing the position of a motor rotor and multiphase windings according to an embodiment of this application;

[0056] Figure 32 is a schematic diagram showing the position of another motor rotor and multiphase winding provided in an embodiment of this application.

[0057] Figure label:

[0058] 100. Vehicle; 110. Battery; 120. Charging / discharging system; 130. Charging / discharging port;

[0059] L1, first phase winding; L2, second phase winding; L3, third phase winding; L4, inductor;

[0060] VT1, VT3, VT4, first transistor; VT2, VT4, VT6, second transistor;

[0061] VD1, VD3, VD4, first diode; VD2, VD4, VD6, second diode;

[0062] C1, the first capacitor; C2, the second capacitor;

[0063] K1, First switch module; K2, Second switch module; K3, Third switch module; K4, Fourth switch module; K5, Fifth switch module; K6, Sixth switch module. Detailed Implementation

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

[0065] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "rear," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or relative positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned orientational descriptions can be flexibly set in practical applications, provided that the relative positional relationships shown in the accompanying drawings are satisfied.

[0066] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0067] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "communication" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a direct connection or an indirect connection through an intermediate medium, or a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0068] In some embodiments, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.

[0069] In some embodiments, the words "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0070] In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0071] Currently, new energy vehicles are in a stage of rapid development, and more and more users are starting to use them. New energy vehicles, especially pure electric vehicles, place great emphasis on charging and discharging efficiency. Pure electric vehicles use their charging and discharging systems, such as boost charging or buck charging, to perform charging and discharging.

[0072] When a vehicle is being boost-charged, one side of the vehicle's charging and discharging system is electrically connected to the positive and negative terminals of the battery, and the other side of the charging and discharging system is connected to the charging and discharging port. The charging and discharging port can be connected to an external power source or an external energy storage device, such as a charging pile or an energy storage power source (e.g., mobile charging vehicles, energy storage devices, and batteries in other vehicles).

[0073] However, there may be scenarios where vehicle batteries are charged or discharged at low power. For example, when multiple vehicles are charging at a charging station simultaneously, the charging power provided by the charging pile will be significantly reduced, resulting in a lower charging power for the vehicle. Similarly, when a vehicle discharges to an external electrical device (such as an induction cooker), the induction cooker's low power will result in a lower discharge power for the vehicle.

[0074] In related technologies, vehicle-to-home (VTOH) refers to using pure electric vehicles (or other types of new energy vehicles) as mobile energy storage units, delivering electrical energy from the vehicle's battery to homes or buildings through specific interfaces and conversion devices when needed, for household electricity use or emergency power supply. However, VTOH functionality faces two problems in charging and discharging scenarios:

[0075] 1. Due to low charging efficiency, when the air conditioning is on in the ON position of the vehicle, the actual charging power is negative; when the air conditioning is off, the actual charging power is low.

[0076] 2. Due to the low discharge efficiency, there is still a discharge power of 2.8kW when the vehicle is not connected to a load.

[0077] Therefore, in related technologies, the inherent losses of the charging and discharging circuit are relatively large, resulting in low charging and discharging efficiency at low power.

[0078] To address the issue of low charging and discharging efficiency in low-power charging and discharging scenarios in related technologies, it is important to note that during low-power charging and discharging of VTOH (Variable Voltage Controller), energy losses primarily occur in the motor and inverter. Specifically, motor losses include copper and iron losses, which are related to current amplitude, current ripple, and current frequency; inverter losses include switching and conduction losses, which are related to current amplitude, bus voltage, and switching frequency.

[0079] Therefore, this application optimizes the current ripple, current frequency, and switching frequency during low-power (0-10kW) charging and discharging of the VTOH. Furthermore, since the charging and discharging current is small during low-power charging and discharging of the VTOH, the losses of the electric drive system can be optimized by shutting down the cooling circuits of the oil pump, water pump, and fan, thereby improving the charging and discharging efficiency.

[0080] This application provides a means of transportation. This means of transportation includes, but is not limited to, vehicles, airplanes, or ships.

[0081] The following uses a vehicle as an example to illustrate some embodiments of this application.

[0082] In some embodiments, as shown in FIG1, the vehicle 100 includes a battery 110, a charging and discharging system 120, and a charging and discharging port 130.

[0083] In some embodiments, one side of the charging and discharging system is connected to a battery, which is used to power loads configured in the vehicle, including but not limited to electrical components such as motors, electronic control systems, and lighting fixtures.

[0084] For example, the battery may include one or more power batteries, and multiple (two or more) power batteries connected in sequence to form a power battery pack.

[0085] When the battery needs to be charged or discharged to a load outside the vehicle, the other side of the charging and discharging system is connected to the charging and discharging port, which is connected to an external power source or an external load. The external power source can be a charging pile or an energy storage power source (such as a mobile charging vehicle, an energy storage device, or a battery in another vehicle); the external load can be an electrical appliance (such as a vehicle refrigerator) or equipment in a VTOH.

[0086] In some embodiments, as shown in FIG2, the charging and discharging system includes a motor, an inverter, and a controller. The motor includes a multiphase winding; the inverter includes multiphase bridge arms, each bridge arm being electrically connected to a phase winding; the controller is configured to control the bridge arm connected to a target phase winding in the multiphase winding to conduct, so as to charge or discharge a battery electrically connected to the charging and discharging system.

[0087] The number of target phase windings is determined based on the maximum charging current value allowed by the current charging state of the charging and discharging system, or the maximum discharging current value allowed by the current discharging state.

[0088] Optionally, the maximum charging current value is the minimum of at least one of the following: a first charging current value, a second charging current value, and a third charging current value.

[0089] The first charging current value is used to characterize the maximum charging current value currently allowed by the controller, the second charging current value is used to characterize the maximum charging current value currently supported by the battery, and the third charging current value is used to characterize the maximum charging current value currently provided by the external power source.

[0090] For example, if the controller currently allows a maximum charging current of 40A, the battery currently supports a maximum charging current of 30A, and the external power source (charging station) currently provides a maximum charging current of 45A, then the maximum charging current for charging the battery is 30A, which is the maximum charging current currently supported by the battery.

[0091] Optionally, the maximum discharge current value is the minimum of at least one of the following: a first discharge current value, a second discharge current value, and a third discharge current value.

[0092] The first discharge current value is used to characterize the maximum discharge current value currently allowed by the controller, the second discharge current value is used to characterize the maximum discharge current value currently provided by the battery, and the third discharge current value is used to characterize the maximum discharge current value currently required by the external load.

[0093] For example, if the controller currently allows a maximum discharge current of 10A, the battery currently provides a maximum discharge current of 8A, and the external load (such as an induction cooker) currently supports a maximum discharge current of 4A, then the maximum charging current for discharging the battery is 4A, which is the maximum discharge current currently supported by the induction cooker.

[0094] For example, the controller can determine the current allowable first charging current value IBC1 and the first discharging current value IDC1 based on the current motor winding temperature, rotor temperature (such as the magnet temperature of a permanent magnet synchronous motor, the temperature of an electrically excited rotor winding, or the squirrel cage rotor of an asynchronous motor), power device temperature, and remaining charge (SOC).

[0095] For example, the second charging current value IBC2 and the second discharging current value IDC2 supported by the current battery state can be determined based on the battery's lowest voltage, current voltage, and highest voltage.

[0096] For example, the third charging current value IBC3 and the third discharging current value IDC3 provided by the charging pile can be determined based on the current voltage platform of the charging pile, the charging and discharging status of the charging gun, and the charging and discharging power (such as single gun or dual gun).

[0097] Optionally, charging and discharging efficiency can be improved by controlling the voltage difference between the battery and the charging / discharging port, or by controlling the phase between the inverter arms, or by controlling the carrier frequency of the inverter arms.

[0098] In one example, under the condition that the charging / discharging port voltage is kept at a certain value, the inverter arm carrier frequency is consistent with the phase between the arm and the arm, and the charging / discharging power is consistent, the battery voltage is changed to reduce the voltage difference between the charging / discharging port voltage and the battery voltage, thereby improving the charging / discharging efficiency.

[0099] In another example, under the condition that the charging and discharging port voltage is kept at a certain value, the battery voltage is kept at another certain value, the inverter arm carrier frequency is consistent, and the charging and discharging power is consistent, the phase between the arms is changed to perform phase reversal control, so as to reduce current ripple, noise, electromagnetic compatibility (EMC) interference and improve charging and discharging efficiency.

[0100] It should be noted that under this operating condition, the out-of-phase control is more efficient than the in-phase control system.

[0101] In another example, under the condition that the charging and discharging port voltage is kept at a certain value, the battery voltage is kept at another certain value, the phase between the inverter arms is kept consistent, and the charging and discharging power is consistent, the carrier frequency of the arms is increased to reduce current ripple, noise, and EMC interference, thereby improving charging and discharging efficiency.

[0102] In some embodiments, during charging and discharging, the first, second, and third charging current values ​​and the discharging current values ​​mentioned above can be acquired. Then, based on the current state of the charging and discharging system, the battery, and the charging pile, the maximum allowable charging current value IBC for the final charging state can be selected through real-time arbitration. max Or the maximum allowable discharge current IDC under discharge conditions. max .

[0103] In some embodiments, after determining the maximum charging current value IBC max Or the maximum discharge current IDC maxThen, determine whether the charging or discharging current corresponding to the target phase winding being a single-phase winding can meet the maximum charging current value IBC. max Or the maximum discharge current IDC max If the conditions are met, the motor will switch to charging and discharging a single phase winding; if not, the motor will switch to charging and discharging at least two phase windings to increase the charging and discharging current.

[0104] Furthermore, the system efficiency is higher in low-current charging and discharging scenarios, and the charging and discharging system generates less heat. When the temperature of each component in the charging and discharging system is within a safe range, the circuits used for heat dissipation of the charging and discharging system, such as oil pumps, water pumps, fans, and air conditioning cooling systems, can be shut down to further improve the charging and discharging efficiency.

[0105] In some embodiments, the arm connected to the target phase winding can be controlled to conduct according to a first carrier frequency, which is determined based on the current flowing through the motor. The carrier frequency characterizes the switching frequency of the arm.

[0106] Optionally, the first carrier frequency and the maximum charging current value are negatively correlated.

[0107] For example, when charging the battery through the charging and discharging system, a suitable carrier frequency can be selected based on the battery charging current value, and the bridge arms in the inverter can be controlled to operate at the switching frequency represented by the selected carrier frequency.

[0108] Optionally, the first carrier frequency and the maximum discharge current value are negatively correlated.

[0109] For example, when discharging the battery through the charging and discharging system, a suitable carrier frequency can be selected based on the battery discharge current value, and the bridge arms in the inverter can be controlled to operate at the switching frequency represented by the selected carrier frequency.

[0110] Optionally, the first carrier frequency is determined based on the current flowing through the motor and a preset charging and discharging efficiency.

[0111] In some embodiments, the first carrier frequency is determined based on the current flowing through the motor, provided that the charging efficiency of the charging and discharging system is greater than or equal to a preset charging efficiency.

[0112] Optionally, the first carrier frequency is determined based on the current flowing through the motor and a preset discharge efficiency.

[0113] In some embodiments, the first carrier frequency is determined based on the current value flowing through the motor, provided that the discharge efficiency of the charging and discharging system is greater than or equal to a preset discharge efficiency.

[0114] For example, the first carrier frequency can be determined based on a mapping table and the current value flowing through the motor. The mapping table is used to characterize the correspondence between the carrier frequency and the current value flowing through the motor when the charging efficiency of the charging and discharging system is greater than or equal to a preset charging efficiency, or the discharging efficiency of the charging and discharging system is greater than or equal to a preset discharging efficiency.

[0115] Optionally, as shown in Table 1, it is a mapping table of the charging and discharging system provided in the embodiments of this application. The mapping table includes the charging efficiency or discharging efficiency corresponding to different combinations of charging current or discharging current and different carrier frequencies. The mapping table can be obtained by, but is not limited to, calibration.

[0116] For example, the charging efficiency or discharging efficiency under different charging and discharging currents and carrier frequencies can be tested on a charging and discharging system test bench and recorded in a table. During charging and discharging, the carrier frequency corresponding to the optimal efficiency can be found in the table for charging or discharging.

[0117] Table 1

[0118]

[0119]

[0120] This allows the charging and discharging system to charge the battery at the required charging efficiency, reducing the charging time of the battery.

[0121] In some embodiments, the inverter in FIG2 can be a three-phase inverter and the motor can be a three-phase drive motor. The following uses a three-phase drive motor and a three-phase inverter as an example to illustrate some embodiments of this application.

[0122] In some embodiments, as shown in FIG2, the charging and discharging system includes a motor; the motor includes three-phase windings, a first-phase winding L1, a second-phase winding L2, and a third-phase winding L3.

[0123] In some embodiments, as shown in FIG2, the charging and discharging system further includes an inverter, which includes three-phase bridge arms connected in parallel, and each phase bridge arm is electrically connected to a phase winding.

[0124] For example, the first end of each phase winding of the motor is electrically connected to the inverter.

[0125] In some embodiments, as shown in FIG2, each phase arm of the inverter includes a first switching element and a second switching element. The first end of the first switching element is electrically connected to the first end of the inverter, the second end of the first switching element is electrically connected to the first end of the second switching element, and the second end of the second switching element is electrically connected to the second end of the inverter.

[0126] In this configuration, the common terminal of one first switching element and one second switching element serves as a third terminal of the inverter. For example, points A, B, and C in Figure 2 are all third terminals of the inverter.

[0127] For example, one end of one phase winding of the motor is connected to the common terminal of the first and second switching elements of one phase bridge arm of the inverter. For instance, the first phase winding L1 is connected to point A, the second phase winding L2 is connected to point B, and the third phase winding L3 is connected to point C.

[0128] In some embodiments, a first switching element includes a first transistor VT1 / VT3 / VT5 and a first diode VD1 / VD3 / VD5, and a second switching element includes a second transistor VT2 / VT4 / VT6 and a second diode VD2 / VD4 / VD6.

[0129] The first transistor VT1 / VT3 / VT5 and the first diode VD1 / VD3 / VD5 are connected in parallel between the first terminal of the inverter and a third terminal of the inverter, respectively. The second transistor VT2 / VT4 / VT6 and the second diode VD2 / VD4 / VD6 are connected in parallel between the second terminal of the inverter and a third terminal of the inverter, respectively.

[0130] As shown in Figure 2, the first transistor VT1 and the first diode VD1 constitute the first switching element of one phase bridge arm of the inverter, and the second transistor VT2 and the second diode VD2 constitute the second switching element of one phase bridge arm of the inverter.

[0131] As shown in Figure 2, the first transistor VT3 and the first diode VD3 constitute the first switching element of one phase bridge arm of the inverter, and the second transistor VT4 and the second diode VD4 constitute the second switching element of one phase bridge arm of the inverter.

[0132] As shown in Figure 2, the first transistor VT5 and the first diode VD5 constitute the first switching element of one phase bridge arm of the inverter, and the second transistor VT6 and the second diode VD6 constitute the second switching element of one phase bridge arm of the inverter.

[0133] In some embodiments, as shown in FIG2, the first end of the diode is electrically connected to the second end of the transistor, the second end of the diode is electrically connected to the first end of the transistor, the first end of the transistor and the second end of the diode are both electrically connected to the first end of the inverter, and the second end of the transistor and the first end of the diode are both electrically connected to the second end of the inverter.

[0134] When the transistor is turned on, the first terminal to the second terminal of the transistor conducts at the second carrier frequency; otherwise, the transistor is considered an open circuit. The first terminal to the second terminal of the diode conducts at the second carrier frequency, and the second terminal to the first terminal of the diode is turned off (considered an open circuit). In each switching element, the transistor and the diode conduct in a time-sharing manner. In this case, the transistor can be an insulated gate bipolar transistor (IGBT).

[0135] In some embodiments, the charging and discharging system further includes a controller electrically connected to the control terminals of a plurality of switching elements of the inverter. The conduction direction of the switching elements can be controlled by controlling the switching of the transistors and diodes. When the transistor is on and the diode is off, the switching element conducts from the first terminal to the second terminal at a second carrier frequency; when the transistor is off and the diode is on, the switching element conducts from the second terminal to the first terminal at the second carrier frequency.

[0136] For example, during vehicle operation, the inverter can convert the direct current supplied by the battery into alternating current and supply it to the motor to enable the motor to operate. Since the energy that a battery can store is limited, the battery can also be electrically connected to a charge / discharge port to transfer energy to the battery for charging.

[0137] In some embodiments, as shown in Figure 2, one end of the charging / discharging system is connected to the battery, and the other end is connected to the charging / discharging port. Electrical energy is transferred between the battery and the charging / discharging port through the charging / discharging system. This transfer can be either an external power source charging the battery through the charging / discharging port, or the battery discharging externally through the charging / discharging port.

[0138] For example, when an external power source is connected to the charging / discharging port, the external power source charges the battery. The external power source can be a DC power source, such as a DC charging station or a DC energy storage power source. When the battery discharges externally through the charging / discharging port, the charging / discharging port can be connected to a DC charging station, a DC energy storage power source, or an external load.

[0139] In some embodiments, when the battery is being charged or discharged, if the voltage of the battery and the voltage of the charging / discharging port are not compatible, for example, if the difference between the voltage of the battery and the voltage of the charging / discharging port is not within a set range, a voltage regulation circuit needs to be provided between the battery and the charging / discharging port to adjust the voltage of the battery or the voltage of the charging / discharging port so that the voltage of the battery or the voltage of the charging / discharging port are compatible.

[0140] The following explains some situations where the battery voltage and the charging / discharging port voltage are incompatible.

[0141] 1. When charging the battery, the voltage at the charging / discharging port is lower than the battery voltage. This low voltage mismatch may prevent the charging process from starting, or even if charging begins, the charging speed will be very slow, and it may even damage the battery.

[0142] 2. When charging the battery, the voltage at the charging / discharging port is greater than the battery voltage, and the difference between the two voltages exceeds the set range. In this case, the high charging voltage is incompatible, and the excessive voltage difference may cause the battery to overheat, increase internal pressure, and damage the battery.

[0143] 3. When the battery discharges, its voltage is lower than the voltage at the charging / discharging port. This low voltage mismatch may prevent the discharge process from proceeding, or even if discharge begins, the discharge efficiency will be significantly reduced, failing to meet the power demands of the external load.

[0144] 4. When the battery discharges externally, its voltage exceeds the voltage at the charging / discharging port, and the voltage difference between the two exceeds the set range. In this case, the high discharge voltage is incompatible, and the excessive voltage difference may damage the external load or cause the battery to over-discharge.

[0145] For example, consider a DC charging station charging a battery through its charging / discharging port. If the battery's rated voltage is 800V and the charging / discharging port provides a supply voltage of 400V, the supply voltage of the charging / discharging port is lower than the battery's rated voltage. Therefore, the charging / discharging port cannot directly supply power to the battery to charge it. It is necessary to boost the 400V supply voltage provided by the charging / discharging port to 800V and then supply the boosted 800V supply voltage to the battery to charge it.

[0146] To enable vehicles to be compatible with different charging stations, a boost converter can be installed inside the vehicle. However, the greater the boost voltage difference (the voltage difference before and after boosting) that the boost converter can achieve, the greater the weight and volume of the boost converter, and the higher the price. This will increase the weight of the vehicle, and also require more space in the vehicle to be reserved for the boost converter, thus compressing the vehicle space and increasing the cost of the vehicle.

[0147] Based on this, some embodiments of this application provide a charging and discharging system that can utilize the vehicle's own inverter and motor to achieve voltage matching and regulation between the battery and the charging and discharging port.

[0148] In the embodiments of this application, the motor may have a neutral point lead-out or a neutral point not lead-out.

[0149] The neutral point refers to the common connection point of the multi-phase windings in a motor. For example, in a three-phase winding, the second end of each phase winding is electrically connected to a single point, which is the neutral point. A neutral point brought out means that the neutral point of the motor is located outside the motor; similarly, a neutral point not brought out means that the neutral point of the motor is located inside the motor.

[0150] The following describes the charging and discharging system for the boost charging scenario originating from the neutral point, with reference to Figures 3 to 10.

[0151] In some embodiments, in a boost charging scenario, as shown in Figure 3, the first end of one phase winding of the motor is electrically connected to the common terminal of the first and second switching elements of one phase bridge arm of the inverter, and the second end of each phase winding of the motor is electrically connected to the first end of the charging and discharging port. The charging and discharging system also includes a first switching module K1 and a third switching module K3. The first switching module K1 is electrically connected between the second end of each phase winding of the motor and the first end of the charging and discharging port, and the third switching module K3 is electrically connected between the second end of the inverter and the second end of the charging and discharging port.

[0152] In some embodiments, as shown in FIG3, the charging and discharging system further includes a first capacitor C1. One end of the first capacitor C1 is connected to the common terminal of the first switching module K1 and the first terminal of the charging and discharging port, and the other end of the first capacitor C1 is connected to the common terminal of the second terminal of the inverter and the third switching module K3.

[0153] For example, when the battery is charging or discharging, the first capacitor C1 is connected in parallel across the charging and discharging port. By setting the first capacitor C1, the current provided by the charging and discharging port can be filtered, reducing the impact of ripple current in the current provided by the charging and discharging port on the charging and discharging system.

[0154] In some embodiments, as shown in FIG3, the charging and discharging system further includes a fourth switch module K4 and a fifth switch module K5. The fourth switch module K4 is electrically connected between the first terminal of the battery and the first terminal of the inverter, and the fifth switch module K5 is electrically connected between the second terminal of the battery and the second terminal of the inverter.

[0155] In some embodiments, as shown in FIG3, the charging and discharging system further includes a second capacitor C2. One end of the second capacitor C2 is connected to the common terminal of the fourth switching module K4 and the first terminal of the inverter, and the other end of the second capacitor C2 is connected to the common terminal of the fifth switching module K5 and the second terminal of the inverter.

[0156] For example, when the battery is being charged or discharged, the second capacitor C2 is connected in parallel across the two ends of the battery. In the case of a battery comprising multiple power batteries, voltage distribution can be formed among the multiple power batteries within the battery to achieve battery voltage balance and ensure that the voltage of each power battery within the battery is balanced.

[0157] Furthermore, the second capacitor C2 can improve the battery's transient discharge performance, enabling high current output in a short time. The second capacitor C2 can store electrical energy, and during vehicle start-up and acceleration, it can quickly release the stored energy, increasing the output power on the battery side. It plays a crucial role when the battery's output cannot meet instantaneous demands, effectively protecting the battery from instantaneous high-current discharge.

[0158] In some embodiments, boost charging of the battery can be achieved through the closed and open states of the second switch module K2 to the fifth switch module K5.

[0159] Boost charging includes a boost phase and a charging phase.

[0160] In some embodiments, as shown in FIG4, during the boost phase, the first switch module K1 and the third switch module K3 are closed, and the third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least one phase winding of the motor.

[0161] In one optional implementation, when the maximum charging current value is less than or equal to the charging current value corresponding to one phase winding, the first switch module K1 and the third switch module K3 are closed to enter the boost stage. One phase winding (first phase winding L1) in the motor is selected, and the third end to the second end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is controlled to conduct at the first carrier frequency to form a first circuit to charge the first phase winding L1.

[0162] At this time, the circuit flow in the first loop is as follows: the first end of the charging / discharging port → the first switch module K1 → the motor N point → the first phase winding L1 → point A to the second switch element VT2 → the third switch module K3 → the second end of the charging / discharging port.

[0163] Further, as shown in Figure 5, after the boost stage is completed, the first switch module K1, the third switch module K3, the fourth switch module K4 and the fifth switch module K5 are closed, and the charging stage is entered. The third end to the first end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is turned on at the first carrier frequency to form a second circuit. At this time, the first phase winding L1 in the motor is equivalent to another power source connected in series with the charging and discharging port, and the battery is charged by series boost.

[0164] At this time, the circuit flow in the second circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → motor N point → the first phase winding L1 → point A to the second switch element VD1 → the fourth switch module K4 → the battery → the fifth switch module K5 → the third switch module K3 → the second end of the charging / discharging port.

[0165] Alternatively, one phase winding of the motor can be charged, combined with a charging strategy that increases the carrier frequency.

[0166] For example, consider an initial charging strategy where the multi-phase windings of the motor are controlled to charge and discharge at an initial carrier frequency (e.g., 14.5kHz). At this point, the charging and discharging efficiency is 60%. Adjusting the charging and discharging strategy to control a single-phase winding of the motor to charge and discharge at a first carrier frequency (e.g., 50kHz) can increase the charging efficiency to 90%.

[0167] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the first switch module K1 and the third switch module K3 are closed to enter the boost stage. The two-phase windings in the motor (the first phase winding L1 and the second phase winding L2) are selected, and the third end to the second end of the bridge arm electrically connected to the first phase winding L1 in the inverter is controlled to conduct at the first carrier frequency, and the third end to the second end of the bridge arm electrically connected to the second phase winding L2 is also controlled to conduct at the first carrier frequency, forming a third circuit to charge the first phase winding L1 and the second phase winding L2.

[0168] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → the motor N point → the first phase winding L1 and the second phase winding L2 → point A to the second switch element VT2 and point B to the second switch element VT4 → the third switch module K3 → the second end of the charging / discharging port.

[0169] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm electrically connected to the first phase winding L1 in the control inverter is turned on at the first carrier frequency, and the third end to the first end of the bridge arm electrically connected to the second phase winding L2 is turned on at the first carrier frequency, forming a fourth circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to another power source connected in series with the charging and discharging port, charging the battery through series boost.

[0170] At this time, the circuit flow in the fourth circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → motor N point → the first phase winding L1 and the second phase winding L2 → point A to the first switch element VD1 and point B to the first switch element VD3 → the fourth switch module K4 → battery → the fifth switch module K5 → the third switch module K3 → the second end of the charging / discharging port.

[0171] Alternatively, two-phase bridge arm control of the inverter can be selected, combined with a charging strategy that increases the carrier frequency.

[0172] For example, consider an initial charging strategy where the three-phase windings of the motor are controlled to charge and discharge at an initial carrier frequency (e.g., 14.5kHz). At this point, the charging and discharging efficiency is 60%. By adjusting the charging and discharging strategy to control two-phase windings of the motor in phase at a first carrier frequency (e.g., 50kHz), the charging efficiency can be increased to 83%.

[0173] Alternatively, two-phase bridge arm phase-shift control of the inverter can be selected, combined with a charging strategy that increases the carrier frequency.

[0174] For example, consider an initial charging strategy where the three-phase windings of the motor are controlled to charge and discharge at an initial carrier frequency (e.g., 14.5kHz). At this point, the charging and discharging efficiency is 60%. By adjusting the charging and discharging strategy to a phase-shifted approach (e.g., 180 degrees out of phase) to control two-phase windings of the motor to charge and discharge at a first carrier frequency (e.g., 50kHz), the charging efficiency can be increased to 87%.

[0175] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2 and third phase winding L3) are controlled to conduct at the first carrier frequency from the third end to the second end of each phase bridge arm in the inverter, forming a fifth circuit to charge the first phase winding L1, the second phase winding L2 and the third phase winding L3.

[0176] At this time, the circuit flow in the fifth circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → motor N point → the first phase winding L1, the second phase winding L2 and the third phase winding L3 → point A to the second switch element VT2, point B to the second switch element VT4 and point C to the second switch element VT6 → the third switch module K3 → the second end of the charging / discharging port.

[0177] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of each phase bridge arm in the inverter is controlled to conduct at the first carrier frequency, forming the sixth circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to another power source connected in series with the charging and discharging port, charging the battery through series boost.

[0178] At this time, the circuit flow in the sixth circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → motor N point → the first phase winding L1, the second phase winding L2 and the third phase winding L3 → point A to the first switch element VD1, point B to the first switch element VD3 and point C to the first switch element VD5 → the fourth switch module K4 → battery → the fifth switch module K5 → the third switch module K3 → the second end of the charging / discharging port.

[0179] Optionally, the inverter's three-phase bridge arm in-phase control can be selected, combined with a charging strategy that increases the carrier frequency.

[0180] For example, consider an initial charging strategy where the three-phase windings of the motor are controlled in opposite phases at an initial carrier frequency (e.g., 14.5kHz). The charging efficiency is 60%. By adjusting the charging strategy to control the three-phase windings of the motor in the same phase at a first carrier frequency (e.g., 50kHz), the charging efficiency can be increased to 75%.

[0181] Alternatively, three-phase bridge arm phase shift control of the inverter can be selected, combined with a charging strategy that increases the carrier frequency.

[0182] For example, taking the initial charging strategy of controlling the three-phase windings of the motor with staggered phases at the initial carrier frequency (e.g., 14.5 kHz) as an example, the charging and discharging efficiency is 60%. By adjusting the charging and discharging strategy to control the three-phase windings of the motor with staggered phases (e.g., a phase difference of 120 degrees between each phase) at the first carrier frequency (e.g., 50 kHz), the charging efficiency can be increased to 80%.

[0183] In this way, by using software control strategies for the inverter and motor, charging efficiency can be improved while keeping costs constant.

[0184] Optionally, the charging and discharging system provided in this application further includes a current ripple suppression circuit, one end of which is connected to the motor and the other end is connected to the charging and discharging port.

[0185] Furthermore, the current ripple suppression circuit includes an inductor and a first switching module connected in series. The branch formed by the connection of the inductor and the first switching module is connected between the motor and the charging / discharging port.

[0186] In some embodiments, in the boost charging scenario, as shown in FIG2 and FIG6, the current ripple suppression circuit includes an inductor L4, the inductor L4 and the first switch module K1 are connected in series, and the branch formed by the connection of the inductor L4 and the first switch module K1 is connected between the motor and the charging and discharging port.

[0187] In some embodiments, as shown in FIG7, during the boost phase, the first switch module K1 and the third switch module K3 are closed, and the third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least one phase winding of the motor.

[0188] In one optional implementation, when the maximum charging current value is less than or equal to the charging current value corresponding to one phase winding, the first switch module K1 and the third switch module K3 are closed to enter the boost stage. One phase winding (first phase winding L1) in the motor is selected, and the third end to the second end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is controlled to conduct at the first carrier frequency to form a first circuit to charge the first phase winding L1.

[0189] At this time, the circuit flow in the first circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1 → point A to the second switch element VT2 → third switch module K3 → the second end of the charging / discharging port.

[0190] Further, as shown in Figure 8, after the boost stage is completed, the first switch module K1, the third switch module K3, the fourth switch module K4 and the fifth switch module K5 are closed, and the charging stage is entered. The third end to the first end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is turned on at the first carrier frequency to form a second circuit. At this time, the first phase winding L1 in the motor is equivalent to another power source connected in series with the charging and discharging port, and the battery is charged by series boost.

[0191] At this time, the circuit flow in the second circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1 → point A to the second switch element VD1 → fourth switch module K4 → battery → fifth switch module K5 → third switch module K3 → second end of the charging / discharging port.

[0192] Alternatively, one phase winding of the motor can be charged, combined with a charging strategy that increases the carrier frequency and uses an external inductor.

[0193] For example, consider an initial charging strategy where the three-phase windings of the motor are controlled in an out-of-phase manner to charge and discharge at an initial carrier frequency (e.g., 14.5kHz). At this point, the charging and discharging efficiency is 60%. By adjusting the charging and discharging strategy to control a single-phase winding of the motor to charge and discharge at a first carrier frequency (e.g., 50kHz) and connecting an external 100uH inductor, the charging efficiency can be increased to 94%.

[0194] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the first switch module K1 and the third switch module K3 are closed to enter the boost stage. The two-phase windings in the motor (the first phase winding L1 and the second phase winding L2) are selected, and the third end to the second end of the bridge arm electrically connected to the first phase winding L1 in the inverter is controlled to conduct at the first carrier frequency, and the third end to the second end of the bridge arm electrically connected to the second phase winding L2 is also controlled to conduct at the first carrier frequency, forming a third circuit to charge the first phase winding L1 and the second phase winding L2.

[0195] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1 and second phase winding L2 → point A to the second switch element VT2 and point B to the second switch element VT4 → third switch module K3 → the second end of the charging / discharging port.

[0196] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm electrically connected to the first phase winding L1 in the control inverter is turned on at the first carrier frequency, and the third end to the first end of the bridge arm electrically connected to the second phase winding L2 is turned on at the first carrier frequency, forming a fourth circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to another power source connected in series with the charging and discharging port, charging the battery through series boost.

[0197] At this time, the circuit flow in the fourth circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1 and second phase winding L2 → point A to the first switch element VD1 and point B to the first switch element VD3 → fourth switch module K4 → battery → fifth switch module K5 → third switch module K3 → second end of the charging / discharging port.

[0198] Optionally, the inverter's two-phase bridge arm can be controlled in phase, combined with charging strategies using different carrier frequencies and external inductors.

[0199] In one example, consider an initial charging strategy where the three-phase windings of a motor are controlled in phase at an initial carrier frequency (e.g., 14.5kHz). The charging efficiency is 60%. By adjusting the charging strategy to control the two-phase windings of the motor in phase at a first carrier frequency (e.g., 15kHz) and connecting an external 100uH inductor, the charging efficiency can be increased to 80%.

[0200] In another example, consider an initial charging strategy where the three-phase windings of the motor are controlled in phase out at an initial carrier frequency (e.g., 14.5kHz). The charging efficiency is 60%. By adjusting the charging strategy to control the two-phase windings of the motor in phase at a first carrier frequency (e.g., 10kHz) and connecting an external 400uH inductor, the charging efficiency can be increased to 96%.

[0201] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2 and third phase winding L3) are controlled to conduct at the first carrier frequency from the third end to the second end of each phase bridge arm in the inverter, forming a fifth circuit to charge the first phase winding L1, the second phase winding L2 and the third phase winding L3.

[0202] At this time, the circuit flow in the fifth circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1, second phase winding L2 and third phase winding L3 → point A to the second switch element VT2, point B to the second switch element VT4 and point C to the second switch element VT6 → third switch module K3 → the second end of the charging / discharging port.

[0203] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of each phase bridge arm in the inverter is controlled to conduct at the first carrier frequency, forming the sixth circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to another power source connected in series with the charging and discharging port, charging the battery through series boost.

[0204] At this time, the circuit flow in the sixth circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → motor N point → first phase winding L1, second phase winding L2 and third phase winding L3 → point A to the first switch element VD1, point B to the first switch element VD3 and point C to the first switch element VD5 → fourth switch module K4 → battery → fifth switch module K5 → third switch module K3 → the second end of the charging / discharging port.

[0205] Optionally, the inverter's three-phase bridge arm can be controlled in phase, combined with charging strategies using different carrier frequencies and external inductors.

[0206] In one example, consider an initial charging strategy where the three-phase windings of the motor are controlled in phase at an initial carrier frequency (e.g., 14.5kHz). The charging efficiency is 60%. By adjusting the charging strategy to control the three-phase windings of the motor in phase at a first carrier frequency (e.g., 15kHz) and connecting an external 100uH inductor, the charging efficiency can be increased to 90%.

[0207] In another example, consider an initial charging strategy where the three-phase motor windings are controlled in phase at an initial carrier frequency (e.g., 14.5kHz). The charging efficiency is 60%. By adjusting the charging strategy to control the three-phase motor windings in phase at a first carrier frequency (e.g., 10kHz) and connecting an external 400uH inductor, the charging efficiency can be increased to 96%.

[0208] In this way, by using software control strategies for the inverter and motor, combined with an external inductor, current ripple is further reduced and charging efficiency is improved.

[0209] Optionally, the charging and discharging system provided in this application embodiment further includes a second switching module; the two ends of the second switching module are electrically connected to the two ends of the current ripple suppression circuit, respectively.

[0210] In some embodiments, the second terminal of each phase winding of the motor is linked to the common terminal of the current ripple suppression circuit and the second switching module.

[0211] In some embodiments, in a boost charging scenario, as shown in FIG6 and FIG9, the charging and discharging system further includes a second switch module K2, the two ends of which are electrically connected to the two ends of the branch formed by the inductor L4 and the first switch module K1, respectively.

[0212] In some embodiments, during the boost phase, the first switch module K1 and the third switch module K3 can be closed, or the second switch module K2 and the third switch module K3 can be closed. The third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least one phase winding of the motor.

[0213] In some embodiments, the connection of inductor L4 in the charging and discharging system can be controlled by switching the second switch module K2 and the first switch module K1.

[0214] In one example, a controller can be used to turn on a current ripple suppression circuit (first switch module K1) to charge or discharge a battery electrically connected to the charging and discharging system.

[0215] In another example, the controller can turn on the second switch module to charge or discharge the battery electrically connected to the charging and discharging system when the current flowing through the motor is greater than the preset charging current or the preset discharging current.

[0216] Both the preset charging current and preset discharging current values ​​can be manually set and can be flexibly adjusted according to the actual scenario. For example, the preset charging current value can be 15A, and the preset discharging current value can be 10A.

[0217] For example, let's take a preset charging current value of 15A. If the current flowing through the motor is 20A, then since the actual charging current value is greater than 15A, it does not belong to a low-current charging scenario. In this case, the first switch module can be turned off and the second switch module can be turned on to reduce the inductance in the charging circuit and increase the charging current value.

[0218] For example, let's take a discharge current of 15A as an example. If the current flowing through the motor is 10A, then since the actual discharge current is less than 15A, it belongs to a low-current discharge scenario. In this case, the first switch module can be turned on and the second switch module can be turned off to increase the inductance in the charging circuit and improve the discharge efficiency.

[0219] It should be noted that when the first switch module K1 and the third switch module K3 are closed, the detailed description of the boost charging of the charging and discharging system can be found in the relevant descriptions in Figures 6 to 8 above; when the second switch module K1 and the third switch module K3 are closed, the detailed description of the boost charging of the charging and discharging system can be found in the relevant descriptions in Figures 3 to 5 above, and will not be repeated here.

[0220] In this way, by controlling the motor to have a specific number of windings and the inverter to participate in the charging and discharging of the battery at a specific carrier frequency, it is possible not only to charge the battery by charging the motor windings in a boost manner, but also to improve the charging and discharging efficiency.

[0221] In some embodiments, as shown in FIG10, the charging and discharging system further includes a sixth switch module K6, which is electrically connected between the first terminal of the inverter and the first terminal of the charging and discharging port.

[0222] For example, when the voltage of the external power supply matches that of the battery E1, the external power supply can be controlled to directly charge the battery E1 by closing the third switch module K3, the fourth switch module K4, the fifth switch module K5, and the sixth switch module K6.

[0223] The following describes the charging and discharging system for a buck charging scenario originating from the neutral point, with reference to Figures 11 to 16.

[0224] In some embodiments, in a buck charging scenario, as shown in Figure 11, a first terminal of the motor is electrically connected to the common terminal of the first and second switching elements of a phase bridge arm of the inverter. The second terminal of each phase winding of the motor is connected to the second terminal of the battery E1. The charging and discharging system also includes a first switching module K1 and a second switching module K2. The first switching module K1 is electrically connected between the first terminal of the inverter and the first terminal of the battery, and the second switching module K2 is electrically connected between the second terminal of the inverter and the second terminal of the battery.

[0225] In some embodiments, as shown in FIG11, the charging and discharging system further includes a first capacitor C1. One end of the first capacitor C1 is connected to the common terminal of the first switching module K1 and the first terminal of the inverter, and the other end of the first capacitor C1 is connected to the common terminal of the second switching module K2 and the second terminal of the inverter.

[0226] In some embodiments, as shown in FIG11, the charging and discharging system further includes a third switch module K3, a fourth switch module K4, and a fifth switch module K5. The third switch module K3 is electrically connected between the first end of the charging and discharging port and the first end of the inverter. The fourth switch module K4 is electrically connected between the second end of the charging and discharging port and the second end of the inverter. The fifth switch module K5 is electrically connected between the second end of each phase winding of the motor and the first end of the battery.

[0227] In some embodiments, the battery can be charged by reducing its voltage through the closed and open states of the second switch module K2 to the fifth switch module K5.

[0228] The buck charging process includes a buck phase and a charging phase.

[0229] In some embodiments, as shown in FIG12, during the step-down phase, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, and the first terminal to the third terminal of the first switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least one phase winding of the motor.

[0230] In one optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to one phase winding, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. One phase winding (first phase winding L1) in the motor is selected, and the first end to the third end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is controlled to conduct at the first carrier frequency to form a first circuit. At this time, the first phase winding L1 in the motor is equivalent to being connected in series with the battery E1 to divide the voltage and charge the first phase winding L1.

[0231] At this time, the circuit flow in the first circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → VT1 to point A in the first switch element → the first phase winding L1 → the motor N point → the fifth switch module K5 → the battery E1 → the second switch module K2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0232] Furthermore, as shown in Figure 13, after the step-down stage is completed, the second switch module K2 and the fifth switch module K5 are closed, entering the charging stage. The second end to the third end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is turned on at the first carrier frequency to form a second circuit to charge the battery.

[0233] At this time, the circuit flow in the second circuit is as follows: first phase winding L1 → motor N point → fifth switch module K5 → battery E1 → second switch module K2 → second switch element VD2 to point A → first phase winding L1.

[0234] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. Two-phase windings in the motor (first phase winding L1 and second phase winding L2) are selected, and the first to third ends of the bridge arm electrically connected to the first phase winding L1 in the inverter are controlled to conduct at the first carrier frequency, and the first to third ends of the bridge arm electrically connected to the second phase winding L2 are also controlled to conduct at the first carrier frequency, forming a third circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1 and the second phase winding L2 are charged.

[0235] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → VT1 to point A and VT3 to point B in the first switch element → the first phase winding L1 and the second phase winding L2 → the motor N point → the fifth switch module K5 → the battery E1 → the second switch module K2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0236] Furthermore, after the step-down phase is completed, the second switch module K2 and the fifth switch module K5 are closed, entering the charging phase. The second to third ends of the bridge arm electrically connected to the first phase winding L1 in the inverter are turned on with the first carrier frequency, and the second to third ends of the bridge arm electrically connected to the second phase winding L2 are turned on with the first carrier frequency, forming a fourth circuit to charge the battery.

[0237] At this time, the circuit flow in the fourth circuit is as follows: first phase winding L1 and second phase winding L2 → motor N point → fifth switch module K5 → battery E1 → second switch module K2 → second switch element VD2 to point A and second switch element VD4 to point B → first phase winding L1 and second phase winding L2.

[0238] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2, and third phase winding L3) are controlled to conduct at the first carrier frequency from the first end to the third end of each phase bridge arm in the inverter, forming the fifth circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1, the second phase winding L2, and the third phase winding L3 are charged.

[0239] At this time, the circuit flow in the fifth circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → VT1 to point A, VT3 to point B and VT5 to point C in the first switch element → the first phase winding L1, the second phase winding L2 and the third phase winding L3 → the motor N point → the fifth switch module K5 → the battery E1 → the second switch module K2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0240] Furthermore, after the step-down phase is completed, the second switch module K2 and the fifth switch module K5 are closed, entering the charging phase. The second to third ends of each phase bridge arm in the inverter are controlled to conduct at the first carrier frequency, forming the sixth circuit to charge the battery.

[0241] At this time, the circuit flow in the sixth circuit is as follows: first phase winding L1, second phase winding L2 and third phase winding L3 → motor N point → fifth switch module K5 → battery E1 → second switch module K2 → second switch element VD2 to point A, second switch element VD4 to point B and second switch element VD6 to point C → first phase winding L1, second phase winding L2 and third phase winding L3.

[0242] In some embodiments, in a buck charging scenario, as shown in FIG14, the fifth switch module K5 in the charging and discharging system is electrically connected between the second end of each phase winding of the motor and the second end of the battery.

[0243] In some embodiments, the battery can be charged by reducing its voltage through the closed and open states of the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5.

[0244] The buck charging process includes a buck phase and a charging phase.

[0245] In some embodiments, as shown in FIG15, during the step-down phase, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, and the third terminal to the second terminal of the first switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least one phase winding of the motor.

[0246] In one optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to one phase winding, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. One phase winding (first phase winding L1) in the motor is selected, and the third end to the second end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is controlled to conduct at the first carrier frequency to form a first circuit. At this time, the first phase winding L1 in the motor is equivalent to being connected in series with the battery E1 to divide the voltage and charge the first phase winding L1.

[0247] At this time, the circuit flow in the first circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → the first switch module K1 → the battery E1 → the fifth switch module K5 → the motor N point → the first phase winding L1 → point A to the second switch element VT2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0248] Furthermore, as shown in Figure 16, after the step-down stage is completed, the first switch module K1 and the fifth switch module K5 are closed, and the charging stage is entered. The third end to the first end of the bridge arm in the inverter that is electrically connected to the first phase winding L1 is turned on at the first carrier frequency to form a second circuit to charge the battery.

[0249] At this time, the circuit flow in the second circuit is as follows: first phase winding L1 → point A to the first switching element VD1 → first switching module K1 → battery E1 → fifth switching module K5 → motor N point → first phase winding L1.

[0250] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. Two-phase windings in the motor (first phase winding L1 and second phase winding L2) are selected, and the third end to the second end of the bridge arm electrically connected to the first phase winding L1 in the inverter is controlled to conduct at the first carrier frequency, and the third end to the second end of the bridge arm electrically connected to the second phase winding L2 is also controlled to conduct at the first carrier frequency, forming a third circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1 and the second phase winding L2 are charged.

[0251] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → the first switch module K1 → the battery E1 → the fifth switch module K5 → the motor N point → the first phase winding L1 and the second phase winding L2 → point A to the second switch element VT2 and point B to the second switch element VT4 → the fourth switch module K4 → the second end of the charging / discharging port.

[0252] Furthermore, after the step-down phase is completed, the first switch module K1 and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm electrically connected to the first phase winding L1 in the inverter is turned on with the first carrier frequency, and the third end to the first end of the bridge arm electrically connected to the second phase winding L2 is turned on with the first carrier frequency, forming a fourth circuit to charge the battery.

[0253] At this time, the circuit flow in the fourth circuit is as follows: first phase winding L1 and second phase winding L2 → point A to the first switching element VD1 and point B to the first switching element VD3 → first switching module K1 → battery E1 → fifth switching module K5 → motor N point → first phase winding L1 and second phase winding L2.

[0254] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2, and third phase winding L3) are controlled to conduct at the first carrier frequency from the third end to the second end of each phase bridge arm in the inverter, forming the fifth circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1, the second phase winding L2, and the third phase winding L3 are charged.

[0255] At this time, the circuit flow in the fifth circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → the first switch module K1 → the battery E1 → the fifth switch module K5 → the motor N point → the first phase winding L1, the second phase winding L2 and the third phase winding L3 → point A to the second switch element VT2, point B to the second switch element VT4 and point C to the second switch element VT6 → the fourth switch module K4 → the second end of the charging / discharging port.

[0256] Furthermore, after the step-down phase is completed, the first switch module K1 and the fifth switch module K5 are closed, entering the charging phase. The third terminal to the first terminal of each phase bridge arm in the inverter is controlled to conduct at the first carrier frequency, forming the sixth circuit to charge the battery.

[0257] At this time, the circuit flow in the sixth circuit is as follows: first phase winding L1, second phase winding L2 and third phase winding L3 → point A to the first switching element VD1, point B to the first switching element VD3 and point C to the first switching element VD5 → first switching module K1 → battery E1 → fifth switching module K5 → motor N point → first phase winding L1, second phase winding L2 and third phase winding L3.

[0258] In this way, by controlling the motor to have a specific number of windings and the inverter to participate in the charging and discharging of the battery at a specific carrier frequency, it is possible not only to charge the battery by dividing the voltage of the motor windings into the battery in a step-down manner, but also to improve the charging and discharging efficiency.

[0259] In some embodiments, in boost charging and buck charging scenarios, as shown in Figure 17, a first terminal of the motor is electrically connected to the common terminal of the first and second switching elements of a phase bridge arm of the inverter, and the second terminal of each phase winding of the motor is respectively connected to the first terminal of the charging / discharging port and the first terminal of the battery.

[0260] In some embodiments, as shown in FIG17, the charging and discharging system further includes a first switch module K1 and a second switch module K2. The first switch module K1 is electrically connected between the second end of each phase winding of the motor and the first end of the charging and discharging port, and the second switch module K2 is electrically connected between the second end of the inverter and the second end of the charging and discharging port.

[0261] In some embodiments, as shown in FIG17, the charging and discharging system further includes a first capacitor C1. One end of the first capacitor C1 is connected to the common terminal of the first switching module K1 and the first terminal of the charging and discharging port, and the other end of the first capacitor C1 is connected to the second terminal of the inverter and the common terminal of the second switching module K2.

[0262] In some embodiments, as shown in FIG17, the charging and discharging system further includes a third switch module K3 and a fourth switch module K4. The third switch module K3 is electrically connected between the first terminal of the battery and the first terminal of the inverter, and the fourth switch module K4 is electrically connected between the second terminal of the battery and the second terminal of the inverter.

[0263] In some embodiments, as shown in FIG17, the charging and discharging system further includes a second capacitor C2. One end of the second capacitor C2 is connected to the common terminal of the third switching module K3 and the first terminal of the inverter, and the other end of the second capacitor C2 is connected to the common terminal of the fourth switching module K4 and the second terminal of the inverter.

[0264] In some embodiments, as shown in FIG17, the charging and discharging system further includes a fifth switch module K5 and a sixth switch module K6. The fifth switch module K5 is electrically connected between the first end of the battery and the second end of each phase winding of the motor, and the sixth switch module K6 is electrically connected between the first end of the inverter and the first end of the charging and discharging port.

[0265] The following describes the charging and discharging system for a boost charging scenario where the neutral point is not brought out, with reference to Figures 18 to 25.

[0266] In some embodiments, in a boost charging scenario, as shown in Figure 18, the first end of one phase winding of the motor is electrically connected to the common terminal of the first and second switching elements of one phase bridge arm of the inverter, and the first end of any phase winding (first phase winding L1) of the multi-phase windings of the motor is electrically connected to the first end of the charging / discharging port. The charging / discharging system also includes a first switching module K1 and a third switching module K3. The first switching module K1 is electrically connected between the first end of the first phase winding L1 and the first end of the charging / discharging port, and the third switching module K3 is electrically connected between the second end of the inverter and the second end of the charging / discharging port.

[0267] In some embodiments, as shown in FIG18, the charging and discharging system further includes a first capacitor C1. One end of the first capacitor C1 is connected to the common terminal of the first switching module K1 and the first terminal of the charging and discharging port, and the other end of the first capacitor C1 is connected to the common terminal of the second terminal of the inverter and the third switching module K3.

[0268] In some embodiments, as shown in FIG18, the charging and discharging system further includes a fourth switch module K4 and a fifth switch module K5. The fourth switch module K4 is electrically connected between the first terminal of the battery and the first terminal of the inverter, and the fifth switch module K5 is electrically connected between the second terminal of the battery and the second terminal of the inverter.

[0269] In some embodiments, as shown in FIG18, the charging and discharging system further includes a second capacitor C2. One end of the second capacitor C2 is connected to the common terminal of the fourth switching module K4 and the first terminal of the inverter, and the other end of the second capacitor C2 is connected to the common terminal of the fifth switching module K5 and the second terminal of the inverter.

[0270] In some embodiments, boost charging of the battery can be achieved through the closed and open states of the first switch module K1, the third switch module K3, the third switch module K4, and the fifth switch module K5.

[0271] Boost charging includes a boost phase and a charging phase.

[0272] In some embodiments, as shown in FIG19, during the boost phase, the first switch module K1 and the third switch module K3 are closed, and the third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least two phase windings of the motor.

[0273] In one optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. Two-phase windings (first phase winding L1 and second phase winding L2) in the motor are selected, and the third end to the second end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is controlled to conduct at the first carrier frequency to form a first circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to another power source connected in series with the charging and discharging port, and the first phase winding L1 and the second phase winding L2 are charged by series boost.

[0274] At this time, the circuit flow in the first circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → the first phase winding L1 → the second phase winding L2 → point B to the second switch element VT4 → the third switch module K3 → the second end of the charging / discharging port.

[0275] Further, as shown in Figure 20, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4 and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is turned on at the first carrier frequency to form a second circuit to charge the battery.

[0276] At this time, the circuit flow in the second circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → the first phase winding L1 → the second phase winding L2 → point B to the first switch element VD3 → the fourth switch module K4 → the battery → the fifth switch module K5 → the third switch module K3 → the second end of the charging / discharging port.

[0277] Alternatively, a strategy of series charging and discharging of two phase windings of the motor can be selected, in which current flows from one phase winding into the other phase winding.

[0278] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2, and third phase winding L3) are selected, and the third end to the second end of the bridge arm electrically connected to the second phase winding L2 in the inverter is controlled to conduct at the first carrier frequency, and the third end to the second end of the bridge arm electrically connected to the third phase winding L3 is controlled to conduct at the first carrier frequency, forming a third circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to another power source connected in series with the charging and discharging port, and the first phase winding L1, the second phase winding L2, and the third phase winding L3 are charged by series boost.

[0279] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → the first phase winding L1 → the second phase winding L2 and the third phase winding L3 → point B to the second switch element VT4 and point C to the second switch element VT6 → the third switch module K3 → the second end of the charging / discharging port.

[0280] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm electrically connected to the second phase winding L2 in the inverter is turned on at the first carrier frequency, and the third end to the first end of the bridge arm electrically connected to the third phase winding L3 is turned on at the first carrier frequency, forming a fourth circuit to charge the battery.

[0281] At this time, the circuit flow in the fourth circuit is as follows: the first end of the charging / discharging port → the first switch module K1 → the first phase winding L1 → the second phase winding L2 and the third phase winding L3 → point B to the first switch element VD3 and point C to the first switch element VD5 → the fourth switch module K4 → the battery → the fifth switch module K5 → the third switch module K3 → the second end of the charging / discharging port.

[0282] Optionally, one phase winding of the motor can be connected in parallel with the other two phase windings for charging and discharging, combined with a charging and discharging strategy controlled by the phase difference (e.g., 180 degrees) between the two phase bridge arms connected to the other two phase windings.

[0283] Optionally, one phase winding of the motor can be connected in parallel with the other two phase windings for charging and discharging, combined with a charging and discharging strategy that controls the two phase bridge arms connected to the other two phase windings to be in phase.

[0284] In this way, by using software control strategies for the inverter and motor, charging efficiency can be improved while keeping costs constant.

[0285] Optionally, the charging and discharging system provided in this application further includes a current ripple suppression circuit, one end of which is connected to the motor and the other end is connected to the charging and discharging port.

[0286] In some embodiments, in the boost charging scenario, as shown in FIG18 and FIG21, the charging and discharging system further includes an inductor L4, which is connected in series with the first switch module K1. The branch formed by the connection of the inductor L4 and the first switch module K1 is connected between the motor and the charging and discharging port.

[0287] In some embodiments, as shown in FIG22, during the boost phase, the first switch module K1 and the third switch module K3 are closed, and the third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least two phase windings of the motor.

[0288] In one optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. Two-phase windings (first phase winding L1 and second phase winding L2) in the motor are selected, and the third end to the second end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is controlled to conduct at the first carrier frequency to form a first circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to another power source connected in series with the charging and discharging port, and the first phase winding L1 and the second phase winding L2 are charged by series boost.

[0289] At this time, the circuit flow in the first loop is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → first phase winding L1 → second phase winding L2 → point B to the second switch element VT4 → third switch module K3 → the second end of the charging / discharging port.

[0290] Further, as shown in Figure 23, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4 and the fifth switch module K5 are closed, and the charging phase begins. The third end to the first end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is turned on at the first carrier frequency to form a second circuit to charge the battery E1.

[0291] At this time, the circuit flow in the second circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → first phase winding L1 → second phase winding L2 → point B to the first switch element VD3 → fourth switch module K4 → battery → fifth switch module K5 → third switch module K3 → second end of the charging / discharging port.

[0292] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the first switch module K1 and the third switch module K3 are closed, entering the boost stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2, and third phase winding L3) are selected, and the third end to the second end of the bridge arm electrically connected to the second phase winding L2 in the inverter is controlled to conduct at the first carrier frequency, and the third end to the second end of the bridge arm electrically connected to the third phase winding L3 is controlled to conduct at the first carrier frequency, forming a third circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to another power source connected in series with the charging and discharging port, and the first phase winding L1, the second phase winding L2, and the third phase winding L3 are charged by series boost.

[0293] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → first phase winding L1 → second phase winding L2 and third phase winding L3 → point B to the second switch element VT4 and point C to the second switch element VT6 → third switch module K3 → the second end of the charging / discharging port.

[0294] Furthermore, after the boost phase is completed, the first switch module K1, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the charging phase. The third end to the first end of the bridge arm electrically connected to the second phase winding L2 in the inverter is turned on at the first carrier frequency, and the third end to the first end of the bridge arm electrically connected to the third phase winding L3 is turned on at the first carrier frequency, forming a fourth circuit to charge the battery E1.

[0295] At this time, the circuit flow in the fourth circuit is as follows: the first end of the charging / discharging port → inductor L4 → first switch module K1 → first phase winding L1 → second phase winding L2 and third phase winding L3 → point B to the first switch element VD3 and point C to the first switch element VD5 → fourth switch module K4 → battery → fifth switch module K5 → third switch module K3 → second end of the charging / discharging port.

[0296] In this way, by using software control strategies for the inverter and motor, combined with an external inductor, current ripple is further reduced and charging efficiency is improved.

[0297] Optionally, the charging and discharging system provided in this application embodiment further includes a second switching module; the two ends of the second switching module are electrically connected to the two ends of the current ripple suppression circuit, respectively.

[0298] For example, the first end of any phase winding in the target phase winding is electrically connected to the common terminal of the current ripple suppression circuit and the second switching module.

[0299] In some embodiments, in the boost charging scenario, as shown in FIG24 in conjunction with FIG21, the charging and discharging system further includes a second switch module K2, the two ends of the second switch module K2 being electrically connected to the two ends of the branch formed by the inductor L4 and the first switch module K1, respectively.

[0300] In some embodiments, during the boost phase, the first switch module K1 and the third switch module K3 can be closed, or the second switch module K2 and the third switch module K3 can be closed. The third terminal to the second terminal of the second switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least two phase windings of the motor.

[0301] It should be noted that when the first switch module K1 and the third switch module K3 are closed, the detailed description of the boost charging of the charging and discharging system can be found in the relevant descriptions in Figures 21 to 23 above; when the second switch module K1 and the third switch module K3 are closed, the detailed description of the boost charging of the charging and discharging system can be found in the relevant descriptions in Figures 18 to 20 above, and will not be repeated here.

[0302] In some embodiments, as shown in FIG25, the charging and discharging system further includes a sixth switch module K6, which is electrically connected between the first terminal of the inverter and the first terminal of the charging and discharging port.

[0303] In some embodiments, when the voltage of the external power supply matches that of the battery E1, the external power supply can be controlled to directly charge the battery E1 by closing the third switch module K3, the fourth switch module K4, the fifth switch module K5, and the sixth switch module K6.

[0304] In this way, by controlling the motor to have a specific number of windings and the inverter to participate in the charging and discharging of the battery at a specific carrier frequency, it is possible not only to charge the battery by charging the motor windings in a boost manner, but also to improve the charging and discharging efficiency.

[0305] The following describes the charging and discharging system for a buck charging scenario where the neutral point is not brought out, with reference to Figures 26 to 28.

[0306] In some embodiments, in a buck charging scenario, as shown in FIG26, a first terminal of the motor is electrically connected to the common terminal of the first and second switching elements of a phase bridge arm of the inverter, and the first terminal of any phase winding (first phase winding L1) of the multi-phase winding of the motor is electrically connected to the first terminal of the battery E1. The charging and discharging system further includes a first switching module K1 and a second switching module K2. The first switching module K1 is electrically connected between the first terminal of the inverter and the first terminal of the battery, and the second switching module K2 is electrically connected between the second terminal of the inverter and the second terminal of the battery.

[0307] In some embodiments, as shown in FIG26, the charging and discharging system further includes a first capacitor C1. One end of the first capacitor C1 is connected to the common terminal of the first switching module K1 and the first terminal of the inverter, and the other end of the first capacitor C1 is connected to the common terminal of the second switching module K2 and the second terminal of the inverter.

[0308] In some embodiments, as shown in FIG26, the charging and discharging system further includes a third switch module K3 and a fourth switch module K4. The third switch module K3 is electrically connected between the first end of the charging and discharging port and the first end of the inverter, and the fourth switch module K4 is electrically connected between the second end of the charging and discharging port and the second end of the inverter.

[0309] In some embodiments, as shown in FIG26, the charging and discharging system further includes a second capacitor C2. One end of the second capacitor C2 is connected to the common terminal of the third switching module K1 and the first terminal of the charging and discharging port, and the other end of the second capacitor C2 is connected to the common terminal of the fourth switching module K4 and the second terminal of the inverter.

[0310] In some embodiments, as shown in FIG26, the charging and discharging system further includes a fifth switch module K5, which is electrically connected between the first end of any phase winding (first phase winding L1) of the multiphase winding of the motor and the first end of the battery E1.

[0311] In some embodiments, the battery can be charged by reducing its voltage through the closed and open states of the second switch module K2 to the fifth switch module K5.

[0312] The buck charging process includes a buck phase and a charging phase.

[0313] In some embodiments, as shown in FIG27, during the step-down phase, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, and the first terminal to the third terminal of the first switch element of at least one phase bridge arm in the inverter is turned on at the first carrier frequency, forming a circuit with the charging and discharging port to charge at least two phase windings of the motor.

[0314] In one optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the two-phase winding, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. Two-phase windings in the motor (first phase winding L1 and second phase winding L2) are selected, and the first end to the third end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is controlled to conduct at the first carrier frequency to form a first circuit. At this time, the first phase winding L1 and the second phase winding L2 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1 and the second phase winding L2 are charged.

[0315] At this time, the circuit flow in the first circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → VT3 to point B in the first switch element → the second phase winding L2 → the first phase winding L1 → the fifth switch module K5 → the battery E1 → the second switch module K2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0316] Furthermore, as shown in Figure 28, after the step-down stage is completed, the second switch module K2 and the fifth switch module K5 are closed, and the charging stage is entered. The second end to the third end of the bridge arm in the inverter that is electrically connected to the second phase winding L2 is turned on at the first carrier frequency to form a second circuit to charge the battery E1.

[0317] At this time, the circuit flow in the second circuit is as follows: first phase winding L1 → fifth switch module K5 → battery E1 → second switch module K2 → second switch element VD4 to point B → second phase winding L2.

[0318] In another optional implementation, when the maximum charging current is less than or equal to the charging current corresponding to the three-phase winding, the second switch module K2, the third switch module K3, the fourth switch module K4, and the fifth switch module K5 are closed, entering the step-down stage. The three-phase windings in the motor (first phase winding L1, second phase winding L2, and third phase winding L3) are selected, and the first to third ends of the bridge arm electrically connected to the second phase winding L2 in the inverter are controlled to conduct at the first carrier frequency, and the first to third ends of the bridge arm electrically connected to the third phase winding L3 are also controlled to conduct at the first carrier frequency, forming a third circuit. At this time, the first phase winding L1, the second phase winding L2, and the third phase winding L3 in the motor are equivalent to being connected in series with the battery E1 to divide the voltage, and the first phase winding L1, the second phase winding L2, and the third phase winding L3 are charged.

[0319] At this time, the circuit flow in the third circuit is as follows: the first end of the charging / discharging port → the third switch module K3 → VT3 to point B and VT5 to point C in the first switch element → the second phase winding L2 and the third phase winding L3 → the first phase winding L1 → the fifth switch module K5 → the battery E1 → the second switch module K2 → the fourth switch module K4 → the second end of the charging / discharging port.

[0320] Furthermore, after the step-down phase is completed, the second switch module K2 and the fifth switch module K5 are closed, entering the charging phase. The second to third ends of the bridge arm electrically connected to the second phase winding L2 in the inverter are turned on with the first carrier frequency, and the second to third ends of the bridge arm electrically connected to the third phase winding L3 are turned on with the first carrier frequency, forming a fourth circuit to charge the battery E1.

[0321] At this time, the circuit flow in the fourth circuit is as follows: first phase winding L1 → fifth switch module K5 → battery E1 → second switch module K2 → second switch element VD4 to point B and second switch element VD6 to point C → second phase winding L2 and third phase winding L3.

[0322] In this way, by controlling the motor to have a specific number of windings and the inverter to participate in the charging and discharging of the battery at a specific carrier frequency, it is possible not only to charge the battery by dividing the voltage of the motor windings into the battery in a step-down manner, but also to improve the charging and discharging efficiency.

[0323] Optionally, in any of the above embodiments, the boost and charging stages, as well as the buck and charging stages, can be controlled by selecting the required switching frequency from Table 1 above, based on the current value flowing through the motor, so as to control the bridge arm in the inverter participating in the boost and charging stages to operate at the switching frequency.

[0324] In this way, the control arm is turned on at a preset carrier frequency, reducing current ripple and thus improving charging and discharging efficiency.

[0325] The following describes the method for determining the single-phase winding in the charging and discharging scenario using a single-phase winding as shown in Figures 3 to 17, with reference to Figures 29 to 32.

[0326] In some embodiments, one phase winding of the multiphase winding of the motor can be determined based on the rotor position for charging and discharging.

[0327] In one alternative implementation, the target phase winding that generates the minimum torque between the magnetic field generated by the stator winding and the magnetic field generated by the rotor can be selected for charging and discharging based on the principle of minimum torque. Minimum torque means that the selected phase winding minimizes the torque experienced by the rotor during the charging and discharging process.

[0328] Among them, the combined torque of the magnetic field generated by the target phase winding and the magnetic field generated by the rotor in the multiphase winding is the smallest.

[0329] For example, based on the direction of the magnetic field generated by the rotor, the phase winding in which the combined torque of the magnetic field generated by the single-phase winding current and the rotor magnetic field is the smallest can be selected when the stator winding is charging or discharging.

[0330] For example, during charging and discharging, as shown in Figure 29, let's take phase A windings as 330–30° and 150–210° electrical angles, phase B windings as 90–150° and 270–330° electrical angles, and phase C windings as 30–90° and 210–270° electrical angles. If the rotor position is between 330–30° and 150–210° electrical angles, the combined torque of the rotor magnetic field and the magnetic field generated by the current in phase A windings is the smallest, so phase A windings are selected for charging and discharging. If the rotor position is between 90–150° and 270–330° electrical angles, the combined torque of the rotor magnetic field and the magnetic field generated by the current in phase B windings is the smallest, so phase B windings are selected for charging and discharging. If the rotor position is between 30–90° and 210–270° electrical angles, the combined torque of the rotor magnetic field and the magnetic field generated by the current in phase C windings is the smallest, so phase C windings are selected for charging and discharging.

[0331] In this way, by selecting the target phase winding with the lowest torque, it is ensured that no torque fluctuations will occur during or after the charging and discharging switching process, and even minor noises such as gear noise will occur.

[0332] In another alternative implementation, the target phase winding closest to the rotor magnetic field direction can be selected for charging and discharging based on the principle of minimum stator-rotor magnetic field angle. Minimum angle means that the magnetic field generated by the current in the selected phase winding is closest to the rotor magnetic field direction during charging and discharging (so that the rotor has the minimum position for rotation and the winding does not change phase during the process).

[0333] Among them, the angle between the magnetic field generated by the target phase winding and the magnetic field generated by the rotor is the smallest in the multiphase winding.

[0334] For example, based on the position of the magnetic field generated by the rotor, the phase winding whose magnetic field generated by the single-phase winding current is closest to the position of the rotor magnetic field can be selected when the stator winding is charging or discharging.

[0335] For example, during charging, as shown in Figure 30, let's take phase A winding as the 120–240 electrical angle, phase B winding as the 240–360 electrical angle, and phase C winding as the 0–120 electrical angle. If the rotor is positioned between 120–240 electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase A winding is the smallest, so phase A winding is selected for charging. If the rotor is positioned between 240–360 electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase B winding is the smallest, so phase B winding is selected for charging. If the rotor is positioned between 0–120 electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase C winding is the smallest, so phase C winding is selected for charging.

[0336] During discharge, as shown in Figure 31, taking phase A winding as 300–60 degrees electrical angle, phase B winding as 60–180 degrees electrical angle, and phase C winding as 180–300 degrees electrical angle as an example: If the rotor position is between 300–60 degrees electrical angle, the angle between the rotor magnetic field and the magnetic field generated by the current in phase A winding is the smallest, so phase A winding is selected for discharge; if the rotor position is between 60–180 degrees electrical angle, the angle between the rotor magnetic field and the magnetic field generated by the current in phase B winding is the smallest, so phase B winding is selected for discharge; if the rotor position is between 180–300 degrees electrical angle, the angle between the rotor magnetic field and the magnetic field generated by the current in phase C winding is the smallest, so phase C winding is selected for discharge.

[0337] In this way, by selecting the target phase winding with the smallest angle between the stator and rotor magnetic fields, it is ensured that no torque fluctuations or even gear noises will occur during or after the charging and discharging process.

[0338] In another alternative implementation, the target phase winding closest to the rotor magnetic field within ±90 degrees can be selected for charging and discharging based on the principle of maximizing the inductance of the charging and discharging circuit windings. Maximizing inductance means that the selected phase winding causes the rotor to rotate at the minimum position during the charging and discharging process.

[0339] Among them, the magnetic field generated by the target phase winding in the multiphase winding is closest to the magnetic field generated by the rotor in the positive and negative 90-degree direction.

[0340] For example, based on the direction of the magnetic field generated by the rotor at positive or negative 90 degrees, one phase winding can be selected where the magnetic field generated by the single-phase winding current is closest to the direction of the magnetic field generated by the rotor during charging or discharging.

[0341] For example, during charging and discharging, as shown in Figure 32, let's take 60–120° and 240–300° electrical angles as phase A windings, 0–60° and 180–240° electrical angles as phase B windings, and 120–180° and 300–360° electrical angles as phase C windings. If the rotor position is between 60–120° and 240–300° electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase A windings is closest to 90°, so phase A windings are selected for charging and discharging. If the rotor position is between 0–60° and 180–240° electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase B windings is closest to 90°, so phase B windings are selected for charging and discharging. If the rotor position is between 120–180° and 300–360° electrical angles, the angle between the rotor magnetic field and the magnetic field generated by the current in phase C windings is closest to 90°, so phase C windings are selected for charging and discharging.

[0342] In this way, by selecting the target phase winding with the largest inductance, it is ensured that no torque fluctuations or even gear noises will occur during or after the charging and discharging process.

[0343] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A charging and discharging system, characterized in that, include: An electric motor, including multi-phase windings; an inverter, including multi-phase bridge arms, each phase of the bridge arm being electrically connected to one phase of the windings; The controller is configured to: control the bridge arm connected to the target phase winding in the multiphase winding to conduct, so as to charge or discharge the battery electrically connected to the charging and discharging system; wherein the number of the target phase winding is determined according to the maximum charging current value allowed by the current charging state of the charging and discharging system, or the maximum discharging current value allowed by the current discharging state.

2. The charging and discharging system according to claim 1, characterized in that, The number of target phase windings is 1, and the target phase windings are determined according to the position of the rotor in the motor.

3. The charging and discharging system according to claim 2, characterized in that, In the multiphase winding, the combined torque of the magnetic field generated by the target phase winding and the magnetic field generated by the rotor is the smallest.

4. The charging and discharging system according to claim 2, characterized in that, In the multiphase winding, the angle between the magnetic field generated by the target phase winding and the magnetic field generated by the rotor is the smallest.

5. The charging and discharging system according to claim 2, characterized in that, In the multiphase winding, the magnetic field generated by the target phase winding is closest to the magnetic field generated by the rotor in the positive and negative 90-degree direction.

6. The charging and discharging system according to any one of claims 1 to 5, characterized in that, The maximum charging current value is the minimum of at least one of the following: a first charging current value, a second charging current value, and a third charging current value; wherein, the first charging current value is used to represent the maximum charging current value currently allowed by the controller, the second charging current value is used to represent the maximum charging current value currently supported by the battery, and the third charging current value is used to represent the maximum charging current value currently provided by the external power supply; the maximum discharging current value is the minimum of at least one of the following: a first discharging current value, a second discharging current value, and a third discharging current value; wherein, the first discharging current value is used to represent the maximum discharging current value currently allowed by the controller, the second discharging current value is used to represent the maximum discharging current value currently provided by the battery, and the third discharging current value is used to represent the maximum discharging current value currently required by the external load.

7. The charging and discharging system according to any one of claims 1 to 5, characterized in that, The controller is configured to control the bridge arm connected to the target phase winding to conduct according to a first carrier frequency; wherein the first carrier frequency is determined based on the current value flowing through the motor.

8. The charging and discharging system according to claim 7, characterized in that, The first carrier frequency is determined based on the current flowing through the motor and a preset charging efficiency, or based on the current flowing through the motor and a preset discharging efficiency.

9. The charging and discharging system according to claim 7, characterized in that, The first carrier frequency is determined based on the current value flowing through the motor when the charging efficiency of the charging and discharging system is greater than or equal to a preset charging efficiency, or the discharging efficiency is greater than or equal to a preset discharging efficiency.

10. The charging and discharging system according to claim 7, characterized in that, The first carrier frequency is negatively correlated with the maximum charging current value, or the first carrier frequency is negatively correlated with the maximum discharging current value.

11. The charging and discharging system according to any one of claims 1 to 5, characterized in that, The charging and discharging system further includes a current ripple suppression circuit, one end of which is connected to the motor and the other end of which is connected to the charging and discharging port; the controller is further configured to control the current ripple suppression circuit to conduct so as to charge or discharge the battery electrically connected to the charging and discharging system.

12. The charging and discharging system according to claim 11, characterized in that, The current ripple suppression circuit includes an inductor and a first switching module connected in series; the branch formed by the connection of the inductor and the first switching module is connected between the motor and the charging / discharging port.

13. The charging and discharging system according to claim 11, characterized in that, The charging and discharging system further includes a second switch module, the two ends of which are electrically connected to the two ends of the current ripple suppression circuit, respectively; the controller is further configured to control the second switch module to conduct when the current flowing through the motor is greater than a preset charging current value or a preset discharging current value, so as to charge or discharge the battery electrically connected to the charging and discharging system.

14. The charging and discharging system according to claim 13, characterized in that, The first end of each phase winding of the motor is electrically connected to the inverter, and the second end of each phase winding of the motor is electrically connected to the common terminal of the current ripple suppression circuit and the second switching module.

15. The charging and discharging system according to claim 13, characterized in that, The first end of each phase winding of the motor is electrically connected to the inverter; the first end of any phase winding in the target phase winding is electrically connected to the common terminal of the current ripple suppression circuit and the second switching module.

16. A means of transportation, characterized in that, Includes the charging and discharging system as described in any one of claims 1 to 15.