Vehicle charging and discharging method, system and controller
By designing a multi-mode vehicle charging and discharging system, and utilizing a combination of vehicle controller and relays, multiple scenarios such as DC charging, AC charging, external discharge, and internal discharge are realized. This solves the problem of a single charging mode in existing technologies, improves user experience, and extends the life of relays.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING CHANGAN AUTOMOBILE CO LTD
- Filing Date
- 2023-06-28
- Publication Date
- 2026-04-21
AI Technical Summary
Existing vehicle charging and discharging systems have relatively simple charging or discharging control modes, failing to realize AC external and internal discharging scenarios in DC charging mode, and do not consider various user scenarios, resulting in insufficient user experience.
Design a vehicle charging and discharging system, including a power battery pack, a power battery controller, a bidirectional on-board charger, DC and AC charging and discharging sockets, and an in-vehicle discharging socket. The vehicle controller determines multiple charging and discharging modes based on the detected operating parameters and the in-vehicle discharging socket signal, and controls the operating modes of the relays and the bidirectional on-board charger to realize multiple scenarios such as DC charging, AC charging, external discharging, and internal discharging.
This approach expands user scenarios, enhances the user charging experience, reduces the number of times relays are switched on and off, and extends the lifespan of relays without increasing the overall vehicle cost.
Smart Images

Figure CN116872763B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle charging and discharging technology, specifically to a vehicle charging and discharging method, system, and controller. Background Technology
[0002] With the rapid development of new energy vehicles, users' demand for charging and electricity consumption is becoming increasingly strong, leading to a proliferation of charging and electricity consumption scenarios. These diverse scenarios bring about various functional modes, such as: AC / DC charging at public charging stations, home charging stations, outdoor camping and power dissipation, in-vehicle 220V power consumption, and simultaneous charging and power consumption. Therefore, designing a reasonable vehicle electrical system architecture and strategy to achieve safe and efficient charging and power consumption is crucial.
[0003] Existing vehicle charging and discharging systems have relatively simple charging or discharging control modes, and none of them consider scenarios where AC discharge to external and internal systems can be simultaneously achieved in DC charging mode. Therefore, without increasing the overall vehicle cost, how to design a reasonable vehicle electrical system architecture and strategy to ensure expanded user scenarios and enhanced user charging experience has become an urgent problem to be solved. Summary of the Invention
[0004] One objective of this invention is to provide a vehicle charging and discharging method to solve the problem of relatively simple charging or discharging control modes in the prior art; another objective is to provide a vehicle charging and discharging system; and a third objective is to provide a controller.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A vehicle charging and discharging system, the system comprising:
[0007] Power battery pack;
[0008] A power battery controller, which is connected to the power battery pack;
[0009] A two-way on-board charger, which is connected to the power battery pack;
[0010] A DC charging and discharging socket for connecting to a DC charging and discharging gun is connected to the power battery pack via a first normally open switch of a first relay, and forms a DC charging circuit with the power battery pack.
[0011] An AC charging and discharging socket for connecting to an AC charging and discharging gun is connected to the bidirectional vehicle charger via a normally closed switch of a second relay, forming an AC charging and discharging circuit with the bidirectional vehicle charger and the power battery pack.
[0012] The in-vehicle discharge socket for connecting to in-vehicle electrical equipment is connected to the bidirectional vehicle charger via the second normally open switch of the third relay, and together with the bidirectional vehicle charger and the power battery pack, they form an AC internal discharge circuit.
[0013] The vehicle controller is connected to the bidirectional on-board charger, the power battery controller, the first relay, the second relay, the third relay, and the in-vehicle discharge socket.
[0014] Preferably, it also includes a charging cover switch, which is connected to the vehicle controller.
[0015] A vehicle charging and discharging method, applied to the vehicle charging and discharging system described above, the method comprising the following:
[0016] S1: Obtain the external charging and discharging mode sent by the power battery controller, wherein the external charging and discharging mode is determined by the power battery controller from the operating parameters detected by the DC charging and discharging socket and the AC charging and discharging socket;
[0017] S2: Determine the final charging and discharging mode based on the external charging and discharging mode and the detected signal from the in-vehicle discharge socket;
[0018] S3: Based on the final charging and discharging mode, the vehicle controller sends control signals to the first relay, the second relay, and the third relay, and requests different operating modes from the bidirectional on-board charger, so as to operate according to the instructions corresponding to the charging and discharging mode.
[0019] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as DC charging mode, the control is performed in the following manner:
[0020] S101: The power battery controller identifies the external charging / discharging mode as DC charging mode and sends it to the vehicle controller via the CAN bus;
[0021] S102: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is DC charging mode, and at the same time detects that the in-vehicle discharge socket switch is in the off state; then it determines that the final charging and discharging mode is DC charging mode only.
[0022] S103: The vehicle controller, based on the final charging and discharging mode being DC charging mode only, controls the first normally open switch of the first relay to close, while simultaneously keeping the second normally open switch of the third relay open and the normally closed switch of the second relay closed, and requests the bidirectional on-board charger to be in standby mode via the CAN bus.
[0023] S104: Current flows through the DC charging / discharging socket and charges the power battery pack via the first relay.
[0024] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as DC charging mode, the control is performed in the following manner:
[0025] S201: The power battery controller identifies the external charging / discharging mode as DC charging mode and sends it to the vehicle controller via the CAN bus;
[0026] S202: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is DC charging mode, and at the same time detects that the in-vehicle discharge socket switch is in the on state; then it determines that the final charging and discharging mode is DC charging and AC internal discharge mode.
[0027] S203: The vehicle controller, based on the final charging and discharging mode being DC charging and AC internal discharging mode, controls the second normally open switch of the third relay to close, controls the first normally open switch of the first relay to close, keeps the normally closed switch of the second relay closed, and requests the bidirectional on-board charger to be in inverter mode via the CAN bus.
[0028] S204: The current passes through the DC charging and discharging socket and charges the power battery pack through the first relay; at the same time, after being inverted by the bidirectional vehicle charger, it passes through the third relay to the vehicle discharge socket to supply power to the first electrical device.
[0029] Furthermore, the DC charging mode is determined by the power battery controller detecting the resistance value of CC1 as R1 at the DC charging / discharging socket, and confirming that no effective value of the resistance value of CC2 and the effective value of the voltage value of CP are detected at the AC charging / discharging socket.
[0030] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as an "no external charging / discharging mode", the control is performed in the following manner:
[0031] S301: The power battery controller identifies the external charging / discharging mode as no external charging / discharging mode and sends it to the vehicle controller via the CAN bus.
[0032] S302: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is no external charging and discharging mode, and at the same time detects that the in-vehicle discharge socket switch is in the on state; then it determines that the final charging and discharging mode is AC-only internal discharge mode.
[0033] S303: The vehicle controller, based on the final charging and discharging mode being AC-only internal discharge mode, controls the second normally open switch of the third relay to close, while keeping the first normally open switch of the first relay open and the normally closed switch of the second relay closed, and requests the bidirectional on-board charger to be in inverter mode via the CAN bus.
[0034] S304: The current flows through the power battery pack, the bidirectional on-board charger, the third relay, and finally to the vehicle discharge socket, thereby powering the first electrical device.
[0035] Furthermore, the no-external-connection charging / discharging mode is determined by the power battery controller when no valid value of the CC1 resistance is detected at the DC charging / discharging socket, and no valid value of the CC2 resistance and CP voltage are detected at the AC charging / discharging socket.
[0036] Furthermore, the status signal of the charging cover switch is also detected. If the charging cover switch is open, the normally closed switch of the second relay is opened; if the charging cover switch is closed, the normally closed switch of the second relay is kept closed.
[0037] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is AC charging mode, the control is performed as follows:
[0038] S401: The power battery controller identifies the external charging / discharging mode as AC charging mode and sends it to the vehicle controller via the CAN bus.
[0039] S402: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is AC charging mode; and at the same time, it also detects that the in-vehicle discharge socket switch is in the off state, then determines that the final charging and discharging mode is AC charging mode only.
[0040] S403: The vehicle controller, based on the final charging / discharging mode being AC charging only, controls the first normally open switch of the first relay to open, while keeping the second normally open switch of the third relay open and the normally closed switch of the second relay closed, and requests the bidirectional on-board charger to be in rectification mode via the CAN bus;
[0041] S404: The current passes through the AC charging and discharging socket, and then through the second relay and the rectified DC power of the bidirectional vehicle charger to charge the power battery pack.
[0042] Furthermore, the AC charging mode is determined by the power battery controller when no valid value of the CC1 resistance is detected at the DC charging / discharging socket, and the CC2 resistance value is R2 and the CP voltage value is U1 detected at the AC charging / discharging socket.
[0043] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as AC discharge mode, the control is performed in the following manner:
[0044] S501: The power battery controller identifies the external charging and discharging mode as AC discharge mode and sends it to the vehicle controller via the CAN bus.
[0045] S502: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is AC discharge mode, and at the same time detects that the in-vehicle discharge socket switch is in the off state; then it determines that the final charging and discharging mode is AC external discharge mode only.
[0046] S503: The vehicle controller, based on the final charging and discharging mode being AC-only external discharge mode, controls the first normally open switch of the first relay and the second normally open switch of the third relay to open, keeps the normally closed switch of the second relay normally closed, and requests the bidirectional on-board charger to be in inverter mode via the CAN bus.
[0047] S504: Current flows through the power battery pack, then through the bidirectional vehicle charger, then through the second relay, the AC charging and discharging socket, and finally to the external discharge socket connected to the AC charging and discharging socket, thereby powering the second electrical device.
[0048] Furthermore, the AC discharge mode is confirmed by the power battery controller when no valid value of the CC1 resistance is detected at the DC charging / discharging socket, and when the external discharge socket connection signal is detected at the AC charging / discharging socket and the CC2 resistance value detected at the AC charging / discharging socket is R3.
[0049] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as an external AC discharge mode, the control is performed in the following manner:
[0050] S601: The power battery controller identifies the external charging and discharging mode as the external AC discharge mode and sends it to the vehicle controller via the CAN bus.
[0051] S602: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is an external AC discharge mode, and at the same time detects that the in-vehicle discharge socket switch is in the on state; then it determines that the final charging and discharging mode is AC external to internal discharge mode.
[0052] S603: The vehicle controller, based on the final charging and discharging mode being AC external to internal discharge mode, controls the second normally open switch of the third relay to close, keeps the normally closed switch of the second relay closed, and keeps the first normally open switch of the first relay open; and requests the bidirectional on-board charger to be in inverter mode via the CAN bus.
[0053] S604: The current flows through the power battery pack to the bidirectional vehicle charger, then splits into two paths: one through the third relay to the in-vehicle discharge socket to power the first electrical device, and the other through the second relay to the AC charging / discharging socket, and finally to the external discharge socket connected to the AC charging / discharging socket to power the second electrical device.
[0054] Furthermore, the external AC discharge mode is confirmed by the power battery controller when it detects the external discharge socket connection signal from the AC charging and discharging socket and the CC2 resistance value detected from the AC charging and discharging socket is R3.
[0055] Preferably, in step S1, when the external charging / discharging mode sent by the power battery controller is obtained as DC charging and AC discharging mode, the control is performed in the following manner:
[0056] S701: The power battery controller identifies the external charging and discharging modes as DC charging and AC discharging, and sends them to the vehicle controller via the CAN bus.
[0057] S702: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller is DC charging and AC discharging mode, and at the same time detects that the in-vehicle discharge socket switch is in the off state; then it determines that the final charging and discharging mode is DC charging and external AC discharging mode.
[0058] S703: The vehicle controller, based on the final charging and discharging mode being DC charging and external AC discharging mode, controls the first normally open switch of the first relay to close, keeps the normally closed switch of the second relay closed, keeps the second normally open switch of the third relay open, and requests the bidirectional on-board charger to be in inverter mode via the CAN bus.
[0059] S704: The current passes through the DC charging and discharging socket and charges the power battery pack through the first relay; at the same time, after being inverted by the bidirectional vehicle charger, it passes through the second relay and the AC charging and discharging socket, and finally to the external discharge socket connected to the AC charging and discharging socket to supply power to the second electrical device.
[0060] Furthermore, the DC charging and AC discharging modes are confirmed by the power battery controller when the resistance value of CC1 detected at the DC charging / discharging socket is R1, and when the external discharge socket connection signal is detected at the AC charging / discharging socket and the resistance value of CC2 detected at the AC charging / discharging socket is R3.
[0061] A controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor reads the program from the memory and executes the steps of the vehicle charging and discharging method as described above.
[0062] The beneficial effects of this invention are:
[0063] This invention identifies the external charging / discharging mode by first detecting operating parameters from the DC and AC charging / discharging sockets using the power battery controller. Then, the vehicle controller determines the final charging / discharging mode based on the external mode and the signal detected from the in-vehicle discharge socket. Finally, it controls the operation of the first, second, and third relays and the bidirectional on-board charger according to the final charging / discharging mode to achieve charging and discharging. This invention, by controlling the vehicle's charging / discharging system, enables various charging / discharging scenarios, expands user usage scenarios, and enhances the user experience without increasing the overall vehicle cost.
[0064] In this invention, the second relay is selected as a normally closed switch relay. In the case of in-vehicle discharge scenario, since the second relay is a normally closed switch relay, the number of times the second relay is switched is greatly reduced, and the lifespan can be more than twice that of the normally open switch relays of the prior art. Attached Figure Description
[0065] Figure 1 This is a schematic diagram of the vehicle charging and discharging system of the present invention.
[0066] Figure 2 This is a flowchart of the vehicle charging and discharging method executed by the vehicle controller according to the present invention.
[0067] Figure 3 This is a general flowchart of a vehicle charging and discharging method according to the present invention.
[0068] Figure 4 This is a flowchart of the vehicle charging and discharging system of the present invention in DC charging mode only.
[0069] Figure 5 This is a flowchart of the vehicle charging and discharging system of the present invention in DC charging and AC internal discharging modes.
[0070] Figure 6 This is a flowchart of the vehicle charging and discharging system of the present invention in AC-only internal discharge mode.
[0071] Figure 7 This is a flowchart of the vehicle charging and discharging system of the present invention in AC charging mode only.
[0072] Figure 8 This is a flowchart of the vehicle charging and discharging system of the present invention in the AC-only external discharge mode.
[0073] Figure 9 This is a flowchart of the vehicle charging and discharging system of the present invention in the AC external to internal discharge mode.
[0074] Figure 10 This is a flowchart of the vehicle charging and discharging system described in this invention under DC charging and external AC discharging modes.
[0075] In the diagram: 1-Vehicle controller, 2-Two-way on-board charger, 3-Power battery pack, 301-Power battery group, 302-Power battery controller, 4-High voltage electrical box, 401-First relay, 402-Second relay, 403-Third relay, 5-In-vehicle discharge socket, 6-Out-of-vehicle discharge socket, 7-AC charging and discharging socket, 8-DC charging and discharging socket, 9-Charging cover switch. Detailed Implementation
[0076] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.
[0077] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0078] This embodiment proposes a vehicle charging and discharging system, such as Figure 1 As shown, the system includes:
[0079] Power battery pack 301;
[0080] A power battery controller 302 is connected to the power battery pack 301;
[0081] A two-way on-board charger 2 is connected to the power battery pack 301;
[0082] The DC charging and discharging socket 8, which is used to connect to the DC charging and discharging gun, is connected to the power battery pack 301 through the first normally open switch of the first relay 401, and forms a DC charging circuit with the power battery pack 301.
[0083] The AC charging and discharging socket 7, which is used to connect to the AC charging and discharging gun, is connected to the bidirectional vehicle charger 2 through the normally closed switch of the second relay 402, and together with the bidirectional vehicle charger 2 and the power battery pack 301, they form an AC charging and discharging circuit.
[0084] The in-vehicle discharge socket 5, which is used to connect to in-vehicle electrical equipment, is connected to the bidirectional on-board charger 2 through the second normally open switch of the third relay 403, and together with the bidirectional on-board charger 2 and the power battery pack 301, it forms an AC internal discharge circuit.
[0085] The vehicle controller 1 is connected to the bidirectional on-board charger 2, the power battery controller 302, the first relay 401, the second relay 402, the third relay 403, and the in-vehicle discharge socket 5.
[0086] The power battery controller 302 is configured to identify the external charging and discharging mode by detecting the working parameters from the DC charging and discharging socket 8 and the AC charging and discharging socket 7, and send the identification signal of the external charging and discharging mode to the vehicle controller 1 via the CAN bus.
[0087] The vehicle controller 1 is configured to respond to the external charging / discharging mode sent by the power battery controller 302 and to respond to the signal detected by the in-vehicle discharge socket 5, determine the final charging / discharging mode, and thereby control the on / off state of the first relay 401, the second relay 402, and the third relay 403 according to the final charging / discharging mode, and request different operating modes from the bidirectional on-board charger 2 via the CAN bus to form the vehicle charging / discharging system.
[0088] The power battery pack 301 is composed of multiple power battery cells connected in series and / or parallel, storing electrical energy to power the vehicle. The power battery pack 301 is powered by an external power grid or other electric vehicles. In this embodiment, the power battery pack 301 and the power battery controller 302 form a power battery stack 3. The power battery stack 3 also includes a battery housing for sealing the power battery pack 301 and the power battery controller 302. Generally, the battery housing is also equipped with a vent valve to effectively prevent the power battery pack 301 from exploding under dangerous conditions such as compression or short circuit.
[0089] The power battery controller 302 is a power battery management system (BMS) used to detect the operating parameters at the DC charging / discharging socket 8 and the AC charging / discharging socket 7, and identify the corresponding external charging / discharging mode based on the detected operating parameters. The external charging / discharging modes include DC charging mode, AC charging mode, AC discharging mode, and no external charging / discharging mode.
[0090] The vehicle controller 1 can be a vehicle VCU. In this embodiment, the vehicle controller 1 can be a product using existing technology.
[0091] The bidirectional vehicle charger 2 operates in standby, rectification, and inversion modes. When AC charging the power battery pack 301, the bidirectional vehicle charger 2 performs rectification; when the power battery pack 301 discharges externally, the bidirectional vehicle charger 2 performs inversion. In this embodiment, the bidirectional vehicle charger 2 can be a product based on existing technology.
[0092] In specific implementation, such as Figure 1 As shown, the DC charging / discharging socket 8 is electrically connected to the first relay 401, thereby forming a DC charging circuit with the power battery pack 301. Current flows through the DC socket, through the first relay 401, to the power battery pack 301. It should be noted that when DC charging the power battery pack 301, the current does not need to be processed through the bidirectional on-board charger 2, but is directly DC charged through the first relay 401.
[0093] In specific implementation, such as Figure 1 As shown, integrating the first relay 401, the second relay 402, and the third relay 403 into the high-voltage electrical box 4 is beneficial for protecting the first relay 401, the second relay 402, and the third relay 403 from being exposed to the air, which could cause certain safety hazards, and also facilitates management.
[0094] In this embodiment, the AC charging / discharging socket 7 is electrically connected to the second relay 402 in the high-voltage electrical box, thereby forming an AC charging circuit with the bidirectional vehicle charger 2 and the power battery pack 301. Current flows through the AC charging / discharging socket 7, through the second relay 402 in the high-voltage electrical box, to the bidirectional vehicle charger 2, and finally to the power battery pack 301 to form an AC charging loop.
[0095] In specific implementation, such as Figure 1As shown, when AC external discharge is required, the external discharge socket 6 is connected to the AC charging / discharging socket 7, and electrically connected to the AC charging / discharging socket 7 and the second relay 402 in the high-voltage electrical box, thus forming an AC external discharge circuit with the bidirectional vehicle charger 2 and the power battery pack 301. Current flows through the power battery pack 301, through the bidirectional vehicle charger 2 to the second relay 402, then through the AC charging / discharging socket 7, and finally to the external discharge socket 6. The external discharge socket 6 can supply power to outdoor electrical appliances such as induction cookers, vehicle lighting, and electric ovens needed for camping.
[0096] In specific implementation, such as Figure 1 As shown, the in-vehicle discharge socket 5 is electrically connected to the third relay 403 in the high-voltage electrical box, thereby forming an AC internal discharge circuit with the bidirectional vehicle charger 2 and the power battery pack 301. Current flows through the power battery pack 301, the bidirectional vehicle charger 2, to the third relay 403, and finally to the in-vehicle discharge socket 5. In this embodiment, the in-vehicle discharge socket 5 can be configured as a commonly used three-prong socket or a USB interface to supply power to common in-vehicle electrical devices. These devices include humidifiers, mobile phones, tablets, and other small loads requiring charging, as well as external 220V household appliances such as radiators.
[0097] In this embodiment, the first relay 401, the second relay 402, and the third relay 403 can all be normally open or normally closed relays. However, since the power battery pack 301 is directly connected to the DC charging and discharging socket 8 through the first relay 401, if the first relay 401 is a normally closed relay, the DC charging and discharging socket 8 will be energized even if DC charging is not performed, posing a certain safety hazard during use. Therefore, in this embodiment, the first relay 401 is preferably a normally open relay.
[0098] Similarly, if the third relay 403 is a normally closed switch relay, the vehicle discharge socket 5 will be energized during AC charging or AC external discharge. To ensure safety, the vehicle controller 1 needs to control the third relay 403 to disconnect. However, AC charging is a frequently used power mode, so frequent control of the third relay 403 is necessary, which is detrimental to its service life.
[0099] In this embodiment, the second relay 402 is a normally closed relay. When AC charging or AC external discharge is required, it is only necessary to control the bidirectional vehicle charger 2 to be in the corresponding working mode. There is no need to control the second relay 402 to operate, which greatly reduces the number of times the second relay 402 is used. Compared with a normally open relay, its lifespan can be more than twice that of a normally open relay.
[0100] In this embodiment, a charging cover switch 9 is also included, which is connected to the vehicle controller 1. The charging cover switch 9 is located at the AC charging and discharging socket 7. The vehicle controller 1 determines whether the charging cover at the AC charging and discharging socket 7 is in a closed or open state by detecting the status signal of the charging cover switch 9. If the status signal of the charging cover switch 9 is open, it means that the charging cover at the AC charging and discharging socket 7 is closed; if the status signal of the charging cover switch 9 is closed, it means that the charging cover at the AC charging and discharging socket 7 is open.
[0101] In a specific embodiment, such as Figure 2 As shown, a vehicle charging and discharging method is applied to the vehicle charging and discharging system described above. In this embodiment, the vehicle charging and discharging method is executed by the vehicle controller 1, and the vehicle charging and discharging method executed by the vehicle controller 1 includes the following:
[0102] S1: The vehicle controller 1 obtains the external charging and discharging mode sent by the power battery controller 302. The external charging and discharging mode is determined by the power battery controller 302 from the working parameters detected by the DC charging and discharging socket 8 and the AC charging and discharging socket 7, and sent to the vehicle controller 1 via the CAN bus.
[0103] S2: The vehicle controller 1 determines the final charging and discharging mode based on the external charging and discharging mode and the detected signal from the in-vehicle discharge socket 5; wherein the final charging and discharging mode includes DC charging mode only, AC charging mode only, AC external discharge mode only, AC internal discharge mode only, AC external and internal discharge mode, DC charging and AC internal discharge mode, and DC charging and external AC discharge mode.
[0104] S3: According to the final charging and discharging mode, the vehicle controller 1 sends control signals to the first relay 401, the second relay 402, and the third relay 403, and requests different working modes from the bidirectional on-board charger 2 through the CAN bus, so as to work according to the instructions corresponding to the charging and discharging mode.
[0105] In this embodiment, the operating parameters detected from the DC charging / discharging socket 8 and the AC charging / discharging socket 7 are: the CC1 resistance value detected from the DC charging / discharging socket 8, or the CC2 resistance value and CP voltage value detected from the AC charging / discharging socket 7, or the external discharge request signal detected from the AC charging / discharging socket 7, or the CC1 resistance value detected from the DC charging / discharging socket 8 and the external discharge request signal detected from the AC charging / discharging socket 7, or the CC1 resistance value detected from the DC charging / discharging socket 8 and the CC2 resistance value and CP voltage value detected from the AC charging / discharging socket 7; wherein the external discharge request signal includes the external discharge socket 6 access signal detected from the AC charging / discharging socket 7 and the CC2 resistance value detected from the AC charging / discharging socket 7.
[0106] At the same time, the vehicle controller 1 detects the working status signal of the in-vehicle discharge socket 5 and, in conjunction with the external charging and discharging mode, determines the final charging and discharging mode.
[0107] When the DC charging / discharging socket 8 or the AC charging / discharging socket 7 is connected to the charging gun of the charging pile, the power battery controller 302 communicates and performs a handshake with the charging gun of the charging pile according to national standards. The power battery controller 302 determines whether the handshake is successful by detecting the CC1 resistance value from the DC charging / discharging socket 8 or the CC2 resistance value and CP voltage value from the AC charging / discharging socket 7. If the handshake is successful, it means that the corresponding charging and discharging can be performed. If the handshake fails, the power battery controller 302 sends a handshake failure message to the charging pile, and the charging gun cannot charge the power battery.
[0108] It should be noted that in this embodiment, the DC charging / discharging socket 8, the AC charging / discharging socket 7, and the in-vehicle discharge socket 5 are integrated into the vehicle, while the external discharge socket 6 is externally connected to the vehicle via the AC charging / discharging socket 7. Therefore, when AC external discharge is required, the external discharge socket 6 needs to be connected to the AC charging / discharging socket 7. The power battery controller 302 detects the input signal from the external discharge socket 6 and the CC2 resistance value detected from the AC charging / discharging socket 7, indicating that AC external discharge is required. In this embodiment, the external discharge socket 6 can supply power to external devices such as induction cookers, electric ovens, and external lights.
[0109] In this example, the vehicle controller 1 also detects the status signal of the charging cover switch 9, and controls the on / off state of the second relay 402 accordingly based on the on / off state of the charging cover switch 9.
[0110] In this embodiment, as Figure 3 As shown, the general steps of the vehicle charging and discharging method are as follows:
[0111] Step S100: The power battery controller 302 identifies the CC1 resistance value detected from the DC charging / discharging socket 8 or the CC2 resistance value and CP voltage value detected from the AC charging / discharging socket 7 according to national standards. The identification result is the external charging / discharging mode BMS_Chrgmode, and the external charging / discharging mode is determined.
[0112] Step S200: Then the vehicle control unit 1 obtains the external charging and discharging mode sent by the power battery controller 302 from the CAN bus, and detects the signal of the in-vehicle discharge socket 5 and the status signal of the charging cover switch 9. Finally, it integrates the vehicle charging and discharging signal as VCU_Chrgmode and determines the corresponding final charging and discharging mode.
[0113] Step S300: The vehicle controller 1 controls the on / off state of the first relay 401, the second relay 402, and the third relay 403 in the high-voltage electrical box and requests the working mode of the bidirectional on-board charger 2 according to the final charging and discharging mode.
[0114] Step S400: Charge the power battery pack 301 or discharge it inside or outside the vehicle.
[0115] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is DC charging mode, and at the same time the vehicle controller 1 detects that the in-vehicle discharge socket 5 switch is in the off state, then the vehicle controller 1 determines that the final charging and discharging mode is DC charging mode only.
[0116] The vehicle controller 1, based on the final charging and discharging mode being DC charging only, controls the first relay 401 to close, while simultaneously keeping the third relay 403 open and the second relay 402 closed, and requests the bidirectional on-board charger 2 to enter standby mode via the CAN bus.
[0117] The DC charging mode is determined by the power battery controller 302 detecting the resistance value of CC1 as R1 at the DC charging / discharging socket 8, and confirming that no effective value of the resistance value of CC2 and the effective value of the voltage value of CP are detected at the AC charging / discharging socket 7.
[0118] Specifically, such as Figure 4 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is obtained as DC charging mode, control is performed in the following manner:
[0119] Step S101: According to national standards, the DC charging gun of the charging pile is inserted into the DC charging and discharging socket 8. The power battery controller 302 detects the resistance value of CC1 from the DC charging and discharging socket 8 according to national standards. Thus, the power battery controller 302 identifies the external charging and discharging mode as DC charging mode and sends it to the vehicle controller 1 via the CAN bus.
[0120] Step S102: The vehicle controller 1 obtains information via the CAN bus that the external charging / discharging mode sent by the power battery controller 302 is DC charging mode, and simultaneously detects that the in-vehicle discharge socket 5 switch is in the off state. Therefore, the vehicle controller 1 determines the final charging / discharging mode to be DC charging only.
[0121] Step S103: The vehicle controller 1, based on the final charging and discharging mode being DC charging mode only, controls the first normally open switch of the first relay 401 in the high-voltage electrical box to close, while simultaneously keeping the second normally open switch of the third relay 403 open and the normally closed switch of the second relay 402 closed, and requests the bidirectional on-board charger 2 to be in standby mode via the CAN bus.
[0122] Step S104: Current flows through the DC charging and discharging socket 8 and charges the power battery pack 301 through the first relay 401 in the high-voltage electrical box.
[0123] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is a DC charging mode, and at the same time the vehicle controller 1 also detects that the in-vehicle discharge socket 5 switch is in the on state, then the vehicle controller 1 determines that the final charging and discharging mode is a DC charging and AC internal discharge mode.
[0124] The vehicle controller 1 controls the third relay 403 to close, controls the first relay 401 to close, keeps the second relay 402 closed, and requests the bidirectional on-board charger 2 to switch to the inverter mode via the CAN bus, based on the final charging and discharging mode being DC charging and AC internal discharging mode.
[0125] The DC charging mode is determined by the power battery controller 302 detecting the resistance value of CC1 as R1 at the DC charging / discharging socket 8, and confirming that no effective value of the resistance value of CC2 and the effective value of the voltage value of CP are detected at the AC charging / discharging socket 7.
[0126] The vehicle controller 1 also detects the status signal of the charging cover switch 9. If the charging cover switch 9 is open, it controls the second relay 402 to open; if the charging cover switch 9 is closed, it keeps the second relay 402 closed.
[0127] Specifically, such as Figure 5As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is obtained as DC charging mode, control is performed in the following manner:
[0128] Step S201: According to national standards, the DC charging gun of the charging pile is inserted into the DC charging and discharging socket 8. The power battery controller 302 detects the resistance value of CC1 at the DC charging and discharging socket 8 according to national standards. Thus, the power battery controller 302 identifies the external charging and discharging mode as DC charging mode and sends it to the vehicle controller 1 via the CAN bus.
[0129] Step S202: The vehicle controller 1 obtains information via the CAN bus that the external charging / discharging mode sent by the power battery controller 302 is DC charging mode, and also detects that the in-vehicle discharge socket 5 switch is in the ON state. The vehicle controller 1 identifies the final charging / discharging mode as DC charging and AC internal discharge mode.
[0130] Step S203: Based on the final charging and discharging mode being DC charging and AC internal discharging, the vehicle controller 1 controls the second normally open switch of the third relay 403 in the high-voltage electrical box to close, controls the first normally open switch of the first relay 401 to close, and requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus; at the same time, the vehicle controller 1 also detects the status signal of the charging cover switch 9. If the charging cover switch 9 is open, it controls the normally closed switch of the second relay 402 to open to prevent electric shock accidents caused by personnel touching the opened charging port; if the charging cover switch 9 is closed, it keeps the normally closed switch of the second relay 402 closed.
[0131] Step S204: The current passes through the DC charging and discharging socket 8 and charges the power battery pack 301 through the first relay 401 in the high-voltage electrical box; at the same time, after being inverted by the bidirectional vehicle charger 2, the current passes through the third relay 403 to the vehicle discharge socket 5 to supply power to the first electrical device, which includes in-vehicle electrical devices such as laptops, tablets, and external heaters.
[0132] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is a no-external-connection charging and discharging mode, and at the same time the vehicle controller 1 detects that the in-vehicle discharge socket switch is in the on state, then the vehicle controller 1 determines that the final charging and discharging mode is an AC-only internal discharge mode.
[0133] The vehicle controller 1, based on the final charging and discharging mode being AC-only internal discharge mode, controls the third relay 403 to close, while keeping the first relay 401 open and the second relay 402 closed, and requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus.
[0134] The vehicle controller 1 also detects the status signal of the charging cover switch 9. If the charging cover switch 9 is open, it controls the second relay 402 to open; if the charging cover switch 9 is closed, it keeps the second relay 402 closed.
[0135] The no-external-connection charging / discharging mode is determined by the power battery controller 302 when no valid value of the CC1 resistance is detected at the DC charging / discharging socket 8, and no valid value of the CC2 resistance and CP voltage are detected at the AC charging / discharging socket 7.
[0136] Specifically, such as Figure 6 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is obtained as no external charging / discharging mode, the control is performed in the following manner:
[0137] Step S301: The power battery controller 302 detects no valid value of the CC1 resistance at the DC charging / discharging socket 8, and no valid value of the CC2 resistance and CP voltage at the AC charging / discharging socket 7, according to national standards. Therefore, the power battery controller 302 identifies the external charging / discharging mode as "no external charging / discharging mode" and sends this information to the vehicle controller 1 via the CAN bus.
[0138] Step S302: The vehicle controller 1 obtains information via the CAN bus that the external charging / discharging mode sent by the power battery controller 302 is a no-external-connection charging / discharging mode, and simultaneously detects that the in-vehicle discharge socket 5 switch is in the ON state. The vehicle controller 1 identifies the final charging / discharging mode as an AC-only internal discharge mode.
[0139] Step S303: Based on the final charging / discharging mode being AC-only internal discharge mode, the vehicle controller 1 controls the second normally open switch of the third relay 403 in the high-voltage electrical box to close, while keeping the first normally open switch of the first relay 401 open. It also requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus. Simultaneously, the vehicle controller 1 also detects the status signal of the charging cover switch 9. If the charging cover switch 9 is open, it controls the normally closed switch of the second relay 402 to open, preventing electric shock accidents caused by personnel touching the opened charging port; if the charging cover switch 9 is closed, it keeps the normally closed switch of the second relay 402 closed.
[0140] Step S304: The current flows through the power battery pack 301, the bidirectional vehicle charger 2 to the third relay 403, and finally to the vehicle discharge socket 5, thereby powering the first electrical device, which includes in-vehicle electrical devices such as laptops, tablets, and external heaters.
[0141] This embodiment also detects the status signal of the charging cover switch 9 through the vehicle controller 1, ensuring electrical safety in AC internal discharge mode only, or DC charging and AC internal discharge mode; thus, while ensuring more robust system reliability and safety, it brings users a better charging and discharging experience.
[0142] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is AC charging mode, and at the same time the vehicle controller 1 also detects that the in-vehicle discharge socket 5 switch is in the off state, then the vehicle controller 1 determines that the final charging and discharging mode is AC charging mode only.
[0143] The vehicle controller 1, based on the final charging / discharging mode being AC charging only, controls the first relay 401 to remain open, while simultaneously keeping the third relay 403 open and the second relay 402 closed, and requests the bidirectional on-board charger 2 to be in rectification mode via the CAN bus.
[0144] The AC charging mode is determined by the power battery controller 302 when no valid value of the CC1 resistance is detected at the DC charging / discharging socket 8, and the CC2 resistance value is R2 and the CP voltage value is U1 detected at the AC charging / discharging socket 7.
[0145] Specifically, such as Figure 7 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is AC charging mode, the control is performed as follows:
[0146] Step S401: According to national standards, the AC charging gun of the charging pile is only inserted into the AC charging and discharging socket 7. The power battery controller 302 detects the CC2 resistance value as R2 and the CP voltage value as U1 from the AC charging and discharging socket 7 according to national standards. Thus, the power battery controller 302 identifies the external charging and discharging mode as AC charging mode and sends it to the vehicle controller 1 via the CAN bus.
[0147] Step S402: The vehicle controller 1 obtains the external charging and discharging mode sent by the power battery controller 302 through the CAN signal as AC charging mode, and at the same time detects that the in-vehicle discharge socket 5 switch is in the off state. The vehicle controller 1 identifies the final charging and discharging mode as AC charging mode only.
[0148] Step S403: The vehicle controller 1, based on the final charging and discharging mode being AC charging mode only, controls the first normally open switch of the first relay 401 in the high-voltage electrical box to open, while keeping the second normally open switch of the third relay 403 open and the normally closed switch of the second relay 402 closed, and requests the bidirectional on-board charger 2 to be in rectification mode via the CAN bus.
[0149] Step S404: The current passes through the AC charging and discharging socket 7, and is rectified by the second relay 402 in the high-voltage electrical box and the bidirectional vehicle charger 2 to charge the power battery pack 301.
[0150] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is AC discharge mode, and at the same time the vehicle controller 1 also detects that the in-vehicle discharge socket switch is in the off state, then the vehicle controller 1 determines that the final charging and discharging mode is AC external discharge mode only.
[0151] The vehicle controller 1 controls the first relay 401 and the third relay 403 to remain open and the second relay 402 to remain normally closed, based on the final charging and discharging mode being AC-only external discharge mode. It also requests the bidirectional on-board charger 2 to switch to inverter mode via the CAN bus.
[0152] The AC discharge mode is determined by the power battery controller 302 when no valid value of the CC1 resistance is detected at the DC charging / discharging socket 8, and when the external discharge socket 6 connection signal is detected at the AC charging / discharging socket 7, and the CC2 resistance value detected at the AC charging / discharging socket 7 is R3.
[0153] Specifically, such as Figure 8 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is AC discharge mode, control is performed as follows:
[0154] Step S501: According to national standards, the external discharge socket 6 is inserted into the AC charging and discharging socket 7. The power battery controller 302 detects the external discharge socket 6 connection signal and the CC2 resistance value R3 detected from the AC charging and discharging socket 7 according to national standards. Thus, the power battery controller 302 identifies the external charging and discharging mode as AC discharge mode and sends it to the vehicle controller 1 via the CAN bus.
[0155] Step S502: The vehicle controller 1 obtains the external charging and discharging mode sent by the power battery controller 302 through the CAN bus as AC discharge mode, and at the same time detects that the in-vehicle discharge socket 5 switch is in the off state. Therefore, the vehicle controller 1 identifies the final charging and discharging mode as AC external discharge mode only.
[0156] Step S503: The vehicle controller 1, based on the final charging and discharging mode being AC-only external discharge mode, controls the first normally open switch of the first relay 401 and the second normally open switch of the third relay 403 in the high-voltage electrical box to open, keeps the normally closed switch of the second relay 402 normally closed, and requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus.
[0157] Step S504: The current flows through the power battery pack 301, through the bidirectional vehicle charger 2, then through the second relay 402, the AC charging and discharging socket 7, and finally to the external discharge socket 6 connected to the AC charging and discharging socket 7, thereby powering the second electrical device, which includes external electrical devices such as induction cookers, electric ovens, and vehicle lights.
[0158] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is an external AC discharge mode, and at the same time the in-vehicle discharge socket 5 switch is also detected to be in the on state, then the final charging and discharging mode is determined to be an AC external to internal discharge mode.
[0159] Based on the final charging and discharging mode being AC external to internal discharge mode, the third relay 403 is closed, the second relay 402 is kept closed, and the first relay 401 is kept open; and the bidirectional vehicle charger 2 is requested to be in inverter mode via the CAN bus.
[0160] The external AC discharge mode is confirmed by the power battery controller 302 when it detects the signal from the external discharge socket 6 at the AC charging and discharging socket 7 and the resistance value of CC2 detected from the AC charging and discharging socket 7 is R3.
[0161] Specifically, such as Figure 9 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is obtained as external AC discharge mode, the control is performed as follows:
[0162] Step S601: According to national standards, the external discharge socket 6 is inserted into the AC charging and discharging socket 7. The power battery controller 302 identifies the external discharge socket 6 access signal detected from the AC charging and discharging socket 7 and the CC2 resistance value detected from the AC charging and discharging socket 7 as R3 according to national standards. Thus, the power battery controller 302 identifies the external charging and discharging mode as the external AC discharge mode and sends it to the vehicle controller 1 via the CAN bus.
[0163] Step S602: The vehicle controller 1 obtains the external charging and discharging mode sent by the power battery controller 302 through the CAN bus as an external AC discharge mode. At the same time, it also detects that the in-vehicle discharge socket 5 switch is in the on state. The vehicle controller 1 identifies the final charging and discharging mode as an AC external to internal discharge mode.
[0164] Step S603: The vehicle controller 1, based on the final charging and discharging mode being AC external to internal discharge mode, controls the second normally open switch of the third relay 403 in the high-voltage electrical box to close, keeps the normally closed switch of the second relay 402 closed, and keeps the first normally open switch of the first relay 401 open; and requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus.
[0165] Step S604: Current flows through the power battery pack 301 to the bidirectional vehicle charger 2, then splits into two paths: one through the third relay 403 to the in-vehicle discharge socket 5 to power the first electrical device, and the other through the second relay 402 to the AC charging / discharging socket 7. Finally, it flows to the external discharge socket 6 connected to the AC charging / discharging socket 7 to power the second electrical device. The first electrical device includes in-vehicle devices such as laptops, tablets, and external heaters; the second electrical device supplies power to external devices such as induction cookers and electric ovens.
[0166] In this embodiment, if the external charging and discharging mode sent by the power battery controller 302 is DC charging and AC discharging mode, and at the same time the vehicle controller 1 also detects that the in-vehicle discharge socket switch is in the off state, then the vehicle controller 1 determines that the final charging and discharging mode is DC charging and external AC discharging mode.
[0167] The vehicle controller 1 controls the first relay 401 to close, keeps the second relay 402 closed, and keeps the third relay 403 open, based on the final charging and discharging mode being DC charging and external AC discharging mode. It also requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus.
[0168] The DC charging and AC discharging modes are confirmed by the power battery controller 302 detecting the resistance value of CC1 (R1) at the DC charging / discharging socket 8, detecting the external discharge socket 6 access signal at the AC charging / discharging socket 7, and detecting the resistance value of CC2 (R3) at the AC charging / discharging socket 7.
[0169] Specifically, such as Figure 10 As shown, in step S1, when the external charging / discharging mode sent by the power battery controller 302 is DC charging and AC discharging mode, the control is performed as follows:
[0170] Step S701: Insert the DC charging gun into the DC charging / discharging socket 8 according to national standards, and simultaneously insert the external discharge socket 6 into the AC charging / discharging socket 7 according to national standards. The power battery controller 302 detects the resistance value of CC1 from the DC charging / discharging socket 8 according to national standards, and detects the external discharge socket 6 access signal from the AC charging / discharging socket 7 and the resistance value of CC2 from the AC charging / discharging socket 7. Thus, the power battery controller 302 identifies the external charging / discharging mode as DC charging and AC discharging mode, and sends it to the vehicle controller 1 via the CAN bus.
[0171] Step S702: The vehicle controller 1 obtains information via the CAN bus that the external charging / discharging mode sent by the power battery controller 302 is DC charging and AC discharging mode, and also detects that the in-vehicle discharge socket 5 switch is in the off state. The vehicle controller 1 identifies the final charging / discharging mode as DC charging and external AC discharging mode.
[0172] Step S703: The vehicle controller 1 controls the first normally open switch of the first relay 401 to close, keeps the normally closed switch of the second relay 402 closed, and keeps the second normally open switch of the third relay 403 open, based on the final charging and discharging mode being DC charging and external AC discharging mode, and requests the bidirectional on-board charger 2 to be in inverter mode via the CAN bus.
[0173] Step S704: The current passes through the DC charging and discharging socket 8 and charges the power battery pack 301 through the first relay 401 in the high-voltage electrical box; at the same time, after being inverted by the bidirectional vehicle charger 2, it passes through the second relay 402, the AC charging and discharging socket 7, and finally to the vehicle external discharge socket 6 to supply power to the vehicle external induction cooker, electric oven, vehicle external lights, etc.
[0174] In another specific embodiment, a controller is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor reads the program in the memory and executes the steps in the vehicle charging and discharging method as described above.
[0175] In this embodiment, the controller is a vehicle controller 1. Specifically, the vehicle controller 1 executes the vehicle charging and discharging method as follows:
[0176] The vehicle controller 1 acquires the external charging and discharging mode sent by the power battery controller 302. The external charging and discharging mode is determined by the power battery controller 302 from the working parameters detected at the DC charging and discharging socket 8 and the AC charging and discharging socket 7, and is sent to the vehicle controller 1 via the CAN bus.
[0177] The vehicle controller 1 determines the final charging and discharging mode based on the external charging and discharging mode and the detected signal from the in-vehicle discharge socket 5; wherein the final charging and discharging mode includes DC charging mode only, AC charging mode only, AC external discharge mode only, AC internal discharge mode only, AC external and internal discharge mode, DC charging and AC internal discharge mode, and DC charging and external AC discharge mode.
[0178] The vehicle controller 1 sends control signals to the first relay 401, the second relay 402, and the third relay 403 according to the final charging and discharging mode, and requests different operating modes from the bidirectional on-board charger 2 via the CAN bus, so as to operate according to the instructions corresponding to the charging and discharging mode.
[0179] The above embodiments are merely preferred embodiments provided to fully illustrate the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on the present invention are all within the scope of protection of the present invention.
Claims
1. A vehicle charging and discharging method, applied to a vehicle charging and discharging system, characterized in that: The system includes: Power battery pack (301); A power battery controller (302) is connected to the power battery pack (301); A two-way on-board charger (2) is connected to the power battery pack (301); The DC charging and discharging socket (8) for connection with the DC charging and discharging gun is connected to the power battery pack (301) via the first normally open switch of the first relay (401), and forms a DC charging circuit with the power battery pack (301). The AC charging and discharging socket (7) is used to connect to the AC charging and discharging gun. It is connected to the bidirectional vehicle charger (2) through the normally closed switch of the second relay (402), and together with the bidirectional vehicle charger (2) and the power battery pack (301), they form an AC charging and discharging circuit. The in-vehicle discharge socket (5) for connecting to in-vehicle electrical equipment is connected to the bidirectional vehicle charger (2) via the second normally open switch of the third relay (403), and together with the bidirectional vehicle charger (2) and the power battery pack (301), they form an AC internal discharge circuit. The vehicle controller (1) is connected to the bidirectional on-board charger (2), the power battery controller (302), the first relay (401), the second relay (402), the third relay (403) and the in-vehicle discharge socket (5). It also includes a charging cover switch (9), which is connected to the vehicle controller (1); The method includes the following: S1: Obtain the external charging and discharging mode sent by the power battery controller (302), wherein the external charging and discharging mode is determined by the power battery controller (302) from the working parameters detected by the DC charging and discharging socket (8) and the AC charging and discharging socket (7), and sent to the vehicle controller via the CAN bus; the external charging and discharging mode includes DC charging mode, no external charging and discharging mode, AC charging mode, AC discharging mode, external AC discharging mode, and DC charging and AC discharging mode; The DC charging mode is determined by the power battery controller (302) when the resistance value of CC1 detected at the DC charging and discharging socket (8) is R1, and no effective value of the resistance value of CC2 and the effective value of the CP voltage are detected at the AC charging and discharging socket (7). The no-external-connection charging and discharging mode is confirmed by the power battery controller (302) when no effective value of the CC1 resistance is detected at the DC charging and discharging socket (8), and no effective value of the CC2 resistance and CP voltage is detected at the AC charging and discharging socket (7). The AC discharge mode is confirmed by the power battery controller (302) when no effective value of the CC1 resistance is detected at the DC charging and discharging socket (8), and the external discharge socket (6) connection signal is detected at the AC charging and discharging socket (7) and the CC2 resistance value detected at the AC charging and discharging socket (7) is R3. The external AC discharge mode is confirmed by the power battery controller (302) when it detects the signal from the external discharge socket (6) at the AC charging and discharging socket (7) and the resistance value of CC2 detected at the AC charging and discharging socket (7) is R3; S2: The vehicle controller determines the final charging and discharging mode based on the external charging and discharging mode and the detected signal from the in-vehicle discharge socket (5); the final charging and discharging mode includes DC charging mode only, AC charging mode only, AC external discharge mode only, AC internal discharge mode only, AC external internal discharge mode, DC charging and AC internal discharge mode, and DC charging and external AC discharge mode. S3: According to the final charging and discharging mode, the vehicle controller sends control signals to the first relay (401), the second relay (402), and the third relay (403), and requests different working modes from the bidirectional on-board charger (2) to work according to the instructions corresponding to the charging and discharging mode.
2. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is DC charging mode, the control is performed as follows: S101: The power battery controller (302) identifies the external charging and discharging mode as DC charging mode and sends it to the vehicle controller (1) via CAN bus. S102: The vehicle controller (1) obtains that the external charging and discharging mode sent by the power battery controller (302) is DC charging mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the off state; then it determines that the final charging and discharging mode is DC charging mode only. S103: The vehicle controller (1) controls the first normally open switch of the first relay (401) to close, and at the same time keeps the second normally open switch of the third relay (403) open and keeps the normally closed switch of the second relay (402) closed, and requests the bidirectional on-board charger (2) to be in standby mode via the CAN bus, based on the final charging and discharging mode being DC charging mode only. S104: Current flows through the DC charging and discharging socket (8) and charges the power battery pack (301) through the first relay (401).
3. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is DC charging mode, the control is performed as follows: S201: The power battery controller (302) identifies the external charging and discharging mode as DC charging mode and sends it to the vehicle controller (1) via CAN bus. S202: The vehicle controller (1) obtains that the external charging and discharging mode sent by the power battery controller (302) is DC charging mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the on state; then it determines that the final charging and discharging mode is DC charging and AC internal discharge mode. S203: The vehicle controller (1) controls the second normally open switch of the third relay (403) to close, controls the first normally open switch of the first relay (401) to close, keeps the normally closed switch of the second relay (402) closed, and requests the bidirectional on-board charger (2) to be in inverter mode through the CAN bus according to the final charging and discharging mode being DC charging and AC internal discharging mode. S204: The current passes through the DC charging and discharging socket (8) and charges the power battery pack (301) through the first relay (401); at the same time, after being inverted by the bidirectional vehicle charger (2), it passes through the third relay (403) to the vehicle discharge socket (5) to supply power to the first electrical device.
4. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is obtained as no external charging / discharging mode, the control is performed as follows: S301: The power battery controller (302) identifies the external charging and discharging mode as the no external charging and discharging mode and sends it to the vehicle controller (1) via the CAN bus. S302: The vehicle controller (1) obtains that the external charging and discharging mode sent by the power battery controller (302) is the no external charging and discharging mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the on state; then it determines that the final charging and discharging mode is the AC-only internal discharge mode. S303: The vehicle controller (1) controls the second normally open switch of the third relay (403) to close, and keeps the first normally open switch of the first relay (401) open, and keeps the normally closed switch of the second relay (402) closed, according to the final charging and discharging mode being the AC-only internal discharge mode. It also requests the bidirectional on-board charger (2) to be in the inverter mode via the CAN bus. S304: The current flows through the power battery pack (301), the bidirectional vehicle charger (2), the third relay (403), and finally to the vehicle discharge socket (5), thereby enabling power supply to the first electrical device.
5. The vehicle charging and discharging method according to any one of claims 3 or 4, characterized in that: The status signal of the charging cover switch (9) is also detected. If the charging cover switch (9) is open, the normally closed switch of the second relay (402) is opened. If the charging cover switch (9) is closed, the normally closed switch of the second relay (402) is kept closed.
6. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is AC charging mode, the control is performed as follows: S401: The power battery controller (302) identifies the external charging and discharging mode as AC charging mode and sends it to the vehicle controller (1) via CAN bus. S402: The vehicle controller (1) obtains that the external charging and discharging mode sent by the power battery controller (302) is AC charging mode; and at the same time, it also detects that the in-vehicle discharge socket (5) switch is in the off state, and then determines that the final charging and discharging mode is AC charging mode only. S403: The vehicle controller (1) controls the first normally open switch of the first relay (401) to open according to the final charging and discharging mode being AC charging mode only, while keeping the second normally open switch of the third relay (403) open and keeping the normally closed switch of the second relay (402) closed, and requests the bidirectional on-board charger (2) to be in rectification mode via the CAN bus. S404: The current passes through the AC charging and discharging socket (7), and the DC power after rectification by the second relay (402) and the bidirectional vehicle charger (2) charges the power battery pack (301).
7. The vehicle charging and discharging method according to claim 6, characterized in that: The AC charging mode is determined by the power battery controller (302) when no valid value of the CC1 resistance is detected at the DC charging / discharging socket (8), and the CC2 resistance value detected at the AC charging / discharging socket (7) is R2 and the CP voltage value is U1.
8. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is AC discharge mode, the control is performed as follows: S501: The power battery controller (302) identifies the external charging and discharging mode as AC discharge mode and sends it to the vehicle controller (1) via CAN bus. S502: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller (302) is AC discharge mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the off state; then it determines that the final charging and discharging mode is AC external discharge mode only. S503: The vehicle controller controls the first normally open switch of the first relay (401) and the second normally open switch of the third relay (403) to open according to the final charging and discharging mode being AC-only external discharge mode, keeps the normally closed switch of the second relay (402) normally closed, and requests the bidirectional on-board charger (2) to be in inverter mode via CAN bus. S504: The current flows through the power battery pack (301), through the bidirectional vehicle charger (2), then through the second relay (402), the AC charging and discharging socket (7), and finally to the vehicle external discharge socket (6) connected to the AC charging and discharging socket (7), thereby realizing the power supply to the second electrical device.
9. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging / discharging mode sent by the power battery controller (302) is obtained as an external AC discharge mode, the control is performed as follows: S601: The power battery controller (302) identifies the external charging and discharging mode as the external AC discharge mode and sends it to the vehicle controller (1) via the CAN bus. S602: The vehicle controller obtains that the external charging and discharging mode sent by the power battery controller (302) is the external AC discharge mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the on state; then it determines that the final charging and discharging mode is the AC external to internal discharge mode. S603: The vehicle controller, based on the final charging and discharging mode being AC external to internal discharge mode, controls the second normally open switch of the third relay (403) to close, keeps the normally closed switch of the second relay (402) closed, and keeps the first normally open switch of the first relay (401) open; and requests the bidirectional on-board charger (2) to be in inverter mode via the CAN bus. S604: The current flows through the power battery pack (301) to the bidirectional vehicle charger (2), then splits into two paths, one through the third relay (403) to the vehicle discharge socket (5) to supply power to the first electrical device, and the other through the second relay (402) to the AC charging and discharging socket (7), and finally to the vehicle discharge socket (6) connected to the AC charging and discharging socket (7) to supply power to the second electrical device.
10. The vehicle charging and discharging method according to claim 1, characterized in that: In step S1, when the external charging and discharging mode sent by the power battery controller (302) is DC charging and AC discharging mode, the control is performed as follows: S701: The power battery controller (302) identifies the external charging and discharging mode as DC charging and AC discharging mode, and sends it to the vehicle controller (1) via CAN bus. S702: The vehicle controller (1) obtains that the external charging and discharging mode sent by the power battery controller (302) is DC charging and AC discharging mode, and at the same time detects that the in-vehicle discharge socket (5) switch is in the off state; then it determines that the final charging and discharging mode is DC charging and external AC discharging mode. S703: The vehicle controller (1) controls the first normally open switch of the first relay (401) to close, keeps the normally closed switch of the second relay (402) closed, and keeps the second normally open switch of the third relay (403) open, according to the final charging and discharging mode being DC charging and external AC discharging mode, and requests the bidirectional on-board charger (2) to be in inverter mode via CAN bus. S704: The current passes through the DC charging and discharging socket (8) and charges the power battery pack (301) through the first relay (401); at the same time, after being inverted by the bidirectional vehicle charger (2), it passes through the second relay (402), the AC charging and discharging socket (7), and finally to the vehicle external discharge socket (6) connected to the AC charging and discharging socket (7) to supply power to the second electrical equipment.
11. The vehicle charging and discharging method according to claim 10, characterized in that: The DC charging and AC discharging modes are confirmed by the power battery controller (302) when the resistance value of CC1 detected at the DC charging and discharging socket (8) is R1, and when the external discharge socket (6) access signal is detected at the AC charging and discharging socket (7) and the resistance value of CC2 detected at the AC charging and discharging socket (7) is R3.
12. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor reads the program in the memory and executes the steps of the vehicle charging and discharging method as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Charging and discharging method and system, controller and electric vehicle
CN110614930A
Vehicle charging and discharging method, battery management system and charging and discharging system
CN114750628A
Vehicle charging and discharging system and vehicle
CN210283928U