User portraying method and system for electric vehicle charging behavior in residential area
Through the user portrait method of electric vehicle charging behavior, we collect and clean charging data, build charging identification algorithms and features, and use K-means algorithm classification to solve the power grid power allocation problem caused by the disorderly charging of electric vehicles and achieve the security of the grid. Stable operation.
Patent Information
- Application Number
- CN202410901057.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-15
AI Technical Summary
The disorderly charging of electric vehicles makes it difficult to allocate power to the power grid, making it impossible to distribute power reasonably and economically, affecting the safe and stable operation of the power grid.
By collecting low-voltage charging pile user load data, performing data cleaning and linear interpolation, a charging identification algorithm is constructed, charging features are extracted, and the K-means algorithm is used to classify the features to construct a user charging behavior portrait.
It achieves the accurate extraction of electric vehicle charging behavior rules, provides targeted services, solves the problem of difficult power distribution in the power grid, and ensures the safe and stable operation of the power grid.
Smart Images

Figure CN118779702A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electric power technology, and in particular relates to a user profiling method and system for charging behavior of electric vehicles in residential areas. Background Art
[0002] As electric vehicles grow in scale, the disorder of their charging has brought many challenges to the power grid. Due to the disordered charging of electric vehicles, it is difficult to extract regular energy, which makes it difficult to allocate power in the power grid. It is impossible to distribute power reasonably and economically, which will lead to the inability of the power grid to operate safely and stably. In order to mine and analyze the operation data of charging stations and analyze the charging behavior of electric vehicles, it is urgent to establish a user profiling method for the charging behavior of electric vehicles in residential areas, abstract each specific information of the user into a label, concretize the user image, and then provide targeted services. Summary of the invention
[0003] The present invention provides a user profiling method and system for the charging behavior of electric vehicles in residential areas, which extracts the charging characteristics of electric vehicles based on the power load of users of charging piles in low-voltage residential areas and constructs a user profiling of the charging behavior.
[0004] The present invention provides a user profiling method for electric vehicle charging behavior in residential areas, including electric vehicle charging identification, electric vehicle feature extraction and charging behavior user profiling construction, specifically:
[0005] Step 1: Collect low-voltage charging pile user load data, clean the collected data, perform linear interpolation, and form a charging pile load curve;
[0006] Step 2: Sample the rated power of charging piles in the community, set the threshold range based on the rated power, and build a charging recognition algorithm based on the charging specification data of the best-selling electric vehicles and charging piles on the market;
[0007] Step 3: Based on the charging recognition algorithm, the charging characteristics of the charging pile load curve are extracted, including: charging time, charging power, charging start time, and electric vehicle capacity;
[0008] Step 4: Based on the K-means algorithm, classify the charging features, label each feature, and build a user charging behavior profile.
[0009] Furthermore, the present invention also proposes a user portrait system for charging behavior of electric vehicles in residential areas, the user portrait system comprising: a signal acquisition module, a control processing module, a storage module and a display module, the control processing module being respectively connected to the signal acquisition module, the storage module and the display module; the user portrait system constructs a user charging behavior portrait through the user portrait method for charging behavior of electric vehicles in residential areas in claim 1.
[0010] Furthermore, the signal acquisition module collects the user load data of the low-voltage charging pile and the rated power of the community charging pile;
[0011] The control processing module cleans the collected low-voltage charging pile user load data, performs linear interpolation, and forms a charging pile load curve; constructs a charging identification algorithm based on the rated power setting threshold interval and the hot-selling electric vehicles and charging pile charging specification data on the market; extracts charging features from the charging pile load curve based on the charging identification algorithm; and classifies the charging features based on the K-means algorithm, labels each feature, and constructs a user charging behavior portrait.
[0012] Compared with the prior art, the present invention has the following beneficial effects:
[0013] In the present invention, the collected data is cleaned and linearly interpolated to obtain a more accurate charging pile load curve. Combined with the actual conditions of the community, a charging identification algorithm is constructed to extract accurate charging features. Based on the K-means algorithm, the charging features are classified and each feature is labeled, which can accurately construct a user charging behavior portrait and solve the problem of difficulty in extracting the disordered charging rules of electric vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a flow chart of a user profiling method for charging behavior of electric vehicles in residential areas according to the present invention;
[0015] Figure 2 It is the total load curve of charging piles in the sampling area;
[0016] Figure 3 It is the user load curve of individual charging piles in the sampling community;
[0017] Figure 4 It is the characteristic distribution diagram of the rated charging frequency of charging pile users in the sampling community;
[0018] Figure 5 This is the frequency characteristic distribution diagram of the charging start time of charging pile users in the sampling community;
[0019] Figure 6This is the frequency characteristic distribution diagram of charging duration under different charging rated powers of charging pile users in the sampled community. DETAILED DESCRIPTION
[0020] The following is a detailed description of the specific implementation methods of the user profiling method and system for charging behavior of electric vehicles in residential areas in conjunction with the accompanying drawings.
[0021] like Figure 1 As shown, the user profiling method for charging behavior of electric vehicles in residential areas of the present invention comprises the following steps:
[0022] Step 1: Collect the user load data of low-voltage charging piles in a community. A total of 120 users are collected from May 1, 2023 to August 15, 2023. Clean the collected data and finally perform linear interpolation on the collected data to form a charging pile load curve. Figure 2 The load curve of 5 charging pile users from 12:00 on 2023.5.11 to 0:00 on 2023.5.13, Figure 3 is the total load of low-voltage community charging pile users. The data cleaning and linear interpolation formulas are as follows:
[0023] This method uses 3 times the standard deviation to identify and remove outliers. For each user, load data is collected and the standard deviation is calculated:
[0024]
[0025] Where n is the total number of load points, x i To calculate the load point, is the load mean;
[0026] Sample points whose difference with the sample mean is greater than 3 times σ or is negative are eliminated, and interpolation is performed using the linear interpolation method. For the point (x, y) to be interpolated, there are left and right adjacent points (x0, y0) and (x1, y1), then:
[0027]
[0028] Step 2: Based on market research, the rated powers of charging piles in sampled communities are 1.7Kw, 3.3Kw, 7Kw, 11Kw, and 16Kw. A threshold interval is set based on the rated power (rated power ± 0.5kW), and a charging recognition algorithm is constructed. That is, when the load curve size is within the threshold interval and the duration is not less than 30 minutes, the charging start is recognized. When the load size is lower than the threshold curve and the duration is not less than 30 minutes, the charging end is recognized and one charging process is recorded.
[0029] Step 3: Based on the charging identification algorithm, extract the charging characteristics of the charging pile load curve. The statistical characteristics include:
[0030] Charging time: average charging time.
[0031] Charging power: Rated charging power.
[0032] Charging start time: The charging start time is recorded as an approximate time, and the user's charging start time is the most common.
[0033] Electric vehicle capacity: The capacity of a user’s electric vehicle is estimated based on the first quartile mean of the product of the user’s charging time and charging power.
[0034] A total of 4302 charging behaviors were identified in the sampling area within the collection time range, among which the charging rated power times were characterized as follows: Figure 4 , as shown; the charging start time and frequency characteristics are as follows Figure 5 As shown; the duration characteristics under different rated powers are as follows Figure 6 shown.
[0035] Step 4: Based on the K-means algorithm, the statistical features are classified. The number of cluster centers and cluster labels are shown in Table 1. Label each feature and build a user charging behavior profile. First, divide the data set into K clusters. Among them, the points inside the clusters are as close as possible, and the distance between clusters is as large as possible. The specific algorithm process is:
[0036] a. Determine the K value; the K value is the number of clusters obtained after the data set is clustered. During the clustering process, K data points are randomly selected from the data set as the initial centroid;
[0037] b. Calculate the distance between each point in the data set and the centroid, and divide the corresponding sets by comparing the distance between the point and the centroid. The specific division result is that the point with the closest distance value to the centroid will be divided into the set to which the centroid belongs;
[0038] c. When all the data are contained in the K sets, the centroid of each set is calculated again. If the recalculated centroid is within a certain threshold range from the initial centroid, the clustering operation is considered to have achieved the desired result and the algorithm terminates;
[0039] d. If the distance between the new centroid and the initial centroid exceeds a certain threshold, it is necessary to iterate steps b to c until the algorithm converges. Assume that the clusters are divided into (w1, w2, .., w k ), then the objective of minimizing the square error E is:
[0040]
[0041] Among them, μ i is the cluster w i The mean vector is the center of mass, and its formula is:
[0042]
[0043] The user portrait system for charging behavior of electric vehicles in residential areas of the present invention specifically includes: a signal acquisition module, a control processing module, a storage module and a display module, and the control processing module is respectively connected to the signal acquisition module, the storage module and the display module; the user portrait system constructs a user charging behavior portrait through the user portrait method for charging behavior of electric vehicles in residential areas in claim 1.
[0044] The signal acquisition module collects the user load data of low-voltage charging piles and the rated power of charging piles in the community;
[0045] The control processing module cleans the collected low-voltage charging pile user load data, performs linear interpolation, and forms a charging pile load curve; constructs a charging identification algorithm based on the rated power setting threshold range and the hot-selling electric vehicles and charging pile charging specification data on the market; based on the charging identification algorithm, extracts charging features from the charging pile load curve; based on the K-means algorithm, classifies the charging features, labels each feature, and constructs a user charging behavior portrait.
[0046] The examples of constructing cluster centers and some user portraits are shown in Table 1.
[0047] Table 1 Statistical feature labels
[0048]
[0049] From the number of clusters, we can get 4*3*5*4*4 combinations of user portraits from Table 1. However, due to the strong correlation between the average charging time, vehicle capacity and rated power, 12 typical users in the sampling community are finally extracted as shown in Table 2:
[0050] Table 2 Typical users in sampled cells
[0051]
[0052] From the user charging behavior portrait of the community, it can be seen that the charging piles in the community are divided into 12 major groups, among which two charging groups account for a relatively large proportion, namely short-term high-frequency charging users in the afternoon and long-term high-frequency charging users in the evening. Both groups use 7kW charging power, and there are also quite a number of small groups that are active in high-power charging in the evening. Therefore, the total load of charging in the community is prone to reach the daily peak in the evening, and reasonable grid scheduling is required.
[0053] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not intended to limit the present invention. A person skilled in the art should understand that the specific implementation of the present invention can be modified or replaced by equivalents, but these modifications or changes are within the scope of protection of the pending claims.
Claims
1. A user profiling method for electric vehicle charging behavior in residential areas, characterized in that: The user profiling method comprises the following steps: Step 1: Collect low-voltage charging pile user load data, clean the collected data, perform linear interpolation, and form a charging pile load curve; Step 2: Sample the rated power of the charging piles in the community, set the threshold range based on the rated power, and build a charging identification algorithm; Step 3: Based on the charging recognition algorithm, the charging characteristics of the charging pile load curve are extracted, including: charging time, charging power, charging start time, and electric vehicle capacity; Step 4: Based on the K-means algorithm, classify the charging features, label each feature, and build a user charging behavior profile.
2. A user profiling method for charging behavior of electric vehicles in residential areas according to claim 1, characterized in that: The data cleaning and linear interpolation formula in step 1 are as follows: Use 3 times the standard deviation to identify and eliminate outliers. Collect load data for each user and calculate the standard deviation: Where n is the total number of load points, x i To calculate the load point, is the load mean; Eliminate the sample points whose difference with the sample mean is greater than 3 times σ and which are negative, and use the linear interpolation method to interpolate; for the load missing point (x, y) that needs to be interpolated, there are left and right adjacent points (x0, y0) and (x1, y1), then:
3. A user profiling method for charging behavior of electric vehicles in residential areas according to claim 2, characterized in that: In step 2, the rated power of the charging piles in the community is sampled, and the threshold interval is set based on the rated power. The specific method for constructing the charging identification algorithm is as follows: The threshold interval is: rated power ±0.5kW; a charging identification algorithm is constructed, that is, when the load curve size is within the threshold interval and the duration is not less than 30 minutes, the start of charging is identified; when the load size is lower than the threshold curve and the duration is not less than 30 minutes, the end of charging is identified, and one charging process is recorded.
4. A user profiling method for charging behavior of electric vehicles in residential areas according to claim 3, characterized in that: Step 3: Based on the charging identification algorithm, extract the charging characteristics of the charging pile load curve, specifically: Charging time: average charging time; Charging power: rated charging power; Charging start time: The charging start time is recorded as an approximate time, and the user's charging start time is the mode; Electric vehicle capacity: The capacity of a user’s electric vehicle is estimated based on the first quartile mean of the product of the user’s charging time and charging power.
5. A user profiling method for charging behavior of electric vehicles in residential areas according to claim 4, characterized in that: The clustering formula in step 4 is as follows: First, divide the data set into K clusters; include: a. Determine the K value; the K value is the number of clusters obtained after the data set is clustered. During the clustering process, K data points are randomly selected from the data set as the initial centroid; b. Calculate the distance between each point in the data set and the centroid, and divide the corresponding sets by comparing the distance between the point and the centroid; the specific division result is that the point with the closest distance value to the centroid is divided into the set to which the centroid belongs; c. When all the data are contained in the K sets, the centroid of each set is calculated again; if the distance between the recalculated centroid and the initial centroid is within the threshold range, it is considered that the clustering operation has achieved the desired result and the algorithm terminates; d. If the distance between the new centroid and the initial centroid exceeds a certain threshold, it is necessary to iterate steps b to c until the algorithm converges; assuming that the clusters are divided into (w1, w2, .., w k ), then the objective of minimizing the square error E is: Among them, μ i is the cluster w i The mean vector is the center of mass, and its formula is:
6. A user profiling system for electric vehicle charging behavior in residential areas, characterized in that: The user portrait system samples the user portrait method in claim 1 to complete the user portrait of the charging behavior of electric vehicles in residential areas, and specifically includes: a signal acquisition module, a control processing module, a storage module and a display module, and the control processing module is respectively connected to the signal acquisition module, the storage module and the display module; the user portrait system constructs a user charging behavior portrait through the user portrait method for charging behavior of electric vehicles in residential areas in claim 1.
7. A user portrait system for electric vehicle charging behavior in residential areas according to claim 6, characterized in that: The signal acquisition module collects low-voltage charging pile user load data and community charging pile rated power; The control processing module cleans the collected low-voltage charging pile user load data, performs linear interpolation, and forms a charging pile load curve; Construct a charging recognition algorithm based on the rated power setting threshold range and the hot-selling electric vehicles and charging pile charging specification data on the market; extract charging features from the charging pile load curve based on the charging recognition algorithm; Based on the K-means algorithm, the charging features are classified, each feature is labeled, and a user charging behavior profile is constructed.
Citation Information
Patent Citations
Resident load variable-scale portraying method and system based on big data platform
CN111832861A
User portraying method for electric vehicle charging station
CN115187029A
User portrait obtaining method and device, computer equipment and storage medium
CN117172822A
User portraying method based on cloud energy storage demand side data analysis
CN117522457A
Cited By
Charging pile data management method and system
CN121479365A
Distribution network electric vehicle charging load bearing capacity evaluation method considering space-time portrait
CN121682349A
A method for assessing the charging load capacity of electric vehicles in power distribution networks, taking into account spatiotemporal profiles.
CN121682349B
