Vehicle-mounted charging and discharging apparatus, control method therefor, vehicle-mounted device and electric vehicle

By independently controlling the AC current amplitude of each power interface of the on-board charger and disconnecting the power supply when the current is too high, the safety and power requirements of the on-board charger when it has multiple power interfaces are solved, and flexible current management and safe power supply are achieved.

WO2026148547A1PCT designated stage Publication Date: 2026-07-16YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
YINWANG INTELLIGENT TECHNOLOGIES CO LTD
Filing Date
2025-01-09
Publication Date
2026-07-16

AI Technical Summary

Technical Problem

When multiple discharge ports of an on-board charger supply power simultaneously, it is impossible to balance safety and power requirements, resulting in a poor power experience.

Method used

Flexible current management is achieved by independently controlling the AC current amplitude of each power interface and disconnecting the power supply when the current is too high, while maintaining normal power supply to other interfaces. This is achieved through power conversion circuits and switch control.

Benefits of technology

It improves the power user experience, ensures safety and applicability, is suitable for various load types, and has a simple and easy-to-implement structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025071610_16072026_PF_FP_ABST
    Figure CN2025071610_16072026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a vehicle-mounted charging and discharging apparatus, a control method therefor, a vehicle-mounted device and an electric vehicle. The vehicle-mounted charging and discharging apparatus comprises a power conversion circuit, a first power supply port, a second power supply port and a first switch; the power conversion circuit comprises a first bridge arm, a second bridge arm and a third bridge arm that are connected in parallel between a positive direct-current bus and a negative direct-current bus; the midpoint of the first bridge arm is connected to a first terminal of the first power supply port and a first terminal of the second power supply port; the midpoint of the second bridge arm is connected to a second terminal of the first power supply port; the midpoint of the third bridge arm is connected to a second terminal of the second power supply port; and the first switch is provided between the second terminal of the first power supply port and the midpoint of the third bridge arm. The present application can independently control the amplitude of alternating current received by each power supply port, and can independently control power supply ports having excessively high current to disconnect the supply of power, while maintaining normal power supply of other power supply ports, thereby improving power consumption experience; moreover, the present application has a simple structure, is easy to implement and has high applicability.
Need to check novelty before this filing date? Find Prior Art

Description

On-board charging and discharging devices and their control methods, on-board equipment and electric vehicles Technical Field

[0001] This application relates to the field of power electronics technology, specifically to an on-board charging and discharging device and its control method, on-board equipment, and electric vehicle. Background Technology

[0002] With the continuous improvement of living standards, new energy vehicles have gradually become one of the main means of transportation for people. The charging interface of the on-board charger is connected to the power grid or charging pile, which can convert the AC power output from the power grid or charging pile into DC power to power the power battery and other DC loads in the new energy vehicle, providing range assurance.

[0003] On-board chargers have multiple discharge ports on the AC side. By inverting the DC power output from the power battery, they output AC power to these ports, thus powering AC loads. However, when multiple discharge ports on an on-board charger supply power simultaneously, it is often impossible to balance safety and power requirements. Summary of the Invention

[0004] This application provides an on-board charging and discharging device and its control method, on-board equipment and electric vehicle. The on-board charging and discharging device can individually control the AC current amplitude received by each power interface, and can individually control the power interface with excessive current to disconnect the power supply, while maintaining the normal power supply of other power interfaces, thereby improving the power user experience. It also has a simple structure, is easy to implement, and has strong applicability.

[0005] In a first aspect, this application provides an on-board charging and discharging device, which includes a power conversion circuit, a first power interface, a second power interface, and a first switch. The power conversion circuit includes a first bridge arm, a second bridge arm, and a third bridge arm connected in parallel between a positive DC bus and a negative DC bus. The midpoint of the first bridge arm is connected to the first end of the first power interface and the first end of the second power interface. The midpoint of the second bridge arm is connected to the second end of the first power interface. The midpoint of the third bridge arm is connected to the second end of the second power interface. The first switch is disposed between the second end of the first power interface and the midpoint of the third bridge arm. In this application, the on-board charging and discharging device provided in the embodiment of this application connects the midpoint of the first bridge arm to the first end of the first power interface and the first end of the second power interface, connects the midpoint of the second bridge arm to the second end of the first power interface, connects the midpoint of the third bridge arm to the second end of the second power interface, and provides a first switch between the second end of the first power interface and the midpoint of the third bridge arm. Understandably, when the first switch is turned off, since the second bridge arm and the third bridge arm are decoupled, the vehicle charging and discharging device can independently adjust the AC power received by the first power interface through the first bridge arm and the second bridge arm, and independently adjust the AC power received by the second power interface through the first bridge arm and the third bridge arm, thereby improving the power user experience. Moreover, the structure is simple, easy to implement, and highly applicable.

[0006] In one possible implementation, the device is configured to: when the first switch is off, control the first and second bridge arms to convert the DC power output from the power battery into a first AC power and output it to the first power interface; and / or, control the first and third bridge arms to convert the DC power output from the power battery into a second AC power and output it to the second power interface. In this application, the on-board charging and discharging device connects the first, second, and third bridge arms and the first switch to the first and second power interfaces according to the above connection method. When the first switch is off, by controlling the operation of the switching transistors in the first and second bridge arms, the first AC power is supplied to the first power interface independently, and by controlling the operation of the switching transistors in the first and third bridge arms, the second AC power is supplied to the second power interface independently. That is, the on-board charging and discharging device can independently control the AC power received by each power interface, offering high flexibility and ease of implementation.

[0007] In one possible implementation, the device is further configured to: when the first switch is turned off and the sampled current at the target power interface is greater than or equal to a current threshold, control the switch in the target bridge arm to turn off, thereby stopping the output of AC power to the target power interface. This is where the target power interface is the first power interface and the target bridge arm is the second bridge arm, or vice versa. In this application, when the on-board charging and discharging device detects excessive current at the first power interface, it can control the switch in the second bridge arm to turn off, causing the second bridge arm to stop inverting with the first bridge arm, thus disconnecting the power supply to the first power interface. The on-board charging and discharging device can also control the switch in the third bridge arm to turn off, causing the third bridge arm to stop inverting with the first bridge arm, thus disconnecting the power supply to the second power interface, when it detects excessive current at the second power interface. Therefore, the on-board charging and discharging device provided in this application can control any power interface with excessive current to disconnect from power while maintaining normal power supply to other power interfaces, improving the user experience. Furthermore, it has a simple structure and is easy to implement.

[0008] In one possible implementation, the device is further configured to: when the first switch is off, control the first bridge arm and the target bridge arm to adjust the amplitude of the AC current received by the target power interface based on a reference electrical signal and a sampled electrical signal at the target power interface; wherein the target power interface is the first power interface, the target bridge arm is the second bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the first power interface; or, the target power interface is the second power interface, the target bridge arm is the third bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the second power interface. In this application, when the first switch is off, the on-board charging and discharging device can control the switching transistors in the first bridge arm and the second bridge arm to operate based on the reference electrical signal and the sampled electrical signal at the first power interface, thereby individually adjusting the amplitude of the AC current received by the first power interface. The on-board charging and discharging device can also control the switching transistors in the first bridge arm and the third bridge arm to operate based on the reference electrical signal and the sampled electrical signal at the second power interface, thereby individually adjusting the amplitude of the AC current received by the second power interface. The on-board charging and discharging device provided in this application is adaptable to various types of loads and is highly flexible.

[0009] In one possible implementation, the device is further configured to: when the first switch is off, obtain a first error signal based on a first reference electrical signal and a sampled electrical signal at the first power interface, and obtain a second error signal based on a second reference electrical signal and a sampled electrical signal at the second power interface; control the first and second bridge arms to adjust the amplitude of the AC current received by the first power interface based on the first error signal, wherein the first reference electrical signal is obtained from the required voltage or required current of the first power interface; and control the first and third bridge arms to adjust the amplitude of the AC current received by the second power interface based on the second error signal, wherein the second reference electrical signal is obtained from the required voltage or required current of the second power interface. In this application, when the first switch is off, the on-board charging and discharging device can obtain the first and second error signals based on the reference electrical signal, the sampled electrical signal at the first power interface, and the sampled electrical signal at the second power interface. Further, the on-board charging and discharging device can control the operation of the switching transistors in the first and second bridge arms based on the aforementioned first error signal, thereby individually adjusting the amplitude of the AC current received by the first power interface. Simultaneously, the on-board charging and discharging device can also control the operation of the switching transistors in the first and third bridge arms based on the aforementioned second error electrical signal, thereby individually adjusting the amplitude of the AC power received by the second power interface. The on-board charging and discharging device provided in this application embodiment can simultaneously and independently control the AC power received by the first and second power interfaces, has strong applicability, and is adaptable to various types of loads, offering high flexibility.

[0010] In one possible implementation, the device is further configured to: when the first switch is turned on, control the first bridge arm, the second bridge arm, and the third bridge arm to convert the third AC power input from the first power interface into DC power and supply it to charge the power battery, and output the third AC power to the second power interface. In this application, when the first switch is turned on, the on-board charging and discharging device can rectify and convert the third AC power into DC power through the rectifier bridge composed of the first bridge arm, the second bridge arm, and the third bridge arm, and supply it to charge the power battery. Simultaneously, when a load is connected to the second power interface, the aforementioned third AC power can be supplied to the load through the second power interface. The on-board charging and discharging device in this application embodiment is suitable for application scenarios that charge the power battery while simultaneously supplying power to the load, offering a wide range of applications and strong applicability.

[0011] In one possible implementation, the device is further configured to: when the first switch is turned on, control the first bridge arm, the second bridge arm, and the third bridge arm to convert the DC power output from the power battery into a fourth AC power and output it to the first power interface and the second power interface. In this application, when the first switch is turned on, the on-board charging and discharging device can convert the DC power provided by the power battery into a fourth AC power through the inverter bridge composed of the first bridge arm, the second bridge arm, and the third bridge arm, and output it to the first power interface and the second power interface, thereby simultaneously supplying power to the loads connected to the first and second power interfaces. The on-board charging and discharging device in this application embodiment is applicable to different application scenarios of supplying power to loads, with rich application scenarios and strong applicability.

[0012] In one possible implementation, the on-board charging and discharging device further includes a second switch. The second switch is used to connect or disconnect the connection between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is used to connect or disconnect the connection between the second end of the second power interface and the midpoint of the third bridge arm. In this application, when the second switch is on, i.e., the first and third bridge arms are connected to the second power interface, the on-board charging and discharging device can output a second AC power to the second power interface by controlling the operation of the switching transistors in the first and third bridge arms. The on-board charging and discharging device can also disconnect the power supply to the second power interface when the second switch is off, i.e., the first or third bridge arm is disconnected from the second power interface. It is understood that the on-board charging and discharging device provided in this application, when there is excessive current at the second power interface or no load is connected, disconnects the power supply to the second power interface by individually controlling the second switch to turn off or controlling the switching transistor in the third bridge arm to turn off, thus ensuring power supply safety. Meanwhile, the on-board charging and discharging device can control the switching transistors in the first bridge arm, second bridge arm, and third bridge arm to operate when the first switch is off or on, thereby providing a fourth current to the first power interface independently, meeting power demand, enriching application scenarios, and having strong applicability.

[0013] In one possible implementation, the device is further configured to: when the second switch is off, control the first bridge arm, the second bridge arm, and the third bridge arm to adjust the amplitude of the AC current received by the first power interface based on a reference electrical signal and a sampled electrical signal at the first power interface; wherein the reference electrical signal is obtained from the required voltage or required current of the first power interface. In this application, the on-board charging and discharging device, when the second switch is off, can adjust the amplitude of the AC current received by the first power interface individually by controlling the operation of the switching transistors in the first bridge arm, the second bridge arm, and the third bridge arm, based on a reference electrical signal and a sampled electrical signal at the first power interface. This adapts to various types of loads and offers high flexibility.

[0014] In one possible implementation, the device is further configured to: when the second switch is turned on, control the first bridge arm, the second bridge arm, and the third bridge arm to adjust the amplitude of the AC current received at any power interface based on a reference electrical signal and a sampled electrical signal at any power interface; wherein the reference electrical signal is obtained from the required voltage or required current at any power interface. In this application, when the second switch is turned on, the on-board charging and discharging device can, based on a reference electrical signal and a sampled electrical signal at any power interface, control the operation of the switching transistors in the first bridge arm, the second bridge arm, and the third bridge arm to individually adjust the amplitude of the AC current received at any power interface, adapting to various types of loads and offering high flexibility.

[0015] In one possible implementation, the on-board charging and discharging device further includes a controller for controlling the operation of the first, second, and third axle arms. In this application, the on-board charging and discharging device can control the movements of the first, second, and third axle arms via the controller, resulting in a simple implementation and high reliability.

[0016] Secondly, this application also provides an on-board device, which includes a power battery and the on-board charging and discharging device described in the first aspect.

[0017] In one possible implementation, the on-board device also includes a display screen that is communicatively connected to the on-board charging and discharging device. The display screen is used to input and provide reference voltage and / or reference current to the on-board charging and discharging device.

[0018] Thirdly, this application also provides an electric vehicle, which includes an on-board charging and discharging device as described in the first aspect above, or includes on-board equipment as described in the second aspect above.

[0019] Fourthly, this application also provides a control method for an on-board charging and discharging device, the method comprising:

[0020] The first switch is turned off, and the first switch is located between the second end of the first power interface and the midpoint of the third bridge arm;

[0021] The switching transistors in the first and second bridge arms are controlled to convert the DC power output from the power battery into AC power and output it to the first power interface; the midpoint of the first bridge arm is connected to the first terminal of the first power interface, and the midpoint of the second bridge arm is connected to the second terminal of the first power interface; and / or,

[0022] The switching transistors in the first and third bridge arms are controlled to convert DC power into AC power and output it to the second power interface. The midpoint of the first bridge arm is also connected to the first end of the second power interface, and the midpoint of the third bridge arm is connected to the second end of the second power interface.

[0023] In one possible implementation, the method further includes:

[0024] When the first switch is turned off and the sampled current at the target power interface is greater than or equal to the current threshold, the switch in the target bridge arm is turned off to stop the output of AC power to the target power interface. The target power interface is the first power interface and the target bridge arm is the second bridge arm, or the target power interface is the second power interface and the target bridge arm is the third bridge arm.

[0025] In one possible implementation, the method further includes:

[0026] When the first switch is turned off, based on the reference electrical signal and the sampled electrical signal at the target power interface, the first bridge arm and the target bridge arm are controlled to adjust the amplitude of the AC power received by the target power interface; wherein, the target power interface is the first power interface, the target bridge arm is the second bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the first power interface; or, the target power interface is the second power interface, the target bridge arm is the third bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the second power interface.

[0027] In one possible implementation, based on a reference electrical signal and a sampled electrical signal at the target power interface, the first bridge arm and the target bridge arm are controlled to adjust the amplitude of the AC current received at the target power interface, including:

[0028] A first error signal is obtained based on a first reference electrical signal and a sampled electrical signal at a first power interface, and a second error signal is obtained based on a second reference electrical signal and a sampled electrical signal at a second power interface.

[0029] The amplitude of the AC power received by the first power interface is adjusted by controlling the first and second bridge arms based on the first error electrical signal, and the first reference electrical signal is obtained from the required voltage or required current of the first power interface; and the amplitude of the AC power received by the second power interface is adjusted by controlling the first and third bridge arms based on the second error electrical signal, and the second reference electrical signal is obtained from the required voltage or required current of the second power interface.

[0030] In one possible implementation, the method further includes:

[0031] The system controls the first switch to be turned on, and after the first switch is turned on, it controls the first bridge arm, the second bridge arm, and the third bridge arm to convert the third AC power input from the first power interface into DC power and supply it to charge the power battery, and the third AC power is output to the second power interface.

[0032] In one possible implementation, the method further includes:

[0033] The system controls the first switch to turn on, and after the first switch is turned on, it controls the first bridge arm, the second bridge arm, and the third bridge arm to convert the DC power output from the power battery into a fourth AC power and output it to the first power interface and the second power interface.

[0034] In one possible implementation, the method further includes:

[0035] The second switch is turned off. The second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm.

[0036] Based on the reference electrical signal and the sampled electrical signal at the first power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC power received by the first power interface; wherein, the reference electrical signal is obtained from the required voltage or required current of the first power interface.

[0037] In one possible implementation, the method further includes:

[0038] The second switch is turned on. The second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm.

[0039] Based on a reference electrical signal and a sampled electrical signal at any power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC current received at any power interface; wherein, the reference electrical signal is obtained from the required voltage or required current at any power interface.

[0040] Fifthly, this application provides a computer-readable storage medium storing a computer program or computer instructions, which are executed by a processor to implement the methods described in any of the second aspects above.

[0041] Sixthly, this application provides a computer program product that, when executed by a processor, performs any of the aforementioned methods of the second aspect.

[0042] In a seventh aspect, embodiments of this application provide a chip including a processor, wherein the processor is configured to execute a computer program or computer instructions stored in a memory, causing the chip to perform the methods described in any of the second aspects above.

[0043] The solutions provided in the second to seventh aspects above are used to implement or cooperate with the device provided in the first aspect above, and therefore can achieve the same or corresponding beneficial effects as the device in the first aspect, which will not be elaborated here. Attached Figure Description

[0044] Figure 1 is a structural schematic diagram of an electric vehicle provided in an embodiment of this application;

[0045] Figure 2a is a planar schematic diagram of the first power interface provided in an embodiment of this application;

[0046] Figure 2b is another planar schematic diagram of the first power interface provided in an embodiment of this application;

[0047] Figure 2c is another planar schematic diagram of the first power interface provided in the embodiment of this application;

[0048] Figure 2d is a planar schematic diagram of the second power interface provided in an embodiment of this application;

[0049] Figure 2e is another planar schematic diagram of the second power interface provided in an embodiment of this application;

[0050] Figure 2f is another planar schematic diagram of the second power interface provided in the embodiment of this application;

[0051] Figure 2g is another planar schematic diagram of the second power interface provided in the embodiment of this application;

[0052] Figure 3 is a schematic diagram of a frame of the vehicle-mounted charging and discharging device provided in an embodiment of this application;

[0053] Figure 4 is another schematic diagram of the vehicle-mounted charging and discharging device provided in the embodiment of this application;

[0054] Figure 5 is a schematic diagram of a pulse width modulation signal waveform provided in an embodiment of this application;

[0055] Figure 6 is another schematic diagram of the frame of the vehicle-mounted charging and discharging device provided in the embodiment of this application;

[0056] Figure 7 is a flowchart provided in an embodiment of this application;

[0057] Figure 8 is another schematic diagram of the vehicle-mounted charging and discharging device provided in the embodiments of this application;

[0058] Figure 9 is another schematic diagram of the frame of the vehicle-mounted charging and discharging device provided in the embodiment of this application;

[0059] Figure 10 is a flowchart illustrating a control method for an on-board charging and discharging device provided in an embodiment of this application. Detailed Implementation

[0060] The vehicle-mounted equipment provided in this application includes an on-board charging and discharging device. When applied in an electric vehicle, the on-board charging and discharging device can convert the AC power supplied by the AC side power source into DC power and supply it to charge the power battery in the electric vehicle. Alternatively, the electric vehicle can also discharge the electrical energy stored in the power battery to meet the user's need to discharge the power battery in the electric vehicle to a load.

[0061] The power battery can be a battery used to provide power to various components of the vehicle. For example, the power battery can be a rechargeable lithium-ion battery, a valve-sealed lead-acid battery, an open-type tubular lead-acid battery, or a lithium iron phosphate battery. One or more battery packs of the power battery can be configured to provide power to various components of the vehicle. The AC power source can be the power grid, an AC charging station, a photovoltaic panel, etc. In practical applications, the AC power source can also be other types of power sources or a combination of multiple types of power sources. This application does not limit this; for ease of explanation, the following description uses an AC charging station as an example of an AC power source.

[0062] In some applications, electric vehicles can receive power from the battery via an onboard charging / discharging device and convert the DC power output from the battery into AC power to supply external devices. For example, when users are camping in their vehicles, they can use the electric vehicle to power various loads such as kettles, ovens, and stereos, or to charge electronic devices such as mobile phones, tablets, and laptops inside the vehicle. It should be noted that different loads may have different charging voltage or current amplitudes; for example, some loads have a charging voltage amplitude of 220 volts, while others have a charging voltage amplitude of 110 volts. To adapt to different types of loads, the driver or passengers can input the required reference voltage and current through the display screen. This display screen communicates with the onboard charging / discharging device, providing the input reference voltage and current to the device so that it outputs AC power corresponding to the input reference voltage and current to the load.

[0063] For example, please refer to Figure 1, which is a structural schematic diagram of an electric vehicle provided in an embodiment of this application. The electric vehicle includes at least an on-board charging and discharging device and a power battery. When the on-board charging and discharging device is connected to an AC charging pile, it can convert the AC power from the AC charging pile into DC power to charge the power battery. When the on-board charging and discharging device is connected to different loads, it can convert the DC power from the power battery into AC power for output to supply power to the load, thereby achieving bidirectional power supply.

[0064] Understandably, to improve ease of use, vehicle-mounted charging and discharging devices typically have multiple power interfaces to simultaneously supply power to different loads. For example, a vehicle-mounted charging and discharging device can have a first power interface and a second power interface. The first power interface is located on the vehicle's exterior and can connect to the aforementioned AC charging station to receive AC power output from the AC charging device, allowing the electric vehicle to charge. Alternatively, when the electric vehicle is not charging, the first power interface can connect to various loads such as ovens or kettles and supply power to those loads; that is, the first power interface is reused as both a charging and discharging interface, reducing the number of power interfaces and saving costs. The second power interface is located inside the vehicle and can connect to various loads such as mobile phones and tablets, supplying power to those loads.

[0065] In some feasible implementations, when multiple power interfaces of the on-board charging and discharging device (such as the first and second power interfaces mentioned above) discharge to the outside simultaneously, if the discharge current of one power interface is too large, the on-board charging and discharging device will usually stop working to cut off the external discharge of all power interfaces in order to ensure the safety of the electric vehicle. Therefore, when the discharge current of one power interface is too large, the electric vehicle can no longer discharge to the outside and cannot meet the demand for discharging to the load.

[0066] Therefore, this application provides an on-board charging and discharging device that can individually control the AC voltage received by each power interface. When the current of one power interface is too high, the device can disconnect the power supply to that power interface while maintaining normal power supply to other power interfaces, thus improving the user experience. The device is simple in structure, easy to implement, and highly applicable.

[0067] In some feasible implementations, the vehicle-mounted charging and discharging device provided in this application includes at least a first power interface and a second power interface. The first power interface can be disposed on the vehicle's outer shell and is used to connect to an AC charging pile for charging, and also for connecting to a load for power supply. The second power interface can be disposed inside the vehicle and is used to connect to a load for power supply. It should be noted that the specific location and actual use of the first and second power interfaces can be flexibly adjusted according to actual needs, and this application does not limit this.

[0068] For ease of understanding, the following description, in conjunction with Figures 2a to 2c, illustrates the specific types of the first power interface. Figure 2a is a planar schematic diagram of the first power interface provided in an embodiment of this application; Figure 2b is another planar schematic diagram of the first power interface provided in an embodiment of this application; and Figure 2c is yet another planar schematic diagram of the first power interface provided in an embodiment of this application. Specifically, the first power interface shown in Figure 2a is a socket conforming to the GB / T20234 national standard; the first power interface shown in Figure 2b is a socket conforming to the IEC62196 European standard; and the first power interface shown in Figure 2c is a socket conforming to the CHAdeMO Japanese standard. The specific implementations of the charging connection components, control and control circuits, communication protocols, charging system safety, and thermal management of the first power interfaces shown in Figures 2a to 2c can be found in the relevant standard protocols, and will not be elaborated upon here. Furthermore, it should be noted that the specific type of the first power interface can be flexibly adjusted according to the needs of the actual application scenario. Figures 2a to 2c are merely examples and do not constitute a limitation on the embodiments of this application.

[0069] The following description, in conjunction with Figures 2d to 2g, illustrates specific types of the second power interface. Figure 2d is a plan view of the second power interface provided in an embodiment of this application; Figure 2e is another plan view of the second power interface provided in an embodiment of this application; Figure 2f is yet another plan view of the second power interface provided in an embodiment of this application; and Figure 2g is yet another plan view of the second power interface provided in an embodiment of this application. Specifically, the second power interface shown in Figure 2d is a USB-A interface type socket, i.e., a standard Type-A interface; the second power interface shown in Figure 2e is a USB Type-C interface type socket; the second power interface shown in Figure 2f is a socket conforming to the IEC 60320C13 standard; and the second power interface shown in Figure 2g is a socket conforming to the IEC 60884 standard. The specific implementation of the charging connection components, control and control circuits, communication protocols, charging system safety, and thermal management aspects of the second power interfaces shown in Figures 2d to 2g can be found in relevant standard protocols, and will not be elaborated upon here. Furthermore, it should be noted that the specific type of the second power interface can be flexibly adjusted according to the needs of the actual application scenario. The above Figures 2d to 2g are only examples and do not constitute a limitation on the embodiments of this application.

[0070] In some feasible implementations, the vehicle-mounted charging and discharging device provided in this application further includes a power conversion circuit. The AC terminal of this power conversion circuit is connected to a first power interface and a second power interface, while the DC terminal is connected to the power battery via a positive DC bus and a negative DC bus. This power conversion circuit can invert and convert the DC power supplied by the power battery to supply power to a load connected to the first or second power interface. Alternatively, the power conversion circuit can rectify and convert the AC power supplied by an AC charging pile connected to the first power interface, and then supply the rectified AC power to the power battery for charging.

[0071] The power conversion circuit specifically includes a first bridge arm, a second bridge arm, and a third bridge arm connected in parallel between the positive DC bus and the negative DC bus. The midpoint of the first bridge arm is connected to the first terminal of the first power interface and the first terminal of the second power interface; the midpoint of the second bridge arm is connected to the second terminal of the first power interface; and the midpoint of the third bridge arm is connected to the second terminal of the second power interface. It should be noted that, in this embodiment, the first terminal of the first power interface can specifically be a live wire terminal, and the second terminal can be a neutral wire terminal. In this case, the first terminal of the second power interface is the live wire terminal, and the second terminal is the neutral wire terminal. Alternatively, the first terminal of the first power interface can specifically be a neutral wire terminal, and the second terminal can be a live wire terminal. In this case, the first terminal of the second power interface is the neutral wire terminal, and the second terminal is the live wire terminal.

[0072] Furthermore, the vehicle-mounted charging and discharging device provided in this application embodiment also includes a first switch, which is disposed between the second end of the first power interface and the midpoint of the third bridge arm. The vehicle-mounted charging and discharging device can control the first switch to turn on or off to connect or disconnect the second end of the first power interface from the midpoint of the third bridge arm.

[0073] In some feasible implementations, when both the first and second power interfaces are connected to a load, the on-board charging and discharging device can control the first switch to turn off, thereby disconnecting the second end of the first power interface from the midpoint of the third bridge arm. At this time, since the midpoint of the first bridge arm is connected to the first end of the first power interface, and the midpoint of the second bridge arm is connected to the second end of the first power interface, the on-board charging and discharging device can control the switching transistors in the first and second bridge arms to operate, causing the first and second bridge arms to form an inverter bridge to invert and convert the DC power supplied by the power battery into first AC power, which is then output to the first power interface, thereby supplying power to the load connected to the first power interface. Simultaneously, since the midpoint of the first bridge arm is also connected to the first end of the second power interface, and the midpoint of the third bridge arm is connected to the second end of the second power interface, the on-board charging and discharging device can control the switching transistors in the first and third bridge arms to operate, causing the first and third bridge arms to form an inverter bridge to invert and convert the DC power supplied by the power battery into second AC power, which is then output to the second power interface, thereby supplying power to the load connected to the second power interface. In other words, in the embodiments of this application, the power conversion circuit can, when the first switch is off, enable the first bridge arm to form two sets of inverter bridges, namely the second bridge arm and the third bridge arm, so as to respectively invert and convert the DC power output from the power battery, and then output AC power to the first power interface and the second power interface respectively.

[0074] For example, please refer to Figure 3, which is a schematic diagram of a frame of an on-board charging and discharging device provided in an embodiment of this application. The on-board charging and discharging device shown in Figure 3 includes a first power interface, a second power interface, a first switch K1, and a power conversion circuit. The power conversion circuit includes a first bridge arm, a second bridge arm, and a third bridge arm connected in parallel between the positive DC bus BUSN+ and the negative DC bus BUSN-. The midpoint of the first bridge arm connects to the first end of the first power interface and the first end of the second power interface; the midpoint of the second bridge arm connects to the second end of the first power interface; and the midpoint of the third bridge arm connects to the second end of the second power interface. The first switch K1 is disposed between the second end of the first power interface and the midpoint of the third bridge arm.

[0075] As can be seen from the above, the first end of the first power interface shown in Figure 3 can be the live wire end, and the second end can be the neutral wire end. In this case, the first end of the second power interface is the live wire end, and the second end is the neutral wire end. Alternatively, the first end of the first power interface shown in Figure 3 can be the neutral wire end, and the second end can be the live wire end. In this case, the first end of the second power interface is the neutral wire end, and the second end is the live wire end.

[0076] The first bridge arm of the power conversion circuit shown in Figure 3 can be composed of first switch Q11 and first switch Q12 connected in series between the positive DC bus BUSN+ and the negative DC bus BUSN-. The connection point of the two first switches is the midpoint of the first bridge arm. The second bridge arm can be composed of second switch Q21 and second switch Q22 connected in series between the positive DC bus BUSN+ and the negative DC bus BUSN-. The connection point of the two second switches is the midpoint of the second bridge arm. The third bridge arm can be composed of third switch Q31 and third switch Q32 connected in series between the positive DC bus BUSN+ and the negative DC bus BUSN-. The connection point of the two third switches is the midpoint of the third bridge arm.

[0077] In some feasible implementations, when the on-board charging and discharging device controls the first switch to turn off and controls the switching transistors in the first bridge arm (e.g., the first switching transistors Q11 and Q12 shown in Figure 3) and the second bridge arm (e.g., the second switching transistors Q21 and Q22) to operate to output the first AC power to the first power interface, and simultaneously controls the switching transistors in the first and third bridge arms (e.g., the third switching transistors Q31 and Q32) to operate to output the second AC power to the second power interface, the on-board charging and discharging device can detect the current magnitude at the first and second power interfaces. If an excessive current occurs at either power interface, the device can promptly stop supplying power to that power interface to ensure power supply safety.

[0078] Specifically, the on-board charging and discharging device can sample the current at either the first or second terminal of the first power interface to obtain a sampled current. If this sampled current is greater than or equal to a current threshold, it indicates that the current flowing through the first power interface is excessive. The current threshold refers to the maximum output current at the first power interface when it is supplying power and ensuring safe power supply. If the sampled current at the first power interface is greater than or equal to this current threshold, the first power interface may experience severe overheating or other adverse effects due to overcurrent. Therefore, the on-board charging and discharging device needs to ensure that the current supplying power from the first power interface does not exceed the aforementioned current threshold. Furthermore, when the on-board charging and discharging device detects that the sampled current at the first power interface is greater than or equal to the current threshold, it can control the switching transistor in the second bridge arm to stop operating, causing the second bridge arm to stop inverting and converting with the first bridge arm, thereby stopping the output of the first AC power to the first power interface. This ensures that power supply can be stopped promptly when the current at the first power interface is excessive, improving safety.

[0079] It is understandable that when the current at the first power interface is too high, the on-board charging and discharging device can control the switching transistors in the first and third bridge arms to continue operating, thereby maintaining the power supply to the second power interface. Therefore, the on-board charging and discharging device provided in this application embodiment can independently control the switching transistors in the second bridge arm to stop operating and disconnect the power supply to the first power interface when an overcurrent occurs at the first power interface, ensuring power supply safety while not affecting the power supply to the second power interface, effectively improving the user experience and demonstrating strong applicability.

[0080] Similarly, the on-board charging and discharging device can sample the current at either the first or second terminal of the second power interface to obtain a sampled current. When this sampled current is greater than or equal to a current threshold, it means that the current flowing through the second power interface is too large. At this time, the on-board charging and discharging device can control the switching transistor in the third bridge arm to stop operating, thereby stopping the third bridge arm from performing inverter conversion with the first bridge arm, and thus stopping the output of the second AC power to the second power interface. This ensures that the power supply can be stopped in time when the current at the second power interface is too large, improving safety.

[0081] It is understandable that when the current at the second power interface is too high, the on-board charging and discharging device can control the switching transistors in the first and second bridge arms to continue operating, thereby maintaining the power supply to the first power interface. Therefore, the on-board charging and discharging device provided in this application embodiment can independently control the switching transistors in the third bridge arm to stop operating and disconnect the power supply to the second power interface when an overcurrent occurs at the second power interface, ensuring power supply safety while not affecting the power supply to the first power interface, effectively improving the user experience and demonstrating strong applicability.

[0082] In some feasible implementations, the on-board charging and discharging device can also independently control the bridge arm corresponding to any power interface to stop operating when no load is connected to that power interface, thereby disconnecting the power supply to that power interface. For example, assuming the first power interface is connected to a load and the second power interface is not connected to a load, the on-board charging and discharging device can, with the first switch open, control the switching transistors in the first and second bridge arms of the power conversion circuit to operate, inverting and converting the DC power output from the power battery into first AC power, which is then output to the first power interface. At this time, since the switching transistor in the third bridge arm does not operate, the second power interface does not supply power externally. Similarly, assuming the second power interface is connected to a load and the first power interface is not connected to a load, the on-board charging and discharging device can, with the first switch open, control the switching transistors in the first and third bridge arms of the power conversion circuit to operate, inverting and converting the DC power output from the power battery into second AC power, which is then output to the second power interface. At this time, since the switching transistor in the second bridge arm does not operate, the first power interface does not supply power externally.

[0083] The vehicle-mounted charging and discharging device provided in this application connects the midpoint of the first bridge arm to the first end of the first power interface and the first end of the second power interface, connects the midpoint of the second bridge arm to the second end of the first power interface, and connects the midpoint of the third bridge arm to the second end of the second power interface. A first switch is provided between the second end of the first power interface and the midpoint of the third bridge arm. When the first switch is turned off, the device controls the operation of the switching transistors in the first and second bridge arms to provide a first AC power supply to the first power interface independently. Similarly, it controls the operation of the switching transistors in the first and third bridge arms to provide a second AC power supply to the second power interface independently. Furthermore, when the current in the first or second power interface is too high or no load is connected, the vehicle-mounted charging and discharging device can disconnect the power supply to the first or second power interface with excessive current by controlling the corresponding second or third bridge arm to stop operating. Simultaneously, since the second and third bridge arms are decoupled, the vehicle-mounted charging and discharging device can maintain power supply to the other power interface, avoiding power outages at all power interfaces, improving the user experience, and offering a simple, easy-to-implement, and highly applicable structure.

[0084] In some feasible implementations, as can be seen from the above, the voltage amplitude of the first AC power output from the first power interface can vary depending on the application scenario. For example, some loads require a power supply voltage amplitude of 220 volts, while others require 110 volts. To adapt to different types of loads, the vehicle-mounted charging and discharging device can adjust the voltage amplitude of the first AC power output from the first power interface based on the first reference voltage signal recorded on the display screen, so as to provide the load with a first AC power corresponding to the first reference voltage signal. The aforementioned first reference voltage signal can be understood as being obtained from the required voltage of the first power interface. For example, assuming the first power interface needs to provide 220 volts of AC power to the load, then the required voltage of the first power interface is 220 volts, i.e., the aforementioned first reference voltage signal is 220 volts. Depending on the actual application scenario, the first reference voltage signal can be flexibly adjusted, and this application embodiment does not impose any limitations on this.

[0085] It is understandable that, since the first AC power output from the first power interface is obtained by the inverter conversion of the first bridge arm and the second bridge arm, the on-board charging and discharging device can adjust the voltage amplitude of the first AC power by controlling the first bridge arm and the second bridge arm.

[0086] Specifically, please refer to Figure 4, which is another schematic diagram of the vehicle-mounted charging and discharging device provided in this application embodiment. As shown in Figure 4, the vehicle-mounted charging and discharging device may include a first loop regulator. The vehicle-mounted charging and discharging device can detect the voltage difference between the first and second terminals of the first power interface in real time to obtain a first sampled voltage signal V1, and obtain a first error voltage signal based on the first sampled voltage signal V1 and the first reference voltage signal Va. The first reference voltage signal Va can be understood as the required voltage of the first power interface, and the first error voltage signal can be understood as the error between the current voltage amplitude at the first power interface and the target voltage amplitude. Further, the first loop regulator can obtain a modulated voltage signal based on the first error voltage signal. The vehicle-mounted charging and discharging device also includes a modulation module and a driving module. The modulation module can modulate the modulated voltage signal and output it to the driving module to generate a pulse width modulation signal, driving the switching transistors in the first and second bridge arms of the power conversion circuit to operate, causing the first and second bridge arms to increase or decrease the voltage amplitude of the first AC power.

[0087] It should be noted that the aforementioned adjustment process of the first AC voltage amplitude is a closed-loop control process. That is, the on-board charging and discharging device can continuously compare the difference between the first sampled voltage signal V1 at the first power interface and the first reference voltage signal Va, adjusting the modulation voltage signal to make the difference between the first sampled voltage signal V1 at the first power interface and the first reference voltage signal Va gradually decrease. For example, when the first reference voltage signal Va equals 220 volts, that is, when the target voltage amplitude of the first AC power supplied by the first power interface is 220 volts, the on-board charging and discharging device can execute the aforementioned closed-loop control process through the first loop regulator, modulation module, and drive module until the voltage amplitude of the first sampled voltage signal V1 at the first power interface reaches 220 volts, at which point the closed-loop control process ends. The above is merely an example and does not constitute a limitation on the embodiments of this application.

[0088] Similarly, depending on the application scenario, the voltage amplitude of the second AC power output from the second power interface can also be different. Since the second AC power output from the second power interface is obtained by inverter conversion of the first and third bridge arms, the on-board charging and discharging device can adjust the voltage amplitude of the second AC power by controlling the first and third bridge arms.

[0089] Specifically, please refer to Figure 4 again. As shown in Figure 4, the on-board charging and discharging device also includes a second loop regulator. The on-board charging and discharging device can detect the voltage difference between the first and second terminals of the second power interface in real time to obtain a second sampled voltage signal V2, and obtain a second error voltage signal based on the second sampled voltage signal V2 and the second reference voltage signal Vb. Furthermore, the second loop regulator can obtain a modulation voltage signal based on the first error voltage signal. As can be seen from the above, the modulation module can modulate the modulation voltage signal and output it to the drive module to generate a pulse width modulation signal, which drives the switching transistors in the first and third bridge arms of the power conversion circuit to operate, thereby increasing or decreasing the voltage amplitude of the second AC power supply in the first and third bridge arms. The above-mentioned adjustment process of the second AC power voltage amplitude is a closed-loop control process, that is, the on-board charging and discharging device can continuously compare the difference between the second sampled voltage signal V2 and the second reference voltage signal Vb at the second power interface, and adjust the modulation voltage signal so that the difference between the second sampled voltage signal V2 and the second reference voltage signal Vb at the second power interface becomes smaller and smaller.

[0090] In some feasible implementations, to facilitate understanding of the implementation principle of adjusting the AC voltage amplitude of each bridge arm, the following is illustrated with reference to Figures 4 and 5. Figure 5 is a schematic diagram of a pulse width modulation signal waveform provided in an embodiment of this application. A11 in Figure 5 is a pulse width modulation signal used to drive the first switch Q11 in Figure 4 to turn on or off; A12 in Figure 5 is a pulse width modulation signal used to drive the first switch Q12 in Figure 4 to turn on or off; A21 in Figure 5 is a pulse width modulation signal used to drive the second switch Q21 in Figure 4 to turn on or off; A22 in Figure 5 is a pulse width modulation signal used to drive the second switch Q22 in Figure 4 to turn on or off; A31 in Figure 5 is a pulse width modulation signal used to drive the third switch Q31 in Figure 4 to turn on or off; and A32 in Figure 5 is a pulse width modulation signal used to drive the third switch Q32 in Figure 4 to turn on or off. It should be noted that when each pulse width modulation signal shown in Figure 5 is at a high level, the pulse width modulation signal can control the corresponding switch to turn on; when each pulse width modulation signal shown in Figure 5 is at a low level, the pulse width modulation signal can control the corresponding switch to turn off.

[0091] It should be noted that when the on-board charging and discharging device receives the first reference voltage signal Va, it can adjust the amplitude of the pulse width modulation signals A21 and A22 shown in Figure 5 to increase or decrease, thereby adjusting the operation of the switching transistor in the second bridge arm and thus increasing or decreasing the voltage amplitude of the first AC current. Similarly, when the on-board charging and discharging device receives the second reference voltage signal Vb, it can adjust the amplitude of the pulse width modulation signals A31 and A32 shown in Figure 5 to increase or decrease, thereby adjusting the operation of the switching transistor in the third bridge arm and thus increasing or decreasing the voltage amplitude of the second AC current. Figure 5 is only an example and does not constitute a limitation of the embodiments of this application.

[0092] In some feasible implementations, as can be seen from the above, the current amplitude of the first AC power output from the first power interface can vary depending on the application scenario. For example, some loads require a supply current amplitude of 10 amps, while others require a supply current amplitude of 5 amps. To adapt to different types of loads, the on-board charging and discharging device can adjust the current amplitude of the first AC power output from the first power interface based on a first reference current signal to provide the load with a first AC power corresponding to the first reference current signal. The aforementioned first reference current signal can be understood as being obtained from the required current of the first power interface. For example, assuming the first power interface needs to provide 10 amps of AC power to the load, then the required current of the first power interface is 10 amps, meaning the aforementioned reference current signal is 10 amps.

[0093] It should be noted that the first reference current signal can be obtained by inputting it through the display screen, or by obtaining it from the modulation voltage signal output by the first loop regulator, or by comparing the reference current information input through the display screen with the modulation voltage signal output by the first loop regulator. Depending on the actual application scenario, the acquisition and value of the first reference current signal can be flexibly adjusted, and this embodiment does not impose any limitations on this.

[0094] It is understandable that, since the first AC power output from the first power interface is obtained by the inverter conversion of the first bridge arm and the second bridge arm, the on-board charging and discharging device can adjust the current amplitude of the first AC power by controlling the first bridge arm and the second bridge arm.

[0095] Specifically, please refer to Figure 6, which is another schematic diagram of the vehicle-mounted charging and discharging device provided in this application embodiment. As shown in Figure 6, the vehicle-mounted charging and discharging device may include a first loop regulator and a third loop regulator. The vehicle-mounted charging and discharging device can detect the current at the first or second end of the first power interface in real time to obtain a first sampled current signal I1, and obtain a first error current signal based on the first sampled current signal I1 and a first reference current signal. The first reference current signal can be understood as the required current of the first power interface, and the first error current signal can be understood as the error between the current amplitude at the current first power interface and the target current amplitude. Furthermore, the third loop regulator can output a modulated voltage signal based on the first error current signal. The modulation module can modulate the modulation voltage signal output by the first loop regulator and the modulation voltage signal output by the third loop regulator and then output them to the drive module to generate a pulse width modulation signal. This drives the switching transistors in the first and second bridge arms of the power conversion circuit to operate, thereby increasing or decreasing the current amplitude of the first AC power output by the first and second bridge arms, and simultaneously increasing or decreasing the voltage amplitude of the first AC power.

[0096] It should be noted that the above-mentioned adjustment process of the amplitude of the first AC current is a closed-loop control process. That is, the on-board charging and discharging device can adjust the modulation current signal by continuously comparing the difference between the first sampled current signal I1 and the first reference current signal at the first power interface, so that the difference between the first sampled current signal I1 and the first reference current signal at the first power interface becomes smaller and smaller.

[0097] Similarly, depending on the application scenario, the current amplitude of the second AC power output from the second power interface can also be different. Since the second AC power output from the second power interface is obtained by inverter conversion of the first and third bridge arms, the on-board charging and discharging device can adjust the current amplitude of the second AC power by controlling the first and third bridge arms.

[0098] Specifically, please refer to Figure 6 again. As shown in Figure 6, the on-board charging and discharging device also includes a fourth loop regulator. The on-board charging and discharging device can detect the current at the first or second end of the second power interface in real time to obtain a second sampled current signal I2, and obtain a second error current signal based on the second sampled current signal I2 and the second reference current signal. Furthermore, as can be seen from the above, the on-board charging and discharging device can generate a pulse width modulation signal through the modulation module and the drive module to drive the switching transistors in the first and third bridge arms of the power conversion circuit to operate, thereby increasing or decreasing the current amplitude of the second AC power and simultaneously increasing or decreasing the voltage amplitude of the second AC power. The above-mentioned adjustment process of the second AC current amplitude is a closed-loop control process, that is, the on-board charging and discharging device can continuously compare the difference between the second sampled current signal I2 at the second power interface and the second reference current signal, and adjust the modulation current signal so that the difference between the second sampled current signal I2 at the second power interface and the second reference current signal becomes smaller and smaller.

[0099] In some feasible implementations, to facilitate understanding of the implementation principle of adjusting the AC current amplitude of each bridge arm, the following examples are provided in conjunction with Figures 5 and 6. When the on-board charging and discharging device receives the first reference current signal, it can adjust the duty cycle of the pulse width modulation signals A21 and A22 shown in Figure 5, thereby adjusting the operation of the switching transistor in the second bridge arm, thus increasing or decreasing the amplitude of the first AC current. Similarly, when the on-board charging and discharging device receives the second reference current signal, it can adjust the duty cycle of the pulse width modulation signals A31 and A32 shown in Figure 5, thereby adjusting the operation of the switching transistor in the third bridge arm, thus increasing or decreasing the amplitude of the second AC current.

[0100] It is understood that, in the embodiments of this application, the vehicle-mounted charging and discharging device, based on the specific implementation shown in Figures 4 to 5 above, can simultaneously adjust the AC power output from the first power interface and the second power interface by simultaneously detecting the sampling electrical signals (sampling voltage signal or sampling current signal) of the first power interface and the second power interface. It is highly flexible and suitable for various application scenarios.

[0101] For ease of understanding, the following description, in conjunction with Figure 7, illustrates the implementation process of the on-board charging and discharging device in this application embodiment. Figure 7 is a flowchart provided in this application embodiment. As shown in Figure 7, firstly, the vehicle owner or passenger can input a first reference voltage signal and a second reference voltage signal into the display screen via the interface shown on the screen. The display screen is communicatively connected to the on-board charging and discharging device through the vehicle controller system to transmit the aforementioned first reference voltage signal and second reference voltage signal to the on-board charging and discharging device. It can be understood that when the first reference voltage signal and the second reference voltage signal are input into the display screen, it indicates that both the first power interface and the second power interface are connected to a load. At this time, the on-board charging and discharging device can control the first switch to open, and then control the first bridge arm and the second bridge arm to output a first AC current corresponding to the first reference voltage signal to the first power interface, and control the first bridge arm and the third bridge arm to output a second AC current corresponding to the second reference voltage signal to the second power interface. Figure 7 is only an example and does not constitute a limitation on the embodiments of this application.

[0102] In some feasible implementations, when both the first and second power interfaces are connected to a load, the on-board charging and discharging device can control the first switch to turn on, so that the second end of the first power interface is connected to the midpoint of the third bridge arm. At this time, the midpoint of the first bridge arm is connected to the first end of the first power interface and the second end of the second power interface; the midpoint of the second bridge arm is connected to the second end of the first power interface and is connected to the second end of the first power interface via the turned-on first switch; the midpoint of the third bridge arm is connected to the second end of the second power interface and is connected to the second end of the first power interface via the turned-on first switch. The on-board charging and discharging device can control the operation of the switches in the first, second, and third bridge arms, so that the first, second, and third bridge arms together form an inverter bridge to invert and convert the DC power provided by the power battery into AC power, which is then output to the first and second power interfaces, thereby supplying power to the loads connected to the first and second power interfaces.

[0103] It is understood that when the first switch is on, the on-board charging and discharging device can control the three arms of the power conversion circuit to perform inverter conversion together, and can adjust the fourth AC power output to the first and second power interfaces. Furthermore, when the first switch is on, the first and second power interfaces are electrically connected, so the sampled electrical signal at the first power interface is the same as the sampled electrical signal at the second power interface, and the reference electrical signals of the two power interfaces are also the same. Therefore, the on-board charging and discharging device can control the first, second, and third arms to adjust the amplitude of the AC power received by any power interface based on the reference electrical signal (reference voltage signal or reference current signal) and the sampled electrical signal (sampled voltage signal or sampled current signal) at any power interface. Specifically, the principle of the on-board charging and discharging device adjusting the AC power amplitude of the first and second power interfaces can be referred to the specific implementation shown in Figures 4 and 5 above, which will not be elaborated upon here.

[0104] In some feasible implementations, as described above, the first power interface of the vehicle-mounted charging and discharging device can not only connect to a load and provide first AC power to the load, but also connect to an AC charging pile to obtain AC power from the AC charging pile. When the first power interface is connected to the AC charging pile and the second power interface is connected to the load, the vehicle-mounted charging and discharging device can control the first switch to turn on, so that the second end of the first power interface is connected to the midpoint of the third bridge arm. At this time, the midpoint of the first bridge arm is connected to the first end of the first power interface and the second end of the second power interface; the midpoint of the second bridge arm is connected to the second end of the first power interface and is connected to the second end of the first power interface through the turned-on first switch; the midpoint of the third bridge arm is connected to the second end of the second power interface and is connected to the second end of the first power interface through the turned-on first switch. The vehicle-mounted charging and discharging device can control the operation of the switches in the first, second, and third bridge arms, so that the first, second, and third bridge arms together form a rectifier bridge to rectify and convert the third AC power provided by the AC charging pile into DC power, and provide charging for the power battery. Simultaneously, since an electrical connection is established between the first power interface and the second power interface when the first switch is turned on, the third AC power received by the first power interface can be supplied to the second power interface, thereby supplying power to the load connected to the second power interface. It can be understood that when the first switch is turned on, the on-board charging and discharging device can control the three arms of the power conversion circuit to perform rectification and conversion together, and can regulate the DC power supplied to the power battery.

[0105] In some feasible implementations, the vehicle-mounted charging and discharging device provided in this application embodiment further includes a second switch. The second switch may be disposed between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch may be disposed between the second end of the second power interface and the midpoint of the third bridge arm. For ease of explanation, the following description takes the example of the second switch being disposed between the second end of the second power interface and the midpoint of the third bridge arm.

[0106] It is understandable that the on-board charging and discharging device can connect or disconnect the second end of the second power interface from the midpoint of the third bridge arm by controlling the second switch to turn it on or off.

[0107] For example, please refer to Figure 8, which is another schematic diagram of the vehicle-mounted charging and discharging device provided in the embodiments of this application. As shown in Figure 8, the vehicle-mounted charging and discharging device includes a first power interface, a second power interface, a first switch K1, a second switch K2, and a power conversion circuit. The power conversion circuit includes a first bridge arm, a second bridge arm, and a third bridge arm connected in parallel between the positive DC bus BUSN+ and the negative DC bus BUSN-. The midpoint of the first bridge arm connects to the first end of the first power interface and the first end of the second power interface; the midpoint of the second bridge arm connects to the second end of the first power interface; and the midpoint of the third bridge arm connects to the second end of the second power interface. The first switch K1 is located between the second end of the first power interface and the midpoint of the third bridge arm, and the second switch K2 is located between the second end of the second power interface and the midpoint of the third bridge arm. The working principle of the vehicle-mounted charging and discharging device shown in Figure 8 can be referred to the specific embodiments shown in Figures 3 to 7 above, and will not be repeated here.

[0108] In some feasible implementations, when the first power interface is connected to a load and the second power interface is not connected to a load, the on-board charging and discharging device can control both the first and second switches to turn off, thereby disconnecting the second end of the second power interface from the midpoint of the third bridge arm, and also disconnecting the second end of the first power interface from the midpoint of the third bridge arm. At this time, the midpoint of the first bridge arm is connected to the first end of the first power interface, and the midpoint of the second bridge arm is connected to the second end of the first power interface. The on-board charging and discharging device can control the switching transistors in the first and second bridge arms to operate, causing the first and second bridge arms to form an inverter bridge to invert and convert the DC power supplied by the power battery into AC power, which is then output to the first power interface, thereby supplying power to the load connected to the first power interface. Simultaneously, since the second end of the first power interface is disconnected from the midpoint of the third bridge arm, the on-board charging and discharging device stops outputting AC power to the second power interface.

[0109] Furthermore, when the on-board charging and discharging device detects excessive current at the second power interface, it can also control the second switch to turn off, thereby stopping the supply of power to the second power interface. Therefore, the on-board charging and discharging device provided in this application embodiment can disconnect the power supply to the second power interface by individually controlling the second switch to turn off or controlling the third bridge arm to stop operating when there is excessive current at the second power interface or when no load is connected, ensuring power supply safety. Simultaneously, this application embodiment can control the switching transistors in the first and second bridge arms to operate when the first switch is off, thereby providing a first current to the first power interface independently, meeting power demand, enriching application scenarios, and demonstrating strong applicability.

[0110] In some feasible implementations, when the first power interface is connected to a load and the second power interface is not connected to a load, the on-board charging and discharging device can control the first switch to be turned on and the second switch to be turned off, so that the second end of the second power interface is disconnected from the midpoint of the third bridge arm, while the second end of the first power interface is connected to the midpoint of the third bridge arm. At this time, the midpoint of the first bridge arm is connected to the first end of the first power interface, the midpoint of the second bridge arm is connected to the second end of the first power interface, and the midpoint of the third bridge arm is connected through the turned-on first switch. The on-board charging and discharging device can control the operation of the switching transistors in the first, second, and third bridge arms, so that the first, second, and third bridge arms form an inverter bridge to invert and convert the DC power provided by the power battery into a third AC power, and output it to the first power interface, thereby supplying power to the load connected to the first power interface. Alternatively, when the first power interface is connected to a charging pile, the aforementioned first, second, and third bridge arms can form a rectifier bridge to invert and convert the third AC power provided by the AC charging pile into DC power, and supply it to charge the power battery. At the same time, since the second end of the first power interface is disconnected from the midpoint of the third bridge arm, the vehicle-mounted charging and discharging device stops outputting AC power to the second power interface.

[0111] It should be noted that when the second switch is off, the on-board charging and discharging device can control each arm of the power conversion circuit to perform inverter conversion and can adjust the fourth AC power output to the first power interface. Furthermore, when the second switch is off, the first power interface and the second power interface are disconnected, and the second power interface does not receive AC power. The on-board charging and discharging device can control the first arm, the second arm, and the third arm (with the first switch on) based on the sampled electrical signal and the first reference electrical signal at the first power interface, or only control the first arm and the second arm (with the first switch off) to adjust the amplitude of the AC power received by the first power interface. Specifically, the principle of the on-board charging and discharging device adjusting the AC power amplitude of the first power interface can be referred to the specific implementation shown in Figures 4 and 5 above, which will not be elaborated upon here.

[0112] In some feasible implementations, please refer to Figure 9, which is another schematic diagram of the vehicle-mounted charging and discharging device provided in the embodiments of this application. The vehicle-mounted charging and discharging device shown in Figure 9 also includes a filtering module. This filtering module is disposed between the AC terminal of the power conversion circuit and the first power interface and the second power interface. It can filter, boost, or buck the electrical signal to improve the signal quality of the AC power. Specifically, the filtering module can be composed of an inductor connected in series between the midpoint of the second bridge arm and the second terminal of the first power interface, and an inductor connected in series between the midpoint of the third bridge arm and the second terminal of the second power interface. In other application scenarios, the filtering module can also be composed of an inductor connected in series between the midpoint of the first bridge arm and the first terminal of the first power interface. The specific structure of the filtering module can be flexibly adjusted according to actual needs, and the embodiments of this application do not limit this.

[0113] The on-board charging and discharging device shown in Figure 9 also includes a DC bus capacitor C, which can be positioned between the positive DC bus BUSN+ and the negative DC bus BUSN-. This DC bus capacitor, after pre-charging, prevents damage to components due to excessive inrush current when the power battery is connected to the power source. Similarly, the DC bus capacitor C shown in Figure 9 is merely an example and does not constitute a limitation on the embodiments of this application.

[0114] The on-board charging and discharging device shown in Figure 9 also includes a DC-DC converter circuit. This DC-DC converter circuit is a device used to convert DC power into DC power, such as a combiner box, a boost converter, or a buck converter. This embodiment of the application does not limit the specific type of converter. One side of the DC-DC converter circuit is coupled to a power conversion circuit, and the other side is coupled to a power battery. It can transfer electrical energy output from the power conversion circuit to the power battery, or vice versa. Specifically, the DC-DC converter circuit can be isolated or non-isolated.

[0115] The working principle of the vehicle-mounted charging and discharging device shown in Figure 9 can be referred to the specific implementation methods shown in Figures 3 to 7 above. The embodiments of this application will not be repeated here.

[0116] In some feasible implementations, the vehicle-mounted charging and discharging device provided in this application embodiment may further include a controller. The controller can control the switching transistors of each bridge arm shown in Figures 3 to 9, and can also control the operating states of the first switch and the second switch to configure the vehicle-mounted charging and discharging device so that the vehicle-mounted charging and discharging achieves the above-described specific implementation.

[0117] It should be noted that in some application scenarios, the controller and the on-board charging / discharging device can be independent devices, and the controller can be located inside or outside the on-board charging / discharging device. Alternatively, in other cases, the controller can also be a related control device within the on-board charging / discharging device, such as an integrated circuit (IC). The aforementioned controller can be a digital signal processing (DSP) unit, a field-programmable gate array (FPGA), a microcontroller unit (MCU), or other devices with computing and control functions.

[0118] Specifically, the controller may include an integrated chip, a processor, a host computer, etc., and may be a combination of multiple integrated chips or multiple processors; this application embodiment does not limit this. For example, the controller includes an integrated chip with multiple input / output ports, respectively coupled to a power conversion circuit, a first switch, a second switch, a first power interface, a second power interface, and a display screen, etc., for controlling the operating states of the power conversion circuit and the first and second switches to achieve charging and discharging functions. Simultaneously, it can acquire the sampling electrical signals from the first and second power interfaces, and acquire the reference voltage signal and reference current signal light recorded on the display screen. In practical applications, the integrated chip may also be coupled to other functional units to achieve related functions; this application embodiment does not limit this.

[0119] To implement the above functions, the control module contains the corresponding algorithm, and the appropriate circuit modules (such as the power conversion circuit, the first switch, and the second switch) are of suitable types. If other new functions are required, new circuit modules can be added or suitable circuit module types can be used, and the corresponding algorithm can be set in the control module.

[0120] Furthermore, the control module may include one or more processors and a memory. The one or more processors may be coupled to a power conversion circuit, a first switch, a second switch, a first power interface, and a second power interface, etc. The memory stores instructions that, when executed by the one or more processors, can implement power supply functions, detection functions, regulation functions, and power battery charging functions as described in the above embodiments.

[0121] In summary, the vehicle-mounted charging and discharging device provided in this application connects the midpoint of the first bridge arm to the first end of the first power interface and the first end of the second power interface, connects the midpoint of the second bridge arm to the second end of the first power interface, and connects the midpoint of the third bridge arm to the second end of the second power interface. A first switch is provided between the second end of the first power interface and the midpoint of the third bridge arm. When the first switch is off, the device controls the operation of the switching transistors in the first and second bridge arms to provide a first AC power supply to the first power interface independently, and controls the operation of the switching transistors in the first and third bridge arms to provide a second AC power supply to the second power interface independently. Furthermore, when the current in the first or second power interface is too high, the vehicle-mounted charging and discharging device can disconnect the power supply to the first or second power interface with excessive current by controlling the corresponding second or third bridge arm to stop operating. Simultaneously, since the second and third bridge arms are decoupled, the vehicle-mounted charging and discharging device can maintain power supply to the other power interface, avoiding power outages for all power interfaces, improving the user experience, and is simple in structure and easy to implement. Furthermore, the on-board charging and discharging device can also control the first switch to turn on, allowing the first, second, and third bridge arms to jointly form a rectifier bridge for charging the power battery, thus expanding its application scenarios and broadening its applicability. In addition, when the first switch is turned off, the on-board charging and discharging device can, based on a reference electrical signal and a sampled electrical signal at the first or second power interface, control the switching transistors in the corresponding bridge arms to individually adjust the AC current amplitude received at the first or second power interface, adapting to various types of loads and offering high flexibility.

[0122] Please refer to Figure 10, which is a flowchart illustrating a control method for an on-board charging and discharging device provided in an embodiment of this application. The control method for an on-board charging and discharging device provided in this application is applicable to the on-board charging and discharging devices shown in Figures 3 to 9. Specifically, the control method for an on-board charging and discharging device may include the following steps:

[0123] S101, Control the first switch to turn off.

[0124] Understandably, the on-board charging and discharging device connects the midpoint of the first bridge arm to the first end of the first power interface and the first end of the second power interface, connects the midpoint of the second bridge arm to the second end of the first power interface, and connects the midpoint of the third bridge arm to the second end of the second power interface. A first switch is positioned between the second end of the first power interface and the midpoint of the third bridge arm. When the first switch is off, because the second and third bridge arms are decoupled, the on-board charging and discharging device can independently adjust the AC power received by the first power interface through the first and second bridge arms, and independently adjust the AC power received by the second power interface through the first and third bridge arms, thus improving the user experience. Furthermore, the structure is simple, easy to implement, and highly applicable.

[0125] The specific implementation of S101 can be found in the implementation of the vehicle-mounted charging and discharging device shown in Figures 3 to 9. The embodiments of this application will not be described in detail here.

[0126] S102, control the operation of the switching transistors in the first bridge arm and the second bridge arm, so that the first bridge arm and the second bridge arm convert the DC power output from the power battery into the first AC power and output it to the first power interface.

[0127] Understandably, the midpoint of the first bridge arm is connected to the first end of the first power interface, and the midpoint of the second bridge arm is connected to the second end of the first power interface. The on-board charging and discharging device connects the first bridge arm, the second bridge arm, the third bridge arm, and the first switch to the first and second power interfaces in the above connection manner. When the first switch is turned off, by controlling the operation of the switching transistors in the first and second bridge arms, the first AC power is supplied to the first power interface individually. That is, the on-board charging and discharging device can individually control the AC power received by each power interface, which is highly flexible and easy to implement.

[0128] The specific implementation of S102 can be found in the implementation of the vehicle-mounted charging and discharging device shown in Figures 3 to 9. The embodiments of this application will not be described in detail here.

[0129] S103. Control the operation of the switching transistors in the first and third bridge arms so that the first and third bridge arms convert DC power into AC power and output it to the second power interface.

[0130] Understandably, the midpoint of the first bridge arm is also connected to the first end of the second power interface, and the midpoint of the third bridge arm is connected to the second end of the second power interface. The on-board charging and discharging device connects the first bridge arm, the second bridge arm, the third bridge arm, and the first switch to the first and second power interfaces in the above connection manner. When the first switch is turned off, by controlling the operation of the switching transistors in the first and third bridge arms, a second AC power is supplied to the second power interface independently. That is, the on-board charging and discharging device can independently control the AC power received by each power interface, which is highly flexible and easy to implement.

[0131] The specific implementation of S103 can be found in the implementation of the vehicle-mounted charging and discharging device shown in Figures 3 to 9. The embodiments of this application will not be described in detail here.

[0132] In an optional implementation, the method further includes:

[0133] When the first switch is turned off and the sampled current at the target power interface is greater than or equal to the current threshold, the switch in the target bridge arm is turned off to stop the output of AC power to the target power interface. The target power interface is the first power interface and the target bridge arm is the second bridge arm, or the target power interface is the second power interface and the target bridge arm is the third bridge arm.

[0134] It is understandable that when the on-board charging and discharging device detects excessive current at the first power interface, it can control the switch in the second bridge arm to turn off, thereby stopping the second bridge arm from performing inverter conversion with the first bridge arm and disconnecting the power supply to the first power interface. The on-board charging and discharging device can also control the switch in the third bridge arm to turn off when it detects excessive current at the second power interface, thereby stopping the third bridge arm from performing inverter conversion with the first bridge arm and disconnecting the power supply to the second power interface. Therefore, the on-board charging and discharging device provided in this application embodiment can disconnect the power supply to any power interface with excessive current while maintaining normal power supply to other power interfaces, improving the user experience, and its structure is simple and easy to implement.

[0135] In an optional implementation, the method further includes:

[0136] When the first switch is turned off, based on the reference electrical signal and the sampled electrical signal at the target power interface, the first bridge arm and the target bridge arm are controlled to adjust the amplitude of the AC power received by the target power interface; wherein, the target power interface is the first power interface, the target bridge arm is the second bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the first power interface; or, the target power interface is the second power interface, the target bridge arm is the third bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the second power interface.

[0137] It is understood that when the first switch is turned off, the on-board charging and discharging device can control the switching transistors in the first and second bridge arms based on the reference electrical signal and the sampled electrical signal at the first power interface, thereby individually adjusting the AC current amplitude received at the first power interface. The on-board charging and discharging device can also control the switching transistors in the first and third bridge arms based on the reference electrical signal and the sampled electrical signal at the second power interface, thereby individually adjusting the AC current amplitude received at the second power interface. The on-board charging and discharging device provided in this application embodiment is adaptable to various types of loads and offers high flexibility.

[0138] In an optional implementation, based on a reference electrical signal and a sampled electrical signal at the target power interface, controlling the first bridge arm and the target bridge arm to adjust the amplitude of the AC current received at the target power interface includes:

[0139] A first error signal is obtained based on a first reference electrical signal and a sampled electrical signal at a first power interface, and a second error signal is obtained based on a second reference electrical signal and a sampled electrical signal at a second power interface.

[0140] The amplitude of the AC power received by the first power interface is adjusted by controlling the first and second bridge arms based on the first error electrical signal, and the first reference electrical signal is obtained from the required voltage or required current of the first power interface; and the amplitude of the AC power received by the second power interface is adjusted by controlling the first and third bridge arms based on the second error electrical signal, and the second reference electrical signal is obtained from the required voltage or required current of the second power interface.

[0141] It is understood that when the first switch is turned off, the on-board charging and discharging device can obtain a first error signal and a second error signal based on a reference electrical signal, a sampled electrical signal at the first power interface, and a sampled electrical signal at the second power interface. Furthermore, the on-board charging and discharging device can control the operation of the switching transistors in the first and second bridge arms based on the aforementioned first error signal, thereby independently adjusting the AC current amplitude received at the first power interface. Simultaneously, the on-board charging and discharging device can also control the operation of the switching transistors in the first and third bridge arms based on the aforementioned second error signal, thereby independently adjusting the AC current amplitude received at the second power interface. The on-board charging and discharging device provided in this application embodiment can simultaneously and independently control the AC current received at the first and second power interfaces, exhibiting strong applicability and adaptability to various types of loads, thus demonstrating high flexibility.

[0142] In an optional implementation, the method further includes:

[0143] The system controls the first switch to be turned on, and after the first switch is turned on, it controls the first bridge arm, the second bridge arm, and the third bridge arm to convert the third AC power input from the first power interface into DC power and supply it to charge the power battery, and the third AC power is output to the second power interface.

[0144] It is understood that when the first switch is turned on, the on-board charging and discharging device can rectify and convert the third AC power into DC power through the rectifier bridge composed of the first bridge arm, the second bridge arm, and the third bridge arm, and supply it to the power battery for charging. Simultaneously, when a load is connected to the second power interface, the aforementioned third AC power can be supplied to the load through the second power interface. The on-board charging and discharging device in this embodiment is suitable for application scenarios that charge the power battery while simultaneously supplying power to the load, offering a wide range of applications and strong applicability.

[0145] In an optional implementation, the method further includes:

[0146] The system controls the first switch to turn on, and after the first switch is turned on, it controls the first bridge arm, the second bridge arm, and the third bridge arm to convert the DC power output from the power battery into a fourth AC power and output it to the first power interface and the second power interface.

[0147] It is understood that when the first switch is turned on, the on-board charging and discharging device can convert the DC power supplied by the power battery into AC power through the inverter bridge composed of the first bridge arm, the second bridge arm, and the third bridge arm, and output it to the first power interface and the second power interface, thereby simultaneously supplying power to the loads connected to the first power interface and the second power interface. The on-board charging and discharging device in this embodiment is applicable to different application scenarios of supplying power to the load, with rich application scenarios and strong applicability.

[0148] In an optional implementation, the method further includes:

[0149] The second switch is turned off. The second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm.

[0150] Based on the reference electrical signal and the sampled electrical signal at the first power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC power received by the first power interface; wherein, the reference electrical signal is obtained from the required voltage or required current of the first power interface.

[0151] Understandably, when the second switch is turned off, the on-board charging and discharging device can adjust the AC amplitude received by the first power interface individually by controlling the switching transistors in the first, second, and third bridge arms based on the reference electrical signal and the sampled electrical signal at the first power interface. This allows it to adapt to various types of loads and offers high flexibility.

[0152] In an optional implementation, the method further includes:

[0153] The second switch is turned on. The second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm.

[0154] Based on a reference electrical signal and a sampled electrical signal at any power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC current received at any power interface; wherein, the reference electrical signal is obtained from the required voltage or required current at any power interface.

[0155] Understandably, when the second switch is turned on, the on-board charging and discharging device can adjust the AC amplitude received by any power interface individually by controlling the switching transistors in the first, second, and third bridge arms based on the reference electrical signal and the sampled electrical signal at any power interface. This adapts to various types of loads and offers high flexibility.

[0156] This application also provides a chip, which includes a processor, wherein the processor is configured to execute a computer program or computer instructions stored in a memory, causing the chip to perform the operations performed by the on-board charging and discharging device in any of the above-described embodiments of FIG7 and FIG10 and their possible method embodiments.

[0157] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the operations of the on-board charging and discharging device in any of the above-described embodiments of FIG7 and FIG10 and their possible method embodiments.

[0158] This application also provides a computer program product. When the computer program product is read and executed by a computer, the operations performed by the vehicle charging and discharging device in any of the above-described embodiments of FIG7 and FIG10 and their possible method embodiments will be executed.

[0159] It should be noted that the prefixes such as "first" and "second" used in this application are merely for distinguishing different descriptive objects and do not impose any limitations on the position, order, priority, quantity, or content of the described objects. For example, if the described object is a "field," then the ordinal numbers before "field" in "first field" and "second field" do not restrict the position or order of the "fields," nor do "first" and "second" restrict whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the described object is a "level," then the ordinal numbers before "level" in "first level" and "second level" do not restrict the priority of the "levels." Furthermore, the number of described objects is not limited by the prefixes and can be one or more; for example, in "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the described object is "device," then "first device" and "second device" can be the same device, the same type of device, or different types of device. Similarly, if the described object is "information," then "first information" and "second information" can be information with the same content or information with different content. For instance, without departing from the scope of the various foregoing examples, a user-side device can be referred to as a server, and similarly, a server can be referred to as a user-side device. Both user-side devices and servers can be nodes, and in some cases, they can be separate and different nodes. In summary, the use of prefixes used to distinguish the described objects in the embodiments of this application does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not constitute unnecessary limitations due to the use of such prefixes.

[0160] It should be noted that the descriptions used in the embodiments of this application, such as "at least one (or at least one) of a1, a2, ... and an", include the case where any one of a1, a2, ... and an exists alone, as well as the case where any combination of a1, a2, ... and an exists alone. Each case can exist independently. For example, the description "at least one of a, b and c" includes the cases of a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a combination of a, b, and c.

[0161] It should also be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0162] It should also be understood that the term “comprising” (also referred to as “includes”, “including”, “comprises” and / or “comprising”) as used in this specification specifies the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0163] It should also be understood that the phrases "an embodiment," "an embodiment," and "a possible implementation" used throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment or implementation is included in at least one embodiment of the present application. Therefore, the phrases "in an embodiment," "an embodiment," or "a possible implementation" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A vehicle-mounted charging and discharging device, characterized in that, The vehicle-mounted charging and discharging device includes a power conversion circuit, a first power interface, a second power interface, and a first switch. The power conversion circuit includes a first bridge arm, a second bridge arm, and a third bridge arm connected in parallel between a positive DC bus and a negative DC bus. The midpoint of the first bridge arm is connected to the first end of the first power interface and the first end of the second power interface. The midpoint of the second bridge arm is connected to the second end of the first power interface. The midpoint of the third bridge arm is connected to the second end of the second power interface. The first switch is disposed between the second end of the first power interface and the midpoint of the third bridge arm.

2. The on-board charging and discharging device according to claim 1, wherein the device is configured to: When the first switch is turned off, the first bridge arm and the second bridge arm are controlled to convert the DC power output from the power battery into AC power and output it to the first power interface; and / or, The first and third bridge arms are controlled to convert the DC power output from the power battery into AC power and output it to the second power interface.

3. The vehicle-mounted charging and discharging device according to claim 1 or 2, characterized in that, The device is also configured to: When the first switch is turned off and the sampled current at the target power interface is greater than or equal to the current threshold, the switch in the target bridge arm is controlled to turn off to stop the output of AC power to the target power interface. The target power interface is the first power interface and the target bridge arm is the second bridge arm, or the target power interface is the second power interface and the target bridge arm is the third bridge arm.

4. The vehicle-mounted charging and discharging device according to any one of claims 1 to 3, characterized in that, The device is also configured to: When the first switch is turned off, based on the reference electrical signal and the sampled electrical signal at the target power interface, the first bridge arm and the target bridge arm are controlled to adjust the amplitude of the AC current received by the target power interface; wherein, the target power interface is the first power interface, the target bridge arm is the second bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the first power interface; or, the target power interface is the second power interface, the target bridge arm is the third bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the second power interface.

5. The vehicle-mounted charging and discharging device according to claim 4, characterized in that, The device is also configured to: When the first switch is turned off, a first error signal is obtained based on a first reference electrical signal and a sampled electrical signal at the first power interface, and a second error signal is obtained based on a second reference electrical signal and a sampled electrical signal at the second power interface. Based on the first error electrical signal, the first bridge arm and the second bridge arm are controlled to adjust the amplitude of the AC power received by the first power interface. The first reference electrical signal is obtained from the required voltage or required current of the first power interface. Based on the second error electrical signal, the first bridge arm and the third bridge arm are controlled to adjust the amplitude of the AC power received by the second power interface. The second reference electrical signal is obtained from the required voltage or required current of the second power interface.

6. The vehicle-mounted charging and discharging device according to any one of claims 1 to 5, characterized in that, The device is also configured to: When the first switch is turned on, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to convert the third AC power input from the first power interface into DC power and supply it to charge the power battery, and the third AC power is output to the second power interface.

7. The on-board charging and discharging device according to any one of claims 1 to 5, characterized in that, The device is also configured to: When the first switch is turned on, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to convert the DC power output from the power battery into a fourth AC power and output it to the first power interface and the second power interface.

8. The vehicle-mounted charging and discharging device according to any one of claims 1-7, characterized in that, The vehicle-mounted charging and discharging device further includes a second switch, which is used to connect or disconnect the connection between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is used to connect or disconnect the connection between the second end of the second power interface and the midpoint of the third bridge arm.

9. The vehicle-mounted charging and discharging device according to claim 8, characterized in that, The device is also configured to: When the second switch is turned off, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC power received by the first power interface based on the reference electrical signal and the sampled electrical signal at the first power interface; wherein, the reference electrical signal is obtained from the required voltage or required current of the first power interface.

10. The vehicle-mounted charging and discharging device according to claim 8, characterized in that, The device is also configured to: When the second switch is turned on, based on the reference electrical signal and the sampled electrical signal at any power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC current received at any power interface; wherein, the reference electrical signal is obtained from the required voltage or required current at any power interface.

11. The on-board charging and discharging device according to any one of claims 1 to 10, characterized in that, The on-board charging and discharging device also includes a controller, which is used to control the operation of the first bridge arm, the second bridge arm and the third bridge arm.

12. A vehicle-mounted device, characterized in that, The on-board equipment includes a power battery and an on-board charging and discharging device as described in any one of claims 1 to 11.

13. The vehicle-mounted device according to claim 12, characterized in that, The vehicle-mounted device also includes a display screen, which is communicatively connected to the vehicle-mounted charging and discharging device. The display screen is used to input reference voltage and / or reference current and provide them to the vehicle-mounted charging and discharging device.

14. An electric vehicle, characterized in that, The electric vehicle includes an on-board charging and discharging device as described in any one of claims 1 to 11, or includes on-board equipment as described in claim 12 or 13.

15. A control method for an on-board charging and discharging device, characterized in that, The method includes: The first switch is turned off, and the first switch is located between the second end of the first power interface and the midpoint of the third bridge arm; The switching transistors in the first and second bridge arms are controlled to convert the DC power output from the power battery into AC power and output it to the first power interface; the midpoint of the first bridge arm is connected to the first terminal of the first power interface, and the midpoint of the second bridge arm is connected to the second terminal of the first power interface; and / or, The switching transistors in the first and third bridge arms are controlled to convert the DC power into AC power and output it to the second power interface; the midpoint of the first bridge arm is also connected to the first end of the second power interface, and the midpoint of the third bridge arm is connected to the second end of the second power interface.

16. The control method according to claim 15, characterized in that, The method further includes: When the first switch is turned off and the sampled current at the target power interface is greater than or equal to the current threshold, the switch in the target bridge arm is controlled to turn off to stop the output of AC power to the target power interface. The target power interface is the first power interface and the target bridge arm is the second bridge arm, or the target power interface is the second power interface and the target bridge arm is the third bridge arm.

17. The control method according to claim 15 or 16, characterized in that, The method further includes: When the first switch is turned off, based on the reference electrical signal and the sampled electrical signal at the target power interface, the first bridge arm and the target bridge arm are controlled to adjust the amplitude of the AC current received by the target power interface; wherein, the target power interface is the first power interface, the target bridge arm is the second bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the first power interface; or, the target power interface is the second power interface, the target bridge arm is the third bridge arm, and the reference electrical signal is obtained from the required voltage or required current of the second power interface.

18. The control method according to claim 17, characterized in that, The step of controlling the first bridge arm and the target bridge arm to adjust the amplitude of the AC power received at the target power interface based on the reference electrical signal and the sampled electrical signal at the target power interface includes: A first error signal is obtained based on a first reference electrical signal and a sampled electrical signal at the first power interface, and a second error signal is obtained based on a second reference electrical signal and a sampled electrical signal at the second power interface. Based on the first error electrical signal, the first bridge arm and the second bridge arm are controlled to adjust the amplitude of the AC current received by the first power interface, and the first reference electrical signal is obtained from the required voltage or required current of the first power interface; and based on the second error electrical signal, the first bridge arm and the third bridge arm are controlled to adjust the amplitude of the AC current received by the second power interface, and the second reference electrical signal is obtained from the required voltage or required current of the second power interface.

19. The control method according to any one of claims 15 to 18, characterized in that, The method further includes: The first switch is turned on, and after the first switch is turned on, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to convert the third AC power input from the first power interface into DC power and supply it to charge the power battery, and the third AC power is output to the second power interface.

20. The control method according to any one of claims 15 to 18, characterized in that, The method further includes: The first switch is turned on, and after the first switch is turned on, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to convert the DC power output from the power battery into a fourth AC power and output it to the first power interface and the second power interface.

21. The control method according to any one of claims 15 to 20, characterized in that, The method further includes: The second switch is turned off. The second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm. Based on the reference electrical signal and the sampled electrical signal at the first power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC power received by the first power interface; wherein, the reference electrical signal is obtained from the required voltage or required current of the first power interface.

22. The control method according to any one of claims 15 to 20, characterized in that, The method further includes: The second switch is turned on, and the second switch is located between the first end of the second power interface and the midpoint of the first bridge arm, or the second switch is located between the second end of the second power interface and the midpoint of the third bridge arm. Based on a reference electrical signal and a sampled electrical signal at any power interface, the first bridge arm, the second bridge arm, and the third bridge arm are controlled to adjust the amplitude of the AC current received at any power interface; wherein, the reference electrical signal is obtained from the required voltage or required current at any power interface.

23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method of any one of claims 15 to 22.