Control method and system for AC V2G charging and discharging, and computer equipment

CN121625872APending Publication Date: 2026-03-10SHAANXI GREEN ENERGY ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-27
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing V2G technology has bottlenecks in terms of unified adaptation of communication protocols, which has prevented the full implementation of remote control and status monitoring functions for charging and discharging equipment.

Method used

By acquiring the PWM signal with a 5% duty cycle from the charging pile, it is determined whether the discharging vehicle meets the discharge allowable conditions. When the conditions are met, a second control signal is output to establish a communication connection. Detailed information is exchanged via Bluetooth communication, including real-time monitoring and control of information such as remaining battery power, charging/discharging current/voltage, grid frequency, battery temperature, and amount of discharge.

Benefits of technology

Without altering the original equipment, it is compatible with the current national standard AC charging standard, realizes detailed V2G discharge information exchange, supports complex bidirectional energy exchange, and makes up for the limited information exchange of CP signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121625872A_ABST
    Figure CN121625872A_ABST
Patent Text Reader

Abstract

The invention provides a control method and system for AC V2G charging and discharging, computer equipment and a readable storage medium. The control method for alternating current V2G charging and discharging comprises the steps that a first control signal of a charging pile is obtained, whether a discharging vehicle meets a discharging allowing condition or not is determined based on the first control signal, and the first control signal is a PWM signal with the duty ratio of 5%; if the discharging vehicle meets the discharging allowing condition, a second control signal is output to the charging pile, so that the charging pile establishes communication connection with the discharging vehicle based on the first control signal and the second control signal; the discharging vehicle is controlled to discharge on the basis of the communication connection, interaction information of the discharging process is obtained, operation and stopping of the discharging process are controlled on the basis of the interaction information, and the interaction information comprises the remaining capacity of a battery of the discharging vehicle, the charging and discharging current / voltage, the power grid frequency, the battery temperature, the discharged capacity and the service duration.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of charging equipment, in particular to a control method and system for AC V2G charging and discharging, a computer device and a readable storage medium. BACKGROUND

[0002] With the increasing penetration of new energy electric vehicles and the acceleration of smart grid construction, the demand for bi-directional energy interaction between electric vehicles and the grid is increasingly prominent. V2G (Vehicle-to-Grid) technology realizes the energy interaction between electric vehicles and the grid through bi-directional charging and discharging equipment. The core principle is to charge and store energy during the low valley of the grid load and to reversely discharge during the peak, thereby creating economic benefits by taking advantage of the price difference between peak and valley electricity, and optimizing the load balance of the grid. This technology converts electric vehicle batteries into distributed energy storage units, supports grid peak shaving, promotes renewable energy consumption, and reduces user electricity costs.

[0003] V2G technology needs to realize remote control, state monitoring and grid response functions of charging and discharging equipment to support peak-valley arbitrage, frequency modulation auxiliary services and other application scenarios. At present, the detailed technical solution of V2G has not been fully implemented, and there is still an adaptation bottleneck in the unification of communication protocols. SUMMARY

[0004] Therefore, it is necessary to provide a control method and system for AC V2G charging and discharging, a computer device and a readable storage medium in view of the above technical problems.

[0005] A control method for AC V2G charging and discharging, comprising: obtaining a first control signal of a charging pile, and determining whether a discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a PWM signal with a 5% duty cycle; if the discharging vehicle meets the discharging permission condition, outputting a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; controlling the discharging vehicle to discharge based on the communication connection, obtaining interaction information of the discharging process, and controlling the operation and stop of the discharging process based on the interaction information, the interaction information including the remaining battery capacity of the discharging vehicle, the charging and discharging current / voltage, the grid frequency, the battery temperature, the discharged amount, and the service duration.

[0006] In one embodiment, the step of obtaining a first control signal of a charging pile and determining whether a discharging vehicle meets a discharging permission condition based on the first control signal comprises: obtaining the first control signal of the charging pile, the first control signal being a PWM signal with a 5% duty cycle; determining a vehicle interface connection state and an RC resistance value of the discharging vehicle based on the first control signal; determining whether the discharging vehicle meets a discharging permission condition based on the vehicle interface connection state and the RC resistance value of the discharging vehicle.

[0007] In one of the embodiments, if the discharging vehicle meets the discharging permission condition, the step of outputting a second control signal to the charging pile to make the charging pile establish a communication connection with the discharging vehicle based on the first control signal and the second control signal comprises: if the vehicle interface connection state and the RC resistance value of the discharging vehicle meet the discharging permission condition, outputting a second control signal to the charging pile to make the charging pile stop outputting the first control signal based on the second control signal; when the discharging vehicle cannot obtain the first control signal, controlling the discharging vehicle to establish a Bluetooth communication connection with the charging pile.

[0008] In one of the embodiments, the step of controlling the discharging vehicle to establish a Bluetooth communication connection with the charging pile when the discharging vehicle cannot obtain the first control signal comprises: when the discharging vehicle cannot obtain the first control signal, controlling the discharging vehicle to output a first Bluetooth communication instruction to the charging pile to make the charging pile establish a Bluetooth communication connection with the discharging vehicle based on the first Bluetooth communication instruction; if the discharging vehicle does not receive Bluetooth connection feedback information from the charging pile within a preset first time, repeatedly controlling the discharging vehicle to output a first Bluetooth communication instruction to the charging pile to make the charging pile establish a Bluetooth communication connection with the discharging vehicle based on the first Bluetooth communication instruction.

[0009] In one of the embodiments, the first Bluetooth communication instruction comprises a Bluetooth name of the discharging vehicle, and the preset first time is 200 milliseconds.

[0010] In one of the embodiments, the step of determining whether the vehicle interface connection state and the RC resistance value of the discharging vehicle meet the discharging permission condition comprises: detecting whether the vehicle interface of the discharging vehicle is completely connected and a mechanical locking device is in a closed state; detecting an RC resistance value of the vehicle interface of the discharging vehicle, and determining a rated current capacity of a charging cable according to the resistance value; when the vehicle interface of the discharging vehicle is completely connected and the RC resistance value corresponds to a valid cable capacity state, determining that the vehicle interface connection state and the RC resistance value of the discharging vehicle meet the discharging permission condition, and allowing to enter a discharging process.

[0011] In one embodiment, the control method for AC V2G charging and discharging further comprises: After the discharging vehicle obtains the first control signal, if a second control signal is not fed back to the charging pile within a preset second time, the charging pile stops outputting the first control signal and outputs a PWM signal meeting the charging standard, so that the charging pile enters a standard charging process.

[0012] A control system for AC V2G charging and discharging, comprising: A detection module for obtaining a first control signal of a charging pile and determining whether a discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a 5% duty cycle PWM signal; A processing module connected with the detection module, the processing module being configured to output a second control signal to the charging pile if the discharging vehicle meets the discharging permission condition, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; A discharging module connected with the processing module, the discharging module being configured to control the discharging vehicle to discharge based on the communication connection, obtain interaction information of a discharging process, and control the operation and stop of the discharging process based on the interaction information, the interaction information including a remaining battery capacity of the discharging vehicle, a charging and discharging current / voltage, a power grid frequency, a battery temperature, a discharged capacity, and a service duration.

[0013] A computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method of any one of the above embodiments when executing the computer program.

[0014] A computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the steps of the method of any one of the above embodiments.

[0015] Compared with the prior art, the control method, system, computer device and readable storage medium for AC V2G charging and discharging. The control method for AC V2G charging and discharging comprises: acquiring a first control signal of a charging pile, and determining whether a discharging vehicle satisfies a discharging permission condition based on the first control signal, the first control signal being a PWM signal with a 5% duty cycle; if the discharging vehicle satisfies the discharging permission condition, outputting a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; controlling the discharging vehicle to discharge based on the communication connection, acquiring interaction information of the discharging process, and controlling the operation and stop of the discharging process based on the interaction information, the interaction information comprising a remaining battery capacity of the discharging vehicle, a charging and discharging current / voltage, a power grid frequency, a battery temperature, a discharged amount, and a service duration.

[0016] The method can be used in the present application, which can be compatible with the existing national standard AC charging standard without changing the original equipment, and can interact with the detailed information of V2G discharging through the established Bluetooth communication based on CP interaction, make up for the bottleneck of limited information interaction of AC pile through CP signal, and effectively support the complex bidirectional interaction required by AC V2G. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0018] Figure 1 The flow chart of the control method for AC V2G charging and discharging provided by an embodiment of the present application is provided. Figure 2 The implementation schematic diagram of the control method for AC V2G charging and discharging provided by an embodiment of the present application is provided. Figure 3 The logic flow chart of the control method for AC V2G charging and discharging provided by an embodiment of the present application is provided. Figure 4 The structural block diagram of the control system for AC V2G charging and discharging provided by an embodiment of the present application is provided. Figure 5 The internal structure diagram of the computer device provided by an embodiment of the present application is provided.

[0019] Explanation of reference numerals: 10, control system for AC V2G charging and discharging; 100, detection module; 200, processing module; 300, discharging module. DETAILED DESCRIPTION

[0020] In order to make the above objectives, features and advantages of the present application more clear, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. It will be apparent, however, to one skilled in the art, that the present application can be practiced without using some or all of these specific details. In other instances, well known process steps have not been described in detail in order to avoid obscuring the present application.

[0021] The terms "first", "second", and the like in the description and in the claims, if any, are used for distinguishing between similar elements and not necessarily for describing a sequential or chronological order. The terms "coupled" and "connected", if used, are used broadly and encompass both direct and indirect coupling, connection, or the like. In the description and in the claims, the terms "on", "over", and "under" are used broadly and encompass both direct and indirect on, over, and under arrangements unless otherwise stated or required by context.

[0022] In the present application, unless otherwise clearly specified and limited, a first feature "on" or "under" a second feature can mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Also, the first feature "over", "above", and "on top of" the second feature can mean that the first feature is directly above or obliquely above the second feature, or only means that the first feature is higher than the second feature in horizontal height. The first feature "under", "below", and "underneath" the second feature can mean that the first feature is directly below or obliquely below the second feature, or only means that the first feature is lower than the second feature in horizontal height.

[0023] It should be noted that when an element is referred to as being "on" another element, it can be directly on the other element or intervening elements can also be present. Where an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled or intervening elements can also be present.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this description, the singular forms "a", "an" and "the" include plural references unless the context clearly dictates otherwise. The term "and / or" includes any and all combinations of one or more of the associated listed items.

[0025] See Figures 1 to 3 An embodiment of the present application provides a control method for AC V2G charging and discharging. The control method for AC V2G charging and discharging comprises the following steps of: S102: acquiring a first control signal of a charging pile, and determining whether a discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a PWM signal with a 5% duty cycle.

[0026] In some embodiments, when a discharging vehicle (i.e., an electric vehicle) is connected to a charging pile supporting a V2G function through an AC charging interface, a vehicle control system starts to listen to a control pilot signal from the charging pile. In some embodiments, the charging pile sends a pulse width modulation (PWM) signal to the outside through a control pilot circuit (CP line) for connection confirmation and parameter transmission. In some embodiments, the charging pile sends a PWM signal with a specific duty cycle (for example, a 5% duty cycle) as a first control signal to start a V2G discharging process. This specific duty cycle signal is a predefined instruction signal for triggering the vehicle to enter a V2G discharging standby state.

[0027] Specifically, before V2G discharging, discharging settings should be made on the vehicle, then the charging and discharging connection device is connected, and the vehicle interface connection state and the RC resistance value are within the level requirement to allow discharging. The charging pile CP loop sends a 5% PWM signal duty cycle. After the discharging vehicle receives the 5% PWM signal duty cycle, if the discharging vehicle has a discharging function and is in a discharging permission state, the S2 switch performs switching action at an agreed frequency and duty cycle.

[0028] S104: If the discharging vehicle meets the discharging permission condition, outputting a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal.

[0029] In some embodiments, if the discharging permission condition is met, the vehicle control system will actively feedback a second control signal to the charging pile. In an embodiment, the second control signal can be manifested as that the vehicle side pulls down the CP line to a specific voltage (for example, 6V) in response to the 5% duty cycle PWM signal sent by the charging pile. After receiving the second control signal feedback by the vehicle, the charging pile interprets that the vehicle has confirmed and is ready to enter the V2G discharging mode. Therefore, the charging pile will stop outputting the original first control signal (PWM signal) with a 5% duty cycle. The disappearance of the PWM signal on the CP line constitutes an explicit "signal switching event".

[0030] The discharging vehicle continuously monitors the CP line signal, and when it detects that the PWM signal (first control signal) from the charging pile disappears, it triggers the next action: starting the non-guided line communication between the charging pile and the vehicle. This embodiment preferably uses Bluetooth communication as a supplementary communication channel. The vehicle control system then controls the on-board Bluetooth module to attempt to establish a Bluetooth connection with the charging pile. In some embodiments, the discharging vehicle starts to send the vehicle-side Bluetooth name to the pile side through S2 switch action (12 bytes per second, 2 seconds to complete Bluetooth name transfer) (before sending the Bluetooth name, 2 headers such as 0xAA 0Xaa are sent first, and 2 trailers 0x55 0x55 are sent after the Bluetooth name is sent) After the pile side obtains the vehicle-side Bluetooth name, it connects to the vehicle-side Bluetooth and obtains the vehicle-side SOC related information through Bluetooth communication to perform real-time information interaction between the pile side and the vehicle side.

[0031] S106: Control the discharging vehicle to discharge based on the communication connection, obtain interaction information of the discharging process, and control the operation and stop of the discharging process based on the interaction information, the interaction information including the remaining battery capacity of the discharging vehicle, the charging and discharging current / voltage, the grid frequency, the battery temperature, the discharged amount, and the service time.

[0032] In some embodiments, after the Bluetooth communication connection between the vehicle and the charging pile is successfully established, both parties enter the V2G discharging phase of cooperative work. The entire discharging process is controlled and information is exchanged through this Bluetooth link: Discharging control: The charging pile or the background energy management system sends discharging power instructions, start / stop discharging commands, etc. to the vehicle through the Bluetooth link. The vehicle control system analyzes and executes these instructions to accurately control the on-board inverter to convert the direct current of the battery into alternating current synchronized with the grid and feed it into the grid.

[0033] Information exchange and monitoring: During the discharging process, the vehicle control system uploads key interaction information to the charging pile or the background server in real time or periodically through the Bluetooth link. These information at least includes: battery status: remaining battery capacity (SOC) of the discharging vehicle; electrical parameters: real-time charging and discharging current and voltage; grid status: grid frequency monitored by the vehicle inverter grid connection point; safety parameters: battery temperature; process statistics: cumulative discharged amount, service time of this discharging.

[0034] In some embodiments, during the discharging process, when the vehicle set discharging end condition is reached or the stop discharging instruction is manually initiated, the vehicle end stops discharging, and controls the switch S2 to be turned off. The pile side also stops discharging state after detection. If a fault occurs at the vehicle end or the discharging requirement is not met during the discharging process, then S2 is turned off, the pile side detects that S2 is turned off, the discharging is terminated, and the fault information is transmitted to the pile end through Bluetooth for viewing. If a fault occurs at the pile end or the discharging requirement is not met during the discharging process, then the PWM signal is stopped, the vehicle end detects the signal interruption, the vehicle end stops discharging, then S2 is turned off, and the pile end transmits the fault information to the vehicle end through Bluetooth, and the fault information can also be viewed through the pile end.

[0035] The above method is used in the present embodiment, which can be compatible with the existing national standard AC charging standard without changing the original equipment. On the basis of CP interaction, detailed information interaction of V2G discharging is carried out through the established Bluetooth communication, which makes up for the bottleneck of limited information interaction of AC pile through CP signal, and can effectively support the complex bidirectional interaction required by AC V2G.

[0036] In some embodiments, the step of obtaining the first control signal of the charging pile and determining whether the discharging vehicle meets the discharging permission condition based on the first control signal includes: obtaining the first control signal of the charging pile, the first control signal being a 5% duty cycle PWM signal; determining the vehicle interface connection state and RC resistance value of the discharging vehicle based on the first control signal; and determining whether the discharging vehicle meets the discharging permission condition based on the vehicle interface connection state and RC resistance value of the discharging vehicle.

[0037] In some embodiments, the step of determining whether the vehicle interface connection state and RC resistance value of the discharging vehicle meet the discharging permission condition includes: detecting whether the vehicle interface of the discharging vehicle is completely connected and the mechanical locking device is in a closed state; detecting the RC resistance value of the vehicle interface of the discharging vehicle, and determining the rated current capacity of the charging cable according to the resistance value; and when the vehicle interface of the discharging vehicle is completely connected and the RC resistance value corresponds to an effective cable capacity state, it is determined that the vehicle interface connection state and RC resistance value of the discharging vehicle meet the discharging permission condition, and the discharging process is allowed to enter.

[0038] In some embodiments, the vehicle control system detects whether the charging gun and the discharging vehicle have achieved complete physical connection (for example, by monitoring the state of the Connection Confirm (CC) line), and checks whether the mechanical locking device has been reliably locked, ensuring the safety and stability of the physical connection. The RC resistance value is confirmed: the vehicle control system measures the resistance value of the CP line to ground (PE), that is, the RC resistance value. The resistance is located in the charging gun or cable, and the resistance value corresponds to the rated current capacity of the charging cable (for example, as shown in the following table, when the connection state is state D, RC is 680Ω corresponding to a current capacity of 16A; when the connection state is state E, RC is 220Ω corresponding to a current capacity of 32A, etc.). The system confirms whether the charging cable used meets the current carrying capacity required for discharging by determining whether the RC resistance value is within the valid range.

[0039] Only when the system detects that the vehicle interface is completely connected and locked, and the cable capacity indicated by the RC resistance value is valid and sufficient, is it determined that the discharging vehicle meets the discharging permission condition.

[0040] In some embodiments, if the discharging vehicle meets the discharging permission condition, the step of outputting a second control signal to the charging pile to enable the charging pile to establish a communication connection with the discharging vehicle based on the first control signal and the second control signal includes: if the vehicle interface connection state of the discharging vehicle and the RC resistance value meet the discharging permission condition, outputting a second control signal to the charging pile to enable the charging pile to stop outputting the first control signal based on the second control signal; when the discharging vehicle cannot obtain the first control signal, controlling the discharging vehicle to establish a Bluetooth communication connection with the charging pile.

[0041] In some embodiments, the step of controlling the discharging vehicle to establish a Bluetooth communication connection with the charging pile when the discharging vehicle cannot obtain the first control signal includes: when the discharging vehicle cannot obtain the first control signal, controlling the discharging vehicle to output a first Bluetooth communication instruction to the charging pile to enable the charging pile to establish a Bluetooth communication connection with the discharging vehicle based on the first Bluetooth communication instruction; if the discharging vehicle does not receive Bluetooth connection feedback information from the charging pile within a preset first time, repeatedly controlling the discharging vehicle to output a first Bluetooth communication instruction to the charging pile to enable the charging pile to establish a Bluetooth communication connection with the discharging vehicle based on the first Bluetooth communication instruction. In some embodiments, the first Bluetooth communication instruction includes the Bluetooth name of the discharging vehicle, and the preset first time is 200 milliseconds.

[0042] In some embodiments, the process of establishing a Bluetooth connection specifically is that the vehicle Bluetooth module actively broadcasts a pairing request instruction (i.e. the first Bluetooth communication instruction) containing the Bluetooth name of the vehicle to the outside. The Bluetooth module of the charging pile responds and completes the pairing handshake after receiving the instruction, thereby establishing an independent and bidirectional Bluetooth data link. To ensure connection reliability, a preset first time (e.g. 200 ms) is set on the vehicle side for waiting. If no Bluetooth connection feedback information (such as an acknowledgement message) from the charging pile is received within 200 ms, the vehicle control system will determine that the connection attempt has timed out, and automatically repeatedly send the Bluetooth pairing request instruction until the connection is successfully established or the upper limit of retries is reached.

[0043] In some embodiments, the control method for AC V2G charging and discharging further comprises: after the discharging vehicle receives the first control signal, if no second control signal is fed back to the charging pile within a preset second time, the charging pile stops outputting the first control signal and outputs a PWM signal meeting the charging standard, so that the charging pile enters the standard charging process. In some embodiments, if the charging pile does not detect the communication signal fed back by the discharging vehicle for more than 5 seconds after the gun is inserted, it will exit the discharging mode and switch to the charging PWM signal.

[0044] In some embodiments, after the discharging vehicle (i.e. the vehicle side) and the charging pile (i.e. the pile side) establish a connection and interact the discharging rated capacity, the pile side needs to first close the power relay, and the vehicle side can detect the phase and frequency of the grid voltage. The DC / AC inverter of the vehicle side performs grid phase locking to ensure that the AC power output by the inverter operates synchronously with the grid. During the discharging process, the vehicle side communicates and monitors the resistance value between detection point 3 and PE and the duty cycle of the PWM signal of detection point 2, and the pile side communicates and monitors detection point 1. The Bluetooth communication established between the pile side and the vehicle side is used to monitor the discharging process in real time. The pile side monitors the discharging voltage and current, and the vehicle side monitors the working state of the battery during discharging. The bidirectional inverter of the vehicle side adjusts the power quality during the discharging process. The discharging vehicle outputs an AC voltage with an accuracy of no more than ±5% of the rated AC voltage, a frequency of no more than 50±0.5 Hz, and a total distortion rate of no more than 8%. The pile side can perform auxiliary power quality monitoring. When the vehicle sets the end condition is reached or a manual instruction to stop discharging is issued, the vehicle side stops discharging and controls the switch S2 to be opened, and the pile side also stops the discharging state after detection.

[0045] If the vehicle end fails or does not meet the discharge requirements during the discharging process, S2 is disconnected, the pile side detects that S2 is disconnected, the discharging is terminated, and the fault information is sent to the vehicle end through Bluetooth for viewing. If the pile end fails or does not meet the discharge requirements during the discharging process, the PWM signal is stopped, the vehicle end detects the interruption of the signal, the vehicle end stops discharging, then S2 is disconnected, and the fault information is sent to the vehicle end through Bluetooth, and the fault information can also be viewed through the pile end.

[0046] Please refer to Figure 4 An embodiment of the present application provides a control system 10 for AC V2G charging and discharging. The control system 10 for AC V2G charging and discharging comprises a detection module 100, a processing module 200 and a discharging module 300. The detection module 100 is configured to acquire a first control signal of a charging pile, and determine whether a discharging vehicle meets a discharging permission condition based on the first control signal, wherein the first control signal is a PWM signal with a 5% duty cycle. The processing module 200 is connected with the detection module 100, and the processing module 100 is configured to output a second control signal to the charging pile to make the charging pile establish a communication connection with the discharging vehicle based on the first control signal and the second control signal, if the discharging vehicle meets the discharging permission condition. The discharging module 300 is connected with the processing module 200, and the discharging module 300 is configured to control the discharging vehicle to discharge based on the communication connection, acquire interaction information of a discharging process, and control the running and stopping of the discharging process based on the interaction information, wherein the interaction information comprises a remaining battery capacity of the discharging vehicle, a charging and discharging current / voltage, a power grid frequency, a battery temperature, a discharged capacity and a service duration.

[0047] In some embodiments, the specific structure of the detection module 100 is not limited, as long as the detection module 100 has the function of acquiring a first control signal of a charging pile, and determining whether a discharging vehicle meets a discharging permission condition based on the first control signal. In some embodiments, the detection module 100 can be a detection circuit or a control chip.

[0048] In some embodiments, the specific structure of the processing module 200 is not limited, as long as the processing module 200 has the function of outputting a second control signal to the charging pile to make the charging pile establish a communication connection with the discharging vehicle based on the first control signal and the second control signal, if the discharging vehicle meets the discharging permission condition. In some embodiments, the processing module 200 can be a control chip.

[0049] In some embodiments, the specific structure of the discharging module 300 is not limited as long as it has the functions of controlling the discharging of the discharging vehicle based on the communication connection, obtaining interaction information of the discharging process, and controlling the start and stop of the discharging process based on the interaction information, which includes the remaining battery capacity of the discharging vehicle, the charging and discharging current / voltage, the grid frequency, the battery temperature, the discharged amount, and the service time length. In some embodiments, the discharging module 300 can be a control chip.

[0050] In one embodiment, a computer device, which can be a terminal, is provided, and an internal structure diagram of the computer device can be as shown in Figure 5 The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the computer device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a control method for alternating current V2G charging and discharging. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball, or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0051] Those skilled in the art can understand that Figure 5 the structure shown in the above embodiment is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0052] Please refer to Figure 5 , another embodiment of the present application provides a computer device including a memory and a processor. The memory stores a computer program, and the processor implements the steps of the control method for alternating current V2G charging and discharging according to any one of the above embodiments when executing the computer program.

[0053] In one embodiment, the processor executes the computer program to implement the following steps: S102: obtaining a first control signal of the charging pile, and determining whether the discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a 5% duty ratio PWM signal; S104: If the discharging vehicle meets the discharging permission condition, output a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; S106: Control the discharging vehicle to discharge based on the communication connection, acquire interaction information of the discharging process, and control the operation and stop of the discharging process based on the interaction information, the interaction information including the remaining battery capacity of the discharging vehicle, the charging and discharging current / voltage, the grid frequency, the battery temperature, the discharged amount, and the service duration.

[0054] An embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the control method for alternating current V2G charging and discharging.

[0055] In one embodiment, the computer program is executed by the processor to implement the following steps: S102: Acquire a first control signal of a charging pile, and determine whether a discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a 5% duty cycle PWM signal; S104: If the discharging vehicle meets the discharging permission condition, output a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; S106: Control the discharging vehicle to discharge based on the communication connection, acquire interaction information of the discharging process, and control the operation and stop of the discharging process based on the interaction information, the interaction information including the remaining battery capacity of the discharging vehicle, the charging and discharging current / voltage, the grid frequency, the battery temperature, the discharged amount, and the service duration.

[0056] The computer device and the computer readable storage medium described above adopt the method described above, can be compatible with the existing national standard alternating current charging standard without changing the original device, can interact the detailed information of V2G discharging through the established Bluetooth communication on the basis of CP interaction, can make up for the bottleneck of limited information interaction of alternating current pile through CP signal, and can effectively support the complex bidirectional interaction required by alternating current V2G.

[0057] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, storage, databases, or other media in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0058] The technical features of the above-mentioned embodiments can be combined in any way. In order to make the description simple, all possible combinations of the technical features in the above-mentioned embodiments are not described, but as long as the combination of the technical features does not exist, it should be considered as the scope of the description.

[0059] The above-mentioned embodiments only express several embodiments of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of the patent protection of the present application should be subject to the appended claims.

Claims

1. A control method for AC V2G charging and discharging, characterized by, The method comprises the following steps: acquiring a first control signal of a charging pile, and determining whether a discharge vehicle meets a discharge permission condition based on the first control signal, the first control signal being a PWM signal with a 5% duty cycle; if the discharge vehicle meets the discharge permission condition, outputting a second control signal to the charging pile, so that the charging pile establishes a communication connection with the discharge vehicle based on the first control signal and the second control signal; controlling the discharge vehicle to discharge based on the communication connection, acquiring interaction information of a discharging process, and controlling the operation and stop of the discharging process based on the interaction information, the interaction information including the remaining battery capacity of the discharge vehicle, the charging and discharging current / voltage, the power grid frequency, the battery temperature, the discharged amount, and the service time length.

2. The control method for AC V2G charge-discharge according to claim 1, wherein, The step of acquiring the first control signal of the charging pile and determining whether the discharge vehicle meets the discharge permission condition based on the first control signal comprises: acquiring the first control signal of the charging pile, the first control signal being a PWM signal with a 5% duty cycle; determining the vehicle interface connection state and the RC resistance value of the discharge vehicle based on the first control signal; determining whether the discharge vehicle meets the discharge permission condition based on the vehicle interface connection state and the RC resistance value of the discharge vehicle.

3. The control method for AC V2G charge-discharge according to claim 2, characterized by, The step of outputting the second control signal to the charging pile if the discharge vehicle meets the discharge permission condition, so that the charging pile establishes a communication connection with the discharge vehicle based on the first control signal and the second control signal comprises: if the vehicle interface connection state and the RC resistance value of the discharge vehicle meet the discharge permission condition, outputting the second control signal to the charging pile, so that the charging pile stops outputting the first control signal based on the second control signal; when the discharge vehicle cannot acquire the first control signal, controlling the discharge vehicle to establish a Bluetooth communication connection with the charging pile.

4. The control method for AC V2G charge-discharge according to claim 3, characterized by, The step of controlling the discharge vehicle to establish a Bluetooth communication connection with the charging pile when the discharge vehicle cannot acquire the first control signal comprises: when the discharge vehicle cannot acquire the first control signal, controlling the discharge vehicle to output a first Bluetooth communication instruction to the charging pile, so that the charging pile establishes a Bluetooth communication connection with the discharge vehicle based on the first Bluetooth communication instruction; if the discharge vehicle does not receive Bluetooth connection feedback information from the charging pile within a preset first time, repeatedly controlling the discharge vehicle to output the first Bluetooth communication instruction to the charging pile, so that the charging pile establishes a Bluetooth communication connection with the discharge vehicle based on the first Bluetooth communication instruction.

5. The control method for AC V2G charge-discharge according to claim 4, wherein The first Bluetooth communication instruction includes the Bluetooth name of the discharge vehicle, and the preset first time is 200 milliseconds.

6. The control method for AC V2G charge-discharge according to claim 3, wherein The step of determining whether the discharge vehicle meets the discharge permission condition based on the vehicle interface connection state and the RC resistance value of the discharge vehicle comprises: detecting whether the vehicle interface of the discharge vehicle is completely connected and whether the mechanical locking device is in a closed state; detecting the RC resistance value of the vehicle interface of the discharge vehicle, and determining the rated current capacity of the charging cable according to the resistance value; When the vehicle interface of the discharging vehicle is fully connected and the RC resistance value corresponds to the valid cable capacity state, it is determined that the vehicle interface connection state and the RC resistance value of the discharging vehicle meet the discharging permission condition, and the discharging process is allowed to enter.

7. The control method for AC V2G charge-discharge according to Claim 1, wherein The method further comprises: After the discharging vehicle obtains the first control signal, if a second control signal is not fed back to the charging pile within a preset second time, the charging pile stops outputting the first control signal and outputs a PWM signal meeting the charging standard, so that the charging pile enters a standard charging process.

8. A control system for AC V2G charging and discharging, characterized by, Comprise: The detection module is configured to obtain a first control signal of the charging pile and determine whether the discharging vehicle meets a discharging permission condition based on the first control signal, the first control signal being a 5% duty ratio PWM signal; The processing module is connected with the detection module, and is configured to output a second control signal to the charging pile if the discharging vehicle meets the discharging permission condition, so that the charging pile establishes a communication connection with the discharging vehicle based on the first control signal and the second control signal; The discharging module is connected with the processing module, and is configured to control the discharging vehicle to discharge based on the communication connection, obtain interaction information of the discharging process, and control the operation and stop of the discharging process based on the interaction information, the interaction information including a remaining battery capacity of the discharging vehicle, a charging and discharging current / voltage, a power grid frequency, a battery temperature, a discharged amount, and a service time length. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 7.