Power supply control system, method, vehicle, and computer-readable storage medium
Patent Information
- Application Number
- CN202611288157.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-10-27
AI Technical Summary
[0005]本申请提供了一种供电控制系统、方法、车辆及计算机可读存储介质,旨在解决相关技术中HEV车型的动力电池容量增加,无法通过低成本对其进行外部充电的问题
[0010]上述技术方案中,通过设置第二开关模块将第一电阻在不同工作模式下切换至不同的连接通路,使得同一第一连接节点和同一第一电阻能够在放电模式下用于电压检测(识别用电负载),在充电模式下用于脉冲宽度调制信号输出(与充电设备通信),实现了单一接口、单一节点、单一电阻的复用,简化了电路结构,降低了硬件成本。同时,通过第二开关模块实现第一电阻在不同模式下的功能复用,相较于分别设置独立的检测电路和通信电路,减少了元器件的数量和电路板的占用面积,有利于供电装置的小型化设计,降低了系统的整体成本。其次,在充电设备插入后,系统先通过脉冲宽度调制信号与充电设备建立控制导引通信,确认充电设备身份后,控制模块再导通第一开关模块引入充电电源。在通信确认完成之前,第一开关模块始终保持断开状态,充电插头侧的高压电不会提前引入放电插头和插座,有效避免了因设备误插或电气异常引发的安全隐患,提升了充电安全性。
Smart Images

Figure CN122976323A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle power supply technology, and more specifically, to a power supply control system, method, vehicle, and computer-readable storage medium. Background Technology
[0002] Currently, vehicles include two types: plug-in hybrid electric vehicles (PHEVs) and hybrid electric vehicles (HEVs). Early HEV models generally had smaller battery capacities, such as around 1 kWh, and the vehicles had lower requirements for external power sources. Therefore, HEV models typically only had a socket for external power discharge and did not have a dedicated charging port.
[0003] However, with the continuous development of intelligent vehicle configurations, the battery capacity of current HEV models may increase to 3kWh to 5kWh. This significant increase in battery capacity means that the battery is no longer just an auxiliary power source, but also has the ability to act as an independent energy storage unit to continuously supply power to external loads. Correspondingly, the demand for external charging of HEV model batteries has also emerged.
[0004] If the above charging requirements are met by directly imitating PHEV models and adding a dedicated AC charging socket and its supporting high-voltage charging circuit and communication control circuit to HEV vehicles, it will lead to a significant increase in vehicle manufacturing costs. In addition, it will require re-molding the charging socket installation position on the body sheet metal structure, resulting in a long development cycle and high development costs. Summary of the Invention
[0005] This application provides a power supply control system, method, vehicle, and computer-readable storage medium, aiming to solve the problem in the related art that the increased capacity of the power battery in HEV models makes it impossible to externally charge it at low cost.
[0006] In a first aspect, a power supply control system is provided for a hybrid vehicle. The vehicle is equipped with a socket for external discharge. The power supply control system includes a charging plug, a discharging plug, a power supply device, and a body module. The power supply device includes a first switching module and a control module. The first switching module is connected in series between the charging plug and the discharging plug. The control module has a first connection node connected to the discharging plug. The body module is connected to the socket and has a second connection node. When the discharging plug is connected to the socket, the first connection node is electrically connected to the second connection node through the discharging plug and the socket. The control module is configured to: acquire the voltage of the second connection node when the discharging plug is connected to the socket; switch to a first operating mode and control the first switching module to disconnect when the voltage of the second connection node is zero, so that the system enters a discharging mode; and switch to a second operating mode and control the first switching module to turn on when the voltage of the second connection node is a first threshold, so that the system enters a charging mode.
[0007] Compared to existing technologies that require adding a dedicated charging dock for HEV models, this application eliminates the need for additional charging interfaces, high-voltage wiring harnesses, and body sheet metal structure molds, significantly reducing material costs and assembly processes, and shortening the development cycle. Furthermore, by reusing the existing discharge socket as a charging interface, no new openings or changes to the vehicle's shape are required, avoiding modifications to the vehicle's appearance and interior space layout caused by adding a charging dock, thus maintaining the integrity and compactness of the vehicle structure. Secondly, by detecting the voltage of the second connection node through the control module, the type of currently connected device can be automatically identified: when the voltage is zero, the connected device is determined to be an electrical load, and the system automatically switches to discharge mode; when the voltage reaches a first threshold, the connected device is determined to be a charging device, and the system automatically switches to charging mode. Therefore, users do not need to manually set the charging and discharging modes; the system can adaptively switch operating modes according to the type of connected device, simplifying user operation.
[0008] Furthermore, since this application reuses existing sockets and identifies devices via CP signals, the first switch module remains in the off state before the charging device is inserted. This prevents high-voltage electricity from the charging plug side from prematurely introducing into the discharge plug and socket, effectively avoiding safety hazards caused by misinsertion or short circuits. The system only activates the first switch module after confirming that the connected device is a charging device, allowing external power to be connected to the vehicle's power battery, thus ensuring the safety and reliability of the charging process.
[0009] In conjunction with the first aspect, in some possible implementations, the control module includes a first resistor, a second switch module, and a control module; one end of the first resistor serves as a first connection node, connected to the discharge plug, and the other end of the first resistor is connected to the common terminal of the second switch module; the first selection terminal of the second switch module is connected to the power supply terminal of the control module, and the second selection terminal of the second switch module is connected to the control terminal of the control module; the control module is also connected to the controlled terminal of the first switch module and the controlled terminal of the second switch module; wherein, in the first operating mode, the common terminal of the second switch module is connected to the first selection terminal of the second switch module; in the second operating mode, the common terminal of the second switch module is connected to the second selection terminal of the second switch module, and the control module outputs a pulse width modulation signal.
[0010] In the above technical solution, by setting a second switch module, the first resistor is switched to different connection paths in different operating modes. This allows the same first connection node and the same first resistor to be used for voltage detection (identifying electrical loads) in discharge mode and for pulse width modulation signal output (communicating with the charging device) in charging mode. This achieves the reuse of a single interface, a single node, and a single resistor, simplifying the circuit structure and reducing hardware costs. Simultaneously, by using the second switch module to achieve functional reuse of the first resistor in different modes, compared to setting separate detection and communication circuits, the number of components and the area occupied by the circuit board are reduced, which is beneficial for the miniaturization design of the power supply device and reduces the overall system cost. Secondly, after the charging device is inserted, the system first establishes control guidance communication with the charging device through a pulse width modulation signal. After confirming the identity of the charging device, the control module then turns on the first switch module to introduce charging power. Before the communication confirmation is completed, the first switch module remains in the off state, preventing high-voltage electricity from the charging plug side from prematurely introducing into the discharge plug and socket, effectively avoiding safety hazards caused by mis-insertion or electrical abnormalities, and improving charging safety.
[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the second switch module includes a single-pole double-throw switch; the common terminal of the single-pole double-throw switch is connected to the other end of the first resistor, the first selection terminal of the single-pole double-throw switch is connected to the power supply terminal of the control module, and the second selection terminal of the single-pole double-throw switch is connected to the control terminal of the control module; or, the second switch module includes a first switch and a second switch, the first terminals of the first switch and the second switches are connected to a common node, the common node is connected to the other end of the first resistor, the second terminal of the first switch is connected to the power supply terminal of the control module, and the second selection terminal of the second switch is connected to the control terminal of the control module.
[0012] Combining the first aspect and the above implementation methods, in some possible implementation methods, the vehicle module includes an on-board charger, a second resistor, and a third switch module; the node where the on-board charger is connected to the socket serves as a second connection node, the second connection node is connected to one end of the second resistor and one end of the third switch module, and the other end of the second resistor and the second end of the third switch module are connected to a common ground; wherein, in the second working mode, the third switch module is controlled to be turned on, the voltage of the second connection node is a second threshold, and the second threshold is lower than the first threshold.
[0013] In the above technical solution, the power supply control system provided in this application adopts a four-step control strategy during the charging process: "voltage determination → PWM communication confirmation → secondary voltage confirmation → power supply activation". This application first detects that the voltage at the second connection node is at a first threshold to preliminarily confirm the charging device connection; then, it detects that the PWM signal is at a preset frequency to confirm that the external charging device has completed the connection handshake; subsequently, it controls the third switch module to activate, changing the voltage at the second connection node from the first threshold to the second threshold, completing the secondary confirmation. Only after all three conditions are met is the first switch module activated to introduce charging power. Compared to a single voltage detection scheme, this application's multi-verification mechanism effectively avoids the risk of high-voltage misconnection caused by incorrect insertion of external devices, signal interference, or communication anomalies, significantly improving the safety and reliability of the charging process. Secondly, the third switch module only activates after confirming the identity of the charging device, remaining off in discharge mode and standby mode, reducing static power consumption.
[0014] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the third switch module includes a third switch and a third resistor; one end of the third resistor serves as one end of the third switch module and is connected to the second connection node and one end of the second resistor, the other end of the third resistor is connected to the first end of the third switch, and the second end of the third switch serves as the second end of the third switch module and is connected to the other end of the second resistor.
[0015] In the above technical solution, through the above-described configuration, this embodiment of the application sets a third resistor in the third switch module, making the setting of the second threshold independent of the second resistor. Both can be designed independently, improving the flexibility of circuit parameter configuration. Simultaneously, the third resistor is only connected to the circuit when the third switch is on, and is isolated from the circuit in discharge mode and standby mode, further reducing static power consumption.
[0016] Secondly, embodiments of this application provide a power supply control method applied to the power supply control system described in any optional manner of the first aspect. The method includes: acquiring the voltage of a second connection node when a discharge plug is connected to a socket; switching to a first operating mode and controlling a first switching module to disconnect in response to the voltage of the second connection node being zero, so that the system enters a discharge mode; and switching to a second operating mode and controlling the first switching module to conduct in response to the voltage of the second connection node being a first threshold, so that the system enters a charging mode.
[0017] In conjunction with the second aspect, in some possible implementations, in response to the voltage of the second connection node being a first threshold, switching to the second operating mode and controlling the first switch module to conduct, so that the system enters the charging mode, includes: in response to the voltage of the second connection node being a first threshold, controlling the common terminal of the second switch module to connect with the second selection terminal of the second switch module, and acquiring a pulse width modulation signal; in response to the pulse width modulation signal being a preset frequency, controlling the third switch module and the first switch module to conduct, so that the system enters the charging mode.
[0018] In combination with the second aspect and the above implementation methods, in some possible implementation methods, controlling the third switch module and the first switch module to be turned on includes: controlling the first switch module to be turned on in response to the voltage of the second connection node being a second threshold.
[0019] Thirdly, a vehicle is provided, the vehicle including a memory and a processor; the memory is used to store executable program code; the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the power supply control method in any possible implementation of the second aspect and the second aspect.
[0020] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to execute the power supply control method in any possible implementation of the second aspect and the second aspect described above.
[0021] Fifthly, a computer-readable storage medium is provided, which stores a computer program that, when executed, causes the computer to perform the power supply control method in any possible implementation of the second aspect and the second aspect described above. Attached Figure Description
[0022] Figure 1 This is a structural schematic diagram of a PHEV vehicle provided in a related technical embodiment; Figure 2 This is a structural schematic diagram of an HEV vehicle provided in a related technical embodiment; Figure 3This is a schematic diagram of the structure of a power supply control system provided in an embodiment of this application; Figure 4 This is a schematic diagram of another power supply control system provided in the embodiments of this application; Figure 5 This is a schematic diagram of another power supply control system provided in the embodiments of this application; Figure 6 This is a schematic flowchart of a power supply control method provided in an embodiment of this application; Figure 7 This is a schematic flowchart of another power supply control method provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0023] In the attached figures, the following labels are used: 11. Charging stand; 12. Socket; 1. Charging plug; 2. Discharging plug; 3. Power supply device; 31. First switch module; 32. Control module; 321. Second switch module; 322. Control module; 4. Body module; 41. On-board charger; 42. Third switch module; A. First connection node; B. Second connection node; C. Common node; R1. First resistor; R2. Second resistor; R3. Third resistor; K1. First switch; K2. Second switch; K3. Third switch; K4. Fourth switch; K5. Fifth switch. Detailed Implementation
[0024] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0025] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0026] Currently, the vehicles include two types: plug-in hybrid electric vehicles (PHEVs) and hybrid electric vehicles (HEVs).
[0027] Figure 1 This is a structural schematic diagram of a PHEV vehicle provided in a related technical embodiment.
[0028] PHEV models are typically equipped with dedicated charging and discharging interfaces. For example, such as... Figure 1 As shown, in charging mode, the user inserts a charging gun conforming to national standards into the vehicle's charging socket 11, and the power battery will be AC charged via the on-board charger (OBC). In discharging mode (i.e., when the vehicle supplies power to the outside), the user can plug a 220V household appliance into the socket 12 provided in the vehicle, and the vehicle's power battery will convert the power to AC frequency via an inverter to supply power to the outside.
[0029] Figure 2 This is a structural schematic diagram of an HEV vehicle provided in a related technical embodiment.
[0030] like Figure 2 As shown, for hybrid electric vehicles (HEVs), due to their early product positioning and cost control strategies, they typically only have a socket 12 for external power discharge, without a dedicated charging interface. It should be understood that early HEV models generally had relatively small battery capacities, for example, around 1 kWh. The vehicle's need for external power replenishment was low, relying primarily on energy recovery and generation during engine operation to maintain battery power; therefore, a charging interface was unnecessary.
[0031] However, with the continuous development of intelligent vehicle configurations and the increasing demand from users for in-vehicle power supply applications such as parking air conditioning, in-vehicle entertainment systems, and outdoor power, the battery capacity of HEV models is expected to increase to 3kWh to 5kWh. This significant increase in battery capacity means that the battery is no longer just an auxiliary power source, but also has the ability to continuously supply power to external loads as an independent energy storage unit. Correspondingly, the demand from users for external charging of HEV model batteries has also emerged.
[0032] If, in order to meet the above charging requirements, we directly imitate the PHEV model and add a dedicated AC charging socket and its supporting high-voltage charging circuit and communication control circuit to the HEV vehicle, it will lead to a significant increase in the vehicle's manufacturing cost. In addition, it will require re-molding and re-laying the charging socket installation position on the body sheet metal structure, involving the rewiring and fixing of the high-voltage wiring harness, which is a major modification and has a long development cycle.
[0033] Therefore, embodiments of this application provide a power supply control system, method, vehicle, and computer-readable storage medium. This system does not require the addition of a dedicated charging interface and its corresponding high-voltage charging circuit on the vehicle. Instead, it integrates charging and discharging functions at low cost by reusing the vehicle's existing external discharge socket.
[0034] The power supply control system, method, vehicle, and computer-readable storage medium provided in this application are described below with reference to the accompanying drawings.
[0035] Figure 3 This is a schematic diagram of a power supply control system provided in an embodiment of this application.
[0036] In one example, this application embodiment provides a power supply control system applied to a hybrid electric vehicle, the vehicle being equipped with a socket 12 for external discharge.
[0037] It should be understood that socket 12 is the vehicle's external discharge interface, used for connecting external electrical devices to enable the vehicle to discharge externally. In this embodiment, socket 12 is also reused as a charging interface, used for connecting charging devices to enable the charging of the vehicle's power battery.
[0038] To enable the socket 12 provided in this application to flexibly switch between discharging and charging, in one example, such as Figure 3 As shown, the power supply control system includes a charging plug 1, a discharging plug 2, a power supply device 3, and a vehicle body module 4.
[0039] The power supply device 3 includes a first switch module 31 and a control module 32. The first switch module 31 is connected in series between the charging plug 1 and the discharging plug 2, and is used to control the conduction and disconnection of the power supply path between the charging plug 1 and the discharging plug 2. The control module 32 has a first connection node A, which is connected to the discharging plug 2.
[0040] It is worth noting that when the discharge plug 2 is connected to the socket 12 (i.e., when the discharge plug 2 is inserted into the socket 12), the discharge plug 2 and the socket 12 establish a power supply channel and a control pilot (CP) signal transmission channel. At this time, the first connection node A is electrically connected to the second connection node B through the discharge plug 2 and the socket 12. Thus, the control module 32 can establish a CP signal transmission channel with the vehicle body module 4 through the discharge plug 2 and the socket 12, thereby obtaining the voltage status at the second connection node B.
[0041] In this example, the control module 32 is configured to acquire the voltage of the second connection node B when the discharge plug 2 is connected to the socket 12. The control module 32 is used to identify the load type or device type currently connected to the discharge plug 2 through the second connection node B.
[0042] For example, if the voltage of the second connection node B is zero, the control module 32 determines that the currently connected external device is an electrical load (e.g., a household appliance) and switches to the first operating mode (i.e., the discharge mode). In the first operating mode, the control module 32 controls the first switch module 31 to disconnect, thereby cutting off the power supply path between the charging plug 1 and the discharging plug 2. At this time, the electrical energy of the vehicle's power battery supplies power to the external electrical load through the discharging plug 2 and the socket 12, and the system enters the discharge mode to realize the vehicle's external discharge function.
[0043] For example, if the voltage of the second connection node B is a first threshold (e.g., 9V), the control module 32 determines that the currently connected external device is a charging device (e.g., a standard charging gun) and switches to the second operating mode (i.e., charging mode). In the second operating mode, the control module 32 controls the first switch module 31 to be turned on, so as to connect the power supply path between the charging plug 1 and the discharging plug 2. At this time, the electrical energy of the external charging device flows into the vehicle's power battery through the socket 12 via the charging plug 1, the first switch module 31, and the discharging plug 2, and the system enters the charging mode to realize the function of charging the vehicle's power battery.
[0044] It should be understood that the power supply control system provided in this application embodiment does not require the addition of a dedicated charging interface and its matching high-voltage charging circuit on the vehicle. Instead, it integrates the charging and discharging functions by reusing the vehicle's existing external discharge socket 12.
[0045] Therefore, compared to existing technologies that require adding a dedicated charging socket for HEV models, this application eliminates the need for additional charging interfaces, high-voltage wiring harnesses, and body sheet metal structure molds, significantly reducing material costs and assembly processes, and shortening the development cycle. Simultaneously, by reusing the existing discharge socket 12 as a charging interface, there is no need to add new openings to the vehicle surface or alter the vehicle's shape, avoiding changes to the vehicle's appearance and interior space layout caused by adding a charging socket, thus maintaining the integrity and compactness of the vehicle structure. Secondly, by controlling the voltage of the second connection node B, the voltage detection module 32 can automatically identify the type of currently connected device: when the voltage is zero, the system determines that the currently connected device is an electrical load and automatically switches to discharge mode; when the voltage reaches a first threshold, the system determines that the currently connected device is a charging device and automatically switches to charging mode. Therefore, users do not need to manually set the charging and discharging modes; the system can adaptively switch operating modes according to the type of connected device, simplifying user operation.
[0046] Furthermore, since this application reuses the existing socket 12 and identifies devices via the CP signal, the first switch module 31 remains in the off state before the charging device is inserted. This prevents the high-voltage electricity on the charging plug 1 side from prematurely introducing into the discharge plug 2 and socket 12, effectively avoiding safety hazards caused by misinsertion or short circuits. The system only activates the first switch module 31 after confirming that the connected device is a charging device, allowing external power to be connected to the vehicle's power battery, thus ensuring the safety and reliability of the charging process.
[0047] Among them, such as Figure 3 As shown, the power supply channel includes a live (L) wire and a neutral (N) wire. The first switch module 31 includes a fourth switch K4 and a fifth switch K5. The fourth switch K4 is located on the L wire and connected in series between the charging plug 1 and the discharging plug 2. The fifth switch K5 is located on the N wire and connected in series between the charging plug 1 and the discharging plug 2. The fourth switch K4 and the fifth switch K5 are used to control the on / off state of the L wire and the N wire, respectively.
[0048] The charging plug 1 and the discharging plug 2 are also connected by a protective earth (PE) wire.
[0049] Figure 4 This is a schematic diagram of another power supply control system provided in the embodiments of this application.
[0050] In one example, such as Figure 4 As shown, the control module 32 includes a first resistor R1, a second switch module 321, and a control module 322. One end of the first resistor R1 serves as a first connection node A, connected to the discharge plug 2. The other end of the first resistor R1 is connected to the common terminal of the second switch module 321. The first selection terminal of the second switch module 321 is connected to the power supply terminal of the control module 322, and the second selection terminal of the second switch module 321 is connected to the control terminal of the control module 322. The control module 322 is also connected to the controlled terminals of the first switch module 31 and the second switch module 321, and is used to control the on / off states of the first switch module 31 and the second switch module 321.
[0051] In this embodiment, the second switch module 321 is used to switch different circuit paths in the first working mode and the second working mode to adapt to the different requirements of the discharge condition and the charging condition for the electrical signal at the first connection node A.
[0052] Specifically, in the first operating mode (i.e., discharge mode), the control module 322 controls the common terminal of the second switch module 321 to connect with the first selection terminal of the second switch module 321. At this time, the first resistor R1 is connected to the power supply terminal of the control module 322 through the second switch module 321, and the first connection node A is pulled up to the supply voltage. When an external electrical device is connected, the internal resistance of the external electrical device and the first resistor R1 form a voltage divider network, pulling down the voltage at the second connection node B. Since the first connection node A and the second connection node B are electrically connected when the discharge plug 2 is connected to the socket 12, the control module 322 can obtain the voltage status at the second connection node B by detecting the voltage at the first connection node A. When the detected voltage is close to 0V, it is determined that the currently connected device is an electrical load, and the control module 322 then controls the first switch module 31 to disconnect, cutting off the power supply path between the charging plug 1 side and the discharge plug 2 side, allowing only the power energy of the vehicle's power battery to supply power to the external electrical device through the socket 12, and the system enters the discharge mode.
[0053] In the second operating mode (i.e., charging mode), the control module 322 controls the common terminal of the second switch module 321 to connect with the second selection terminal of the second switch module 321. At this time, the first resistor R1 is connected to the control terminal of the control module 322 through the second switch module 321, and the control module 322 outputs a pulse width modulation (PWM) signal through this path. This PWM signal is transmitted to the second connection node B of the vehicle module 4 via the first connection node A, the discharge plug 2, and the socket 12. When an external charging device is connected, the control guidance circuit inside the charging device receives the PWM signal and responds by changing the voltage at the second connection node B. By detecting the voltage change at the first connection node A (i.e., obtaining the voltage change at the second connection node B), the control module 322 can identify the currently connected device as a charging device and control the first switch module 31 to conduct, so that the external power supply is connected to the vehicle's power battery via the charging plug 1, the first switch module 31, the discharge plug 2, and the socket 12, and the system enters the charging mode.
[0054] Thus, by setting the second switch module 321 to switch the first resistor R1 to different connection paths in different operating modes, the same first connection node A and the same first resistor R1 can be used for voltage detection (identifying electrical loads) in discharge mode and for PWM signal output (communicating with the charging device) in charging mode. This achieves the reuse of a single interface, a single node, and a single resistor, simplifying the circuit structure and reducing hardware costs. Simultaneously, by using the second switch module 321 to reuse the function of the first resistor R1 in different modes, compared to setting separate detection and communication circuits, the number of components and the area occupied by the circuit board are reduced, which is beneficial for the miniaturization design of the power supply device 3 and reduces the overall system cost. Secondly, after the charging device is inserted, the system first establishes control guidance communication with the charging device via a PWM signal. After confirming the identity of the charging device, the control module 322 then turns on the first switch module 31 to introduce charging power. Before the communication confirmation is completed, the first switch module 31 remains in the off state, preventing the high voltage on the charging plug 1 side from being prematurely introduced into the discharge plug 2 and socket 12, effectively avoiding safety hazards caused by mis-insertion of equipment or electrical abnormalities, and improving charging safety.
[0055] In one example, such as Figure 4 As shown, the second switch module 321 includes a single-pole double-throw (SPDT) switch. The common terminal of the SPDT switch is connected to the other end of the first resistor R1, the first selection terminal of the SPDT switch is connected to the power supply terminal of the control module 322, and the second selection terminal of the SPDT switch is connected to the control terminal (PWM signal output terminal) of the control module 322.
[0056] When the system operates in the first operating mode (i.e., discharge mode), the control module 322 controls the common terminal of the single-pole double-throw (SPDT) switch to connect with its first select terminal. At this time, the first resistor R1 is connected to the power supply terminal of the control module 322 through the SPDT. When the system operates in the second operating mode (i.e., charging mode), the control module 322 controls the common terminal of the SPDT switch to connect with its second select terminal. At this time, the first resistor R1 is connected to the control terminal (PWM output terminal) of the control module 322 through the SPDT.
[0057] In this example, a single-pole double-throw (SPDT) switch is used as the second switch module 321. Only one switching element is needed to switch between the two operating modes, minimizing the number of components and the circuit board area, which is beneficial for the miniaturization and integration of the power supply device 3. At the same time, only one switch control signal is needed to switch the common terminal of the SPDT switch between the first selection terminal and the second selection terminal. The control algorithm is simple and the response speed is fast.
[0058] Figure 5 This is a schematic diagram of another power supply control system provided in the embodiments of this application.
[0059] In another example, such as Figure 5 As shown, the second switch module 321 includes a first switch K1 and a second switch K2. The first end of the first switch K1 and the first end of the second switch K2 are connected to a common node C. The common node C is connected to the other end of the first resistor R1. The second end of the first switch K1 is connected to the power supply terminal of the control module 322. The second selection terminal of the second switch K2 is connected to the control terminal of the control module 322.
[0060] When the system operates in the first operating mode (i.e., discharge mode), the control module 322 controls the first switch K1 to turn on and the second switch K2 to turn off. At this time, the first resistor R1 is connected to the power supply terminal of the control module 322 through the first switch K1. When the system operates in the second operating mode (i.e., charging mode), the control module 322 controls the first switch K1 to turn off and the second switch K2 to turn on. At this time, the first resistor R1 is connected to the control terminal (PWM output terminal) of the control module 322 through the second switch K2.
[0061] In this example, when the system is in standby mode or malfunctions, the control module 322 can control the first switch K1 and the second switch K2 to turn off simultaneously, putting the first connection node A in a high-impedance state. This isolates the electrical connection between the discharge plug 2 side and the internal circuitry of the control module 322, effectively preventing external abnormal signals from entering the control module 322, avoiding false detection and malfunction, and improving the system's safety and reliability. Secondly, the two independent switches facilitate the optimization of their respective routing paths on the printed circuit board (PCB). Power supply traces and PWM signal traces can be arranged separately, reducing crosstalk and coupling between different signals. This is beneficial for electromagnetic compatibility (EMC) design and reduces electromagnetic interference (EMI).
[0062] Optionally, the second switch module 321 may also employ other devices or circuits capable of achieving the above functions, and this application embodiment is not limited in this regard.
[0063] In one example, such as Figure 4 and Figure 5As shown, the vehicle body module 4 includes an on-board charger 41, a second resistor R2, and a third switch module 42. The node where the on-board charger 41 is connected to the socket 12 serves as a second connection node B. The second connection node B is connected to one end of the second resistor R2 and one end of the third switch module 42. The other end of the second resistor R2 and the second end of the third switch module 42 are connected to a common ground.
[0064] In this embodiment of the application, the voltage state at the second connection node B is changed by connecting the branch where the third switch module 42 is located to the circuit in the charging mode.
[0065] Specifically, in the second operating mode (i.e., charging mode), the control module 322 outputs a PWM signal to the second connection node B through the first connection node A, the discharge plug 2, and the socket 12. This PWM signal is transmitted to the second connection node B of the vehicle module 4 via the first connection node A, the discharge plug 2, and the socket 12. The external charging device receives this PWM signal through its internal control and guidance circuitry and analyzes its frequency.
[0066] When the third switch module 42 is not turned on, the voltage at the second connection node B is set to a first threshold (e.g., 9V) by the voltage divider network formed by the second resistor R2 and the pull-up resistor inside the external charging device. When the control module 322 detects that the voltage at the second connection node B is the first threshold, it initially determines that the currently connected device is a charging device.
[0067] In response to the PWM signal being at a preset frequency, the control module 322 confirms that the external charging device has completed correct identification and connection handshake. At this time, the control module 322 controls the third switch module 42 to conduct, connecting the branch containing the third switch module 42 to the circuit, causing the voltage at the second connection node B to change from the first threshold (e.g., pulled low) to the second threshold (e.g., 6V). Simultaneously, the control module 322 controls the first switch module 31 to conduct, allowing external power to be connected to the on-board charger 41 via the charging plug 1, the first switch module 31, the discharging plug 2, and the socket 12. The on-board charger 41 converts the externally input AC power into DC power to charge the vehicle's power battery, and the system enters charging mode.
[0068] It is worth noting that the second threshold is lower than the first threshold. The ratio between the resistance of the second resistor R2 and the resistance of the pull-up resistor inside the external charging device determines the specific value of the first threshold. The ratio between the equivalent resistance of the branch containing the third switch module 42 and the pull-up resistor inside the external charging device determines the specific value of the second threshold. Preferably, the first threshold can be set to 9V, and the second threshold can be set to 6V.
[0069] Therefore, the power supply control system provided in this application adopts a four-step control strategy during the charging process: "voltage determination → PWM communication confirmation → secondary voltage confirmation → power supply activation". This application first detects that the voltage at the second connection node B is at a first threshold to preliminarily confirm the charging device connection; then, it detects that the PWM signal is at a preset frequency to confirm that the external charging device has completed the connection handshake; subsequently, it controls the third switch module 42 to conduct, changing the voltage at the second connection node B from the first threshold to the second threshold, completing the secondary confirmation. Only after all three conditions are met is the first switch module 31 activated to introduce charging power. Compared to a single voltage detection scheme, this application's multi-verification mechanism effectively avoids the risk of high-voltage misconnection caused by incorrect insertion of external devices, signal interference, or communication anomalies, significantly improving the safety and reliability of the charging process. Furthermore, the third switch module 42 only activates after confirming the identity of the charging device, remaining off in discharge mode and standby mode, reducing static power consumption.
[0070] In one example, such as Figure 4 and Figure 5 As shown, the third switch module 42 includes a third switch K3 and a third resistor R3. One end of the third resistor R3 serves as one end of the third switch module 42 and is connected to the second connection node B and one end of the second resistor R2. The other end of the third resistor R3 is connected to the first end of the third switch K3. The second end of the third switch K3 serves as the second end of the third switch module 42 and is connected to the other end of the second resistor R2 via a common ground connection.
[0071] In this embodiment, the controlled end of the third switch K3 is connected to the control module 32 (e.g., connected to the control module 322), and the control module 32 controls the opening and closing of the third switch K3.
[0072] When the third switch K3 is turned on, the third resistor R3 is grounded through the third switch K3, and the second connection node B forms a conductive path with ground through the third resistor R3. At this time, the third resistor R3 and the pull-up resistor inside the external charging device form a voltage divider network, changing the voltage at the second connection node B from the first threshold (e.g., pulling it down) to the second threshold. When the third switch K3 is turned off, the branch containing the third resistor R3 is disconnected and does not participate in the voltage divider.
[0073] It should be understood that by reasonably setting the resistance values of the second resistor R2 and the third resistor R3, the first threshold and the second threshold can be set to the target values.
[0074] Through the above configuration, this embodiment of the application sets a third resistor R3 in the third switch module 42, making the setting of the second threshold independent of the second resistor R2. Both can be designed independently, improving the flexibility of circuit parameter configuration. Simultaneously, the third resistor R3 is only connected to the circuit when the third switch K3 is on, and is isolated from the circuit in discharge mode and standby mode, further reducing static power consumption.
[0075] Optionally, the first switch K1, the second switch K2, the third switch K3, the fourth switch K4, and the fifth switch K5 may be hardware switches, N-Metal Oxide Semiconductor (NMOS) field-effect transistors, P-Metal Oxide Semiconductor (PMOS) field-effect transistors, Insulated Gate Bipolar Transistors (IGBTs), transistors, relay circuits, or other devices or circuits capable of switching on and off. This application embodiment does not limit this.
[0076] Furthermore, based on the aforementioned first operating mode (discharge mode) and second operating mode (charging mode), the control module 32 is also configured to execute the following fault detection and protection strategies: At the initial moment of connection between the discharge plug 2 and the socket 12, the control module 32 first controls the first switch module 31 to remain in the off state and collects the voltage and current signals at the second connection node B. If the control module 32 detects that the voltage change rate at the second connection node B exceeds a preset change rate threshold, or detects that the transient current peak at the second connection node B exceeds a preset current threshold, it determines that there is a short circuit fault or abnormal insertion / removal arcing in the current connection. At this time, the control module 32 prohibits switching to the first or second working mode and issues a fault alarm signal through the vehicle body module 4 to prompt the user to check the status of the socket and external equipment.
[0077] In the first operating mode, the control module 32 is also configured to monitor the voltage value at the second connection node B and the current value in the power supply path in real time. If the voltage value at the second connection node B is detected to be lower than the preset undervoltage threshold, or the current value in the power supply path is detected to exceed the preset overcurrent threshold, it is determined that there is an undervoltage fault or an overcurrent fault in the current discharge process. At this time, the control module 32 controls the first switch module 31 to remain open and cuts off the power output from the vehicle power battery to the discharge plug 2 to protect the vehicle power battery and external electrical loads.
[0078] In the second operating mode, the control module 32 is also configured to monitor the input voltage value on the charging plug 1 side and the charging current value in the power supply path in real time during the conduction of the first switch module 31. If the input voltage value on the charging plug 1 side exceeds the preset charging voltage range, or the charging current value in the power supply path exceeds the preset charging overcurrent threshold, it is determined that there is an overvoltage fault or overcurrent fault in the current charging process. At this time, the control module 32 controls the first switch module 31 to turn off, thereby cutting off the power supply path between the charging plug 1 and the discharging plug 2, thus protecting the vehicle's power battery from overcharging or overcurrent damage.
[0079] Furthermore, the control module 32 is configured to perform the aforementioned fault detection steps cyclically at a preset period (e.g., 100ms) while the discharge plug 2 and socket 12 are continuously connected. When the fault is detected and eliminated, the control module 32 automatically returns to the operating mode before the fault occurred; if the same fault occurs repeatedly within a preset number of times (e.g., 3 consecutive times), the control module 32 locks the current fault state, which can only be unlocked by the user manually unplugging and replugging the discharge plug 2 or by sending a reset command through the vehicle body module 4.
[0080] Thus, through multiple fault detection and hierarchical protection mechanisms, the safety, reliability and anti-interference capability of the power supply control system during charging and discharging are further improved, avoiding system damage caused by grid fluctuations, load changes or equipment abnormalities.
[0081] In summary, the power supply control system provided in this application embodiment does not require the addition of a dedicated charging interface and its corresponding high-voltage charging circuit on the vehicle. Instead, it integrates the charging and discharging functions by reusing the vehicle's existing external discharge socket 12.
[0082] Therefore, compared to existing technologies that require adding a dedicated charging socket for HEV models, this application eliminates the need for additional charging interfaces, high-voltage wiring harnesses, and body sheet metal structure molds, significantly reducing material costs and assembly processes, and shortening the development cycle. Simultaneously, by reusing the existing discharge socket 12 as a charging interface, there is no need to add new openings to the vehicle surface or alter the vehicle's shape, avoiding changes to the vehicle's appearance and interior space layout caused by adding a charging socket, thus maintaining the integrity and compactness of the vehicle structure. Secondly, by controlling the voltage of the second connection node B, the voltage detection module 32 can automatically identify the type of currently connected device: when the voltage is zero, the system determines that the currently connected device is an electrical load and automatically switches to discharge mode; when the voltage reaches a first threshold, the system determines that the currently connected device is a charging device and automatically switches to charging mode. Therefore, users do not need to manually set the charging and discharging modes; the system can adaptively switch operating modes according to the type of connected device, simplifying user operation.
[0083] Furthermore, since this application reuses the existing socket 12 and identifies devices via the CP signal, the first switch module 31 remains in the off state before the charging device is inserted. This prevents the high-voltage electricity on the charging plug 1 side from prematurely introducing into the discharge plug 2 and socket 12, effectively avoiding safety hazards caused by misinsertion or short circuits. The system only activates the first switch module 31 after confirming that the connected device is a charging device, allowing external power to be connected to the vehicle's power battery, thus ensuring the safety and reliability of the charging process.
[0084] In one example Figure 6 This is a schematic flowchart of a power supply control method provided in an embodiment of this application; the method 600 includes S601 to S603; S601 to S603 are described in detail below.
[0085] The power supply control method is applied to the aforementioned power supply control system, which can be as follows: Figures 3 to 5 As shown. For example, as Figure 3 As shown, the power supply control system includes a charging plug 1, a discharging plug 2, a power supply device 3, and a vehicle body module 4; the power supply device 3 includes a first switch module 31 and a control module 32.
[0086] S601. When the discharge plug is connected to the socket, obtain the voltage of the second connection node.
[0087] It should be understood that the socket is the vehicle's external discharge interface, used for connecting external electrical devices to enable the vehicle to discharge power. In this embodiment, the socket is also reused as a charging interface, used for connecting charging devices to enable the charging of the vehicle's power battery.
[0088] It should also be understood that when the discharge plug is connected to the socket (i.e., when the discharge plug is inserted into the socket), a power supply channel and a CP signal transmission channel are established between the discharge plug and the socket. At this time, the first connection node is electrically connected to the second connection node through the discharge plug and the socket. Thus, the control module can establish a CP signal transmission channel with the vehicle body module through the discharge plug and the socket, thereby obtaining the voltage status at the second connection node.
[0089] S602. In response to the voltage of the second connection node being zero, switch to the first operating mode and control the first switching module to disconnect so that the system enters the discharge mode.
[0090] For example, if the voltage of the second connection node is zero, the currently connected external device is determined to be an electrical load (e.g., a household appliance), and the system switches to the first operating mode (i.e., the discharge mode). In the first operating mode, the first switch module is disconnected to cut off the power supply path between the charging plug and the discharging plug. At this time, the electrical energy of the vehicle's power battery supplies power to the external electrical load through the discharging plug and socket, and the system enters the discharge mode to realize the vehicle's external discharge function.
[0091] S603, in response to the voltage of the second connection node being a first threshold, switch to the second operating mode and control the first switch module to turn on, so that the system enters the charging mode.
[0092] For example, if the voltage of the second connection node is a first threshold (e.g., 9V), the currently connected external device is determined to be a charging device (e.g., a standard charging gun), and the system switches to the second operating mode (i.e., charging mode). In the second operating mode, the first switch module is turned on to connect the power supply path between the charging plug and the discharging plug. At this time, the electrical energy of the external charging device flows into the vehicle's power battery through the charging plug, the first switch module, and the discharging plug, and the system enters the charging mode to realize the function of charging the vehicle's power battery.
[0093] It should be understood that this application does not require the addition of a dedicated charging interface and its corresponding high-voltage charging circuit to the vehicle. Instead, the charging and discharging functions can be integrated by reusing the vehicle's existing external discharge socket.
[0094] Therefore, compared to existing technologies that require adding a dedicated charging socket for HEV models, this application eliminates the need for additional charging interfaces, high-voltage wiring harnesses, and body sheet metal structure molds, significantly reducing material costs and assembly processes, and shortening the development cycle. Furthermore, by reusing the existing discharge socket as a charging interface, there is no need to add new openings or alter the body shape, avoiding changes to the vehicle's appearance and interior space layout caused by adding a charging socket, thus maintaining the integrity and compactness of the vehicle structure. Secondly, by detecting the voltage of the second connection node, the system can automatically identify the type of currently connected device: when the voltage is zero, the system determines that the connected device is an electrical load and automatically switches to discharge mode; when the voltage reaches a first threshold, the system determines that the connected device is a charging device and automatically switches to charging mode. Therefore, users do not need to manually set the charging and discharging modes; the system can adaptively switch operating modes according to the type of connected device, simplifying user operation.
[0095] Furthermore, since this application reuses existing sockets and identifies devices via CP signals, the first switch module remains in the off state before the charging device is inserted. This prevents high-voltage electricity from the charging plug side from prematurely introducing into the discharge plug and socket, effectively avoiding safety hazards caused by misinsertion or short circuits. The system only activates the first switch module after confirming that the connected device is a charging device, allowing external power to be connected to the vehicle's power battery, thus ensuring the safety and reliability of the charging process.
[0096] The following is about Figure 6 The implementation of the steps in the illustrated embodiments will be explained in detail below: Regarding step S603, in some embodiments, in response to the voltage of the second connection node being a first threshold, switching to the second operating mode and controlling the first switch module to conduct, so that the system enters the charging mode, specifically includes: in response to the voltage of the second connection node being a first threshold, controlling the common terminal of the second switch module to connect with the second selection terminal of the second switch module, and acquiring a pulse width modulation signal; in response to the pulse width modulation signal being a preset frequency, controlling the third switch module and the first switch module to conduct, so that the system enters the charging mode.
[0097] It should be understood that, in the embodiments of this application, the second switch module is used to switch different circuit paths in the first working mode and the second working mode to adapt to the different requirements of the discharge condition and the charging condition for the electrical signal at the first connection node.
[0098] Specifically, in the first operating mode (i.e., discharge mode), the common terminal of the control second switch module is connected to the first selection terminal of the second switch module. At this time, the first resistor is connected to the power supply terminal of the control module through the second switch module, and the first connection node is pulled up to the supply voltage. When an external electrical device is connected, the internal resistance of the external electrical device and the first resistor form a voltage divider network, pulling down the voltage at the second connection node. Since the first connection node and the second connection node are electrically connected when the discharge plug is connected to the socket, the control module can obtain the voltage status at the second connection node by detecting the voltage at the first connection node. When the detected voltage is close to 0V, it is determined that the currently connected device is an electrical load, and then the first switch module is controlled to disconnect, cutting off the power supply path between the charging plug side and the discharging plug side, allowing only the power energy of the vehicle's power battery to supply power to the external electrical device through the socket, and the system enters the discharge mode.
[0099] In the second operating mode (i.e., charging mode), the common terminal of the second switch module is connected to the second selection terminal of the second switch module. At this time, the first resistor is connected to the control terminal of the control module through the second switch module, and the control module outputs a PWM signal through this path. This PWM signal is transmitted to the second connection node of the vehicle module via the first connection node, the discharge plug, and the socket. The external charging device receives the PWM signal through its internal control guidance circuit and analyzes the frequency of the PWM signal.
[0100] When the third switch module is not turned on, the voltage at the second connection node is set to a first threshold (e.g., 9V) by a voltage divider network consisting of the second resistor and the pull-up resistor inside the external charging device. When the voltage at the second connection node is detected to be at the first threshold, it is preliminarily determined that the currently connected device is a charging device. In response to the PWM signal being at a preset frequency, it is confirmed that the external charging device has completed correct identification and connection handshake. Subsequently, the third switch module and the first switch module are turned on to put the system into charging mode.
[0101] Furthermore, in some embodiments, controlling the third switch module and the first switch module to be turned on specifically includes: controlling the first switch module to be turned on in response to the voltage of the second connection node being a second threshold.
[0102] It should be understood that, in the embodiments of this application, the voltage state at the second connection node is changed by connecting the branch where the third switch module is located to the circuit in the charging mode.
[0103] Specifically, in response to a preset frequency PWM signal, the system confirms that the external charging device has successfully completed the identification and connection handshake. At this time, the third switch module is turned on, connecting the branch containing the third switch module to the circuit, causing the voltage at the second connection node to change from the first threshold (e.g., pulled low) to the second threshold (e.g., 6V). Simultaneously, the first switch module is turned on, allowing external power to be connected to the on-board charger via the charging plug, the first switch module, the discharging plug, and the socket. The on-board charger converts the external AC power into DC power to charge the vehicle's power battery, and the system enters charging mode.
[0104] It is worth noting that the second threshold is lower than the first threshold. The ratio between the resistance of the second resistor and the resistance of the pull-up resistor inside the external charging device determines the specific value of the first threshold. The ratio between the equivalent resistance of the branch containing the third switch module and the pull-up resistor inside the external charging device determines the specific value of the second threshold. Preferably, the first threshold can be set to [value missing], and the second threshold can be set to [value missing].
[0105] Therefore, the power supply control method provided in this application adopts a four-step control strategy during the charging process: "voltage determination → PWM communication confirmation → secondary voltage confirmation → power supply activation". This application first detects that the voltage at the second connection node is at a first threshold to preliminarily confirm the charging device connection; then, it detects that the PWM signal is at a preset frequency to confirm that the external charging device has completed the connection handshake; subsequently, it controls the third switch module to activate, changing the voltage at the second connection node from the first threshold to the second threshold, completing the secondary confirmation. Only after all three conditions are met is the first switch module activated to introduce charging power. Compared to a single voltage detection scheme, this application's multi-verification mechanism effectively avoids the risk of high-voltage misconnection caused by incorrect insertion of external devices, signal interference, or communication anomalies, significantly improving the safety and reliability of the charging process. Secondly, the third switch module only activates after confirming the identity of the charging device, remaining off in discharge mode and standby mode, reducing static power consumption.
[0106] Furthermore, based on the aforementioned first operating mode (discharge mode) and second operating mode (charging mode), the method further includes: at the initial moment of connection between the discharge plug and the socket, controlling the first switch module to remain in the off state, and acquiring the voltage and current signals at the second connection node. In response to the voltage change rate at the second connection node exceeding a preset change rate threshold, or the transient current peak value at the second connection node exceeding a preset current threshold, it is determined that a short circuit fault or abnormal insertion / removal arcing exists in the current connection. At this time, switching to the first or second operating mode is prohibited, and a fault alarm signal is issued to prompt the user to check the status of the socket and external devices.
[0107] In the first operating mode, the voltage value at the second connection node and the current value in the power supply path are acquired. If the voltage value at the second connection node is lower than a preset undervoltage threshold, or the current value in the power supply path exceeds a preset overcurrent threshold, an undervoltage fault or overcurrent fault is determined in the current discharge process. At this time, the first switch module is kept open, and the power output from the vehicle's power battery to the discharge plug is cut off to protect the vehicle's power battery and external electrical loads.
[0108] In the second operating mode, during the conduction of the first switch module, the input voltage value on the charging plug side and the charging current value in the power supply path are acquired. If the input voltage value on the charging plug side exceeds a preset charging voltage range, or the charging current value in the power supply path exceeds a preset charging overcurrent threshold, an overvoltage fault or overcurrent fault is determined to exist in the current charging process. At this time, the first switch module is controlled to turn off, thereby cutting off the power supply path between the charging plug and the discharging plug, thus protecting the vehicle's power battery from overcharging or overcurrent damage.
[0109] Furthermore, while the discharge plug and socket remain connected, the above fault detection steps are executed cyclically at a preset period. Once the fault is detected and eliminated, the system automatically returns to the operating mode before the fault occurred. If the same fault occurs repeatedly within a preset number of times (e.g., 3 consecutive times), the current fault state is locked, and the lock can only be released by the user manually unplugging and replugging the discharge plug or by sending a reset command through the vehicle body module.
[0110] Figure 7 This is a schematic flowchart illustrating another power supply control method provided in an embodiment of this application. The method 700 includes steps S701 to S708; steps S701 to S708 are described in detail below.
[0111] S701, Connect the discharge plug to the socket.
[0112] In this step, it is checked whether the discharge plug is connected to the socket. When the discharge plug is inserted into the socket, the first connection node is electrically connected to the second connection node through the discharge plug and the socket, and a control guidance signal transmission channel is established between the control module and the body module.
[0113] S702. Obtain the voltage of the second connection node. If the voltage of the second connection node is 0, then execute S703; if the voltage of the second connection node is the first threshold, then execute S704. In this step, the voltage at the second connection node is obtained, and the type of the currently connected device is determined based on the voltage value. When the voltage at the second connection node is 0 (or close to 0V), the currently connected device is determined to be an electrical load (such as a household appliance); if the voltage at the second connection node is a first threshold (such as 9V), the currently connected device is determined to be a charging device (such as a standard charging gun).
[0114] S703, Enter discharge mode.
[0115] In this step, the control module switches to the first operating mode (i.e., discharge mode) and controls the first switch module to disconnect, cutting off the power supply path between the charging plug side and the discharging plug side. At this time, the electrical energy of the vehicle's power battery supplies power to external electrical equipment through the discharge plug and socket, and the system enters the discharge mode.
[0116] S704, Enter charging mode.
[0117] In this step, the control module switches to the second operating mode (i.e., charging mode), connecting the common terminal of the second switch module to the second selection terminal of the second switch module, thus connecting the first resistor to the control terminal of the control module. The control module outputs a PWM signal through this path.
[0118] S705. Obtain the PWM signal. If the PWM signal is a preset frequency, execute S706; if the PWM signal is not a preset frequency, continue executing S705.
[0119] It should be understood that if the frequency of the PWM signal is the preset frequency, it indicates that the external charging device has completed the correct identification and connection handshake. If the frequency of the PWM signal is not the preset frequency, it indicates that the external charging device has not been correctly identified or there is a communication error. In this case, S705 will continue to be executed, and the PWM signal will be continuously monitored until the condition is met or the timeout occurs.
[0120] Optionally, in step S705, if the control module does not detect the PWM signal at the preset frequency within a preset time (e.g., 3 seconds), the control system exits the charging mode and returns to the standby state to avoid power loss caused by long-term invalid detection.
[0121] S706, Close the third switch module; S707, the voltage of the first connection node decreases from the first threshold to the second threshold, closing the first switch module.
[0122] In response to the PWM signal being at a preset frequency, the control module controls the third switch module to turn on. After the third switch module is turned on, the branch containing the third resistor is connected to the circuit, forming a voltage divider network with the pull-up resistor inside the external charging device, causing the voltage at the second connection node to change (e.g., pull down) from the first threshold (e.g., 9V) to the second threshold (e.g., 6V).
[0123] In response to the voltage at the second connection node changing from the first threshold to the second threshold, the control module confirms that the charging device has completed the entire connection handshake process, and then controls the first switch module to turn on, so that the external power supply is connected to the on-board charger through the charging plug, the first switch module, the discharge plug and the socket.
[0124] S708 received 220V power and started charging.
[0125] The on-board charger converts the externally input 220V AC power into DC power to charge the vehicle's power battery, and the system enters charging mode.
[0126] Figure 8 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0127] For example, such as Figure 8 As shown, the vehicle 8 includes a memory 81 and a processor 82, wherein the memory 81 stores executable program code 811, and the processor 82 is used to call and execute the executable program code 811 to perform a power supply control method.
[0128] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0129] When each functional module is divided according to its corresponding function, the device may also include a judgment module, an activation module, and a control module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0130] It should be understood that the device provided in this embodiment is used to execute the above-described power supply control method, and therefore can achieve the same effect as the above-described implementation method.
[0131] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code and data.
[0132] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.
[0133] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a power supply control method provided in the above embodiments.
[0134] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement a power supply control method provided in the above embodiment.
[0135] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a power supply control method provided in the above embodiment.
[0136] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0137] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above 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.
[0138] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0139] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A power supply control system applied to a hybrid vehicle, wherein the vehicle is equipped with a socket for external power discharge, characterized in that, The power supply control system includes a charging plug, a discharging plug, a power supply device, and a vehicle body module. The power supply device includes a first switch module and a control module. The first switch module is connected in series between the charging plug and the discharging plug. The control module has a first connection node, which is connected to the discharging plug. The body module is connected to the socket, and the body module has a second connection node; When the discharge plug is connected to the socket, the first connection node is electrically connected to the second connection node through the discharge plug and the socket; The control module is configured as follows: When the discharge plug is connected to the socket, the voltage of the second connection node is obtained; In response to the voltage of the second connection node being zero, the system switches to the first operating mode and controls the first switching module to disconnect, so that the system enters the discharge mode. In response to the voltage of the second connection node being a first threshold, the system switches to a second operating mode and controls the first switch module to turn on, so that the system enters a charging mode.
2. The power supply control system according to claim 1, characterized in that, The control module includes a first resistor, a second switch module, and a control module; One end of the first resistor serves as the first connection node and is connected to the discharge plug. The other end of the first resistor is connected to the common terminal of the second switch module. The first selection terminal of the second switch module is connected to the power supply terminal of the control module. The second selection terminal of the second switch module is connected to the control terminal of the control module. The control module is also connected to the controlled terminal of the first switch module and the controlled terminal of the second switch module. In the first working mode, the common terminal of the second switch module is connected to the first selection terminal of the second switch module; In the second operating mode, the common terminal of the second switch module is connected to the second selection terminal of the second switch module, and the control module outputs a pulse width modulation signal.
3. The power supply control system according to claim 2, characterized in that, The second switch module includes a single-pole double-throw switch; The common terminal of the single-pole double-throw switch is connected to the other end of the first resistor, the first selection terminal of the single-pole double-throw switch is connected to the power supply terminal of the control module, and the second selection terminal of the single-pole double-throw switch is connected to the control terminal of the control module. or, The second switch module includes a first switch and a second switch. The first end of the first switch and the first end of the second switch are connected to a common node. The common node is connected to the other end of the first resistor. The second end of the first switch is connected to the power supply terminal of the control module. The second selection terminal of the second switch is connected to the control terminal of the control module.
4. The power supply control system according to any one of claims 1-3, characterized in that, The vehicle body module includes an on-board charger, a second resistor, and a third switch module; The node where the on-board charger is connected to the socket serves as the second connection node. The second connection node is connected to one end of the second resistor and one end of the third switch module. The other end of the second resistor and the second end of the third switch module are connected to the same ground. In the second operating mode, the third switch module is turned on, and the voltage of the second connection node is a second threshold, which is lower than the first threshold.
5. The power supply control system according to claim 4, characterized in that, The third switch module includes a third switch and a third resistor; One end of the third resistor serves as one end of the third switch module and is connected to the second connection node and one end of the second resistor. The other end of the third resistor is connected to the first end of the third switch. The second end of the third switch serves as the second end of the third switch module and is connected to the other end of the second resistor.
6. A power supply control method, characterized in that, Applied to the power supply control system as described in any one of claims 1-5, the method comprises: When the discharge plug is connected to the socket, the voltage of the second connection node is obtained; In response to the voltage of the second connection node being zero, the system switches to the first operating mode and controls the first switching module to disconnect, so that the system enters the discharge mode. In response to the voltage of the second connection node being a first threshold, the system switches to a second operating mode and controls the first switch module to turn on, so that the system enters a charging mode.
7. The power supply control method according to claim 6, characterized in that, The step of switching to a second operating mode and controlling the first switch module to conduct in response to the voltage of the second connection node being a first threshold, so that the system enters a charging mode, includes: In response to the voltage of the second connection node being the first threshold, the common terminal of the second switching module is connected to the second selection terminal of the second switching module, and a pulse width modulation signal is acquired; In response to the pulse width modulation signal being at a preset frequency, the third switch module and the first switch module are controlled to be turned on, so that the system enters the charging mode.
8. The power supply control method according to claim 7, characterized in that, The control of the third switch module and the first switch module to be turned on includes: In response to the voltage of the second connection node being a second threshold, the first switch module is controlled to turn on.
9. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the power supply control method as described in any one of claims 6 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the power supply control method as described in any one of claims 6 to 8.