Electrical performance detection method and device of charging and discharging equipment and electronic equipment
By conducting multi-item inspection of charging and discharging equipment, obtaining configuration parameters and operating parameters, and evaluating its electrical performance, the problem of low timeliness of fault handling in V2G technology is solved, ensuring the safety and stability of the equipment in V2G technology.
Patent Information
- Application Number
- CN202510621402.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-08-29
AI Technical Summary
When using V2G technology, existing charging and discharging equipment has low fault handling timeliness, resulting in uncertainty in the electrical performance control of electric vehicles and the power grid, which may affect the safety and stability of the equipment.
Provide a method for electrical performance detection of charging and discharging equipment. By obtaining configuration parameters and operating parameters of multiple detection items, sequentially configure the equipment and record key electrical parameters, comprehensively analyze the detection results to evaluate the electrical performance of the equipment.
It improves the timeliness detection of charge and discharge equipment failures, ensures the safe and reliable operation of the equipment in V2G technology, and reduces the risk of equipment failures.
Smart Images

Figure CN120559345A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy and energy-saving technologies, and more specifically, to a method and device for detecting the electrical performance of a charging and discharging device, and an electronic device. Background Art
[0002] Vehicle-to-grid (V2G) technology offers a new solution for grid balancing and emergency response. It allows electric vehicles to charge from the grid during off-peak hours and discharge back to the grid during peak hours, thereby optimizing the allocation of power resources. V2G technology not only helps the grid regulate voltage and frequency, improving power supply reliability, but also provides additional power to the grid, enhancing the intelligence and stability of the new power system.
[0003] However, when using charging and discharging equipment equipped with V2G technology for bidirectional charging and discharging, problems such as the inability of electric vehicles to discharge to the power grid or uncertain risks of the power grid may arise. As a result, when implementing V2G technology, the control of the electrical performance of electric vehicles during charging and discharging is uncertain, and it is impossible to effectively avoid the impact that the charging and discharging process may have on the performance of electric vehicle batteries, as well as the risks that may be brought to the stability and security of the power grid.
[0004] When there is an abnormality in the bidirectional charging and discharging operation of the current charging and discharging equipment, the fault can only be handled when the problem occurs, which reduces the timeliness of the fault handling and may cause unnecessary failures of the charging and discharging equipment or electric vehicles, affecting the safe operation of the equipment.
[0005] With respect to the problem in the related art that the timeliness of processing the charging and discharging equipment when a fault occurs in the charging and discharging equipment is low, no effective solution has been proposed so far. Summary of the Invention
[0006] The present application provides a method, device and electronic device for detecting the electrical performance of a charging and discharging device, so as to solve the problem in the related art of low timeliness in processing the charging and discharging device when a fault occurs in the charging and discharging device.
[0007] According to one aspect of the present application, a method for testing the electrical performance of a charging and discharging device is provided. The method includes: obtaining test items that require testing of the charging and discharging device, obtaining M test items, and determining configuration parameters of the charging and discharging device based on each test item, obtaining M groups of configuration parameters, where M is a positive integer; sequentially configuring the charging and discharging device using each group of configuration parameters, and obtaining operating parameters of the charging and discharging device based on the test requirements of the test item, obtaining M groups of operating parameters; determining test results of the charging and discharging device under each test item based on each group of operating parameters, obtaining M test results, and determining electrical performance test results of the charging and discharging device based on the M test results.
[0008] Optionally, when the detection item is a grid-connected power output range detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: setting the DC port and AC port of the charging and discharging equipment to the rated voltage respectively, wherein the DC port is connected to the electric vehicle and the AC port is connected to the power grid; setting the maximum charging power and maximum discharging power of the charging and discharging equipment, and adjusting the charging power of the charging and discharging equipment from the initial value to the maximum charging power according to a preset step size, and from the maximum charging power to the maximum discharging power, and from the maximum discharging power to the initial value, to obtain N active power setting values, wherein N is a positive integer; controlling the charging and discharging equipment to operate for a preset time at each active power setting value, and obtaining the average active power and the average reactive power of the charging and discharging equipment under each operating time, to obtain N groups of average values, and determining the N groups of average values as operating parameters.
[0009] Optionally, determining the test results of the charging and discharging equipment under each test item based on each group of operating parameters includes: calculating the corresponding reactive power reference value based on the active power average value in each group of average values; calculating the difference between the reactive power reference value and the reactive power average value corresponding to the same group of average values to obtain a first difference; judging whether the first difference is greater than a preset difference, and when the first difference of any group of average values is greater than the preset difference, determining that the active power set value to which the group of average values belongs is an abnormal value, and determining that the test result is abnormal; when all first differences are less than or equal to the preset difference, determining that the test result is normal.
[0010] Optionally, when the detection item is a grid-connected active power control detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: setting the output active power of the AC port of the charging and discharging equipment, and running the charging and discharging equipment; when the charging and discharging equipment is in an operating state, sending a power change instruction to the charging and discharging equipment, and recording the instruction response time of the charging and discharging equipment and the target active power after responding to the power change instruction; determining the instruction response time and the target active power as operating parameters.
[0011] Optionally, determining the test results of the charging and discharging equipment under each test item based on each group of operating parameters includes: calculating the difference between the target active power and the output active power to obtain a second difference; judging whether the second difference is less than a preset difference, and determining that the test result is abnormal when the second difference is greater than the preset difference; judging whether the instruction response time is greater than a time threshold when the second difference is less than or equal to the preset difference; determining that the test result is abnormal when the instruction response time is greater than the time threshold; and determining that the test result is normal when the instruction response time is less than or equal to the time threshold.
[0012] Optionally, when the detection item is harmonic current detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: setting the output active power of the AC port of the charging and discharging equipment, and running the charging and discharging equipment; when the charging and discharging equipment is in operation, adjusting the output active power of the AC port to a preset value, and recording the harmonic current when the charging and discharging equipment is operating at the preset value to obtain the operating parameters; determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters includes: judging whether the harmonic current meets the preset current requirements, and when the harmonic current meets the preset current requirements, determining that the detection result is normal, and when the harmonic current does not meet the preset current requirements, determining that the detection result is abnormal.
[0013] Optionally, when the detection item is a grid voltage adaptability detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; adjusting the grid simulation device so that the AC port voltage of the charging and discharging equipment steps from the rated voltage to multiple target voltages and returns to the rated voltage; generating a relationship curve of the AC port voltage, active power and reactive power with time during the change process of the AC port voltage of the charging and discharging equipment, obtaining multiple first time relationship curves, and determining the multiple first time relationship curves as operating parameters; determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters, including: when each first time relationship curve meets the first preset requirement, determining the detection result is normal; when any first time relationship curve does not meet the first preset requirement, determining the detection result is abnormal.
[0014] Optionally, when the detection item is a grid frequency adaptability test, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; adjusting the grid simulation device so that the output active power of the AC port of the charging and discharging equipment is switched between multiple preset active powers, and synchronously collecting the AC port frequency, active power effective value and reactive power effective value of the charging and discharging equipment at each moment to obtain multiple second time relationship curves, and determining the multiple second time relationship curves as operating parameters; determining the test results of the charging and discharging equipment under each detection item according to each group of operating parameters includes: when each second time relationship curve meets the second preset requirement, determining the test result as normal; when any second time relationship curve does not meet the second preset requirement, determining the test result as abnormal.
[0015] According to another aspect of the present application, a device for testing the electrical performance of a charging and discharging device is provided. The device includes: an acquisition unit for acquiring test items that require testing of the charging and discharging device, obtaining M test items, and determining configuration parameters of the charging and discharging device based on each test item, obtaining M groups of configuration parameters, where M is a positive integer; a configuration unit for sequentially configuring the charging and discharging device using each group of configuration parameters, and acquiring operating parameters of the charging and discharging device based on the test requirements of the test items, obtaining M groups of operating parameters; and a determination unit for determining test results of the charging and discharging device under each test item based on each group of operating parameters, obtaining M test results, and determining an electrical performance test result of the charging and discharging device based on the M test results.
[0016] According to another aspect of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method for detecting electrical performance of a charging and discharging device provided in the aforementioned embodiment of the present application is implemented.
[0017] According to another aspect of the present invention, an electronic device is provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein when the computer-readable instructions are executed, a method for detecting electrical performance of a charging and discharging device provided in the aforementioned embodiment is executed.
[0018] The present application adopts the following steps: obtaining the test items that need to be tested on the charging and discharging equipment to obtain M test items, and determining the configuration parameters of the charging and discharging equipment according to each test item to obtain M groups of configuration parameters, where M is a positive integer; sequentially configuring the charging and discharging equipment using each group of configuration parameters, and obtaining the operating parameters of the charging and discharging equipment according to the test requirements of the test items to obtain M groups of operating parameters; determining the test results of the charging and discharging equipment under each test item according to each group of operating parameters to obtain M test results, and determining the electrical performance test results of the charging and discharging equipment according to the M test results, thereby solving the problem of low timeliness in handling the charging and discharging equipment in the case of a fault in the charging and discharging equipment in the related art. By obtaining the test items for testing the charging and discharging equipment when the charging and discharging equipment is running, configuring the parameters of the charging and discharging equipment according to each test item, and running the charging and discharging equipment under each configuration parameter to obtain M groups of test results, and then determining whether the charging and discharging equipment has an abnormality based on the test results, and then determining whether the charging and discharging equipment has a fault in advance by testing the charging and discharging equipment, achieving the technical effect of improving the timeliness of determining whether the charging and discharging equipment has a fault. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of this application. The exemplary embodiments and descriptions of this application are intended to explain this application and do not constitute an improper limitation on this application. In the accompanying drawings:
[0020] Figure 1 This is a flow chart of a method for detecting electrical performance of a charging and discharging device according to an embodiment of the present application;
[0021] Figure 2 Schematic diagram of an electrical performance detection device for a charging and discharging device according to an embodiment of the present application;
[0022] Figure 3 This is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the electrical performance detection method, device and electronic equipment of the charging and discharging equipment determined in the present disclosure can be used in the field of new energy and energy-saving technology, and can also be used in any field other than the field of new energy and energy-saving technology. The application field of the electrical performance detection method, device and electronic equipment of the charging and discharging equipment determined in the present disclosure is not limited.
[0027] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize use or refuse use. If the user chooses to refuse, the expert decision-making process will be entered. For example, an interface is set up between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution.
[0028] The embodiments or examples of the present disclosure are not exhaustive, but are merely illustrations of some embodiments or examples, and are not intended to be specific limitations on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment or example can be implemented as an independent example, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be arbitrarily combined; in addition, the various embodiments or examples can be arbitrarily combined. For example, some or all steps of different embodiments or examples can be arbitrarily combined, and a certain embodiment or example can be arbitrarily combined with the optional methods or optional examples of other embodiments or examples.
[0029] For ease of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0030] Charging and discharging equipment: A device or system that can provide power to electric vehicles and, under certain conditions, extract electrical energy from them. The core function of this equipment is bidirectional energy conversion, converting electrical energy from the grid into chemical energy in the battery (the charging process) and converting chemical energy in the battery back into electrical energy that can be used by the grid (the discharging process).
[0031] According to an embodiment of the present application, a method for detecting electrical performance of a charging and discharging device is provided.
[0032] Figure 1 This is a flow chart of a method for detecting the electrical performance of a charging and discharging device according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:
[0033] Step S101: acquiring detection items that need to be detected for the charging and discharging device, obtaining M detection items, and determining configuration parameters of the charging and discharging device according to each detection item, obtaining M groups of configuration parameters, where M is a positive integer.
[0034] It should be noted that the test items may be items that require testing of the charging and discharging equipment. By testing each item, the electrical performance of the charging and discharging equipment under different working conditions can be comprehensively evaluated, thereby ensuring the normal operation of the charging and discharging equipment. Among them, the test items may include at least one of the following: grid-connected power output range test, grid-connected active power control test, current harmonic test, and grid adaptability test. Configuration parameters refer to the charging and discharging equipment parameters that need to be set in order to perform specific test items, such as power supply conditions, output power, operating mode, etc. For example, when performing an active power control test, it is necessary to set the discharge mode of the charging and discharging equipment and specify different power setting values.
[0035] Specifically, when testing charging and discharging equipment, the first step is to determine the specific items that need to be tested, such as power output range, active power control, current harmonics, and grid adaptability. Then, for each selected test item, the configuration parameters of the charging and discharging equipment are determined to ensure that the test can be carried out in accordance with the test requirements.
[0036] For example, if a grid-connected power output range test is selected, the configuration parameters should include the charging and discharging mode settings of the charging and discharging equipment, as well as the power output settings with different step lengths from the maximum charging power to the maximum discharging power, so as to obtain the configuration parameters corresponding to each test item and obtain M groups of configuration parameters, thereby ensuring that subsequent tests can be carried out under the correct parameter settings, thereby accurately evaluating the electrical performance of the charging and discharging equipment.
[0037] Step S102 : sequentially configure the charge-discharge device using each set of configuration parameters, and obtain operating parameters of the charge-discharge device according to the test requirements of the test item, to obtain M sets of operating parameters.
[0038] It should be noted that the operating parameters are the various electrical parameters of the charging and discharging equipment during operation during the detection process, such as voltage, current, active power, reactive power, etc.
[0039] Specifically, once each set of operating parameters has been determined, each set of configuration parameters needs to be used in turn to configure the charging and discharging equipment accordingly. For example, when grid-connected active power control testing is required, the charging and discharging equipment will be set to discharge mode and the AC port will be controlled to output a specific active power. After the equipment is configured, key parameters during equipment operation are monitored and recorded in real time. For example, the effective value of the active power at the AC port of the charging and discharging device is recorded at a 20 millisecond cycle to obtain operating parameters. Based on the obtained operating parameters, any abnormalities in the charging and discharging equipment can be determined to ensure stable operation of the charging and discharging equipment.
[0040] This embodiment obtains the operating parameters of the charging and discharging equipment under different configurations, and then analyzes the performance of the equipment under specific working conditions based on the operating parameters, providing data support for subsequent determination of the test results.
[0041] Step S103 , determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters, obtaining M test results, and determining the electrical performance test results of the charging and discharging equipment according to the M test results.
[0042] It should be noted that the test results can be obtained by analyzing the operating parameters for each test item, including whether the equipment's performance meets the standards and whether there are any abnormalities. The electrical performance test results are an overall electrical performance assessment of the charging and discharging equipment, obtained by combining the test results of all test items.
[0043] Specifically, after performing M test items on the charging and discharging equipment and recording the corresponding operating parameters, it is necessary to analyze the operating data of each item to obtain specific test results. For example, for the current harmonics test, the recorded harmonic current data is analyzed to determine whether it complies with the relevant standards. Finally, the M test results are comprehensively considered to comprehensively evaluate whether the electrical performance of the charging and discharging equipment meets the requirements. In other words, if all test results indicate that the charging and discharging equipment has no abnormalities, the electrical performance is determined to meet the requirements. If one or more test results indicate that the charging and discharging equipment has abnormalities, the electrical performance is determined to not meet the requirements, thereby ensuring the accuracy of the electrical performance evaluation of the charging and discharging equipment.
[0044] By comprehensively analyzing the test results of M test items, it is possible to comprehensively and accurately determine whether the electrical performance of the charging and discharging equipment meets the requirements for safe and reliable charging and discharging, thereby ensuring the normal operation of the charging and discharging equipment.
[0045] The electrical performance testing method of the charging and discharging device provided in the embodiment of the present application obtains M test items by obtaining the test items that need to be tested on the charging and discharging device, and determines the configuration parameters of the charging and discharging device according to each test item to obtain M groups of configuration parameters, where M is a positive integer; sequentially configures the charging and discharging device using each group of configuration parameters, and obtains the operating parameters of the charging and discharging device according to the test requirements of the test items to obtain M groups of operating parameters; determines the test results of the charging and discharging device under each test item according to each group of operating parameters to obtain M test results, and determines the electrical performance test results of the charging and discharging device according to the M test results, thereby solving the problem of low timeliness of handling the charging and discharging device in the case of a fault in the related art. By obtaining the test items for testing the charging and discharging device when the charging and discharging device is running, configuring the parameters of the charging and discharging device according to each test item, and running the charging and discharging device under each configuration parameter, thereby obtaining M groups of test results, and then determining whether the charging and discharging device has an abnormality based on the test results, and then determining whether the charging and discharging device has a fault in advance by testing the charging and discharging device, achieving the technical effect of improving the timeliness of determining whether the charging and discharging device has a fault.
[0046] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is the grid-connected power output range detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: setting the DC port and AC port of the charging and discharging equipment to the rated voltage respectively, wherein the DC port is connected to the electric vehicle and the AC port is connected to the power grid; setting the maximum charging power and the maximum discharging power of the charging and discharging equipment, and adjusting the charging power of the charging and discharging equipment from the initial value to the maximum charging power according to a preset step size, and from the maximum charging power to the maximum discharging power, and from the maximum discharging power to the initial value, to obtain N active power setting values, wherein N is a positive integer; controlling the charging and discharging equipment to operate for a preset time at each active power setting value, and obtaining the average active power and the average reactive power of the charging and discharging equipment under each operating time, to obtain N groups of average values, and determining the N groups of average values as operating parameters.
[0047] It should be noted that when the test item is the grid-connected power output range test, the DC port and AC port of the charging and discharging equipment need to be set to the rated voltage respectively. Among them, it is necessary to ensure that the DC port of the charging and discharging equipment is connected to the battery system of the electric vehicle, and the AC port is connected to the access point of the power grid. Next, adjust the voltage of the two ports to the rated voltage of the equipment, that is, the voltage value at which the equipment can operate stably for a long time. For example, if the rated voltage of the charging and discharging equipment is 220V, then the voltage of the DC port and the AC port should be set to 220V to simulate the actual use environment and ensure the consistency of the test conditions, thereby providing a standard test environment for the charging and discharging equipment to ensure the accuracy and reliability of subsequent test results. By setting the rated voltage, the power output performance of the charging and discharging equipment under normal operating voltage can be evaluated.
[0048] Furthermore, after the device is configured with the rated voltage, it is necessary to test the power output range. First, it is necessary to determine the maximum charging power and maximum discharge power of the charging and discharging equipment. These two parameters can be found in the specification sheet of the charging and discharging equipment. After that, you can start from an initial power and gradually increase the charging power with a preset step size (for example, one step size for every 10% of the rated power) until the maximum charging power is reached. Subsequently, starting from the maximum charging power, gradually reduce the power to the maximum discharge power, and then gradually reduce it to the initial power again. This process generates a series of active power setting points. Assuming that the number of steps from minimum to maximum power is 10, then N = 10 + 10 + 1 = 21 active power setting values.
[0049] By gradually adjusting the active power of the charging and discharging equipment, the performance of the equipment at different power output levels can be fully tested, including control accuracy and response speed, to ensure that in actual applications, the equipment can accurately adjust the charging and discharging power according to the needs of the grid.
[0050] Furthermore, at each active power setting value, the charging and discharging equipment needs to run for a period of time to stabilize its power output. The preset time length can be 30 seconds, so that at each power setting point, the charging and discharging equipment runs for 30 seconds. In the last 15 seconds of these 30 seconds, active power and reactive power data are collected with a period of 20 milliseconds. The data in the last 15 seconds is used to calculate the average value, thereby obtaining N groups of average values, representing the average active power and the average reactive power. In this way, the performance of the charging and discharging equipment under different power settings can be quantified. By calculating the average value, the power output capacity and grid adaptability of the equipment in a stable state can be effectively evaluated. At the same time, the acquisition of the reactive power average value also helps to analyze the impact of the charging and discharging equipment on the voltage and current quality of the grid.
[0051] This embodiment comprehensively and systematically evaluates the electrical performance of the equipment by precisely setting the power output of the charging and discharging equipment and the operating parameters of the acquisition equipment under different power settings. This not only verifies the maximum power output range of the charging and discharging equipment, but also deeply analyzes the control accuracy of the equipment during the power adjustment process and its adaptability to the power grid. This provides strong technical support for the implementation of V2G technology and ensures the safe and reliable two-way interaction between electric vehicles and the power grid.
[0052] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters includes: calculating the corresponding reactive power reference value according to the active power average value in each group of average values; calculating the difference between the reactive power reference value and the reactive power average value corresponding to the same group of average values to obtain a first difference; judging whether the first difference is greater than a preset difference, and when the first difference of any group of average values is greater than the preset difference, determining that the active power set value to which the group of average values belongs is an abnormal value, and determining that the detection result is abnormal; when all first differences are less than or equal to the preset difference, determining that the detection result is normal.
[0053] It should be noted that, when the detection item is grid-connected power output range detection and the operating parameters have been obtained, calculations can be performed based on the operating parameters, and the detection result of the grid-connected power output range can be determined based on the calculation results.
[0054] Specifically, after obtaining the average value of the charging and discharging equipment under N active power setting values (i.e., N groups of average values), the corresponding reactive power reference value can be calculated based on the active power average value in each group of average values through a pre-set algorithm or model, so as to evaluate the reactive power control capability of the charging and discharging equipment during the charging and discharging process by comparing the calculated reactive power reference value with the actual measured reactive power average value.
[0055] For example, assuming that the charging and discharging equipment is operating at 33% of the rated power, based on the characteristics of the equipment, the calculated reactive power reference value is 3kvar.
[0056] Furthermore, when calculating the reactive power reference value, for each set of average values, the average reactive power value is subtracted from the reactive power reference value to obtain a first difference. This first difference reflects the deviation between the reactive power during actual operation of the device and the ideal reactive power. For example, if the reactive power reference value is 3 kvar and the actual average reactive power value is 2.5 kvar, the first difference is 0.5 kvar. This first difference can then be used to determine whether the grid-connected power output range is set accurately and reasonably.
[0057] Furthermore, once the first difference values are obtained, each group's first difference value is compared with a preset difference threshold. If the first difference value is greater than the preset difference value, the active power setting value corresponding to the group average value is considered an abnormal value, indicating that the charging and discharging device is unable to control the reactive power within a reasonable deviation range within the grid-connected power output range. If all first difference values do not exceed the preset difference value, the electrical performance of the charging and discharging device under the grid-connected power output range test is considered normal, thus completing the grid-connected power output range test.
[0058] This embodiment calculates the difference between the reactive power performance of charging and discharging equipment at different active power settings and a reference value, thereby accurately assessing the rationality of the grid-connected power output range. By quantifying the deviation and setting anomaly determination criteria, this method can accurately and promptly identify potential problems with the equipment during the charging and discharging process, ensuring that the two-way interaction between electric vehicles and the grid meets safe and efficient requirements.
[0059] Optionally, in the electrical performance testing method of the charging and discharging equipment provided in an embodiment of the present application, when the test item is a grid-connected active power control test, the operating parameters of the charging and discharging equipment are obtained according to the test requirements of the test item, and M groups of operating parameters are obtained, including: setting the output active power of the AC port of the charging and discharging equipment, and running the charging and discharging equipment; when the charging and discharging equipment is in an operating state, sending a power change instruction to the charging and discharging equipment, and recording the instruction response time of the charging and discharging equipment and the target active power after responding to the power change instruction; determining the instruction response time and the target active power as operating parameters.
[0060] It should be noted that when testing grid-connected active power control, the AC port of the charging and discharging device must first be connected to the grid. An initial output active power value, such as 30% of the device's rated power, must then be set. The device then begins operating at this set value, exchanging energy with the grid. This initial output active power setting ensures the device is in a known operating state, providing a benchmark for subsequent power change command response testing.
[0061] Furthermore, while the charging and discharging equipment is operating, a power change command can be sent to it through the control interface, for example, to adjust the active power to 60kW. At the same time, a timer is started to record the time between receiving the command and the device's actual output power stabilizing at 60kW, known as the command response time. Furthermore, the actual active power output of the charging and discharging equipment after the power change command is executed is also recorded, known as the target active power.
[0062] Furthermore, when the instruction response time and the target active power are obtained, they can be recorded to obtain the operating parameters of the charging and discharging equipment.
[0063] This embodiment effectively evaluates the responsiveness of charging and discharging equipment to grid dispatch by issuing power change commands in real time and recording the equipment's response performance. By setting different output active powers to simulate the dynamic demands of the grid, and then testing the equipment's response time and target active power, the control accuracy and response speed are quantified, thereby obtaining the command response time and target active power. These can then be used as operating parameters to accurately determine the responsiveness of charging and discharging equipment to grid dispatch, thereby ensuring its normal operation.
[0064] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters includes: calculating the difference between the target active power and the output active power to obtain a second difference; judging whether the second difference is less than a preset difference, and when the second difference is greater than the preset difference, determining that the detection result is abnormal; when the second difference is less than or equal to the preset difference, judging whether the instruction response time is greater than a time threshold; when the instruction response time is greater than the time threshold, determining that the detection result is abnormal; when the instruction response time is less than or equal to the time threshold, determining that the detection result is normal.
[0065] It should be noted that after the device receives the power change instruction, it needs to record its target active power, that is, the power value required by the instruction. At the same time, the actual output active power of the device is monitored, that is, the power value at which the device stabilizes after responding to the instruction. The difference between the target active power and the output active power is calculated to obtain the second difference. For example, if the power change instruction requires the charging and discharging device to change its output active power from 30kW to 60kW, and the device actually outputs 59kW after responding, then the second difference is 1kW.
[0066] Furthermore, when a second difference is obtained, a preset difference needs to be set so as to compare the second difference with the preset difference. If the second difference is greater than the preset difference, it indicates that there is a large deviation in the power control of the charging and discharging equipment, and the detection result is marked as abnormal. If the second difference is less than or equal to the preset difference, it indicates that the power output of the equipment basically meets the instruction requirements, and the control accuracy can be considered to be up to standard, and the response time is further tested.
[0067] If the instruction response time is longer than the time threshold, it indicates that the response speed of the charging and discharging equipment is too slow, and the detection result is marked as abnormal. If the instruction response time is less than or equal to the time threshold, it indicates that the device can respond to the instruction quickly and the control response time meets the standard, and the detection result is normal.
[0068] For example, when the power change instruction requires the charging and discharging equipment to change the output active power from 30kW to 60kW, the charging and discharging equipment successfully adjusts the power to 59kW within 1.5 seconds, and the second difference between the target active power of 60kW is 1kW (less than the preset difference of 2kW), and the instruction response time is 1.5 seconds (less than the time threshold of 2 seconds). It can be determined that the performance of the charging and discharging equipment under this test item is normal.
[0069] This embodiment comprehensively evaluates the power control accuracy and response speed of the charging and discharging equipment by calculating the second difference between the target active power and the actual output active power, as well as the instruction response time of the evaluation device. This ensures that the charging and discharging equipment can accurately execute grid dispatch instructions and respond quickly in V2G technology applications, thereby improving the flexibility and stability of the grid and reducing risks during the charging and discharging process.
[0070] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is harmonic current detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: setting the output active power of the AC port of the charging and discharging equipment, and running the charging and discharging equipment; when the charging and discharging equipment is in an operating state, adjusting the output active power of the AC port to a preset value, and recording the harmonic current when the charging and discharging equipment is operating at the preset value to obtain the operating parameters; determining the detection result of the charging and discharging equipment under each detection item according to each group of operating parameters includes: judging whether the harmonic current meets the preset current requirement, and when the harmonic current meets the preset current requirement, determining that the detection result is normal, and when the harmonic current does not meet the preset current requirement, determining that the detection result is abnormal.
[0071] It should be noted that the AC port is the interface between the charging and discharging device and the grid, used for AC energy transmission. Output active power refers to the actual power drawn from or supplied to the grid by the charging and discharging device in discharge or charge mode. When testing harmonic currents, first connect the AC port of the charging and discharging device to the grid and set its output active power to the initial value required for the test. For example, the charging and discharging device can be set to operate at 33% of rated power to simulate a typical discharge scenario.
[0072] Furthermore, during the operation of the charging and discharging equipment, its output active power is gradually adjusted to a series of preset values, such as 33% Pn, 66% Pn, and 100% Pn. The equipment is operated for 10 minutes at each power setting. During this period, a data acquisition device is used to record the harmonic current at the AC port of the charging and discharging equipment in real time according to the method specified in GB / T 14549. For example, when the output power of the charging and discharging equipment is 66% Pn, the harmonic current data is recorded for 10 minutes of operation.
[0073] Once the harmonic current data at each output power is obtained, the charging and discharging equipment's harmonic current data at different power outputs is compared with the allowable harmonic current values (preset current requirements) set in national standards or equipment design. If the harmonic currents at all test points are within the preset range, the test result is normal. Conversely, if the harmonic current at any point exceeds the preset range, it indicates that the charging and discharging equipment at that power output is adversely affecting the grid current quality, and the test result is marked as abnormal.
[0074] For example, current harmonics testing can be performed as follows:
[0075] a) Connect the charging and discharging device to the test system;
[0076] b) Setting the charging and discharging device operation mode to discharge mode;
[0077] c) Adjust the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging device;
[0078] d) Set the output active power of the AC port of the charging and discharging device to 33% Pn, 66% Pn and 100% Pn respectively, and run continuously for 10 minutes at each power setting value;
[0079] e) Use a data acquisition device to detect and record harmonic currents in accordance with the method specified in GB / T 14549;
[0080] f) Take the harmonic current and total harmonic current values of each power setting value as the test results;
[0081] g) Set the charging and discharging device to operate in charging mode and repeat steps c) to f);
[0082] h) The test results shall comply with the requirements of NB / T 33021-20XX.
[0083] This embodiment effectively assesses the impact of the device's electrical performance on grid current quality by monitoring the harmonic currents generated by charging and discharging equipment at different power output levels. This approach not only ensures the safety of charging and discharging equipment in V2G technology implementation but also provides important technical indicators for equipment design, commissioning, and maintenance. By implementing this monitoring process, it is possible to ensure that the harmonic currents generated by charging and discharging equipment during operation on the grid do not exceed the permitted range, thereby ensuring grid stability and power supply quality.
[0084] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is the grid voltage adaptability detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; adjusting the grid simulation device so that the AC port voltage of the charging and discharging equipment steps from the rated voltage to multiple target voltages and returns to the rated voltage; generating the relationship curves of the AC port voltage, active power and reactive power with time during the change process of the AC port voltage of the charging and discharging equipment, obtaining multiple first time relationship curves, and determining the multiple first time relationship curves as operating parameters; determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters, including: when each first time relationship curve meets the first preset requirement, determining the detection result as normal; when any first time relationship curve does not meet the first preset requirement, determining the detection result as abnormal.
[0085] It should be noted that when testing grid voltage adaptability, during the test preparation phase, the output voltage of the grid simulator is first adjusted to the rated voltage of the AC port of the charging and discharging equipment. For example, if the rated voltage of the AC port of the charging and discharging equipment is 220V, the grid simulator should output 220V AC voltage to simulate normal grid conditions. The grid simulator simulates the interaction between the grid and the charging and discharging equipment, as well as the power supply, to accurately test the charging and discharging equipment.
[0086] Furthermore, when the equipment is in operation, it is necessary to perform a step change on the AC port voltage using a grid simulation device. For example, the voltage can be stepped from the rated voltage of 220V to a low voltage standard such as 187V (85% Un), maintained for a period of time, and then adjusted back to 220V. Then, the voltage can be stepped to a high voltage standard such as 242V (110% Un), also maintained for a period of time, and then restored to the rated voltage. These target voltage settings should cover the upper and lower limits of the operating range of the charging and discharging equipment to fully test the voltage adaptability. Then, through the step voltage change test, it is evaluated whether the charging and discharging equipment can maintain stable operation when the grid voltage fluctuates, ensuring that it can charge and discharge normally under various voltage conditions and will not cause further voltage quality problems to the grid.
[0087] For example, assuming the charging and discharging equipment is in discharge mode, the grid simulation device steps the voltage from 220V to 187V, maintains it for 10 minutes, and then returns it to 220V. The voltage then steps from 220V to 242V, also maintains it for 10 minutes, and then returns to 220V. During this process, the operating status of the charging and discharging equipment is continuously monitored.
[0088] Furthermore, during the voltage step change process, the voltage, active power, and reactive power values at the AC port of the charging and discharging device are recorded at a 20ms cycle, and these data points are plotted as a time relationship curve. A curve is generated for each completed voltage step change, ultimately obtaining a set of first time relationship curves reflecting the operating status of the charging and discharging device under different voltage conditions.
[0089] If multiple first time relationship curves are obtained, each can be analyzed and compared against first preset requirements. These requirements include the device's power retention range during voltage fluctuations and its power response speed during voltage recovery time. If all curves meet these requirements, the voltage adaptability test result for the charging and discharging device is normal, indicating that the device can adapt well to grid voltage fluctuations. Conversely, if any curve does not meet these requirements, the test result is marked as abnormal, requiring further inspection of the device's electrical performance.
[0090] For example, the voltage adaptability test should be carried out as follows:
[0091] a) Connect the charging and discharging device to the test system;
[0092] b) setting the charging and discharging device to operate in a discharge mode;
[0093] c) Adjust the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging device;
[0094] d) The AC port output active power of the charging and discharging device is set to be no less than 70% Pn;
[0095] e) Adjust the grid simulation device so that the AC port voltage of the charging and discharging device steps from Un to 86%Un, 92%Un, and 99%Un respectively, and then returns to Un after maintaining for 10 minutes;
[0096] f) Adjust the grid simulation device so that the AC port voltage of the charging and discharging device steps from Un to 101%Un, 105%Un, and 109%Un respectively, and then returns to Un after maintaining for 10 minutes;
[0097] g) Use a data acquisition device to synchronously record the voltage, active power RMS, and reactive power RMS of the AC port of the charging and discharging device at a period of 20 ms, and record at least the data from 1 minute before the voltage step to 1 minute after the voltage returns to Un;
[0098] h) draw voltage-time, active power-time and reactive power-time curves;
[0099] i) Record the charge and discharge status of the charge and discharge device and the alarm information when the voltage exceeds the limit;
[0100] j) Check that the voltage adaptability of the charging and discharging device complies with the corresponding preset regulations;
[0101] k) Setting the charging and discharging device to operate in charging mode, and repeating steps d) to j);
[0102] Among them, Pn is the rated power of the charging and discharging device, and Un is the rated voltage of the charging and discharging device.
[0103] This embodiment generates a relationship curve between the AC port voltage, active power and reactive power and time in a voltage step scenario, and then detects the grid voltage adaptability of the charging and discharging equipment based on the relationship curve, thereby obtaining accurate detection results and determining the electrical performance of the charging and discharging equipment based on the detection results.
[0104] Optionally, in the electrical performance detection method of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is the grid frequency adaptability detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and M groups of operating parameters are obtained, including: adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; adjusting the grid simulation device so that the output active power of the AC port of the charging and discharging equipment switches between multiple preset active powers, and synchronously collecting the AC port frequency, active power effective value and reactive power effective value of the charging and discharging equipment at each moment to obtain multiple second time relationship curves, and determining the multiple second time relationship curves as operating parameters; determining the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters includes: when each second time relationship curve meets the second preset requirement, determining the detection result as normal; when any second time relationship curve does not meet the second preset requirement, determining the detection result as abnormal.
[0105] It should be noted that when testing grid frequency adaptability, it is necessary to first ensure that the output voltage of the grid simulator matches the rated voltage of the AC port of the charging and discharging equipment, for example, setting it to 220V. This provides a standard grid voltage environment for the charging and discharging equipment, ensuring that voltage factors do not interfere with the results when testing frequency adaptability.
[0106] While the charging and discharging equipment is operating, a grid simulation device is used to vary the output active power of the equipment's AC port, switching it between multiple preset active power values, such as from 70% Pn (70% of rated power) to 80% Pn, and then to 90% Pn. Simultaneously, a data acquisition device records the equipment's AC port frequency, active power RMS, and reactive power RMS at each active power setting at a 20ms cycle. A curve plotting these parameters over time is generated, known as a second time relationship curve. By testing the frequency adaptability of the charging and discharging equipment under different active power output conditions, the equipment's responsiveness to grid frequency fluctuations and its adaptability to the grid frequency can be assessed, ensuring stable operation and preventing frequency fluctuations from impacting the normal operation of the grid.
[0107] When multiple second time relationship curves are obtained, each second time relationship curve is evaluated and judged against second preset requirements. The preset requirements may include the power retention range of the device during frequency changes, power quality indicators under frequency fluctuations, etc. If all curves meet the preset requirements, it indicates that the charging and discharging equipment is performing normally in terms of frequency adaptability; conversely, if any curve does not meet the preset requirements, the test result is marked as abnormal, and further optimization or troubleshooting of the device's frequency adaptability may be required. By comparing the second time relationship curve with the second preset requirements, the electrical performance of the charging and discharging equipment under frequency changes can be quantified, ensuring that it can maintain stable operation under frequency fluctuations in the actual power grid environment and avoid negative impacts on the power grid.
[0108] For example, the frequency adaptability test should be carried out as follows:
[0109] a) Connect the charging and discharging device to the test system;
[0110] b) setting the charging and discharging device to operate in a discharge mode;
[0111] c) Adjust the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging device;
[0112] d) The AC port output active power of the charging and discharging device is set to be no less than 70% Pn;
[0113] f) Adjust the grid simulation device so that the AC port frequency of the charging and discharging device is adjusted down from 50.45 Hz to 48.55 Hz for 1 minute and then increased back to 50.45 Hz;
[0114] g) Adjust the grid simulation device so that the AC port frequency of the charging and discharging device is adjusted down from 50.45 Hz to 48.55 Hz for 10 minutes and then increased back to 50.45 Hz;
[0115] h) Using a data acquisition device, synchronously record the frequency, active power RMS, and reactive power RMS of the AC port of the charging and discharging device at a period of 20 ms, and record at least the data from 1 minute before the frequency step to 1 minute after the frequency returns to 50 Hz;
[0116] i) Draw frequency-time, active power-time and reactive power-time curves, and check and record the operating status of the charging and discharging device;
[0117] j) Check that the voltage adaptability of the charging and discharging device complies with the corresponding preset regulations;
[0118] k) Setting the charging and discharging device to operate in charging mode, and repeating steps d) to j);
[0119] Among them, Pn is the rated power of the charging and discharging device.
[0120] This embodiment conducts frequency variation tests on the charging and discharging equipment under different active power output conditions, collects and analyzes the curves of its AC port frequency, active power, and reactive power over time, thereby comprehensively evaluating the frequency adaptability performance of the charging and discharging equipment.
[0121] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0122] The present application also provides an electrical performance testing device for a charging and discharging device. It should be noted that the electrical performance testing device for a charging and discharging device provided in the present application can be used to perform the electrical performance testing method for a charging and discharging device provided in the present application. The following describes the electrical performance testing device for a charging and discharging device provided in the present application.
[0123] Figure 2 Schematic diagram of the electrical performance detection device of the charging and discharging equipment provided in accordance with the embodiment of the present application. Figure 2 As shown, the device includes: an acquisition unit 21, a configuration unit 22, and a determination unit 23.
[0124] The acquisition unit 21 is used to acquire detection items that need to be detected for the charging and discharging device, obtain M detection items, and determine the configuration parameters of the charging and discharging device according to each detection item, to obtain M groups of configuration parameters, where M is a positive integer.
[0125] The configuration unit 22 is used to sequentially configure the charging and discharging device using each group of configuration parameters, and obtain the operating parameters of the charging and discharging device according to the detection requirements of the detection items to obtain M groups of operating parameters.
[0126] The determination unit 23 is configured to determine the test results of the charging and discharging equipment under each test item according to each set of operating parameters, obtain M test results, and determine the electrical performance test results of the charging and discharging equipment according to the M test results.
[0127] The electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application obtains the detection items that need to be detected for the charging and discharging equipment through the acquisition unit 21, obtains M detection items, and determines the configuration parameters of the charging and discharging equipment according to each detection item, obtains M groups of configuration parameters, where M is a positive integer; the configuration unit 22 uses each group of configuration parameters to configure the charging and discharging equipment in turn, and obtains the operating parameters of the charging and discharging equipment according to the detection requirements of the detection items, obtains M groups of operating parameters; the determination unit 23 determines the detection results of the charging and discharging equipment under each detection item according to each group of operating parameters, obtains M detection results, and determines the charging and discharging equipment according to the M detection results. The electrical performance test results of the equipment solve the problem of low timeliness in processing the charging and discharging equipment when a fault occurs in the charging and discharging equipment in the related art. By obtaining test items for testing the charging and discharging equipment when the charging and discharging equipment is running, configuring parameters of the charging and discharging equipment according to each test item, and running the charging and discharging equipment under each configuration parameter, M groups of test results are obtained, and then it is determined whether the charging and discharging equipment has an abnormality based on the test results. Then, by testing the charging and discharging equipment, it is determined in advance whether the charging and discharging equipment has a fault, thereby achieving the technical effect of improving the timeliness of determining whether there is a fault in the charging and discharging equipment.
[0128] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is the grid-connected power output range detection, the configuration unit 22 includes: a first setting module, used to set the DC port and AC port of the charging and discharging equipment to the rated voltage respectively, wherein the DC port is connected to the electric vehicle and the AC port is connected to the power grid; a second setting module, used to set the maximum charging power and the maximum discharging power of the charging and discharging equipment, and adjust the charging power of the charging and discharging equipment from the initial value to the maximum charging power according to a preset step size, and from the maximum charging power to the maximum discharging power, and from the maximum discharging power to the initial value, to obtain N active power setting values, wherein N is a positive integer; a control module, used to control the charging and discharging equipment to operate for a preset time at each active power setting value, and obtain the active power average value and reactive power average value of the charging and discharging equipment under each operating time, to obtain N groups of average values, and determine the N groups of average values as operating parameters.
[0129] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, the determination unit 23 includes: a first calculation module, used to calculate the corresponding reactive power reference value based on the active power average value in each group of average values; a second calculation module, used to calculate the difference between the reactive power reference value and the reactive power average value corresponding to the same group of average values to obtain a first difference; a first judgment module, used to judge whether the first difference is greater than a preset difference, and when the first difference of any group of average values is greater than the preset difference, determine that the active power set value to which the group of average values belongs is an abnormal value, and determine that the detection result is abnormal; the first determination module, used to determine that the detection result is normal when all first differences are less than or equal to the preset difference.
[0130] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is grid-connected active power control detection, the configuration unit 22 includes: a third setting module, used to set the output active power of the AC port of the charging and discharging equipment, and operate the charging and discharging equipment; a first recording module, used to send a power change instruction to the charging and discharging equipment when the charging and discharging equipment is in an operating state, and record the instruction response time of the charging and discharging equipment and the target active power after responding to the power change instruction; a second determination module, used to determine the instruction response time and the target active power as operating parameters.
[0131] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, the determination unit 23 includes: a third calculation module, used to calculate the difference between the target active power and the output active power to obtain a second difference; a second judgment module, used to judge whether the second difference is less than a preset difference, and when the second difference is greater than the preset difference, determine that the detection result is abnormal; a third judgment module, used to judge whether the instruction response time is greater than a time threshold when the second difference is less than or equal to the preset difference; a third determination module, used to determine that the detection result is abnormal when the instruction response time is greater than the time threshold; a fourth determination module, used to determine that the detection result is normal when the instruction response time is less than or equal to the time threshold.
[0132] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is harmonic current detection, the configuration unit 22 includes: a fourth setting module, used to set the output active power of the AC port of the charging and discharging equipment and run the charging and discharging equipment; a second recording module, used to adjust the output active power of the AC port to a preset value when the charging and discharging equipment is in an operating state, and record the harmonic current when the charging and discharging equipment is operating at the preset value to obtain operating parameters; the determination unit 23 includes: a fourth judgment module, used to judge whether the harmonic current meets the preset current requirements, and if the harmonic current meets the preset current requirements, determine that the detection result is normal; if the harmonic current does not meet the preset current requirements, determine that the detection result is abnormal.
[0133] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is grid voltage adaptability detection, the configuration unit 22 includes: a first adjustment module, used to adjust the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; a second adjustment module, used to adjust the grid simulation device so that the AC port voltage of the charging and discharging equipment steps from the rated voltage to multiple target voltages and returns to the rated voltage; a generation module, used to generate a relationship curve of the AC port voltage, active power and reactive power with time during the change process of the AC port voltage of the charging and discharging equipment, obtain multiple first time relationship curves, and determine the multiple first time relationship curves as operating parameters; the determination unit 23 includes: a fifth determination module, used to determine that the detection result is normal when each first time relationship curve meets the first preset requirement; a sixth determination module, used to determine that the detection result is abnormal when any first time relationship curve does not meet the first preset requirement.
[0134] Optionally, in the electrical performance detection device of the charging and discharging equipment provided in the embodiment of the present application, when the detection item is grid frequency adaptability detection, the configuration unit 22 includes: a third adjustment module, used to adjust the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging equipment; a fourth adjustment module, used to adjust the grid simulation device so that the output active power of the AC port of the charging and discharging equipment switches between multiple preset active powers, and synchronously collects the AC port frequency, active power effective value and reactive power effective value of the charging and discharging equipment at each moment, obtains multiple second time relationship curves, and determines the multiple second time relationship curves as operating parameters; the determination unit 23 includes: a seventh determination module, used to determine that the detection result is normal when each second time relationship curve meets the second preset requirements; an eighth determination module, used to determine that the detection result is abnormal when any second time relationship curve does not meet the second preset requirements.
[0135] The electrical performance detection device of the above-mentioned charging and discharging equipment includes a processor and a memory. The above-mentioned acquisition unit 21, configuration unit 22, determination unit 23, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0136] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be configured, and by adjusting the core parameters, the problem of low timeliness in handling charging and discharging device failures in related technologies is solved.
[0137] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0138] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method for detecting the electrical performance of the charging and discharging device is implemented.
[0139] An embodiment of the present invention provides a processor, which is used to run a program, wherein the electrical performance detection method of the charging and discharging device is executed when the program is run.
[0140] Figure 3 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 3 As shown, an embodiment of the present invention provides an electronic device. The electronic device 30 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above-described method for testing the electrical performance of a charging and discharging device are implemented. The device herein may be a server, a PC, a PAD, a mobile phone, or the like.
[0141] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the above-mentioned electrical performance detection method for charging and discharging equipment.
[0142] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0143] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0144] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0146] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0147] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0148] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0149] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0150] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for detecting the electrical performance of a charging and discharging device, characterized in that: include: Obtaining inspection items that need to be inspected for the charging and discharging device to obtain M inspection items, and determining configuration parameters of the charging and discharging device according to each inspection item to obtain M groups of configuration parameters, where M is a positive integer; sequentially configuring the charging and discharging device using each group of configuration parameters, and obtaining operating parameters of the charging and discharging device according to the test requirements of the test item, to obtain M groups of operating parameters; The test results of the charging and discharging device under each test item are determined according to each set of operating parameters to obtain M test results, and the electrical performance test results of the charging and discharging device are determined according to the M test results.
2. The method according to claim 1, characterized in that In the case where the detection item is a grid-connected power output range detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and the obtained M groups of operating parameters include: Setting the DC port and AC port of the charging and discharging device to the rated voltage respectively, wherein the DC port is connected to the electric vehicle and the AC port is connected to the power grid; Setting a maximum charging power and a maximum discharging power of the charging and discharging device, and adjusting the charging power of the charging and discharging device from an initial value to the maximum charging power according to a preset step size, and adjusting from the maximum charging power to the maximum discharging power, and adjusting from the maximum discharging power to the initial value, to obtain N active power setting values, where N is a positive integer; The charging and discharging device is controlled to operate for a preset time at each active power setting value, and an average active power value and an average reactive power value of the charging and discharging device at each operating time are obtained to obtain N groups of average values, and the N groups of average values are determined as the operating parameters.
3. The method according to claim 2, characterized in that Determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters includes: Calculate the corresponding reactive power reference value according to the active power average value in each group of average values; Calculating the difference between the reactive power reference value and the reactive power average value corresponding to the same group of average values to obtain a first difference; determining whether the first difference is greater than a preset difference, and if the first difference of any group of average values is greater than the preset difference, determining that the active power setting value to which the group of average values belongs is an abnormal value, and determining that the detection result is abnormal; When all the first difference values are smaller than or equal to the preset difference value, the detection result is determined to be normal.
4. The method according to claim 1, wherein In the case where the detection item is a grid-connected active power control detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and the obtained M groups of operating parameters include: Setting the output active power of the AC port of the charging and discharging device and operating the charging and discharging device; When the charging and discharging device is in an operating state, issuing a power change instruction to the charging and discharging device, and recording the instruction response time of the charging and discharging device and the target active power after responding to the power change instruction; The instruction response time and the target active power are determined as the operating parameters.
5. The method according to claim 4, characterized in that Determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters includes: Calculating a difference between the target active power and the output active power to obtain a second difference; determining whether the second difference is less than a preset difference, and determining that the detection result is abnormal if the second difference is greater than the preset difference; When the second difference is less than or equal to the preset difference, determining whether the instruction response time is greater than a time threshold; When the instruction response time is longer than the time threshold, determining that the detection result is abnormal; When the instruction response time is less than or equal to the time threshold, the detection result is determined to be normal.
6. The method according to claim 1, characterized in that In the case where the detection item is harmonic current detection, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and the obtained M groups of operating parameters include: Setting the output active power of the AC port of the charging and discharging device and operating the charging and discharging device; When the charging and discharging device is in operation, adjusting the output active power of the AC port to a preset value, and recording the harmonic current when the charging and discharging device is operating at the preset value to obtain the operating parameter; Determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters includes: Determine whether the harmonic current meets the preset current requirement, and if the harmonic current meets the preset current requirement, determine that the detection result is normal; if the harmonic current does not meet the preset current requirement, determine that the detection result is abnormal.
7. The method according to claim 1, characterized in that In the case where the detection item is a grid voltage adaptability test, the operating parameters of the charging and discharging equipment are obtained according to the detection requirements of the detection item, and the obtained M groups of operating parameters include: Adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging device; Adjusting the grid simulation device so that the AC port voltage of the charging and discharging device is stepped from the rated voltage to a plurality of target voltages, and then restored to the rated voltage; generating relationship curves of the AC port voltage, active power, and reactive power versus time during a change process of the AC port voltage of the charging and discharging device, obtaining a plurality of first time relationship curves, and determining the plurality of first time relationship curves as the operating parameters; Determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters includes: When each first time relationship curve meets the first preset requirement, determining that the detection result is normal; When any one of the first time relationship curves does not meet the first preset requirement, the detection result is determined to be abnormal.
8. The method according to claim 1, characterized in that In the case where the detection item is a grid frequency adaptability test, the operating parameters of the charging and discharging device are obtained according to the detection requirements of the detection item, and the obtained M groups of operating parameters include: Adjusting the output voltage of the grid simulation device to the rated voltage of the AC port of the charging and discharging device; adjusting the power grid simulation device so that the output active power of the AC port of the charging and discharging device switches between a plurality of preset active powers, and synchronously collecting the AC port frequency, active power effective value, and reactive power effective value of the charging and discharging device at various moments to obtain a plurality of second time relationship curves, and determining the plurality of second time relationship curves as the operating parameters; Determining the test results of the charging and discharging equipment under each test item according to each set of operating parameters includes: When each second time relationship curve meets the second preset requirement, determining that the detection result is normal; When any second time relationship curve does not meet the second preset requirement, the detection result is determined to be abnormal.
9. An electrical performance detection device for a charging and discharging device, characterized in that: include: an acquiring unit, configured to acquire detection items that need to be detected for the charging and discharging device, obtaining M detection items, and determining configuration parameters of the charging and discharging device according to each detection item, obtaining M groups of configuration parameters, where M is a positive integer; a configuration unit, configured to sequentially configure the charging and discharging device using each group of configuration parameters, and obtain operating parameters of the charging and discharging device according to the detection requirements of the detection item, to obtain M groups of operating parameters; The determination unit is used to determine the test results of the charging and discharging device under each test item according to each set of operating parameters, obtain M test results, and determine the electrical performance test results of the charging and discharging device according to the M test results.
10. An electronic device, characterized in that: include: a memory storing an executable program; A processor is used to run the program, wherein when the program is run, the electrical performance detection method of the charging and discharging equipment according to any one of claims 1 to 8 is executed.