Charging and discharging control method and device, medium and charging pile

By introducing a first switch into the charging pile and controlling the charging and discharging switching according to the measured electrical parameters, the problem of equipment damage in the existing charging pile during mode switching is solved, and the safety and reliability of the charging pile and the vehicle-mounted charger are improved.

CN120171355AActive Publication Date: 2025-06-20DONGGUAN AOHAI TECH CO LTD

Patent Information

Application Number
CN202510663631.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-06-20
Estimated Expiration
2045-05-22

AI Technical Summary

Technical Problem

The existing AC charging and discharging integrated pile lacks a reasonable power outage or switching mechanism during the switching between the charging mode and the discharge mode, resulting in irreversible damage to the equipment, affecting safety and stability.

Method used

By introducing a first switch into the charging pile, connecting the first interface and the vehicle-mounted charger of the vehicle, outputting the initial CC signal and obtaining the measured electrical parameters, and outputting the target CC signal if the switching conditions are met, and controlling the first switch to switch the working mode to ensure safe and reliable charging and discharging switching.

Benefits of technology

Through mode switching conditions judgment and charging and discharging conditions judgment, the charging piles are prevented from impacting the vehicle-mounted charger, the compatibility and safety of the charging piles are improved, and the reliability of the charging piles and the vehicle-mounted charger is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120171355A_ABST
    Figure CN120171355A_ABST
Patent Text Reader

Abstract

The invention discloses a charging and discharging control method and device, a medium and a charging pile, and the method comprises the steps: outputting an initial CC signal to a vehicle, and obtaining a first actual measurement electrical parameter of a first interface; if the first actually measured electrical parameter meets the working mode switching condition, outputting a target CC signal corresponding to the first actually measured electrical parameter to the vehicle; acquiring a second actually measured electrical parameter of the first switch; and if the target CC signal and the second actually measured electrical parameter meet the charging and discharging conditions, controlling the first switch to be switched on, and switching the charging pile to enter a working mode corresponding to the target CC signal. According to the technical scheme, the vehicle-mounted charger is prevented from being impacted and threatened during charging and discharging switching of the charging pile, the compatibility of the charging pile is improved, and the safety and reliability of the charging pile and the vehicle-mounted charger are also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of new energy technologies, and particularly to a charge and discharge control method, device, medium, and charging pile. Background Art

[0002] With the rapid development of the electric vehicle (EV) market, the continuous progress of charging pile technology has become a key point in the industry. Among charging facilities, the AC charge and discharge integrated pile, as a new type of charging device, has the advantage of being able to perform both charging and discharging functions on one device. This integrated design not only improves the flexibility and versatility of the device but also saves the user's usage cost to a certain extent.

[0003] However, the existing AC charge and discharge integrated piles still have some technical defects in actual applications. Especially during the switching process between the charging mode and the discharging mode, due to the lack of a reasonable power-off or switching mechanism, irreversible damage to the device may occur. Particularly in an electric vehicle charging system, the on-vehicle charger at the vehicle end may be severely damaged, resulting in the burning of its internal circuit. This problem not only increases the maintenance cost but also seriously affects the safety and stability of the device, and may even cause the user's vehicle to be unable to charge or discharge normally. Summary of the Invention

[0004] Embodiments of the present invention provide a charge and discharge control method, device, medium, and charging pile to solve the problem of poor safety and reliability of existing charging piles.

[0005] A charge and discharge control method is applied in a charging pile. The charging pile includes a first interface and a second interface; the first interface is used to connect a plug or a socket; the second interface is used to connect a vehicle, and the second interface includes a first switch; a first end of the first switch is connected to the first interface, and a second end of the first switch is connected to the on-vehicle charger of the vehicle. The charge and discharge control method includes: Output an initial CC signal to the vehicle and obtain a first measured electrical parameter of the first interface; If the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle; Obtain a second measured electrical parameter of the first switch; If the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, control the first switch to conduct and switch the charging pile into a working mode corresponding to the target CC signal.

[0006] Further, the step of if the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle includes: Determine the current working mode of the charging pile; Determine the target object connected to the first interface according to the first measured electrical parameter; If the current working mode is the discharging mode and the target object is a plug, output a charging CC signal to the vehicle; If the current working mode is the charging mode and the target object is a socket, output a discharging CC signal to the vehicle.

[0007] Further, the determining the target object connected to the first interface according to the first measured electrical parameter includes: Determine the target object connected to the first interface and the interface voltage of the first interface according to the first measured electrical parameter; The "if the current working mode is the discharging mode and the target object is a plug, output a charging CC signal to the vehicle" includes: If the current working mode is the discharging mode, the target object is a plug, and the interface voltage is normal, output a charging CC signal to the vehicle.

[0008] Further, the second measured electrical parameter includes the first voltage corresponding to the first end of the first switch and the second voltage corresponding to the second end of the first switch; The "if the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, control the first switch to conduct and switch the charging pile to the working mode corresponding to the target CC signal" includes: When the target CC signal is a charging CC signal and the second voltage is less than a preset voltage, control the first switch to conduct and switch the charging pile to the charging working mode; When the target CC signal is a discharging CC signal and the first voltage is less than the preset voltage, control the first switch to conduct and switch the charging pile to the discharging working mode.

[0009] Further, a second switch is further provided between the second interface and the on-vehicle charger of the vehicle; the first end of the second switch is connected to the second interface and the on-vehicle charger, and the second end of the second switch is grounded; The "when the target CC signal is a charging CC signal and the second voltage is less than a preset voltage, control the first switch to conduct and switch the charging pile to the charging working mode" includes: Output a charging CP signal to the on-vehicle charger and obtain the third voltage at the first end of the second switch; If the third voltage satisfies a preset voltage range, and the target CC signal is a charging CC signal, and the second voltage is less than the preset voltage, then control the first switch to turn on and switch the charging pile to the charging working mode.

[0010] Further, the charge and discharge control method further includes: When the target CC signal is a discharge CC signal and the first voltage is not less than the preset voltage, then switch the discharge CC signal to a charging CC signal.

[0011] Further, the second interface further includes a third switch and a fourth switch; the third switch is connected to the on-vehicle charger and is used to output a target CC signal in a conducting state; the fourth switch is connected to the on-vehicle charger and is used to output a target CP signal in a conducting state; the charge and discharge control method further includes: If the second measured electrical parameter does not meet the charge and discharge condition, then control the third switch and the fourth switch to turn off respectively.

[0012] A control device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above charge and discharge control method is implemented.

[0013] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above charge and discharge control method is implemented.

[0014] A charging pile includes a first interface, a second interface, and the above control device; the first interface is used to connect a plug or a socket; the second interface is used to connect a vehicle, and the second interface includes a first switch; a first end of the first switch is connected to the first interface, and a second end of the first switch is connected to the on-vehicle charger of the vehicle; The control device is connected to the first interface and the first switch.

[0015] The embodiments of the present invention provide a charge and discharge control method, device, medium and charging pile, which output an initial CC signal to a vehicle, obtain the first measured electrical parameter of the first interface, and if the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle, obtain the second measured electrical parameter of the first switch, and if the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, control the first switch to conduct, and switch the charging pile to the working mode corresponding to the target CC signal. Thus, by first judging the mode switching condition and then judging the charge and discharge conditions, it is possible to prevent the in-vehicle charger from being impacted and threatened when the charging pile switches between charging and discharging, improve the compatibility of the charging pile, and also improve the safety and reliability of the charging pile and the in-vehicle charger. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0017] Figure 1 is a flowchart of a charge and discharge control method in an embodiment of the present invention; Figure 2 is another flowchart of a charge and discharge control method in an embodiment of the present invention; Figure 3 is another flowchart of a charge and discharge control method in an embodiment of the present invention; Figure 4 is another flowchart of a charge and discharge control method in an embodiment of the present invention; Figure 5 is a schematic diagram of a charging pile in an embodiment of the present invention; Figure 6 is a schematic diagram of a control device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0019] It should be understood that the present invention can be implemented in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, providing these embodiments will make the disclosure thorough and complete and will fully convey the scope of the present invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals throughout the drawings denote the same elements.

[0020] It should be understood that when an element or layer is referred to as being "on", "adjacent to", "connected to" or "coupled to" another element or layer, it can be directly on, adjacent to, connected or coupled to the other element or layer, or intervening elements or layers may be present. In contrast, when an element is referred to as being "directly on", "directly adjacent to", "directly connected to" or "directly coupled to" another element or layer, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers and / or portions, these elements, components, regions, layers and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or portion from another element, component, region, layer or portion. Thus, a first element, component, region, layer or portion discussed below may be denoted as a second element, component, region, layer or portion without departing from the teachings of the present invention.

[0021] Spatial relationship terms such as "under", "below", "lower", "beneath", "above", "upper", etc. are used herein for convenience in describing the relationship of one element or feature shown in the figures to other elements or features. It should be understood that, in addition to the orientation shown in the figures, spatial relationship terms are intended to also include different orientations of the device in use and operation. For example, if the device in the figures is flipped, then an element or feature described as "under" or "beneath" or "below" another element or feature will be oriented "above" the other element or feature. Thus, the exemplary terms "under" and "below" can include both an upper and a lower orientation. The device may be otherwise oriented (rotated 90 degrees or other orientations) and the spatial descriptors used herein are to be interpreted accordingly.

[0022] The purpose of the terms used herein is only to describe specific embodiments and is not a limitation of the present invention. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "comprising" and / or "including", when used in this specification, specify the presence of the stated features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups. As used herein, the term "and / or" includes any and all combinations of the associated listed items.

[0023] To thoroughly understand the present invention, detailed structures and steps will be presented in the following description to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may have other implementation manners.

[0024] This embodiment provides a charge and discharge control method, which is applied to a charging pile. The charging pile includes a first interface, a second interface, and a control device; the first interface is used to connect a plug or a socket; the second interface is used to connect a vehicle, and the second interface includes a first switch; the first end of the first switch is connected to the first interface, and the second end of the first switch is connected to the on-vehicle charger of the vehicle. Exemplarily, the plug is used to connect to an external power source, such as a mains power grid or an alternator. The socket is used to connect to a load device. The first switch may be a power relay.

[0025] Exemplarily, the control device further includes a main control module, a CC signal output module, a CP signal output module, a third switch, and a fourth switch. Exemplarily, the third switch is a CC signal relay, and the fourth switch is a CP signal relay. The CC signal output module is connected to the on-vehicle charger through the CC signal relay. The CP signal output module is connected to the on-vehicle charger through the CP signal relay. The main control module is connected to the CC signal relay and the CP signal relay, and is used to control the CC signal relay and the CP signal relay to conduct or disconnect. The CC signal output module controls the on-vehicle charger to charge or discharge by outputting different resistance signals. The CP signal output module outputs a PWM signal to control the on-vehicle charger for control guidance. It can be understood that the CC signal output module includes a resistance switching network for switching and outputting different resistance signals. It can be understood that the CC signal and the CP signal are two signals defined according to international standards (such as IEC 61851 and SAE J1772), which are used to establish communication and control between the charging pile and the vehicle to ensure the safety and effectiveness of the charging process.

[0026] This embodiment provides a charge and discharge control method, as Figure 1 shown, which is applied to the above control device. The charge and discharge control method includes: S101: Output an initial CC signal to the vehicle and obtain the first measured electrical parameter of the first interface.

[0027] S102: If the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle.

[0028] S103: Obtain the second measured electrical parameter of the first switch.

[0029] S104: If the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, control the first switch to turn on and switch the charging pile to the working mode corresponding to the target CC signal.

[0030] Among them, the initial CC signal is the default output CC signal. Preferably, the initial CC signal is the discharge CC signal. In this example, the initial CC signal is set as the discharge CC signal to start the vehicle discharge control device. The first measured electrical parameter refers to the electrical parameter collected in real time from the first interface. Exemplarily, the first measured electrical parameter includes the first interface resistance value and the voltage value. The mode switching condition refers to the condition for charge and discharge switching. The second measured electrical parameter refers to the electrical parameter collected in real time from the first switch. Exemplarily, the second measured electrical parameter includes the voltage value corresponding to both ends of the first switch.

[0031] As an example, in step S101, exemplarily, when the vehicle is connected to the second interface, the default resistance value of the CC signal output module is the first resistance value, and the CC port of the on-vehicle charger is connected in series with the CC signal output module to the ground, so that the CC signal output module outputs the first resistance signal, that is, the discharge CC signal to the on-vehicle charger, and the vehicle discharges to the charging pile to start the control device. It should be noted that the above CC signal relay is default in the on state. After the control device is started, the first interface resistance value and the voltage value of the first interface can be collected through the resistance collection circuit and the voltage collection circuit. Optionally, the resistance collection circuit and the voltage collection circuit can adopt the techniques well known in the art and will not be elaborated here. In this example, the first measured electrical parameter of the first interface is obtained to judge the user's charge and discharge requirements.

[0032] As an example, in step S102, if the first measured electrical parameter meets the working mode switching condition, output the target CC signal corresponding to the first measured electrical parameter to the vehicle. Among them, the target CC signal can be the charging CC signal or the discharge CC signal. It can be understood that the charging CC signal can be the second resistance signal output by the CC signal output module. Exemplarily, when the first measured electrical parameter meets the charging requirement, output the charging CC signal corresponding to the charging requirement to the vehicle, and when the first measured parameter meets the discharge requirement, output the discharge CC signal corresponding to the discharge requirement to the vehicle. To indicate that the on-vehicle charger of the vehicle enters the corresponding charging mode or discharge mode.

[0033] As an example, in step S103, obtain the second measured electrical parameter of the first switch. In this example, the first terminal voltage of the first switch and the second terminal voltage of the second switch can be collected through the voltage collection circuit in the above embodiment to judge whether the plug connected to the first interface and the vehicle connected to the second interface discharge simultaneously.

[0034] As an example, in step S104, if the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, the first switch is controlled to conduct, and the charging pile is switched to the working mode corresponding to the target CC signal. Since it takes a certain amount of time for the on-vehicle charger of the vehicle to switch the charge and discharge mode after receiving the target CC signal, it is necessary to determine whether a plug is connected to the first interface according to the target CC signal, and determine whether the vehicle is still in the discharge mode according to the second measured electrical parameter, so as to prevent the plug connected to the first interface and the vehicle from discharging simultaneously, which may cause potential safety hazards. In this embodiment, if the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, the first switch is controlled to conduct, and the charging pile is switched to the working mode corresponding to the target CC signal, so as to determine whether the charge and discharge can be safely switched according to the target CC signal and the second measured electrical parameter.

[0035] In this embodiment, an initial CC signal is output to the vehicle, and the first measured electrical parameter of the first interface is obtained. If the first measured electrical parameter meets the working mode switching condition, a target CC signal corresponding to the first measured electrical parameter is output to the vehicle, and the second measured electrical parameter of the first switch is obtained. If the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, the first switch is controlled to conduct, and the charging pile is switched to the working mode corresponding to the target CC signal. Thus, by first judging the mode switching condition and then judging the charge and discharge condition, it is possible to prevent the charging pile from impacting and threatening the on-vehicle charger during the charge and discharge switching, improving the compatibility of the charging pile, as well as the safety and reliability of the charging pile and the on-vehicle charger.

[0036] In one embodiment, as Figure 2 shown, in step S102, if the first measured electrical parameter meets the working mode switching condition, outputting a target CC signal corresponding to the first measured electrical parameter to the vehicle includes: S201: Determine the current working mode of the charging pile.

[0037] S202: Determine the target object connected to the first interface according to the first measured electrical parameter.

[0038] S203: If the current working mode is the discharge mode and the target object is a plug, output a charging CC signal to the vehicle.

[0039] S204: If the current working mode is the charging mode and the target object is a socket, output a discharging CC signal to the vehicle.

[0040] As an example, in step S201, determine the current working mode of the charging pile. The default working mode of the charging pile is the discharging mode. Exemplarily, determine the current working mode of the current charging pile according to the target CC signal. If the target CC signal is the discharging CC signal, then the current working mode is the discharging mode. If the target CC signal is the charging CC signal, then the current working mode is the charging mode.

[0041] As an example, in step S202, the target object refers to the target object currently connected to the first interface. Exemplarily, the target object includes a plug or a socket. Exemplarily, when the plug and the socket are respectively connected to the first interface, different connection resistance circuits can be formed, so as to judge the currently connected target object by detecting the first interface resistance value of the first interface.

[0042] As an example, in step S203, if the current working mode is the discharging mode and the target object is a plug, then output the charging CC signal to the vehicle. In this example, if it is determined according to the first measured electrical parameter that the object connected to the first interface is a plug, then it is judged that the current user demand is charging, and then the discharging CC signal is switched to the charging CC signal, and the charging CC signal is output to the vehicle.

[0043] As an example, in step S204, if the current working mode is the charging mode and the target object is a socket, then output the discharging CC signal to the vehicle. In this example, if it is determined according to the first measured electrical parameter that the object connected to the first interface is a socket, then it is judged that the current user demand is discharging, and then the charging CC signal is switched to the discharging CC signal, and the discharging CC signal is output to the vehicle.

[0044] In this embodiment, determine the current working mode of the charging pile, determine the target object connected to the first interface according to the first measured electrical parameter. If the current working mode is the discharging mode and the target object is a plug, then output the charging CC signal to the vehicle. If the current working mode is the charging mode and the target object is a socket, then output the discharging CC signal to the vehicle, so as to automatically identify the charging and discharging demands according to the target object connected to the first interface.

[0045] In one embodiment, in step S202, determine the target object connected to the first interface according to the first measured electrical parameter, including: determine the target object connected to the first interface and the interface voltage of the first interface according to the first measured electrical parameter. Exemplarily, when the first interface accesses a plug, determine the interface voltage of the first interface to determine the voltage of the plug. In this embodiment, the control device also determines the target object connected to the first interface and the interface voltage of the first interface according to the first measured electrical parameter, so as to facilitate whether the target object and the interface voltage of the first interface meet the signal switching conditions.

[0046] In one embodiment, in step S203, if the current working mode is the discharging mode and the target object is a plug, outputting a charging CC signal to the vehicle includes: if the current working mode is the discharging mode, the target object is a plug, and the interface voltage is normal, then outputting a charging CC signal to the vehicle.

[0047] As an example, if the current working mode is the discharging mode, the user plugs in a plug to the first interface, the control device determines that the target object is a plug. If the interface voltage is normal at this time, that is, the voltage of the plugged-in plug is normal, indicating that the external power supply voltage is stable at this time and the vehicle can be reliably charged, then output a charging CC signal to the vehicle to instruct the vehicle to enter the charging mode.

[0048] In this embodiment, according to the first measured electrical parameter, determine the target object connected to the first interface and the interface voltage of the first interface. If the current working mode is the discharging mode, the target object is a plug, and the interface voltage is normal, then output a charging CC signal to the vehicle to ensure the reliability and safety of the charging mode when the vehicle switches from the discharging mode to the charging mode.

[0049] In one embodiment, as Figure 3 shown, in step S104, the second measured electrical parameter includes the first voltage corresponding to the first end of the first switch and the second voltage corresponding to the second end of the first switch; if the target CC signal and the second measured electrical parameter meet the charge and discharge conditions, then control the first switch to conduct, and switch the charging pile to the working mode corresponding to the target CC signal, including: S301: When the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, then control the first switch to conduct and switch the charging pile to the charging working mode.

[0050] S302: When the target CC signal is a discharging CC signal and the first voltage is less than the preset voltage, then control the first switch to conduct and switch the charging pile to the discharging working mode.

[0051] Wherein, the preset voltage is a voltage set by customization.

[0052] As an example, in step S301, the preset voltage is preferably 60V. When the target CC signal is a charging CC signal, the charging CC signal instructs the on-vehicle charger to enter the charging mode. When the second voltage is less than 60V, that is, the vehicle has no voltage output and the on-vehicle charger successfully switches to the charging mode. Therefore, the first switch can be controlled to conduct, and the charging pile is switched to the charging working mode to ensure that the external power supply is connected to the first interface of the charging pile through the plug, and the second interface is charged to the vehicle through the conduction of the first switch.

[0053] As an example, in step S301, when the target CC signal is a discharge CC signal and the first voltage is less than 60V, that is, there is no voltage input at the first interface terminal, which means that the first interface is not misconnected to an external power supply. Therefore, the first switch can be controlled to conduct, switching the charging pile to the discharge working mode, ensuring that the vehicle is connected to the charging pile through the second interface, and discharging through the first interface of the charging pile by conducting the first switch.

[0054] It can be understood that when the target CC signal is a charging CC signal and the second voltage is not less than the preset voltage, or when the target CC signal is a discharge CC signal and the first voltage is not less than the preset voltage, a warning signal is generated and the first switch is controlled to disconnect, prompting the user that the interface is misconnected.

[0055] Furthermore, when it is determined that the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, or the target CC signal is a discharge CC signal and the first voltage is less than the preset voltage, after an interval of the first preset time, the determination can be made again to ensure the reliability of the determination result. The first preset time can be, for example, 10 seconds.

[0056] In this embodiment, when the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, the first switch is controlled to conduct, switching the charging pile to the charging working mode. When the target CC signal is a discharge CC signal and the first voltage is less than the preset voltage, the first switch is controlled to conduct, switching the charging pile to the discharge working mode. By using the target CC signal and the voltage across the first switch, it is determined whether there is a delay in the switching of the on-vehicle charger working mode, that is, to prevent the on-vehicle charger from not switching to the charging mode in time according to the charging CC signal and continuing to discharge to the charging pile, and at the same time to prevent the vehicle from discharging when the voltage of the first interface is too high, improving the safety of the on-vehicle charger and the safety during the charging and discharging process of the charging pile.

[0057] In one embodiment, as Figure 4 shown, a second switch is further provided between the second interface and the on-vehicle charger of the vehicle; the first end of the second switch is connected to the second interface and the on-vehicle charger, and the second end of the second switch is grounded; when the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, controlling the first switch to conduct and switching the charging pile to the charging working mode includes: S401: Output a charging CP signal to the on-vehicle charger and obtain the third voltage at the first end of the second switch.

[0058] S402: If the third voltage satisfies the preset voltage range, and the target CC signal is a charging CC signal, and the second voltage is less than the preset voltage, then control the first switch to conduct and switch the charging pile to the charging working mode.

[0059] Among them, the preset voltage range is a custom voltage range. Exemplarily, this voltage range is from 5.5V to 6.5V.

[0060] As an example, the second switch can be set on the vehicle, and the control end of the second switch is connected to the vehicle-mounted controller. It can be understood that the second switch is the S2 switch in the vehicle, and the S2 switch plays an important safety protection role in new energy vehicles. When abnormal situations occur in the vehicle, such as battery failure, motor overheating, etc., the S2 switch will quickly cut off the power supply to prevent the failure from expanding further and ensure the safety of the vehicle and passengers. During the charging process, when the charging pile is connected to the vehicle charging interface and confirmed to be correct, the charging pile will send a signal and wait for the S2 switch on the vehicle side to close. Once the S2 switch closes, it means that the vehicle is ready for charging. Subsequently, the charging pile will close the contactor, that is, the first switch in this embodiment, to conduct the AC circuit and start charging. After charging is completed, the S2 switch will also disconnect to stop the charging process.

[0061] As an example, in steps S401 and S402, the charging CP signal is a PWM signal. Exemplarily, when the PWM signal changes from 9V to 6V, it is determined that the third voltage meets the preset voltage range, and the second voltage is less than the preset voltage, indicating that the vehicle is ready for charging, and the first switch is controlled to conduct to switch the charging pile to the charging working mode.

[0062] In this embodiment, an output charging CP signal is sent to the on-vehicle charger, and the third voltage at the first end of the second switch is obtained. If the third voltage meets the preset voltage range, and the target CC signal is a charging CC signal, and the second voltage is less than the preset voltage, then the first switch is controlled to conduct to switch the charging pile to the charging working mode, so as to improve the safety of the on-vehicle charger and the safety during the charging and discharging process of the charging pile.

[0063] In one embodiment, the charge and discharge control method further includes: when the target CC signal is a discharge CC signal and the first voltage is not less than the preset voltage, the discharge CC signal is switched to a charging CC signal.

[0064] In this embodiment, when the target CC signal is a discharge CC signal and the first voltage is not less than the preset voltage, it is determined that the power relay is stuck, that is, the first switch is stuck, and then the discharge CC signal is switched to a charging CC signal to notify the vehicle to switch to the charging mode. When the vehicle recognizes the charging mode, it will stop discharging, and the charging pile will lose power and stop working, thereby improving the safety during the charging and discharging process of the charging pile.

[0065] In one embodiment, the second interface further includes a third switch and a fourth switch; the third switch is connected to the on-vehicle charger and is configured to output a target CC signal in a conducting state; the fourth switch is connected to the on-vehicle charger and is configured to output a target CP signal in a conducting state; the charging and discharging control method further includes: if the second measured electrical parameter does not meet the charging and discharging conditions, controlling the third switch and the fourth switch to be turned off respectively.

[0066] As an example, the third switch is the CC signal relay in the above embodiment, and the fourth switch is the CP signal relay in the above embodiment. When the second measured electrical parameter does not meet the charging and discharging conditions, by controlling the third switch and the fourth switch to be turned off respectively, the actions of unplugging the gun and reinserting the gun are simulated, so that the vehicle re-enters the process of identifying the gun insertion signal and the control pilot signal. The actions of unplugging and reinserting the gun are realized, enabling the system to re-enter the charging process or the discharging process, thus providing a better user experience.

[0067] This embodiment provides a control device, as Figure 6 shown, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned charging and discharging control method is implemented.

[0068] This embodiment provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned charging and discharging control method is implemented.

[0069] This embodiment provides a charging pile, as Figure 5 shown, including a first interface, a second interface, and the above-mentioned control device; the first interface is used to connect a plug or a socket; the second interface is used to connect a vehicle, and the second interface includes a first switch; the first end of the first switch is connected to the first interface, and the second end of the first switch is connected to the on-vehicle charger of the vehicle; the control device is connected to the first interface and the first switch.

[0070] The above-described embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A charge and discharge control method is applied to a charging pile. The charging pile includes a first interface and a second interface; the first interface is used to connect a plug or a socket; the second interface is used to connect a vehicle, and the second interface includes a first switch; a first end of the first switch is connected to the first interface, and a second end of the first switch is connected to an on-vehicle charger of the vehicle, and it is characterized in that, The charging and discharging control method includes: Output an initial CC signal to the vehicle and obtain the first measured electrical parameter of the first interface; If the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle; Obtain the second measured electrical parameter of the first switch; If the target CC signal and the second measured electrical parameter meet the charging and discharging conditions, control the first switch to conduct and switch the charging pile to the working mode corresponding to the target CC signal.

2. The charge and discharge control method according to claim 1, characterized in that, The step of "if the first measured electrical parameter meets the working mode switching condition, output a target CC signal corresponding to the first measured electrical parameter to the vehicle" includes: Determine the current working mode of the charging pile; Determine the target object connected to the first interface according to the first measured electrical parameter; If the current working mode is the discharging mode and the target object is a plug, output a charging CC signal to the vehicle; If the current working mode is the charging mode and the target object is a socket, output a discharging CC signal to the vehicle.

3. The charge and discharge control method according to claim 2, characterized in that, The step of "determine the target object connected to the first interface according to the first measured electrical parameter" includes: Determine the target object connected to the first interface and the interface voltage of the first interface according to the first measured electrical parameter; The step of "if the current working mode is the discharging mode and the target object is a plug, output a charging CC signal to the vehicle" includes: If the current working mode is the discharging mode, the target object is a plug, and the interface voltage is normal, output a charging CC signal to the vehicle.

4. The charge and discharge control method according to claim 1, characterized in that, The second measured electrical parameter includes the first voltage corresponding to the first end of the first switch and the second voltage corresponding to the second end of the first switch; The step of "if the target CC signal and the second measured electrical parameter meet the charging and discharging conditions, control the first switch to conduct and switch the charging pile to the working mode corresponding to the target CC signal" includes: When the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, control the first switch to conduct and switch the charging pile to the charging working mode; When the target CC signal is a discharging CC signal and the first voltage is less than the preset voltage, control the first switch to conduct and switch the charging pile to the discharging working mode.

5. The charge and discharge control method according to claim 4, characterized in that, A second switch is further provided between the second interface and the on-vehicle charger of the vehicle; the first end of the second switch is connected to the second interface and the on-vehicle charger, and the second end of the second switch is grounded; The step of "when the target CC signal is a charging CC signal and the second voltage is less than the preset voltage, control the first switch to conduct and switch the charging pile to the charging working mode" includes: Output a charging CP signal to the on-vehicle charger and obtain the third voltage at the first end of the second switch; If the third voltage meets the preset voltage range, the target CC signal is a charging CC signal, and the second voltage is less than the preset voltage, control the first switch to conduct and switch the charging pile to the charging working mode.

6. The charge and discharge control method according to claim 4, characterized in that, The charge and discharge control method further includes: When the target CC signal is a discharge CC signal and the first voltage is not less than the preset voltage, the discharge CC signal is switched to a charge CC signal.

7. The charge and discharge control method according to claim 1, characterized in that, The second interface further includes a third switch and a fourth switch; the third switch is connected to the on-vehicle charger and is configured to output a target CC signal in a conducting state; the fourth switch is connected to the on-vehicle charger and is configured to output a target CP signal in a conducting state; The charge and discharge control method further includes: If the second measured electrical parameter does not meet the charge and discharge condition, the third switch and the fourth switch are respectively controlled to be turned off.

8. A control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the charge and discharge control method according to any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the charge and discharge control method according to any one of claims 1 to 7 is implemented.

10. A charging pile, characterized in that, The charging pile includes a first interface, a second interface, and a control device as claimed in claim 8; the first interface is used to connect to a plug or a socket; the second interface is used to connect to a vehicle, and the second interface includes a first switch; a first end of the first switch is connected to the first interface, and a second end of the first switch is connected to the on-vehicle charger of the vehicle; The control device is connected to the first interface and the first switch.

Citation Information

Patent Citations

  • Vehicle charging control method, vehicle charging system and vehicle

    CN119749326A

  • Charging pile control circuit and charging pile

    CN221233560U

Cited By

  • Intelligent charging and discharging switching and mode recognition circuit structure and method for three-in-one charging pile

    CN120735643A