Power supply control method, device, system, vehicle and readable storage medium

By controlling the relay status and signal judgment of the internal and external power supply interfaces of the vehicle, the safety hazards of the simultaneously live-in of the internal and external power supply interfaces of the vehicle are solved, safe power supply switching and flexible control are achieved, and user experience and safety are improved.

CN116494768BActive Publication Date: 2025-09-02DEEPAL AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310546828.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2025-09-02
Estimated Expiration
2043-05-15

AI Technical Summary

Technical Problem

There are safety hazards when the power supply interface inside and outside the vehicle is live at the same time, especially when the power supply interface outside the vehicle is charged, the socket inside the vehicle is live, and when the power supply interface inside the vehicle is charged, it affects the charging function and safety.

Method used

The controller manages the status of the outside relay and the inside relay, ensures that the inside relay is disconnected when the outside power supply interface is charged, the inside and outside relay is turned on when the outside power supply interface is discharged, and power supply is stopped in the event of a fault or communication failure. The interface status is judged in combination with the cover signal and the equipment signal to improve safety and processing efficiency.

Benefits of technology

It realizes safe switching and use of power supply interfaces inside and outside the car, avoids the risk of electric shock, improves charging performance and user experience, and ensures safety and flexible power supply control in case of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116494768B_ABST
    Figure CN116494768B_ABST
Patent Text Reader

Abstract

The present application discloses a power supply control method, device, system, vehicle and readable storage medium, which relates to the field of vehicle technology, and is used to achieve safe control of an off-vehicle power supply interface and an on-vehicle power supply interface. A controller is used in a vehicle power supply control system; the power supply control system also includes an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface and an electric drive assembly (EDS); the method includes: determining whether the on-vehicle power supply interface has a power demand; when the off-vehicle power supply interface is in a charging state, controlling the on-vehicle relay to be in a disconnected state; when the off-vehicle power supply interface is in a discharging state, controlling both the on-vehicle relay and the off-vehicle relay to be in a conducting state, and controlling the power supply of the EDS; when the off-vehicle power supply interface is neither in a charging state nor in a discharging state, controlling the on-vehicle relay to be in a conducting state, and controlling the off-vehicle relay to be in a disconnected state, and controlling the power supply of the EDS.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a power supply control method, device, system, vehicle and readable storage medium. Background Art

[0002] With the development of intelligent vehicles, users' demands for vehicles are no longer limited to transportation. More and more electrical devices are used in vehicles. Since most of these electrical devices are 220V high-power AC appliances, while vehicles mainly use low voltage, they cannot meet the high-power power requirements of these electrical devices.

[0003] To enable vehicles to meet the needs of high-power electrical devices, the vehicle's high-voltage power supply can be used to provide high-power power to these devices. The use of a high-voltage power supply presents certain safety risks, especially when both the in-vehicle and external power supply interfaces are energized. For example, when a vehicle is charging using the external power supply interface, the internal power socket will be energized; when a vehicle is discharging using the internal power supply interface, the external power supply interface used for charging will also be energized. Therefore, how to achieve control of the external and internal power supply interfaces while ensuring safety is a technical problem that needs to be solved urgently. Summary of the Invention

[0004] One of the objectives of the present invention is to provide a power supply control method, device, system, vehicle and readable storage medium to achieve safe control of an external power supply interface and an internal power supply interface of a vehicle.

[0005] According to the first aspect of the present application, a power supply control method is provided, which is applied to a controller in a power supply control system of a vehicle, the power supply control system also including an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface and an electric drive system (EDS); the off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; the method includes: determining whether there is a power demand at the on-vehicle power supply interface; when the off-vehicle power supply interface is in a charging state, controlling the on-vehicle relay to be in a disconnected state; when the off-vehicle power supply interface is in a discharging state, controlling both the on-vehicle relay and the off-vehicle relay to be in a conducting state, and controlling the EDS to supply power; when the off-vehicle power supply interface is neither in a charging state nor in a discharging state, controlling the on-vehicle relay to be in a conducting state, and controlling the off-vehicle relay to be in a disconnected state, and controlling the EDS to supply power.

[0006] According to the above technical measures, when it is determined that the in-vehicle power interface is connected to an electrical device, if the external power interface is in the charging state, the in-vehicle relay is controlled to be in the off state. Since the in-vehicle power interface is charged when the external power interface is in the charging state, plugging in an electrical device at this time will cause the charging current to change. This can avoid the risk of electric shock and improve the charging performance of the entire vehicle. Furthermore, when the external power interface is in the discharging state, both the in-vehicle relay and the external relay are controlled to be in the on state, and the EDS power supply is controlled. This can achieve the requirement of synchronous discharge of the external and in-vehicle power interfaces, improving the user experience. Furthermore, when the external power interface is neither in the charging nor the discharging state, the in-vehicle relay is controlled to be in the on state, and the external relay is controlled to be in the off state, and the EDS power supply is controlled. Since the external power interface is also charged during the charging process of the in-vehicle power interface, by controlling the external relay to be in the off state during the charging process of the in-vehicle power interface, the risk of electric shock when opening the cover of the external power interface is avoided, thereby improving the safety of vehicle electricity use. Based on the control of the two relays, the switching and use of the power supply interfaces inside and outside the vehicle can be realized.

[0007] Furthermore, the method also includes: obtaining a cover signal of the external power supply interface, the cover signal is used to indicate whether the cover of the external power supply interface is in a closed state; when the cover is in a closed state, determining that the external power supply interface is not in a charging state and not in a discharging state; when the cover is in an open state, obtaining a charging device signal and a discharging device signal; the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device; the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device; when the external power supply interface is plugged into a charging device, determining that the external power supply interface is in a charging state; when the external power supply interface is plugged into a discharging device, determining that the external power supply interface is in a discharging state.

[0008] According to the above technical means, it is possible to determine that the external power supply interface is not in the charging state and the external power supply interface is not in the discharging state simply by obtaining the cover signal, thereby improving processing efficiency. Furthermore, when the cover is in the open state, the charging device signal and the discharging device signal are obtained; because the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device, and the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device, the charging and discharging device signals can be used to determine the charging and discharging state of the external power supply interface.

[0009] Furthermore, the method also includes: when the cover is in the open state, if the external charging interface is not plugged into a charging device or a discharging device, determining that the external power supply interface is neither in the charging state nor in the discharging state.

[0010] The above technical means can first confirm that the external charging port is not plugged into a charging device or a discharging device when the cover is open, thereby improving the accuracy of identifying the external power supply port status. At the same time, it avoids the risk of electric shock caused by the external power supply port being live when the cover is open and the port is exposed, thereby improving the safety of vehicle electricity use.

[0011] Furthermore, when the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system, the EDS is controlled to stop supplying power; wherein, the unilateral fault is used to indicate that there is a fault in the in-vehicle relay and / or the external relay, and the first communication fault is used to indicate that the communication fault duration between the controller and the in-vehicle relay, and / or the external relay is greater than or equal to the preset duration; when the in-vehicle power supply interface is not in a discharging state, or both the in-vehicle power supply interface and the external power supply interface are not in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system, the in-vehicle relay is controlled to be in a disconnected state, and the external relay is controlled to be in a conducting state.

[0012] According to the above technical means, when it is determined that the power supply control system is in a fault state, the discharge in the vehicle is stopped, which can improve the discharge safety in the vehicle.

[0013] Furthermore, if there is a second communication fault in the power supply control system, the in-vehicle relay and the out-vehicle relay are controlled to maintain the state at the first moment; the second communication fault is used to indicate that the communication failure duration between the controller and the in-vehicle relay, and / or the out-vehicle relay is less than the preset duration, and the first moment is the previous moment when the second communication fault occurs.

[0014] According to the above technical means, functional abnormality caused by signal frame loss during communication failure can be avoided.

[0015] Furthermore, the power supply control system also includes an intelligent peripheral (IP), which has a soft switch inside the IP; the soft switch is used to control the discharge state of the vehicle to be turned on or off; the above-mentioned determination of the existence of power demand at the in-vehicle power supply interface includes: when it is detected that the in-vehicle power supply interface is plugged into an electrical device and the soft switch is in the on state, determining that the in-vehicle power supply interface has a power demand.

[0016] According to the above technical means, the power supply status of the vehicle power supply interface can be flexibly controlled according to user needs.

[0017] Furthermore, when the in-vehicle power supply interface is in a discharging state, if it is detected that the power-consuming device is unplugged from the in-vehicle power supply interface, the power-consuming device is plugged into the out-vehicle power supply interface, or the soft switch is triggered to operate in the closed state, the EDS is controlled to stop power supply.

[0018] According to the above technical means, the EDS can be flexibly controlled to stop power supply to ensure the safety of vehicle power use.

[0019] Furthermore, when the in-vehicle relay is in the on-state, if it is detected that the in-vehicle power supply interface is in the standby state, or the output current of the in-vehicle power supply interface is less than a preset threshold, the in-vehicle relay is controlled to be in the off-state, or the in-vehicle relay is controlled to be in the off-state and the external relay is in the on-state.

[0020] According to the above technical means, when it is detected that charging is complete and the in-vehicle power supply interface is in standby mode, the in-vehicle relay is disconnected, thereby disconnecting the in-vehicle power supply interface and improving in-vehicle power safety. By keeping the external relay in the on-state, the speed and convenience of charging the vehicle are improved.

[0021] Furthermore, the in-vehicle relay is in a normally open state, and the out-vehicle relay is in a normally closed state.

[0022] According to the above technical means, by controlling the internal relay to the normally open state, the power supply interface in the vehicle can be in a power-off state, improving the safety of power use in the vehicle. By controlling the external relay to the normally closed state, the external power supply interface can be in a conducting state, improving the speed and convenience of charging the vehicle.

[0023] In the second aspect, a power supply control device is provided, which is applied to a controller in a power supply control system of a vehicle. The power supply control system also includes an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface and an electric drive assembly EDS; the off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; the device includes: a determination unit and a control unit; the determination unit is used to determine whether there is a power demand at the on-vehicle power supply interface; the control unit is used to control the on-vehicle relay to be in a disconnected state when the off-vehicle power supply interface is in a charging state; the control unit is also used to control the on-vehicle relay and the off-vehicle relay to be in a conducting state and control the power supply of the EDS when the off-vehicle power supply interface is in a discharging state; the control unit is also used to control the on-vehicle relay to be in a conducting state, and control the off-vehicle relay to be in a disconnected state and control the power supply of the EDS when the off-vehicle power supply interface is not in a charging state and not in a discharging state.

[0024] Furthermore, the device also includes an acquisition unit, which is used to acquire a cover signal of the external power supply interface, and the cover signal is used to indicate whether the cover of the external power supply interface is in a closed state; the determination unit is also used to determine that the external power supply interface is not in a charging state and not in a discharging state when the cover is in a closed state; the acquisition unit is also used to acquire a charging device signal and a discharging device signal when the cover is in an open state; the charging device signal is used to indicate whether a charging device is inserted into the external power supply interface; the discharging device signal is used to indicate whether a discharging device is inserted into the external power supply interface; the determination unit is also used to determine that the external power supply interface is in a charging state when the external power supply interface is inserted with a charging device; the determination unit is also used to determine that the external power supply interface is in a discharging state when the external power supply interface is inserted with a discharging device.

[0025] Furthermore, the determination unit is also used to determine that the external power supply interface is not in a charging state and is not in a discharging state if the external charging interface is not plugged into a charging device or a discharging device when the cover is in an open state.

[0026] Furthermore, the control unit is also used to control the EDS to stop supplying power when the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system; wherein the unilateral fault is used to indicate that there is a fault in the in-vehicle relay and / or the external relay, and the first communication fault is used to indicate that the communication failure duration between the controller and the in-vehicle relay, and / or the external relay is greater than or equal to a preset duration; the control unit is also used to control the in-vehicle relay to be in a disconnected state, and control the external relay to be in a conductive state, if there is a unilateral fault or a first communication fault in the power supply control system when the in-vehicle power supply interface is not in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are not in a discharging state.

[0027] Furthermore, the determination unit is also used to control the in-vehicle relay and the out-vehicle relay to maintain the state of the first moment when there is a second communication fault in the power supply control system; the second communication fault is used to indicate that the communication failure duration between the controller and the in-vehicle relay, and / or the out-vehicle relay is less than a preset duration, and the first moment is the previous moment when the second communication fault occurs.

[0028] Furthermore, the power supply control system also includes an intelligent peripheral IP, which has a soft switch inside the IP; the soft switch is used to control the discharge state of the vehicle to be turned on or off; the determination unit is specifically used to: when it is detected that the power supply interface in the vehicle is plugged into an electrical device and the soft switch is in the on state, determine whether the power supply interface in the vehicle has a power demand.

[0029] Furthermore, the control unit is also used to control the EDS to stop supplying power if it detects that the electrical device is unplugged from the in-vehicle power supply interface, the external power supply interface is plugged into the electrical device, or the soft switch is triggered to operate in the closed state when the in-vehicle power supply interface is in a discharging state.

[0030] Furthermore, the control unit is also used to control the in-vehicle relay to be in the off state, or to control the in-vehicle relay to be in the off state and the external relay to be in the on state, if it is detected that the in-vehicle power supply interface is in the standby state, or the output current of the in-vehicle power supply interface is less than a preset threshold value when the in-vehicle relay is in the on state.

[0031] Furthermore, the in-vehicle relay is in a normally open state, and the out-vehicle relay is in a normally closed state.

[0032] In a third aspect, a power supply control system is provided, which includes a controller. The power supply control system also includes an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface and an electric drive assembly EDS; the off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; the controller is used to execute the method in the first aspect or any possible design of the first aspect.

[0033] In a fourth aspect, a power supply control device is provided, comprising: a processor; a memory for storing processor-executable instructions; the processor is configured to execute the instructions, the functions performed in the first aspect or any possible design of the first aspect.

[0034] In a fifth aspect, a vehicle is provided, comprising the power supply control system provided in the third aspect.

[0035] In the sixth aspect, a power supply control device is provided, which can implement the functions performed by the power supply control device in the above-mentioned aspects or each possible design. The functions can be implemented through hardware, such as: in one possible design, the power supply control device may include: a processor and a communication interface, and the processor can be used to support the power supply control device to implement the functions involved in the above-mentioned first aspect or any possible design of the first aspect.

[0036] In another possible design, the power supply control device may further include a memory for storing computer-executable instructions and data necessary for the power supply control device. When the power supply control device is running, the processor executes the computer-executable instructions stored in the memory to cause the power supply control device to perform the first aspect or any possible power supply control method of the first aspect.

[0037] In the seventh aspect, a computer-readable storage medium is provided, which may be a readable non-volatile storage medium. The computer-readable storage medium stores computer instructions or programs, which, when run on a computer, enables the computer to execute the first aspect or any possible power supply control method of the above aspects.

[0038] In an eighth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the power supply control method according to the first aspect or any possible design of the above aspects.

[0039] Beneficial effects of the present invention:

[0040] (1) When it is determined that the in-vehicle power supply interface is connected to an electrical device, if the external power supply interface is in a charging state, the in-vehicle relay is controlled to be in a disconnected state. Since the in-vehicle power supply interface is charged when the external power supply interface is in a charging state, plugging in an electrical device at this time will cause the charging current to change. In this way, the risk of electric shock can be avoided and the charging performance of the entire vehicle can be improved. Furthermore, when the external power supply interface is in a discharging state, the in-vehicle relay and the external relay are controlled to be in a conducting state, and the EDS power supply is controlled. In this way, the requirement of synchronous discharge of the external power supply interface and the in-vehicle power supply interface can be achieved, which improves the user experience. Furthermore, when the external power supply interface is not in a charging state or a discharging state, the in-vehicle relay is controlled to be in a conducting state, and the external relay is controlled to be in a disconnected state, and the EDS power supply is controlled. Since the external power supply interface is also charged during the charging process of the in-vehicle power supply interface, by controlling the external relay to be in a disconnected state during the charging process of the in-vehicle power supply interface, the risk of electric shock when opening the cover of the external power supply interface is avoided, thereby improving the safety of vehicle electricity use. Based on the control of the two relays, the switching and use of the in-vehicle and in-vehicle power supply interfaces can be achieved.

[0041] (2) It is possible to determine that the external power supply interface is not in a charging state and that the external power supply interface is not in a discharging state simply by obtaining the cover signal, thereby improving processing efficiency. Furthermore, when the cover is in an open state, the charging device signal and the discharging device signal are obtained; since the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device, and the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device, the charging and discharging states of the external power supply interface can be determined by the charging device signal and the discharging device signal.

[0042] (3) The vehicle can first confirm that the external charging interface is not plugged into a charging device or a discharging device when the cover is open, thereby improving the accuracy of identifying the status of the external power supply interface. At the same time, it avoids the risk of electric shock caused by the external power supply interface being energized when the cover is open, thereby improving the safety of vehicle electricity use.

[0043] (4) When it is determined that the power supply control system is in a fault state, stopping the discharge in the vehicle can improve the discharge safety in the vehicle.

[0044] (5) It can avoid functional abnormalities caused by signal frame loss during communication failure.

[0045] (6) The power supply status of the vehicle power supply interface can be flexibly controlled according to user needs.

[0046] (7) EDS can be flexibly controlled to stop power supply to ensure the safety of vehicle power use.

[0047] (8) When it is detected that charging is complete and the in-vehicle power supply interface is in a standby state, the in-vehicle relay can be turned off, thereby making the in-vehicle power supply interface in a power-off state, thereby improving the safety of in-vehicle power use. By turning on the external relay, the speed and convenience of charging the vehicle are improved.

[0048] (9) By controlling the internal relay to be in the normally open state, the power supply interface in the vehicle can be in the power-off state, thereby improving the safety of the power supply in the vehicle. By controlling the external relay to be in the normally closed state, the power supply interface outside the vehicle can be in the conducting state, thereby improving the speed and convenience of charging the vehicle.

[0049] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0051] Figure 1 A schematic diagram of the structure of a power supply control system provided in an embodiment of the present application;

[0052] Figure 2 A schematic diagram of the structure of another power supply control system provided in an embodiment of the present application;

[0053] Figure 3 A schematic diagram of the structure of a power supply control device provided in an embodiment of the present application;

[0054] Figure 4A schematic diagram of a flow chart of a power supply control method provided in an embodiment of the present application;

[0055] Figure 5 A flowchart of another power supply control method provided in an embodiment of the present application;

[0056] Figure 6 A flowchart of another power supply control method provided in an embodiment of the present application;

[0057] Figure 7 A flowchart of another power supply control method provided in an embodiment of the present application;

[0058] Figure 8 A schematic structural diagram of another power supply control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In order to enable ordinary people in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0060] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.

[0061] It will also be understood that the term “comprising” indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements and / or components.

[0062] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.

[0063] With the development of intelligent vehicles, users' demands for vehicles are no longer limited to transportation. More and more electrical devices are used in vehicles. Since most electrical devices are 220V AC appliances, while the voltage used in vehicles is mainly low-voltage DC, it cannot meet the needs of high-power electrical devices.

[0064] To enable the vehicle to meet the needs of high-power electrical equipment, the vehicle's high-voltage power supply can be used to provide high-power power to the electrical equipment. Due to the use of a high-voltage power supply, there are certain safety risks, especially when both the internal and external power supply interfaces are energized. For example, when the vehicle is charging using the external power interface, the internal power socket will be energized; when the vehicle is discharging using the internal power interface, the external power interface used for charging will also be energized.

[0065] For example, Figure 1 As shown in the figure, the output high-voltage hot and neutral circuits of the EDS electric drive controller are connected in parallel to both the 220V in-vehicle power supply and the external power supply. This design requires consideration for two application scenarios: Scenario 1: During in-vehicle charging, the external power supply interface is also energized. Opening the external power supply interface cover at this time poses a risk of electric shock. Scenario 2: During charging, the in-vehicle charging interface is energized. Inserting an electrical device at this time will cause the charging current to change, affecting the charging function of the entire vehicle.

[0066] Therefore, how to achieve control of the external power supply interface and the internal power supply interface while ensuring safety is a technical problem that needs to be solved urgently.

[0067] In view of this, an embodiment of the present application provides a power supply control method, which uses a controller in a vehicle's power supply control system, and the power supply control system also includes an off-vehicle relay, an off-vehicle power supply interface, an in-vehicle relay, an in-vehicle power supply interface and an EDS; the off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the in-vehicle relay is connected to the EDS and the in-vehicle power supply interface; the method includes: determining whether there is a power demand for the in-vehicle power supply interface; when the off-vehicle power supply interface is in a charging state, controlling the in-vehicle relay to be in a disconnected state; when the off-vehicle power supply interface is in a discharging state, controlling the in-vehicle relay and the off-vehicle relay to be in a conducting state, and controlling the EDS to supply power; when the off-vehicle power supply interface is not in a charging state and is not in a discharging state, controlling the in-vehicle relay to be in a conducting state, and controlling the off-vehicle relay to be in a disconnected state, and controlling the EDS to supply power.

[0068] The method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0069] It should be noted that the power supply control system described in the embodiment of the present application is intended to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the power supply control system and the emergence of other power supply control systems, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0070] The power supply control system provided in the embodiments of this application can be applied to a vehicle. The vehicle can be of any type. For example, the vehicle can be a fuel-powered vehicle, a hybrid vehicle, a new energy vehicle, etc. The embodiments of this application do not limit the specific technology, quantity, or device form used in the vehicle.

[0071] The vehicle includes an external power supply interface and an internal power supply interface. The vehicle can use the external power supply interface to power external electrical devices. For example, the external power supply interface can discharge power to the electrical devices in the form of universal serial bus (USB) power supply or socket interface power supply. At the same time, the external power supply interface can also charge the vehicle by inserting a charging device, for example, the charging device can be a DC charging gun or an AC charging gun. The vehicle can also use the internal power supply interface to power internal electrical devices.

[0072] Figure 2 A schematic diagram of the composition of a power supply control system 10 provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the power supply control system 10 may include a controller 11 , an off-vehicle relay 12 , an off-vehicle power supply interface 13 , an on-vehicle relay 14 , an on-vehicle power supply interface 15 , an EDS 16 and a power domain controller (PDCU) 17 .

[0073] The off-board relay 12 is connected to the EDS 16 and the off-board power supply interface 13, and the on-board relay 14 is connected to the EDS 16 and the on-board power supply interface 15. The controller 11 is connected to the PDCU 17, the on-board relay 14, the off-board relay 12, and the on-board power supply interface 15. The EDS 16 is also connected to the PDCU 17.

[0074] It should be noted that the controller 11 can be disposed inside the vehicle. Furthermore, the controller 11 can be any electronic device with a data processing function. For example, the controller can be a body domain controller (BDC).

[0075] Additionally, different components may be connected via communication lines.

[0076] It should be noted that Figure 2 This is just an illustrative framework diagram. Figure 2 The names of the modules included in the Figure 2 In addition to the functional modules shown, other modules may also be included, which is not limited in the embodiments of the present application.

[0077] When implementing it specifically, Figure 2 The controller in can be used Figure 3 The structure shown, or including Figure 2 Parts shown. Figure 3 This is a schematic diagram of the structure of a power supply control device 200 provided in an embodiment of the present application. The power supply control device 200 may be a controller in a power supply control system, or the power supply control device 200 may be a chip or system on chip in the controller. Figure 3 As shown, the power supply control device 200 includes a processor 201 , a communication interface 202 and a communication line 203 .

[0078] Furthermore, the power supply control device 200 may further include a memory 204 , wherein the processor 201 , the memory 204 and the communication interface 202 may be connected via a communication line 203 .

[0079] The processor 201 is a CPU, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 201 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.

[0080] The communication interface 202 is used to communicate with other devices or other communication networks. The communication interface 202 can be a module, a circuit, a communication interface or any device capable of achieving communication.

[0081] The communication line 203 is used to transmit information between the components included in the power supply control device 200.

[0082] The memory 204 is used to store instructions executable by the processor 201. The instructions may be computer programs.

[0083] The memory 204 may be a read-only memory (ROM) or other type of static storage device that can store static information and / or instructions, or a random access memory (RAM) or other type of dynamic storage device that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.

[0084] It should be noted that the memory 204 can exist independently of the processor 201 or can be integrated with the processor 201. The memory 204 can be used to store instructions, program code, or some data. The memory 204 can be located within the power supply control device 200 or outside the power supply control device 200, without limitation. The processor 201 is used to execute the instructions stored in the memory 204 to implement the power supply control method provided in the following embodiments of this application.

[0085] In one example, the processor 201 may include one or more CPUs, for example, Figure 3 CPU0 and CPU1 in.

[0086] As an optional implementation, the power supply control device 200 includes multiple processors, for example, Figure 3 In addition to the processor 201, a processor 205 may also be included.

[0087] It should be pointed out that Figure 3 The composition shown in the Figure 2 The limitations of each device in Figure 3 In addition to the parts shown, Figure 2 Each controller in the Figure 3 More or fewer components, or combinations of certain components, or different arrangements of components.

[0088] In the embodiment of the present application, the chip system can be composed of chips, or can include chips and other discrete devices.

[0089] In addition, the actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message names or parameter names in the messages exchanged between the various devices in the embodiments of this application are only examples, and other names can also be used in specific implementations without limitation.

[0090] The following combination Figure 2 The power supply control system shown describes the power supply control method provided in the embodiment of the present application.

[0091] The present application embodiment is described by taking the application to the controller as an example. Figure 4 As shown, the method includes the following S301-S306:

[0092] S301: The controller determines that the in-vehicle power supply interface has a power demand.

[0093] The type of in-vehicle power interface can be configured as needed. For example, it can be a USB power interface or a socket interface. The power-consuming device can be any device that can be charged or powered by the in-vehicle power interface. For example, it can be a terminal device, a computer, a lighting device, a kettle, a humidifier, etc.

[0094] As a possible implementation method, the controller determines that the in-vehicle power supply interface has a power demand when it detects that the in-vehicle power supply interface is plugged into an electrical device. For example, after the in-vehicle power supply interface is plugged into the electrical device, the plug of the electrical device will squeeze the switch of the in-vehicle power supply interface. Then, the in-vehicle power supply interface generates a low-voltage signal and sends the low-voltage signal to the controller through a hard-wired loop between the controller and the in-vehicle power supply interface. Accordingly, the controller can determine that the in-vehicle power supply interface is plugged into an electrical device when it receives the low-voltage signal, and further determine that the in-vehicle power supply interface has a power demand.

[0095] As another possible implementation, the power supply control system also includes an intelligent peripheral IP connected to the controller; the IP is equipped with a soft switch, and the controller can also determine whether there is power demand at the power supply interface in the vehicle based on the status of the soft switch;

[0096] The soft switch is used to control the vehicle's discharge state. For example, when the soft switch is on, the vehicle's power interface is in the discharge state. If the user clicks the soft switch, the soft switch switches from the on state to the off state, and the controller switches the vehicle's power interface from the discharge state to the power-off state.

[0097] For another example, when the soft switch is in the off state, the in-vehicle power supply interface is in the power-off state. If the user clicks the soft switch, the soft switch switches from the off state to the on state. At the same time, the controller switches the in-vehicle power supply interface from the power-off state to the discharge state.

[0098] In this way, the controller can also determine that the in-vehicle power supply interface has a power demand when it detects that the in-vehicle power supply interface is plugged into an electrical device and the soft switch is in the on state. For example, after the in-vehicle power supply interface is plugged into the electrical device, the plug of the electrical device will squeeze the switch of the in-vehicle power supply interface. Then, the in-vehicle power supply interface generates a low-voltage signal and sends the low-voltage signal to the controller through the above-mentioned hard-wired loop. Accordingly, the controller can determine that the in-vehicle power supply interface has a power demand when it receives the low-voltage signal sent by the in-vehicle power supply interface and determines that the soft switch is in the on state.

[0099] It can be understood that by setting the soft switch in the power supply control system IP, the power supply status of the vehicle power supply interface can be flexibly controlled according to user needs.

[0100] Combine Figure 2 In the power supply control system shown, when an electrical device is plugged into the in-vehicle power supply interface 15, the plug squeezes the in-vehicle AC socket switch at the 220V output on the in-vehicle power supply interface 15. After the in-vehicle AC socket switch is connected, the low-voltage signal is transmitted to the controller 11 through a hard-wired loop.

[0101] In actual application, after the in-vehicle power supply interface is plugged into the electrical device, the in-vehicle power supply interface is also used to send a first prompt signal to the IP, and the first prompt signal is used to instruct the IP to display that the in-vehicle power supply interface is plugged into the electrical device.

[0102] S302: The controller determines whether the external power supply interface is in a charging state.

[0103] As a possible implementation, the controller may obtain a charging device signal from a battery management system (BMS), and determine whether the external power supply interface is in a charging state based on the charging device signal.

[0104] The charging device signal is used to indicate whether a charging device is plugged into the external power supply interface. The charging device signal includes a first charging device signal and a second charging device signal. The first charging device signal indicates that a charging device is plugged into the external power supply interface, and the second charging device signal indicates that a charging device is not plugged into the external power supply interface.

[0105] When the controller determines that the charging device signal is a first charging device signal, the controller determines that the external power supply interface is in a charging state; when the controller determines that the charging device signal is a second charging device signal, the controller determines that the external power supply interface is not in a charging state.

[0106] Combine Figure 2In the power supply control system shown, when the external power supply interface 13 is plugged into the charging gun, the external power supply interface 13 is in the charging state, and the first charging device signal is transmitted to the controller 11 through the hard-wired loop. In this way, the controller 11 can determine that the external power supply interface is in the charging state.

[0107] Similarly, when the external power supply interface 13 is not plugged into the charging gun, the external power supply interface 13 is not in the charging state, the external power supply interface 13 is in the non-conducting state, and the second charging device signal is transmitted to the controller 11 through the hard-wired loop. In this way, the controller 11 determines that the external power supply interface is not in the charging state.

[0108] As another possible implementation, the controller may determine whether the cover of the external power supply interface is in an open state, and when the cover is in the open state, determine whether the external power supply interface is plugged into a charging device (for example, a DC charging gun or an AC charging gun). Furthermore, the controller may determine that the external power supply interface is in a charging state when the external power supply interface is plugged into a charging device, and determine that the external power supply interface is not in a charging state when the cover is in the closed state.

[0109] It should be noted that when the cover of the external power interface is in the open state, the cover of the external power interface can send a cover signal to the controller. In response, the controller receives the cover signal sent by the cover of the external power interface and determines whether the cover of the external power interface is in the open state based on the cover signal.

[0110] It is understandable that by acquiring the charging device signal when the cover is open, and because the charging device signal indicates whether a charging device is plugged into the external power interface, the controller can determine whether the external power interface is in a charging state based on the cover state and the charging device signal. Meanwhile, when the cover is closed, the controller can directly determine that the external power interface is not in a charging state.

[0111] S303: When the external power supply interface is in a charging state, the controller controls the internal relay to be in a disconnected state.

[0112] As a possible implementation method, when the in-vehicle relay is in a normally open state, the controller can maintain the state of the in-vehicle relay unchanged; when the in-vehicle relay is in a normally closed state, the controller controls the in-vehicle relay to be energized so that the in-vehicle relay is in a disconnected state.

[0113] In some embodiments, the in-vehicle relay is usually in a normally open state, that is, the in-vehicle power supply interface and the EDS are disconnected by default.

[0114] It is understandable that setting the relay in the car to the normally open state can ensure that the power supply interface in the car is not powered by default, so that the circuit safety in the car can be guaranteed even if the vehicle is charged outside the car.

[0115] For example, Figure 2 As shown, the in-vehicle relay 14 may specifically be a single-contact relay.

[0116] S304: The controller determines whether the external power supply interface is in a discharging state.

[0117] As a possible implementation method, the controller can obtain a discharge device signal from the BMS and determine whether the external power supply interface is in a discharge state based on the discharge device signal.

[0118] The discharge device signal is used to indicate whether an external power supply interface is plugged into an electrical device. The discharge device signal includes a first discharge device signal and a second discharge device signal. The first discharge device signal indicates that an external power supply interface is plugged into an electrical device, while the second discharge device signal indicates that an external power supply interface is not plugged into an electrical device.

[0119] When the controller determines that the discharge device signal is the first discharge device signal, the controller determines that the external power supply interface is in the discharge state; when the controller determines that the discharge device signal is the second discharge device signal, the controller determines that the external power supply interface is not in the discharge state.

[0120] As another possible implementation, the controller may determine whether the cover of the external power supply interface is in an open state, and when the cover is in the open state, determine whether a discharge device (for example, a DC discharge gun or an AC discharge gun) is inserted into the external power supply interface. Furthermore, the controller may determine that the external power supply interface is in a discharge state when the discharge device is inserted into the external power supply interface, and determine that the external power supply interface is not in a discharge state when the discharge device is not inserted into the external power supply interface.

[0121] It can be understood that by obtaining the discharge device signal when the cover is in the open state; since the discharge device signal is used to indicate whether the external power supply interface is plugged into the discharge device, it can be determined that the external power supply interface is in the discharge state through the state of the cover and the discharge device signal.

[0122] Combine Figure 2 In the power supply control system shown, when the external power supply interface 13 is plugged into a discharge gun, the external power supply interface 13 is in a discharge state, and a first discharge device signal is transmitted to the controller 11 through a hard-wired loop, and the controller 11 determines that the external power supply interface is in a discharge state.

[0123] Similarly, when the discharge gun is not inserted into the external power supply interface 13, the external power supply interface 13 is not in the discharge state, and the second discharge device signal is transmitted to the controller 11 through the hard-wire loop. The controller 11 determines that the external power supply interface 13 is not in the discharge state.

[0124] S305 : When the off-vehicle power supply interface is in a discharging state, the controller controls both the on-vehicle relay and the off-vehicle relay to be in a conducting state, and controls the EDS power supply.

[0125] As a possible implementation method, when the in-vehicle relay is in the normally open state, the controller can control the in-vehicle relay to be energized so that the in-vehicle relay is in the on state; when the in-vehicle relay is in the normally closed state, the controller maintains the state of the in-vehicle relay unchanged so that the in-vehicle relay is in the on state.

[0126] When the external relay is in the normally open state, the controller can control the external relay to be energized so that the external relay is in the on state; when the external relay is in the normally closed state, the controller maintains the state of the external relay unchanged so that the internal relay is in the on state.

[0127] In some embodiments, the off-vehicle relay is usually in a normally closed state, that is, the off-vehicle power supply interface and the EDS are in a conductive state by default.

[0128] It can be understood that setting the external relay to the normally closed state can ensure that the external power supply interface and EDS are always in the on state, which can be applied to most charging scenarios and improve the user experience.

[0129] For example, Figure 2 As shown, the external relay 12 can be a two-contact relay. When the external relay 12 is in the normally closed conductive state, the relay switch is always in contact with contact 1. When the controller controls the external relay to be energized or activated, the switch of the external relay 12 contacts contact 2. At this time, the external power supply interface 13 and the EDS 16 are disconnected.

[0130] In one case, in order to control the power supply of EDS, the controller can send a first discharge request message to the PDCU; after receiving the first discharge request message, the PDCU is used to send a discharge signal to the EDS, and the discharge signal is used to instruct the EDS to power the in-vehicle power supply interface and the out-vehicle power supply interface through DCAC.

[0131] In another case, the controller may also send a second discharge request message to the PDCU; after receiving the second discharge request message, the PDCU is used to determine whether the vehicle meets the DCAC enabling conditions, and send a discharge signal to the EDS if the vehicle meets the DCAC enabling conditions.

[0132] In actual application, when the vehicle does not meet the DCAC enabling conditions, the PDCU is further configured to send a second prompt signal to the IP, where the second prompt signal is configured to instruct the IP to display that the vehicle does not meet the DCAC enabling conditions.

[0133] It can be understood that by controlling the EDS power supply when it is determined that the vehicle meets the DCAC enabling conditions, it is possible to avoid forcibly powering the vehicle with the EDS when the power usage conditions are not met, thereby improving the safety of vehicle power usage.

[0134] Combine Figure 2 In the power supply control system shown, the off-vehicle power supply interface 13 is in a discharging state, and the controller 11 controls both the on-vehicle relay 14 and the off-vehicle relay 12 to be in a conducting state (the switch of the off-vehicle relay 12 is in contact with the contact 1, and the switch of the on-vehicle relay 14 is closed).

[0135] S306 , when the off-vehicle power supply interface is neither in the charging state nor in the discharging state, the controller controls the on-vehicle relay to be in the on-state, controls the off-vehicle relay to be in the off-state, and controls the EDS power supply.

[0136] Combine Figure 2 In the power supply control system shown, if the external power supply interface 13 is not in the charging state and is not in the discharging state, the BDC controls the in-vehicle relay 14 to be in the on state (controls the switch of the in-vehicle relay 14 to be closed), and controls the external relay 12 to be in the off state (the switch of the external relay 12 is located at contact 2).

[0137] It should be noted that the order of S302 and S304 in the embodiment of the present application is not limited. In actual application, S302 can be executed first and then S304, or S304 can be executed first and then S302, or S302 and S304 can be executed at the same time.

[0138] Based on the technical solution provided by this application, when it is determined that the in-vehicle power interface is connected to an electrical device, if the external power interface is in the charging state, the in-vehicle relay is controlled to be in the disconnected state. Since the in-vehicle power interface is charged when the external power interface is in the charging state, plugging in an electrical device at this time will cause the charging current to change. This can avoid the risk of electric shock and improve the charging performance of the entire vehicle. Furthermore, when the external power interface is in the discharging state, both the in-vehicle relay and the external relay are controlled to be in the conducting state, and the EDS power supply is controlled. This can achieve the requirement of synchronous discharge of the external and in-vehicle power interfaces, improving the user experience. Furthermore, when the external power interface is neither in the charging state nor in the discharging state, the in-vehicle relay is controlled to be in the conducting state, and the external relay is controlled to be in the disconnected state, and the EDS power supply is controlled. Since the external power interface is also charged during the charging process of the in-vehicle power interface, by controlling the external relay to be in the disconnected state during the charging process of the in-vehicle power interface, the risk of electric shock when opening the cover of the external power interface is avoided, thereby improving the safety of vehicle electricity use.

[0139] In some embodiments, as Figure 5 As shown, in order to determine the charging and discharging status of the external power supply interface and the internal power supply interface, the power supply control method of the present application may further include the following S401-S405.

[0140] S401: The controller obtains a cover signal of an off-vehicle power supply interface.

[0141] The cover signal is used to indicate whether the cover of the external power supply interface is in a closed state.

[0142] As a possible implementation manner, the controller may obtain a cover signal from the cover of the external power supply interface, and determine whether the cover of the external power supply interface is in a closed state according to the cover signal.

[0143] The cover signal includes a first cover signal and a second cover signal. The first cover signal indicates that the cover of the external power supply interface is in a closed state, and the second cover signal indicates that the cover of the external power supply interface is in an open state.

[0144] When the controller determines that the cover signal is the first cover signal, the controller determines that the cover of the external power supply interface is in a closed state; when the controller determines that the cover signal is the second cover signal, the controller determines that the cover of the external power supply interface is in an open state.

[0145] In actual application, when the cover of the external power supply interface is in the open state, the cover of the external power supply interface is also used to send a third prompt signal to the IP, and the third prompt signal is used to instruct the IP to display that the cover of the external power supply interface is in the open state.

[0146] S402: When the cover is in the closed state, the controller determines that the external power supply interface is not in the charging state and the external power supply interface is not in the discharging state.

[0147] S403: When the cover is in the open state, the controller obtains a charging device signal and a discharging device signal.

[0148] The specific description of obtaining the charging device signal and the discharging device signal in this possible implementation manner can be referred to above S302-S304, which will not be described in detail.

[0149] S404: When the external power supply interface is plugged into a charging device, the controller determines that the external power supply interface is in a charging state.

[0150] Combine Figure 2 In the power supply control system shown, if the external power supply interface 13 is plugged into the charging device, the controller 11 determines that the external power supply interface 13 is in the charging state, and the controller 11 controls the internal relay 14 to be in the on state (the switch of the external relay 12 is located at contact 1).

[0151] S405 : When a discharge device is inserted into the external power supply interface of the vehicle, the controller determines that the external power supply interface is in a discharge state.

[0152] Combine Figure 2 In the power supply control system shown, if a discharge device is plugged into the external power supply interface 13, the controller 11 determines that the external power supply interface 13 is in the discharge state. Furthermore, if the controller 11 determines that the external power supply interface 13 is in the discharge state, it controls the internal relay 14 to be in the conductive state (the switch of the external relay 12 is located at contact 1).

[0153] According to the above technical means, it is possible to determine that the external power supply interface is not in the charging state and the external power supply interface is not in the discharging state simply by obtaining the cover signal, thereby improving processing efficiency. Furthermore, when the cover is in the open state, the charging device signal and the discharging device signal are obtained; because the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device, and the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device, the charging and discharging device signals can be used to determine the charging and discharging state of the external power supply interface.

[0154] In a possible embodiment, in order to ensure the safe use of the off-vehicle power supply interface, the power supply control method of the present application may further include the following S501.

[0155] S501: When the cover is in the open state, if the external charging interface is not plugged into a charging device or a discharging device, the controller determines that the external power supply interface is neither in the charging state nor in the discharging state.

[0156] Combine Figure 2 In the power supply control system shown, if the external power supply interface 13 is not plugged into a charging device or a discharging device, the controller 11 determines that the external power supply interface 13 is in a charging state, not in a charging state, and not in a discharging state, and the controller 11 controls the internal relay 14 to be in a disconnected state.

[0157] It can be understood that during the process of powering the vehicle, if the controller detects that the cover is in the open state and no discharge device or charging device is inserted into the external power supply interface, it is determined that the external power supply interface is not in the charging state and is not in the power supply state. In this way, in this case, the power supply line between the external power supply interface and the EDS is disconnected through the external relay, so that the exposed external power supply interface can be de-energized, thereby ensuring the safety of the circuit outside the vehicle.

[0158] In a possible embodiment, in order to improve the safety of vehicle power use when a power supply control system fails, the power supply control method provided in the embodiment of the present application may further include the following S601-S602.

[0159] S601: When the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the out-vehicle power supply interface are in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system, the controller controls the EDS to stop power supply.

[0160] A single-side fault indicates a fault in the internal relay and / or the external relay. For example, a single-side fault could be a low-side short to power, a low-side short to ground, or a low-side open. A first communication fault indicates that the duration of the communication failure between the controller and the internal relay and / or the external relay is greater than or equal to a preset duration. The preset duration can be set as needed, for example, 300 milliseconds.

[0161] As a possible implementation manner, the controller may send a power-off request message to the PDCU; and the PDCU is configured to send a power-off signal to the EDS after receiving the power-off request message, so as to control the EDS to stop supplying power.

[0162] It can be understood that when the EDS is discharging inside the vehicle or discharging inside and outside the vehicle at the same time, if there is a fault in the vehicle relay or the vehicle external relay itself or a communication fault, the controller directly controls the EDS to stop powering the vehicle, which can ensure the corresponding power safety and avoid the subsequent inability to control the conduction or disconnection between the EDS and the external power supply interface or the vehicle internal power supply interface.

[0163] In practical applications, the controller may also be used to control the EDS to stop supplying power when it detects that the state of charge (SOC) of the power supply control system is less than a charge threshold.

[0164] S602. When the in-vehicle power supply interface is not in a discharging state, or both the in-vehicle power supply interface and the out-vehicle power supply interface are not in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system, the in-vehicle relay is controlled to be in a disconnected state, and the out-vehicle relay is controlled to be in a conducting state.

[0165] Combine Figure 2 In the power supply control system shown, when the in-vehicle relay 14 is in the disconnected state and the out-vehicle relay 12 is controlled to be in the on state, the switch of the out-vehicle relay 12 is located at the contact 2 .

[0166] It can be understood that when the EDS is not discharging simultaneously inside and outside the vehicle, if there is a fault in the vehicle relay or the vehicle external relay itself or a communication fault, the controller directly controls the vehicle internal relay to restore to the default normally open state, and controls the vehicle external relay to restore to the default normally closed state. In this way, when there is a fault in the vehicle relay or the vehicle external relay, the vehicle power supply interface can be de-energized to meet safety requirements. At the same time, the vehicle external power supply interface and EDS can be in a conductive state to meet the user's normal needs for charging the vehicle.

[0167] In a possible embodiment, in order to avoid functional abnormalities caused by communication failures, the power supply control method of the present application may further include the following S701.

[0168] S701: If a second communication failure occurs in the power supply control system, the controller controls the in-vehicle relay and the out-vehicle relay to maintain the states at the first moment.

[0169] The second communication fault is used to indicate that the duration of the communication fault between the controller and the in-vehicle relay, and / or the out-vehicle relay is less than a preset duration, and the first moment is the previous moment of the second communication fault.

[0170] As a possible implementation method, the controller can store the system parameter values ​​of the power supply control system at the first moment (including the status or value of the in-vehicle relay and the out-of-vehicle relay) when it is determined that there is a second communication fault in the power supply control system, and restore the current system parameter values ​​of the power supply control system to the system parameter values ​​at the first moment after the second communication fault of the power supply control system is restored.

[0171] In a possible embodiment, in order to improve the safety of vehicle electricity use, the power supply control method provided in the embodiment of the present application may further include the following S801.

[0172] S801. When the in-vehicle power supply interface is in a discharging state, if the controller detects that the power-consuming device is unplugged from the in-vehicle power supply interface, the power-consuming device is plugged into the out-vehicle power supply interface, or the soft switch is triggered to the off state, the controller controls the EDS to stop supplying power.

[0173] As a possible implementation, the controller may send a discharge stop message to the PDCU when determining that the DCAC is discharging. Accordingly, the PDCU receives the discharge stop message sent by the BDC and sends a DCAC disable signal to the EDS to stop the EDS from supplying power.

[0174] Furthermore, the controller may control the in-vehicle relay to be in an off state after controlling the EDS to stop supplying power.

[0175] It can be understood that if the controller detects that the electrical equipment stops using the power of the in-vehicle power supply interface, charging starts outside the vehicle, or the user performs an operation that does not use the in-vehicle power supply interface, the EDS will be controlled to stop supplying power, providing a power-off logic for the in-vehicle power supply interface to ensure the safe use of the in-vehicle power supply interface.

[0176] In a possible embodiment, in order to improve the safety of vehicle electricity use, the power supply control method of the present application may further include the following S901.

[0177] S901. When the in-vehicle relay is in the on-state, if the controller detects that the in-vehicle power supply interface is in the standby state, or the output current of the in-vehicle power supply interface is less than the preset threshold, the controller controls the in-vehicle relay to be in the off-state, or controls the in-vehicle relay to be in the off-state and the external relay to be in the on-state.

[0178] The preset threshold value can be set as needed, for example, 5 mA.

[0179] It should be noted that the specific implementation of controlling the in-vehicle relay to be in the disconnected state, or controlling the in-vehicle relay to be in the disconnected state and the out-vehicle relay to be in the connected state can refer to the description of S301-S306 above and will not be repeated here.

[0180] It is understandable that when the in-vehicle power supply interface is in standby mode, or the output current of the in-vehicle power supply interface is less than the preset threshold, it may indicate that the electrical equipment has stopped using power, such as when a mobile phone is fully charged or a kettle is heated to a preset temperature. In this case, the controller automatically disconnects the power supply line between the in-vehicle power supply interface and the EDS.

[0181] In summary, when the external relay is in the normally closed state, the external relay is in the on state. If the controller controls the external relay from the on state to the off state, the following conditions must be met at the same time: the power supply interface in the vehicle is in the discharging state, and the external power supply interface is not in the charging state and is not in the discharging state.

[0182] When the in-vehicle relay is in the normally open state, the in-vehicle relay is in the disconnected state. If the controller controls the in-vehicle relay to change from the disconnected state to the on state, the following conditions must be met: the in-vehicle power supply interface is in the discharged state.

[0183] In some embodiments, as Figure 6 As shown, when it is determined that the in-vehicle power supply interface has a power demand, the power supply control method provided in the embodiment of the present application may further include the following S1001-S1006.

[0184] S1001. The controller determines whether the in-vehicle power supply interface meets the discharge conditions.

[0185] Among them, the discharge conditions may include that the external charging interface of the vehicle is not plugged into the charging device, the internal power supply interface of the vehicle is plugged into the power-consuming device, and the soft switch is in the on state.

[0186] S1002: When determining that the in-vehicle power supply interface meets the discharge condition, the controller controls the in-vehicle relay to be in the on state, or controls both the in-vehicle relay and the out-vehicle relay to be in the on state.

[0187] The specific implementation of this step can refer to the description of S305 above and will not be elaborated here.

[0188] S1003: The controller sends a second discharge request message to the PDCU.

[0189] Correspondingly, the PDCU receives the second discharge request message sent by the controller.

[0190] As a possible implementation manner, the controller may send a discharge request message to the PDCU via the control bus.

[0191] S1004: The PDCU determines whether the vehicle meets the DCAC enabling conditions.

[0192] The specific description of this step can be referred to the existing technology and will not be repeated here.

[0193] S1005 : When the PDCU determines that the vehicle meets the DCAC enabling conditions, the PDCU sends a discharge signal to the EDS.

[0194] Correspondingly, the EDS receives the discharge signal sent by the PDCU.

[0195] S1006. EDS provides power supply.

[0196] The specific implementation of this step can refer to the description of S305 above and will not be elaborated here.

[0197] In some embodiments, when it is detected that the power-consuming device is unplugged from the in-vehicle power supply interface and the power-consuming device is plugged into the out-vehicle power supply interface, or the soft switch is triggered to operate in the closed state, as shown in FIG. Figure 6 As shown, the power supply control method of the present application may further include the following S1007-S1011.

[0198] S1007: The controller determines whether the EDS is in a power-off state.

[0199] As a possible implementation manner, the controller may determine that the EDS is in a power-off state when the in-vehicle power supply interface is in a standby state.

[0200] As another possible implementation, the controller may determine that the EDS is in a power-off state when the output current of the in-vehicle power supply interface is less than a preset threshold.

[0201] S1008: When the controller determines that the EDS is in a power-off state, the controller controls the in-vehicle relay to be in an off state.

[0202] The specific implementation of this step can refer to the description of S306 above and will not be repeated here.

[0203] S1009: When determining that the EDS is in a power supply state, the controller sends a discharge stop message to the PDCU.

[0204] Correspondingly, the PDCU receives the discharge stop message sent by the controller.

[0205] The discharge stop message is used to instruct the PDCU to send a DCAC prohibition signal to the EDS, and the DCAC prohibition signal is used to instruct the EDS to stop power supply.

[0206] S1010. The PDCU sends a DCAC prohibition signal to the EDS.

[0207] Correspondingly, the EDS receives the DCAC disable signal sent by the PDCU.

[0208] S1011, EDS stops supplying power.

[0209] In some embodiments, as Figure 7 As shown, the power supply control method provided in the embodiment of the present application may further include the following S1101-S1107.

[0210] S1101. The controller determines whether the vehicle is in a powered-on state.

[0211] S1102: When determining that the vehicle is powered on, the controller determines whether there is a unilateral fault in the power supply control system.

[0212] S1103: When determining that a unilateral fault exists in the power supply control system, the controller determines whether the in-vehicle power supply interface is in a discharging state, or whether both the in-vehicle power supply interface and the out-vehicle power supply interface are in a discharging state.

[0213] S1104: When the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the out-vehicle power supply interface are in a discharging state, the controller controls the EDS to stop supplying power.

[0214] S1105. When the in-vehicle power supply interface is not in a discharging state, and both the in-vehicle power supply interface and the out-vehicle power supply interface are not in a discharging state, the controller controls the in-vehicle relay to be in an off state, and controls the out-vehicle relay to be in an on state.

[0215] S1106: When determining that there is no unilateral fault in the power supply control system, the controller determines whether there is a second communication fault in the power supply control system.

[0216] S1107 : When determining that a second communication fault exists in the power supply control system, the controller controls the in-vehicle relay and the out-vehicle relay to maintain the states at the first moment.

[0217] The various solutions in the above embodiments of the present application can be combined under the premise that there is no contradiction.

[0218] The embodiment of the present application can divide the power supply control device or controller into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0219] In the case of dividing each functional module into corresponding functional modules, Figure 8 A structural schematic diagram of a power supply control device 1200 is shown. The power supply control device 1200 can be a controller or a chip used in a controller. The power supply control device 1200 can be used to perform the functions of the controller involved in the above embodiments. Figure 8The power supply control device 1200 shown may include: a determination unit 1201 and a control unit 1202; the determination unit 1201 is used to determine whether there is a power demand at the in-vehicle power supply interface; the control unit 1202 is used to control the in-vehicle relay to be in a disconnected state when the external power supply interface is in a charging state; the control unit 1202 is also used to control the in-vehicle relay and the external relay to be in a conductive state and control the EDS power supply when the external power supply interface is in a discharging state; the control unit 1202 is also used to control the in-vehicle relay to be in a conductive state when the external power supply interface is not in a charging state and not in a discharging state, and to control the external relay to be in a disconnected state and control the EDS power supply.

[0220] Furthermore, the power supply control device 120 also includes an acquisition unit 1203, which is used to acquire a cover signal of the external power supply interface, and the cover signal is used to indicate whether the cover of the external power supply interface is in a closed state; the determination unit 1201 is also used to determine that the external power supply interface is not in a charging state and not in a discharging state when the cover is in a closed state; the acquisition unit 1203 is also used to acquire a charging device signal and a discharging device signal when the cover is in an open state; the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device; the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device; the determination unit 1201 is also used to determine that the external power supply interface is in a charging state when the external power supply interface is plugged into a charging device; the determination unit 1201 is also used to determine that the external power supply interface is in a discharging state when the external power supply interface is plugged into a discharging device.

[0221] Furthermore, the determining unit 1201 is also used to determine that the external power supply interface is not in the charging state and is not in the discharging state if the external charging interface is not plugged into a charging device or a discharging device when the cover is in the open state.

[0222] Furthermore, the control unit 1202 is also used to control the EDS to stop supplying power when the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are in a discharging state, if there is a unilateral fault or a first communication fault in the power supply control system; wherein the unilateral fault is used to indicate that there is a fault in the in-vehicle relay and / or the external relay, and the first communication fault is used to indicate that the communication fault duration between the controller and the in-vehicle relay, and / or the external relay is greater than or equal to a preset duration; the control unit 1202 is also used to control the in-vehicle relay to be in a disconnected state, and control the external relay to be in a conductive state, if there is a unilateral fault or a first communication fault in the power supply control system when the in-vehicle power supply interface is not in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are not in a discharging state.

[0223] Furthermore, the determination unit 1201 is also used to control the in-vehicle relay and the out-vehicle relay to maintain the state at the first moment when there is a second communication fault in the power supply control system; the second communication fault is used to indicate that the communication failure duration between the controller and the in-vehicle relay, and / or the out-vehicle relay is less than a preset duration, and the first moment is the previous moment when the second communication fault occurs.

[0224] Furthermore, the power supply control system also includes an intelligent peripheral IP, which has a soft switch inside the IP; the soft switch is used to control the discharge state of the vehicle to be turned on or off; the determination unit 1201 is specifically used to: when it is detected that the power supply interface in the vehicle is plugged into an electrical device and the soft switch is in the on state, determine whether the power supply interface in the vehicle has a power demand.

[0225] Furthermore, the control unit 1202 is also used to control the EDS to stop supplying power if it detects that the electrical device is unplugged from the in-vehicle power supply interface, the external power supply interface is plugged into the electrical device, or the soft switch is triggered to operate in the closed state when the in-vehicle power supply interface is in a discharging state.

[0226] Furthermore, the control unit 1202 is also used to control the in-vehicle relay to be in the off state, or to control the in-vehicle relay to be in the off state and the external relay to be in the on state, if it is detected that the in-vehicle power supply interface is in the standby state, or the output current of the in-vehicle power supply interface is less than a preset threshold value.

[0227] Furthermore, the in-vehicle relay is in a normally open state, and the out-vehicle relay is in a normally closed state.

[0228] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the power supply control device or controller (including a data sending end and / or a data receiving end) of any of the above embodiments, such as a hard disk or memory of the power supply control device. The above computer-readable storage medium can also be an external storage device of the above power supply control device, such as a plug-in hard disk equipped on the above power supply control device, a smart memory card (smartmedia card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both the internal storage unit of the above power supply control device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above power supply control device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0229] An embodiment of the present application also provides a vehicle, including the power supply control system, controller or power supply control device involved in the above method embodiment.

[0230] In addition, the actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message names or parameter names in the messages exchanged between the various devices in the embodiments of this application are only examples, and other names can also be used in specific implementations without limitation.

[0231] It should be noted that the terms "first" and "second" in the specification, claims, and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0232] It should be understood that in the present application, "at least one (item)" refers to one or more, "more than one" refers to two or more, "at least two (items)" refers to two or three and more than three, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0233] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0234] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0235] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0236] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0237] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0238] The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A power supply control method, characterized in that: A controller used in a vehicle power supply control system, the power supply control system also including an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface, and an electric drive assembly (EDS); The off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; The method comprises: Determining that the in-vehicle power supply interface has a power demand; When the off-vehicle power supply interface is in a charging state, controlling the on-vehicle relay to be in a disconnected state; When the off-vehicle power supply interface is in a discharging state, controlling both the on-vehicle relay and the off-vehicle relay to be in a conducting state, and controlling the EDS to supply power; When the off-vehicle power supply interface is neither in a charging state nor in a discharging state, the on-vehicle relay is controlled to be in an on state, and the off-vehicle relay is controlled to be in an off state, and the EDS is controlled to supply power.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining a cover signal of the external vehicle power supply interface, wherein the cover signal is used to indicate whether the cover of the external vehicle power supply interface is in a closed state; When the cover is in a closed state, determining that the off-vehicle power supply interface is neither in a charging state nor in a discharging state; When the cover is in the open state, a charging device signal and a discharging device signal are obtained; the charging device signal is used to indicate whether the external power supply interface is plugged into a charging device; the discharging device signal is used to indicate whether the external power supply interface is plugged into a discharging device; When the external power supply interface is plugged into a charging device, determining that the external power supply interface is in a charging state; When a discharge device is inserted into the external vehicle power supply interface, it is determined that the external vehicle power supply interface is in a discharge state.

3. The method according to claim 2, characterized in that The method further comprises: When the cover is in the open state, if the external charging interface is not plugged into a charging device or a discharging device, it is determined that the external power supply interface is neither in the charging state nor in the discharging state.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the in-vehicle power supply interface is in a discharging state, or when both the in-vehicle power supply interface and the external power supply interface are in a discharging state, if the power supply control system has a unilateral fault or a first communication fault, control the EDS to stop power supply; The unilateral fault is used to indicate that a fault exists in the in-vehicle relay and / or the out-vehicle relay, and the first communication fault is used to indicate that the duration of the communication fault between the controller and the in-vehicle relay and / or the out-vehicle relay is greater than or equal to a preset duration; When the in-vehicle power supply interface is not in a discharging state, or both the in-vehicle power supply interface and the out-vehicle power supply interface are not in a discharging state, if the power supply control system has the unilateral fault or the first communication fault, the in-vehicle relay is controlled to be in a disconnected state, and the out-vehicle relay is controlled to be in a conductive state.

5. The method according to claim 4, characterized in that The method further comprises: If there is a second communication fault in the power supply control system, the in-vehicle relay and the out-vehicle relay are controlled to maintain the state at the first moment; the second communication fault is used to indicate that the communication failure duration between the controller and the in-vehicle relay, and / or the out-vehicle relay is less than the preset duration, and the first moment is the previous moment when the second communication fault occurs.

6. The method according to any one of claims 1 to 3, characterized in that The power supply control system further comprises an intelligent peripheral IP, wherein the IP is provided with a soft switch; The soft switch is used to control the discharge state of the vehicle to be turned on or off; The determining whether the in-vehicle power supply interface has a power demand includes: When it is detected that the in-vehicle power supply interface is plugged into an electric device and the soft switch is in an on state, it is determined that the in-vehicle power supply interface has a power demand.

7. The method according to claim 6, characterized in that The method further comprises: When the in-vehicle power supply interface is in a discharging state, if it is detected that the power-consuming device is unplugged from the in-vehicle power supply interface, the power-consuming device is plugged into the out-vehicle power supply interface, or the soft switch is triggered to operate in a closed state, the EDS is controlled to stop powering.

8. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the in-vehicle relay is in the on-state, if it is detected that the in-vehicle power supply interface is in the standby state, or the output current of the in-vehicle power supply interface is less than a preset threshold, the in-vehicle relay is controlled to be in the off-state, or the in-vehicle relay is controlled to be in the off-state and the out-vehicle relay is in the on-state.

9. The method according to any one of claims 1 to 3, characterized in that The in-vehicle relay is in a normally open state, and the out-vehicle relay is in a normally closed state.

10. A power supply control device, characterized in that: A controller used in a vehicle power supply control system, the power supply control system also including an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface, and an electric drive assembly (EDS); The off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; The device includes: a determination unit, a control unit; The determining unit is used to determine whether the in-vehicle power supply interface is connected to an electrical device; The control unit is configured to control the in-vehicle relay to be in an off state when the off-vehicle power supply interface is in a charging state; The control unit is further configured to, when the external power supply interface is not in a charging state, control the internal relay and the external relay to be in an on state and control the power supply of the EDS if the external power supply interface is in a discharging state; The control unit is also used to control the in-vehicle relay to be in the on state when the off-vehicle power supply interface is not in the charging state and if the off-vehicle power supply interface is not in the discharging state, and to control the off-vehicle relay to be in the off state and control the power supply of the EDS.

11. A power supply control system, characterized in that: The power supply control system includes a controller, and the power supply control system also includes an off-vehicle relay, an off-vehicle power supply interface, an on-vehicle relay, an on-vehicle power supply interface, and an electric drive assembly EDS; the off-vehicle relay is connected to the EDS and the off-vehicle power supply interface, and the on-vehicle relay is connected to the EDS and the on-vehicle power supply interface; The controller is configured to execute the method according to any one of claims 1 to 9.

12. A power supply control device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 9.

13. A vehicle, characterized in that: It comprises the power supply control system as claimed in claim 11.

14. A computer-readable storage medium, characterized in that When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Electric vehicle intelligent external power supplying system and control method thereof

    CN107554302A

  • Lithium battery based pure electric automobile charging system and charging method

    CN107599857A