Charging and discharging control system, method, device, apparatus, and computer storage medium
Patent Information
- Application Number
- CN202611156719.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-09-18
AI Technical Summary
另一方面,当充电桩额定电压高于动力电池电压时,会导致充电速率慢的问题
本申请所述系统包括动力电池、充电口、电驱总成和功率电子模块;所述动力电池的正极和所述充电口的正极之间设有第一可控开关,所述动力电池的负极和所述充电口的负极之间设有第二可控开关;所述电驱总成包括逆变器和电机,所述电机包括绕组,所述逆变器包括与所述绕组对应设置的桥臂,所述桥臂包括上桥臂开关管和下桥臂开关管;所述上桥臂开关管的第一端连接至所述第一可控开关与所述动力电池之间的线路,所述下桥臂开关管的第二端连接至所述第二可控开关与所述动力电池之间的线路,所述上桥臂开关管的第二端与所述下桥臂开关管的第一端的连接点连接至所述绕组的第一端,所述绕组的第二端接于公共节点;所述功率电子模块包含第三可控开关、第四可控开关和储能电路,所述第三可控开关的第一端连接至所述第一可控开关与所述充电口之间的线路,所述第三可控开关的第二端与所述第四可控开关的第一端连接,所述第四可控开关的第二端连接至所述第二可控开关与所述充电口之间的线路,所述储能电路连接于所述第三可控开关的两端,且与所述公共节点连接,所述储能电路至少包括串联的电容元件和电容可控开关;所述充放电系统根据所述充电口的连接请求信号,控制各个可控开关和所述电驱总成切换电流通路,以实现不同充放电模式的切换。可见,本申请所述系统能够实现多种充放电模式的灵活切换,使充放电两端电压精准匹配,从而显著提升电动汽车的充放电使用体验。
Smart Images

Figure CN122770547A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive parts technology, specifically to a charging and discharging control system, method, apparatus, equipment, and computer storage medium. Background Technology
[0002] However, with the rapid increase in battery voltage, the problem of voltage mismatch between vehicles and charging stations is becoming increasingly prominent. When the rated voltage of a charging station is lower than that of the power battery, it may be impossible to fully charge or even charge at all. For example, some 800V platform vehicles will directly display a message stating "Charging station incompatible, unable to charge" when connected to an older 500V charging station. On the other hand, when the rated voltage of the charging station is higher than that of the power battery, it will lead to a slow charging rate. Both of these situations stem from insufficient voltage matching between the charging station and the battery pack, severely impacting the charging experience of electric vehicles. Therefore, a method for switching charging modes is urgently needed. Summary of the Invention
[0003] This application provides a charging and discharging control system, method, apparatus, device, and computer storage medium, which can realize flexible switching of multiple charging and discharging modes and accurately match the voltage at both ends of the charging and discharging process, thereby significantly improving the charging and discharging experience of electric vehicles.
[0004] To achieve the above objectives, the technical solution adopted in this application is as follows: In a first aspect, embodiments of this application provide a charging and discharging control system, the system comprising: Power battery, charging port, electric drive assembly and power electronic module; A first controllable switch is provided between the positive terminal of the power battery and the positive terminal of the charging port, and a second controllable switch is provided between the negative terminal of the power battery and the negative terminal of the charging port. The electric drive assembly includes an inverter and a motor. The motor includes windings. The inverter includes bridge arms corresponding to the windings. The bridge arms include an upper bridge arm switch and a lower bridge arm switch. The first end of the upper bridge arm switch tube is connected to the line between the first controllable switch and the power battery, the second end of the lower bridge arm switch tube is connected to the line between the second controllable switch and the power battery, the connection point between the second end of the upper bridge arm switch tube and the first end of the lower bridge arm switch tube is connected to the first end of the winding, and the second end of the winding is connected to a common node. The power electronic module includes a third controllable switch, a fourth controllable switch, and an energy storage circuit. The first end of the third controllable switch is connected to the line between the first controllable switch and the charging port. The second end of the third controllable switch is connected to the first end of the fourth controllable switch. The second end of the fourth controllable switch is connected to the line between the second controllable switch and the charging port. The energy storage circuit is connected to both ends of the third controllable switch and is connected to the common node. The energy storage circuit includes at least a series-connected capacitor element and a capacitor controllable switch. The charging and discharging system controls each controllable switch and the electric drive assembly to switch current paths according to the connection request signal of the charging port, so as to realize the switching of different charging and discharging modes.
[0005] Secondly, embodiments of this application provide a charging and discharging method applied to the aforementioned charging and discharging system, comprising: Obtain the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal; If the connection request signal is a charging pile connection signal, then the required voltage of the power battery and the output voltage of the charging pile are obtained, and the target charging and discharging mode is determined based on the required voltage and the output voltage. If the connection request signal is a vehicle connection signal, then the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements are obtained. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, the target charging and discharging mode is determined. According to the target charging and discharging mode, control each controllable switch and the electric drive assembly to switch the current path to achieve external charging and discharging.
[0006] Optionally, determining the target charging / discharging mode based on the required voltage and the output voltage includes: Determine the first absolute voltage difference between the required voltage and the output voltage; When the absolute difference of the first voltage is less than or equal to the first preset value, the DC charging mode is determined as the target charging and discharging mode; When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is greater than the output voltage, the boost charging mode is determined as the target charging and discharging mode. When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is less than the output voltage, the boost charging mode is determined as the target charging and discharging mode.
[0007] Optionally, determining the target charging / discharging mode based on the charging / discharging needs of the external vehicle, the current voltage, and the vehicle voltage includes: Determine a second absolute voltage difference between the current voltage and the vehicle voltage; When the external vehicle has a charging requirement, a target charging / discharging mode is determined from the preset discharging modes based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages. When the external vehicle has a discharge requirement, a target charging and discharging mode is determined in a preset charging mode based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages.
[0008] Optionally, when the target charging / discharging mode is a boost charging mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch is turned off, and the fourth controllable switch is turned on. The upper and lower bridge arm switches of the inverter are alternately turned on to boost the voltage input to the charging port and charge the power battery.
[0009] Optionally, when the target charging / discharging mode is a boost charging mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch and the fourth controllable switch are controlled to alternately conduct in a complementary manner; The upper bridge arm switch of the inverter is kept off, and the lower bridge arm switch of the inverter is kept on, so as to boost the current input from the charging port to charge the power battery.
[0010] Optionally, when the target charging / discharging mode is a boost discharge mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Turn on the second controllable switch; Control the third controllable switch to open, control the fourth controllable switch to open, and control the lower bridge arm switch to open. The upper bridge arm switch and the first controllable switch of the inverter are alternately turned on to boost the voltage of the power battery and output it to the outside through the charging port.
[0011] Optionally, when the target charging / discharging mode is a current-boosting discharge mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to open and control the second controllable switch to open; Control the third controllable switch to be turned on, and control the fourth controllable switch to be turned off; The upper and lower bridge arm switches of the inverter are alternately turned on to reduce the voltage of the power battery and output it to the outside through the charging port.
[0012] Optionally, when the target charging / discharging mode is DC mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch and the second controllable switch to be turned on; Both the third and fourth controllable switches are disconnected. All switching transistors controlling the inverter are disconnected, allowing the charging port to directly charge the power battery through the first controllable switch and the second controllable switch.
[0013] Thirdly, embodiments of this application provide a charge / discharge control device, the device comprising: The acquisition unit is used to acquire the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal. The first acquisition unit is configured to acquire the required voltage of the power battery and the output voltage of the charging pile if the connection request signal is a charging pile connection signal, and determine the target charging and discharging mode based on the required voltage and the output voltage. The second acquisition unit is used to acquire the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements if the connection request signal is a vehicle connection signal, and to determine the target charging and discharging mode based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage. The control unit is used to control each controllable switch and the electric drive assembly to switch the current path according to the target charging and discharging mode, so as to realize external charging and discharging.
[0014] Optionally, the first acquisition unit is used for: Determine the first absolute voltage difference between the required voltage and the output voltage; When the absolute difference of the first voltage is less than or equal to the first preset value, the DC charging mode is determined as the target charging and discharging mode; When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is greater than the output voltage, the boost charging mode is determined as the target charging and discharging mode. When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is less than the output voltage, the boost charging mode is determined as the target charging and discharging mode.
[0015] Optionally, the second acquisition unit is used for: Determine a second absolute voltage difference between the current voltage and the vehicle voltage; When the external vehicle has a charging requirement, a target charging / discharging mode is determined from the preset discharging modes based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages. When the external vehicle has a discharge requirement, a target charging and discharging mode is determined in a preset charging mode based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages.
[0016] Optionally, when the target charging / discharging mode is a boost charging mode, the control unit is configured to: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch is turned off, and the fourth controllable switch is turned on. The upper and lower bridge arm switches of the inverter are alternately turned on to boost the voltage input to the charging port and charge the power battery.
[0017] Optionally, when the target charging / discharging mode is a boost charging mode, the control unit is configured to: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch and the fourth controllable switch are controlled to alternately conduct in a complementary manner; The upper bridge arm switch of the inverter is kept off, and the lower bridge arm switch of the inverter is kept on, so as to boost the current input from the charging port to charge the power battery.
[0018] Optionally, when the target charging / discharging mode is a boost discharge mode, the control unit is configured to: Turn on the second controllable switch; Control the third controllable switch to open, control the fourth controllable switch to open, and control the lower bridge arm switch to open. The upper bridge arm switch and the first controllable switch of the inverter are alternately turned on to boost the voltage of the power battery and output it to the outside through the charging port.
[0019] Optionally, when the target charging / discharging mode is a boost discharge mode, the control unit is configured to: Control the first controllable switch to open and control the second controllable switch to open; Control the third controllable switch to be turned on, and control the fourth controllable switch to be turned off; The upper and lower bridge arm switches of the inverter are alternately turned on to reduce the voltage of the power battery and output it to the outside through the charging port.
[0020] Optionally, when the target charging / discharging mode is DC mode, the control unit is configured to: Control the first controllable switch and the second controllable switch to be turned on; Both the third and fourth controllable switches are disconnected. All switching transistors controlling the inverter are disconnected, allowing the charging port to directly charge the power battery through the first controllable switch and the second controllable switch.
[0021] Fourthly, embodiments of this application provide a charging and discharging control device, characterized in that it includes: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to: Obtain the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal; If the connection request signal is a charging pile connection signal, then the required voltage of the power battery and the output voltage of the charging pile are obtained, and the target charging and discharging mode is determined based on the required voltage and the output voltage. If the connection request signal is a vehicle connection signal, then the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements are obtained. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, the target charging and discharging mode is determined. According to the target charging and discharging mode, control each controllable switch and the electric drive assembly to switch the current path to achieve external charging and discharging.
[0022] Fifthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the above-described charging and discharging control method.
[0023] The beneficial effects of this application are: The system described in this application includes a power battery, a charging port, an electric drive assembly, and a power electronic module. A first controllable switch is provided between the positive terminal of the power battery and the positive terminal of the charging port, and a second controllable switch is provided between the negative terminal of the power battery and the negative terminal of the charging port. The electric drive assembly includes an inverter and a motor. The motor includes windings, and the inverter includes bridge arms corresponding to the windings. Each bridge arm includes an upper bridge arm switch and a lower bridge arm switch. A first end of the upper bridge arm switch is connected to the line between the first controllable switch and the power battery, and a second end of the lower bridge arm switch is connected to the line between the second controllable switch and the power battery. The connection point between the second end of the upper bridge arm switch and the first end of the lower bridge arm switch is connected to the windings. Firstly, the second end of the winding is connected to a common node. The power electronic module includes a third controllable switch, a fourth controllable switch, and an energy storage circuit. The first end of the third controllable switch is connected to the line between the first controllable switch and the charging port. The second end of the third controllable switch is connected to the first end of the fourth controllable switch. The second end of the fourth controllable switch is connected to the line between the second controllable switch and the charging port. The energy storage circuit is connected to both ends of the third controllable switch and to the common node. The energy storage circuit includes at least a series-connected capacitor element and a capacitor controllable switch. The charging and discharging system controls each controllable switch and the electric drive assembly to switch current paths according to the connection request signal of the charging port, thereby achieving the switching of different charging and discharging modes. Therefore, the system described in this application can achieve flexible switching of multiple charging and discharging modes, enabling precise voltage matching at both ends of the charging and discharging process, thus significantly improving the charging and discharging experience of electric vehicles. Attached Figure Description
[0024] Figure 1 This application provides a circuit diagram of a charging and discharging system; Figure 2 This application also provides a circuit diagram of a charging and discharging system; Figure 3 This application also provides a circuit diagram of a charging and discharging system; Figure 4 This application also provides a circuit diagram of a charging and discharging system; Figure 5 This application also provides a circuit diagram of a charging and discharging system; Figure 6 A circuit diagram illustrating a charging and discharging method is provided in this application; Figure 7 A circuit diagram of another charging and discharging method is provided for this application; Figure 8 A circuit diagram of another charging and discharging method is provided for this application; Figure 9 A circuit diagram of another charging and discharging method is provided for this application; Figure 10 A circuit diagram of another charging and discharging method is provided for this application; Figure 11 A circuit diagram of another charging and discharging method is provided for this application; Figure 12 This application provides a schematic diagram of a charging and discharging device; Figure 13 This application provides a schematic diagram of a charging and discharging device. Detailed Implementation
[0025] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.
[0026] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0027] This application provides an embodiment of an electrical control system, such as... Figure 1The system specifically includes a power battery, a charging port, an electric drive assembly, and a power electronics module. A first controllable switch K1 is provided between the positive terminal of the power battery and the positive terminal of the charging port, and a second controllable switch K2 is provided between the negative terminal of the power battery and the negative terminal of the charging port. The electric drive assembly includes an inverter and a motor. The motor includes windings, and the inverter includes bridge arms corresponding to the windings. Each bridge arm includes an upper bridge arm switch and a lower bridge arm switch. The first end of the upper bridge arm switch is connected to the line between the first controllable switch K1 and the power battery, and the second end of the lower bridge arm switch is connected to the line between the second controllable switch K2 and the power battery. The connection point between the second end of the upper bridge arm switch and the first end of the lower bridge arm switch is connected to the first end of the winding, and the second end of the winding is connected to... The common node; the power electronics module includes a third controllable switch E11, a fourth controllable switch E12, and an energy storage circuit. The first end of the third controllable switch E11 is connected to the line between the first controllable switch K1 and the charging port. The second end of the third controllable switch E11 is connected to the first end of the fourth controllable switch E12. The second end of the fourth controllable switch E12 is connected to the line between the second controllable switch K2 and the charging port. The energy storage circuit is connected to both ends of the third controllable switch E11 and is connected to the common node. The energy storage circuit includes at least a series-connected capacitor element Q1 and a capacitor controllable switch C1. The charging and discharging system controls each controllable switch and the electric drive assembly to switch the current path according to the connection request signal of the charging port, so as to realize the switching of different charging and discharging modes.
[0028] Furthermore, the windings in this application include inductors L11, L12, and L13; the upper bridge arm switching transistors include Q11, Q12, and Q13; and the lower bridge arm switching transistors include Q21, Q22, and Q23. Their specific circuit connections are as follows: Figure 2 As shown.
[0029] Furthermore, to improve energy storage efficiency during the energy storage phase, this application may add an inductor L4 between the common node and the second terminal of the third controllable switch to optimize the impedance characteristics of the energy storage circuit and enhance the system's energy storage capacity. In addition, to more flexibly control the on / off state of the charging and discharging circuit, a fifth controllable switch K3 may be added near the positive terminal of the power battery to enhance the system's controllability of the battery-side path. The specific circuit is as follows: Figure 3 As shown, its corresponding hardware topology is as follows: Figure 4 As shown.
[0030] Furthermore, to improve voltage stability during charging and discharging and suppress bus voltage fluctuations, this application may also connect a capacitor C2 in parallel between the power battery and the electric drive assembly to serve as a filter and voltage stabilizer, ensuring smooth operation of the system during mode switching. The specific circuit is as follows: Figure 5 As shown.
[0031] This application provides a charging and discharging control method, such as... Figure 6 As shown, this method is used to control the first, second, third, and fourth controllable switches in the charging and discharging system, as well as the switching current path of the electric drive assembly, to achieve switching between different charging and discharging modes and ensure precise voltage matching at both ends of the charging and discharging process, thereby significantly improving the charging and discharging experience of electric vehicles. The specific steps are as follows: Step 601: Obtain the connection request signal from the charging port.
[0032] The connection request signal can be either a charging pile connection signal or a vehicle connection signal. It is sent by the external device after establishing a physical connection with the vehicle through the charging port. When the external device is a DC charging pile, the connection request signal is a charging pile connection signal; when the external device is a vehicle, the connection request signal is a vehicle connection signal. The methods for obtaining the connection request signal include, but are not limited to: detecting the access status of the external device through the CC (Connection Confirm) and CP (Control Pilot) pins of the charging port, and engaging in handshake interaction with the external device via CAN (Controller Area Network) communication or PLC (Power Line Communication) to identify the type of external device.
[0033] In this step, when the vehicle detects that an external device is inserted into the charging port, it first detects the connection confirmation signal through the CC pin to confirm that the external device has been physically connected; then it exchanges information with the external device through the CP pin and the communication protocol to obtain the external device's identification information, and determines whether the connection request signal is a charging pile connection signal or a vehicle connection signal based on the identification information.
[0034] It should be noted that the implementing entity of this application can be a battery management system, a vehicle control system, or other controllers; there are no limitations here.
[0035] Step 602: If the connection request signal is a charging pile connection signal, then obtain the required voltage of the power battery and the output voltage of the charging pile, and determine the target charging and discharging mode based on the required voltage and the output voltage.
[0036] The required voltage of the power battery is the optimal charging voltage required by the power battery under the current state of charge and temperature, which is calculated in real time by the battery management system. The output voltage of the charging pile is the maximum output voltage that the charging pile can provide, and the output power is the maximum output power that the charging pile can provide. This information is sent from the charging pile to the vehicle through a communication protocol during the handshake interaction with the vehicle.
[0037] In this step, if the connection request signal is a charging pile connection signal, the vehicle establishes a communication connection with the charging pile through the charging port, obtains the required voltage of its own power battery from the battery management system, and simultaneously receives the output voltage sent by the charging pile. Then, these parameters are compared to determine the target charging and discharging mode suitable for the current charging scenario.
[0038] Specifically, the target charging / discharging mode is selected based on the required voltage, acceptable power, output voltage, and output power as follows: First, calculate the first absolute voltage difference between the required voltage and the output voltage. If this first absolute voltage difference is less than or equal to a first preset value, the voltage is considered matched, and no voltage or current conversion is required; charging can proceed directly, and the DC charging mode is determined as the target charging / discharging mode. If the first absolute voltage difference is greater than the first preset value, further distinction is made based on the voltage level: when the required voltage is greater than the output voltage, a boost conversion is performed using the power electronics module and the electric drive assembly, and the boost charging mode is determined as the target charging / discharging mode; when the required voltage is less than the output voltage, a current boost (i.e., buck-boost conversion) conversion is performed, and the current boost charging mode is determined as the target charging / discharging mode.
[0039] It should be noted that, considering voltage fluctuations during actual operation, to avoid frequent switching, mode switching is only allowed when the absolute value of the difference between the output voltage and the required voltage exceeds a first preset value. Specifically: when the output voltage is lower than the required voltage and the absolute value of the difference is greater than the first preset value, the boost charging mode is activated; when the output voltage is not lower than the required voltage and the absolute value of the difference is greater than the first preset value, the current charging mode is activated. The first preset voltage difference can be set by technicians based on the actual system characteristics and experience; a typical value is 10V.
[0040] Step 603: If the connection request signal is a vehicle connection signal, then obtain the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, determine the target charging and discharging mode.
[0041] The current voltage refers to the actual voltage of the vehicle's power battery in its current state, which is collected in real time by the battery management system. The external vehicle's voltage refers to the target charging voltage or available discharging voltage required by the power battery of another electric vehicle connected to the charging port, which is sent to this vehicle by the external vehicle's battery management system through communication. The charging and discharging demand indicates whether the external vehicle needs to obtain electrical energy from this vehicle (charging demand) or provide electrical energy to this vehicle (discharging demand).
[0042] In this step, if the connection request signal is a vehicle connection signal, the vehicle establishes a communication connection with the external vehicle through the charging port, and the two parties exchange battery information, including their respective battery voltage, state of charge, received power, and output power. Based on the charging and discharging needs of the external vehicle and the comparison results of the battery voltages of both parties, the vehicle selects the target charging and discharging mode suitable for the current VTV (vehicle-to-vehicle) charging and discharging scenario.
[0043] Specifically, the method for selecting the target charging / discharging mode based on the charging / discharging needs of external vehicles, the current voltage, and the vehicle voltage is as follows: Determine the second absolute voltage difference between the current voltage and the vehicle voltage; when an external vehicle requires charging, determine the target charging / discharging mode in the preset discharging mode based on the current voltage, the vehicle voltage, and the second absolute voltage difference; when an external vehicle requires discharging, determine the target charging / discharging mode in the preset charging mode based on the current voltage, the vehicle voltage, and the second absolute voltage difference.
[0044] Specifically, when an external vehicle requires charging, if the absolute difference in the second voltage is less than or equal to the second preset value, the voltage is considered matched, and no voltage or current conversion is needed; charging can proceed directly. In this case, the DC charging mode is determined as the target charging / discharging mode. If the absolute difference in the second voltage is greater than the second preset value, further distinction is made based on the voltage level: when the vehicle voltage is greater than the current voltage, a boost conversion is performed using the power electronics module and the electric drive assembly; in this case, the boost charging mode is determined as the target charging / discharging mode. When the vehicle voltage is less than the current voltage, a current boost conversion (i.e., buck-boost conversion) is performed; in this case, the current boost charging mode is determined as the target charging / discharging mode.
[0045] When an external vehicle requests discharge, if the absolute difference in the second voltage is less than or equal to the second preset value, the voltage is considered matched, and no voltage or current conversion is required; discharge can proceed directly. In this case, the DC discharge mode is determined as the target charging / discharging mode. If the absolute difference in the second voltage is greater than the second preset value, further distinction is made based on the voltage level: when the vehicle voltage is greater than the current voltage, a boost conversion is performed using the power electronics module and the electric drive assembly; in this case, the boost discharge mode is determined as the target charging / discharging mode. When the vehicle voltage is less than the current voltage, a current boost (i.e., buck-boost conversion) conversion is performed; in this case, the current boost discharge mode is determined as the target charging / discharging mode.
[0046] The second preset value can be set by technicians based on the actual system characteristics and experience; a typical value is 20V.
[0047] Step 604: According to the target charging and discharging mode, control each controllable switch and electric drive assembly to switch the current path to achieve external charging and discharging.
[0048] Among them, the first controllable switch, the second controllable switch, the third controllable switch, and the fourth controllable switch are all controllable switching devices, including but not limited to relays, contactors, or semiconductor power switches. The electric drive assembly includes an inverter and a motor. The inverter's bridge arms include upper bridge arm switches and lower bridge arm switches. By controlling the on and off timing of the upper and lower bridge arm switches, the current flow path can be changed to achieve voltage or current conversion.
[0049] In this step, corresponding switch control signals are generated according to the target charging and discharging mode, which control the conduction or disconnection of each controllable switch and each switching transistor of the inverter, so that the system charges and discharges according to the current path corresponding to the target mode.
[0050] Therefore, the charging and discharging control method provided in this application identifies the connection request signal type of the charging port (charging pile connection signal or vehicle connection signal), selects the corresponding target charging and discharging mode according to different connection types and battery parameters, and achieves adaptive switching of multiple charging and discharging modes such as DC charging, boost charging, boost charging, boost discharging, and boost discharging by controlling various controllable switches and the electric drive assembly to switch current paths. This application can realize the switching of multiple charging and discharging modes through software control logic, improving the system integration and reliability.
[0051] When the target charging / discharging mode is DC charging mode, the first controllable switch K1 and the second controllable switch K2 are turned on; the third controllable switch E11 and the fourth controllable switch E12 are both turned off; and all the switching transistors of the inverter are turned off. At this time, the charging port directly charges the power battery through the first controllable switch K1 and the second controllable switch K2, and the current flow diagram is shown below. Figure 7 As shown, the power electronics module and electric drive assembly do not participate in voltage conversion, achieving the most efficient DC path charging.
[0052] In one embodiment, the capacitor controllable switch is turned on to keep the capacitor in a charged state, facilitating rapid switching to other charging and discharging modes. In another embodiment, the capacitor controllable switch is turned off to isolate the power electronics module from the DC circuit, thereby reducing standby power consumption. Subsequent uses of the capacitor controllable switch are similar and will not be elaborated further here.
[0053] When the target charging / discharging mode is boost charging mode, the first controllable switch K1 is turned on, and the second controllable switch K2 is turned off; the third controllable switch E11 is turned off, and the fourth controllable switch E12 is turned on; the upper arm switches Q11, Q12, and Q13 of the inverter and the lower arm switches Q21, Q22, and Q23 are alternately turned on. At this time, the voltage input to the charging port is boosted by the power electronics module and the electric drive assembly to charge the power battery. The boost voltage can be controlled by adjusting the duty cycle of the upper and lower arm switches of the inverter to meet the voltage requirements of the power battery.
[0054] During the energy storage phase, the upper arm switches Q11, Q12, and Q13 of the control inverter are turned on, while the lower arm switches Q21, Q22, and Q23 are turned off. At this time, current flows out from the positive terminal of the charging / discharging port, sequentially passing through the first controllable switch K1, the upper arm switches Q11, Q12, and Q13 of the inverter, the motor windings L11, L12, and L13, the common node, the fourth controllable switch E12, and the negative terminal of the charging port, forming an energy storage circuit. A schematic diagram of the current flow is shown below. Figure 8 As shown in Figure a. During this energy storage phase, the electrical energy input through the charging port is stored in the windings of the motor and the inductive elements of the energy storage circuit in the form of magnetic field energy.
[0055] During the freewheeling phase, the upper arm switches Q11, Q12, and Q13 of the inverter are disconnected, while the lower arm switches Q21, Q22, and Q23 are turned on. At this time, the magnetic field energy stored in the motor windings and inductors is converted into electrical energy, and current flows out of the motor windings. A schematic diagram of the current flow is shown below. Figure 8 As shown in b, because the voltage at the second terminal of the third controllable switch E11 increases, the voltage at its first terminal also increases, thus achieving a boost voltage at the charging port.
[0056] It should be noted that this application adjusts the voltage boost by regulating the duty cycle of the upper and lower bridge arm switches of the inverter, so that the voltage input to the charging port is boosted to the required voltage of the power battery to charge it. During the adjustment process, the approximate duty cycle can be determined according to the required voltage boost, and then the duty cycle can be finely adjusted to obtain the desired voltage.
[0057] In the current ramp-up charging mode, through the coordinated on / off control of various spaces and the inverter's switches, an alternating operation process between the energy storage stage and the freewheeling stage is formed, thereby achieving current ramp-up conversion. Specifically, the first controllable switch K1 is controlled to be turned on, and the second controllable switch K2 is controlled to be turned off; the third controllable switch E11 and the fourth controllable switch E12 are controlled to be turned on alternately; the upper arm switches Q11, Q12, and Q13 or the lower arm switches Q21, Q22, and Q23 of the inverter are controlled to be turned on, and the upper arm switches Q11, Q12, and Q13 or the lower arm switches Q21, Q22, and Q23 of the inverter are controlled to be turned off. The specific control strategy is as follows: Taking the control of the lower arm switch and the control of the upper arm switch of the inverter as an example, during the energy storage stage, the first controllable switch K1 is turned on, the second controllable switch K2 is turned off, the third controllable switch E11 is turned off, the fourth controllable switch E12 is turned on, the lower arm switches Q21, Q22, and Q23 of the inverter are kept on, and the upper arm switches Q11, Q12, and Q13 are kept off. At this time, the current flows out from the positive terminal of the charging port and flows sequentially through: positive terminal of the charging port → first controllable switch K1 → positive terminal of the power battery → negative terminal of the power battery → lower arm switches Q21, Q22, and Q23 → windings L11, L12, and L13 → lower arm switches Q21, Q22, and Q23 → negative terminal of the charging port, forming an energy storage circuit. The current flow diagram is shown below. Figure 9 As shown in Figure a. During this energy storage stage, the current flows through the power battery in sequence. Part of the electrical energy input through the charging port directly charges the power battery, while the other part is stored in the windings of the motor and the inductor of the energy storage circuit in the form of magnetic field energy. At the same time, the capacitor stores the electric field energy.
[0058] During the freewheeling phase, the first controllable switch K1 is kept on, the second controllable switch K2 is kept off, the third controllable switch E11 is on, the fourth controllable switch E12 is off, and the lower bridge arm switches Q21, Q22, and Q23 of the inverter are kept on, while the upper bridge arm switches Q11, Q12, and Q13 are kept off. At this time, the magnetic field energy stored in the motor windings and inductors is converted into electrical energy. Current flows out from the common node and sequentially through: common node → windings L11, L12, and L13 → third controllable switch E11 → first controllable switch K1 to form a freewheeling circuit. The current flow diagram is shown below. Figure 9 As shown in b.
[0059] By controlling the third controllable switch E11 and the fourth controllable switch E12 to alternately conduct and disconnect at a preset frequency, the energy storage stage and the freewheeling stage alternate. The current boost is controlled by adjusting the duty cycle of the third controllable switch E11 and the fourth controllable switch E12, ensuring that the current input to the charging port is increased to the required current of the power battery before charging it. During the adjustment process, the approximate duty cycle can be determined based on the required voltage boost, and then fine-tuned to obtain the desired voltage.
[0060] When the target charging / discharging mode is boost discharge mode, control the second controllable switch K2 to turn on; control the third controllable switch E11 to turn off; control the fourth controllable switch E12 to turn on; control the lower bridge arm switches Q21, Q22 and Q23 to turn off; alternate the upper bridge arm switches Q11, Q12 and Q13 of the inverter and the first controllable switch K1.
[0061] During the energy storage phase, the upper arm switches Q11, Q12, and Q13 of the inverter are turned on, while the lower arm switches Q21, Q22, and Q23 are turned off. At this time, current flows from the positive terminal of the power battery, sequentially through: the positive terminal of the power battery → upper arm switches Q11, Q12, and Q13 → motor windings L11, L12, and L13 → third controllable switch E11 → second controllable switch K2 → the negative terminal of the power battery, forming an energy storage circuit. A schematic diagram of the current flow is shown below. Figure 10 As shown in a.
[0062] During the freewheeling phase, the upper arm switches Q11, Q12, and Q13 of the inverter are disconnected, and the first controllable switch K1 is turned on. At this time, the magnetic field energy stored in the motor windings and inductors is converted into electrical energy. The current flows sequentially through: motor windings L11, L12, and L13 → the fourth controllable switch E12 → the negative terminal of the power battery, forming a freewheeling circuit. The current flow diagram is shown below. Figure 10 As shown in b.
[0063] It should be noted that this application adjusts the voltage boost by regulating the duty cycle of the upper bridge arm switches Q11, Q12, and Q13 of the inverter and the first controllable switch K1, so that the voltage of the power battery is boosted to the required voltage of the charging port to charge external devices. During the adjustment process, the approximate duty cycle can be determined according to the required voltage boost, and then the duty cycle can be finely adjusted to obtain the required voltage.
[0064] When the target charging / discharging mode is the boost discharge mode, the first controllable switch K1 is opened and the second controllable switch K2 is turned on; the third controllable switch is turned on and the fourth controllable switch is opened; the upper and lower bridge arm switches of the inverter are turned on alternately to reduce the voltage of the power battery and output it to the outside through the charging port.
[0065] During the energy storage phase, the fourth controllable switch E12 is turned on, and when E12 is turned off, the upper bridge arm switches Q11, Q12, and Q13 are turned on. At this time, current flows from the positive terminal of the power battery, sequentially through: the positive terminal of the power battery → the upper bridge arm switches Q21, Q22, and Q23 of the inverter → windings L11, L12, and L13 → the third controllable switch E11 → the positive terminal of the charging port → the negative terminal of the charging port → the second controllable switch K2 → the negative terminal of the power battery, forming an energy storage circuit. The current flow diagram is shown below. Figure 11 As shown in Figure a. During this energy storage phase, the electrical energy output by the power battery is stored in the windings of the motor and the inductive elements of the energy storage circuit in the form of magnetic field energy.
[0066] During the freewheeling phase, the third controllable switch E11 remains on, controlling the fourth controllable switch E12 to remain off, and controlling the lower bridge arm switches Q21, Q22, and Q23 to turn on. At this time, the magnetic field energy stored in the motor windings and inductors is converted into electrical energy, and the current flows out of the motor windings, sequentially through: windings L11, L12, and L13 → the third controllable switch E11, the positive terminal of the charging port → the negative terminal of the charging port → the second controllable switch K2 → the lower bridge arm switches Q21, Q22, and Q23 → windings L11, L12, and L13, forming a freewheeling circuit.
[0067] It should be noted that this application adjusts the boost current by regulating the duty cycle of the upper and lower bridge arm switches of the inverter. Essentially, this adjusts the voltage drop to bring the battery voltage down to the required voltage at the charging port before charging external devices. During the adjustment process, the approximate duty cycle can be determined by reducing the voltage as needed. Then, this duty cycle can be finely adjusted to obtain the desired voltage.
[0068] like Figure 12 As shown, this application provides a charge / discharge control device, which corresponds to the method embodiment, and specifically includes: The acquisition unit 1201 is used to acquire the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal. The first acquisition unit 1202 is used to acquire the required voltage of the power battery and the output voltage of the charging pile if the connection request signal is a charging pile connection signal, and determine the target charging and discharging mode based on the required voltage and the output voltage. The second acquisition unit 1203 is used to acquire the current voltage of the power battery, the vehicle voltage of the external vehicle and the charging and discharging requirements if the connection request signal is a vehicle connection signal, and determine the target charging and discharging mode based on the charging and discharging requirements of the external vehicle, the current voltage and the vehicle voltage. The control unit 1204 is used to control each controllable switch and the electric drive assembly to switch the current path according to the target charging and discharging mode, so as to realize external charging and discharging.
[0069] Optionally, the first acquisition unit 1202 is used for: Determine the first absolute voltage difference between the required voltage and the output voltage; When the absolute difference of the first voltage is less than or equal to the first preset value, the DC charging mode is determined as the target charging and discharging mode; When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is greater than the output voltage, the boost charging mode is determined as the target charging and discharging mode. When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is less than the output voltage, the boost charging mode is determined as the target charging and discharging mode.
[0070] Optionally, the second acquisition unit 1203 is used for: Determine a second absolute voltage difference between the current voltage and the vehicle voltage; When the external vehicle has a charging requirement, a target charging / discharging mode is determined from the preset discharging modes based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages. When the external vehicle has a discharge requirement, a target charging and discharging mode is determined in a preset charging mode based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages.
[0071] Optionally, when the target charging / discharging mode is a boost charging mode, the control unit 1204 is configured to: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch is turned off, and the fourth controllable switch is turned on. The upper and lower bridge arm switches of the inverter are alternately turned on to boost the voltage input to the charging port and charge the power battery.
[0072] Optionally, when the target charging / discharging mode is a boost charging mode, the control unit 1204 is configured to: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch and the fourth controllable switch are controlled to alternately conduct in a complementary manner; The upper bridge arm switch of the inverter is kept off, and the lower bridge arm switch of the inverter is kept on, so as to boost the current input from the charging port to charge the power battery.
[0073] Optionally, when the target charging / discharging mode is a boost discharge mode, the control unit 1204 is configured to: Turn on the second controllable switch; Control the third controllable switch to open, control the fourth controllable switch to open, and control the lower bridge arm switch to open. The upper bridge arm switch and the first controllable switch of the inverter are alternately turned on to boost the voltage of the power battery and output it to the outside through the charging port.
[0074] Optionally, when the target charging / discharging mode is a boost discharge mode, the control unit 1204 is configured to: Control the first controllable switch to open and control the second controllable switch to open; Control the third controllable switch to be turned on, and control the fourth controllable switch to be turned off; The upper and lower bridge arm switches of the inverter are alternately turned on to reduce the voltage of the power battery and output it to the outside through the charging port.
[0075] Optionally, when the target charging / discharging mode is DC mode, the control unit 1204 is configured to: Control the first controllable switch and the second controllable switch to be turned on; Both the third and fourth controllable switches are disconnected. All switching transistors controlling the inverter are disconnected, allowing the charging port to directly charge the power battery through the first controllable switch and the second controllable switch.
[0076] like Figure 13 As shown in the figure, this application provides a charging and discharging control device, including a processor 1301, a communication interface 1302, a memory 1303, and a communication bus 1304. The processor 1301, communication interface 1302, and memory 1303 communicate with each other via the communication bus 1304. Memory 1303 is used to store computer programs; In one embodiment of this application, the processor 1301, when executing a program stored in the memory 1303, implements the charge-discharge control method provided in any of the foregoing method embodiments, including: Obtain the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal; If the connection request signal is a charging pile connection signal, then the required voltage of the power battery and the output voltage of the charging pile are obtained, and the target charging and discharging mode is determined based on the required voltage and the output voltage. If the connection request signal is a vehicle connection signal, then the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements are obtained. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, the target charging and discharging mode is determined. According to the target charging and discharging mode, control each controllable switch and the electric drive assembly to switch the current path to achieve external charging and discharging.
[0077] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps performed by the charge-discharge control method provided in any of the foregoing method embodiments.
[0078] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0079] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0080] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0081] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A charging and discharging control system, characterized in that, The system includes: Power battery, charging port, electric drive assembly and power electronic module; A first controllable switch is provided between the positive terminal of the power battery and the positive terminal of the charging port, and a second controllable switch is provided between the negative terminal of the power battery and the negative terminal of the charging port. The electric drive assembly includes an inverter and a motor. The motor includes windings. The inverter includes bridge arms corresponding to the windings. The bridge arms include an upper bridge arm switch and a lower bridge arm switch. The first end of the upper bridge arm switch tube is connected to the line between the first controllable switch and the power battery, the second end of the lower bridge arm switch tube is connected to the line between the second controllable switch and the power battery, the connection point between the second end of the upper bridge arm switch tube and the first end of the lower bridge arm switch tube is connected to the first end of the winding, and the second end of the winding is connected to a common node. The power electronic module includes a third controllable switch, a fourth controllable switch, and an energy storage circuit. The first end of the third controllable switch is connected to the line between the first controllable switch and the charging port. The second end of the third controllable switch is connected to the first end of the fourth controllable switch. The second end of the fourth controllable switch is connected to the line between the second controllable switch and the charging port. The energy storage circuit is connected to both ends of the third controllable switch and is connected to the common node. The energy storage circuit includes at least a series-connected capacitor element and a capacitor controllable switch. The charging and discharging system controls each controllable switch and the electric drive assembly to switch current paths according to the connection request signal of the charging port, so as to realize the switching of different charging and discharging modes.
2. A charging and discharging method, characterized in that, Applied to the charging and discharging system as described in claim 1, comprising: Obtain the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal; If the connection request signal is a charging pile connection signal, then the required voltage of the power battery and the output voltage of the charging pile are obtained, and the target charging and discharging mode is determined based on the required voltage and the output voltage. If the connection request signal is a vehicle connection signal, then the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements are obtained. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, the target charging and discharging mode is determined. According to the target charging and discharging mode, control each controllable switch and the electric drive assembly to switch the current path to achieve external charging and discharging.
3. The method according to claim 2, characterized in that, Determining the target charging / discharging mode based on the required voltage and the output voltage includes: Determine the first absolute voltage difference between the required voltage and the output voltage; When the absolute difference of the first voltage is less than or equal to the first preset value, the DC charging mode is determined as the target charging and discharging mode; When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is greater than the output voltage, the boost charging mode is determined as the target charging and discharging mode. When the absolute difference of the first voltage is greater than the first preset value, and the required voltage is less than the output voltage, the boost charging mode is determined as the target charging and discharging mode.
4. The method according to claim 2, characterized in that, The step of determining the target charging / discharging mode based on the charging / discharging needs of the external vehicle, the current voltage, and the vehicle voltage includes: Determine a second absolute voltage difference between the current voltage and the vehicle voltage; When the external vehicle has a charging requirement, a target charging / discharging mode is determined from the preset discharging modes based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages. When the external vehicle has a discharge requirement, a target charging and discharging mode is determined in a preset charging mode based on the current voltage, the vehicle voltage, and the absolute difference between the two voltages.
5. The method according to claim 1, characterized in that, When the target charging / discharging mode is a boost charging mode, the step of controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch is turned off, and the fourth controllable switch is turned on. The upper and lower bridge arm switches of the inverter are alternately turned on to boost the voltage input to the charging port and charge the power battery.
6. The method according to claim 1, characterized in that, When the target charging / discharging mode is a boost charging mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to be turned on, and control the second controllable switch to be turned off; The third controllable switch and the fourth controllable switch are controlled to alternately conduct in a complementary manner; The upper bridge arm switch of the inverter is kept off, and the lower bridge arm switch of the inverter is kept on, so as to boost the current input from the charging port to charge the power battery.
7. The method according to claim 1, characterized in that, When the target charging / discharging mode is a boost discharge mode, the step of controlling each controllable switch and the electric drive assembly to switch the current path according to the target charging / discharging mode includes: Turn on the second controllable switch; Control the third controllable switch to open, control the fourth controllable switch to open, and control the lower bridge arm switch to open. The upper bridge arm switch and the first controllable switch of the inverter are alternately turned on to boost the voltage of the power battery and output it to the outside through the charging port.
8. The method according to claim 1, characterized in that, When the target charging / discharging mode is a current-boosting discharge mode, controlling each controllable switch and the electric drive assembly to switch current paths according to the target charging / discharging mode includes: Control the first controllable switch to open and control the second controllable switch to open; Control the third controllable switch to be turned on, and control the fourth controllable switch to be turned off; The upper and lower bridge arm switches of the inverter are alternately turned on to reduce the voltage of the power battery and output it to the outside through the charging port.
9. The method according to claim 1, characterized in that, When the target charging / discharging mode is DC mode, the step of controlling each controllable switch and the electric drive assembly to switch the current path according to the target charging / discharging mode includes: Control the first controllable switch and the second controllable switch to be turned on; Both the third and fourth controllable switches are disconnected. All switching transistors controlling the inverter are disconnected, allowing the charging port to directly charge the power battery through the first controllable switch and the second controllable switch.
10. A charging and discharging control device, characterized in that, The device includes: The acquisition unit is used to acquire the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal. The first acquisition unit is configured to acquire the required voltage of the power battery and the output voltage of the charging pile if the connection request signal is a charging pile connection signal, and determine the target charging and discharging mode based on the required voltage and the output voltage. The second acquisition unit is used to acquire the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements if the connection request signal is a vehicle connection signal, and to determine the target charging and discharging mode based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage. The control unit is used to control each controllable switch and the electric drive assembly to switch the current path according to the target charging and discharging mode, so as to realize external charging and discharging.
11. A charging and discharging control device, characterized in that, include: At least one communication interface; At least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to: Obtain the connection request signal of the charging port, wherein the connection request signal is a charging pile connection signal or a vehicle connection signal; If the connection request signal is a charging pile connection signal, then the required voltage of the power battery and the output voltage of the charging pile are obtained, and the target charging and discharging mode is determined based on the required voltage and the output voltage. If the connection request signal is a vehicle connection signal, then the current voltage of the power battery, the vehicle voltage of the external vehicle, and the charging and discharging requirements are obtained. Based on the charging and discharging requirements of the external vehicle, the current voltage, and the vehicle voltage, the target charging and discharging mode is determined. According to the target charging and discharging mode, control each controllable switch and the electric drive assembly to switch the current path to achieve external charging and discharging.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the charging and discharging control method according to any one of claims 2 to 9.