A DC charging pile online monitoring method and system

Through the state classification model and image judgment, the problem of detection failure of the DC charging pile sensing device is solved, ensuring accurate judgment of the charging gun return situation, and improving user experience and billing accuracy.

CN118578926BActive Publication Date: 2024-10-29杭州富阳中恒电气有限公司 +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411076481.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-29
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The sensing device of the existing DC charging pile has problems such as failure or inaccurate position when detecting the return of the charging gun. As a result, it is impossible to effectively determine whether the charging gun has returned, which in turn affects billing and user experience.

Method used

By obtaining the wire status information and charging gun status information, use the pre-built status classification model to determine the charging status type, and obtain the charging gun location area image set within the target time period, and determine whether the charging gun has returned to the position based on the image; in abnormal charging situations Next, send inquiry information to the user to determine the billing process.

Benefits of technology

It effectively solves the problem of sensor device failure or inaccurate detection position, ensures accurate judgment of the charging gun return situation, avoids hasty billing due to damage to the charging gun, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118578926B_ABST
    Figure CN118578926B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of charging monitoring technology. The present invention discloses a method and system for online monitoring of a DC charging pile, including obtaining wire status information and charging gun status information, inputting the wire status information and the charging gun status information into a pre-built status classification model, obtaining a charging status type, when the charging status type is normal charging, and when the charging gun position information is not obtained within a target time period, obtaining a charging gun position area image set, judging whether the charging gun is returned to its position based on the charging gun position area image set, and when the charging status type is abnormal charging, judging whether to end billing or send charging pile recommendation information according to answer information. When the sensing device fails or the detection position is inaccurate and the charging gun position cannot be effectively detected, the present invention can further judge whether the charging gun is returned to its position. In addition, when the user returns the charging gun due to damage, the system will not hastily end the billing, thereby avoiding reducing the user's experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging monitoring technology, and more specifically, to a method and system for online monitoring of a DC charging pile. Background Art

[0002] With the development of electric vehicles, more and more people are choosing to buy new energy vehicles, which has also brought about the expansion of the charging equipment market, especially the sharp increase in demand for charging piles, but this has also brought about some problems in the charging process. At this stage, various types of DC charging and discharging piles are mainly used by users for self-service. After charging and discharging, the charging gun needs to be returned to its original position by the user. However, if the user does not realize that the charging gun needs to be returned to its original position, the charging gun will be placed on the ground at will, which will cause damage or wear to the charging gun. The charging gun that is not returned may affect the user experience of other users. Therefore, in the prior art, a sensor device is provided in the charging gun placement area to determine whether the charging gun is returned to its original position, but there are still certain problems.

[0003] For example, a Chinese patent with publication number CN113771660A provides a method for correcting false alarms of returning a charging gun, a charging pile and a storage medium. In this patent, a homing detection module is used to detect the homing of the charging gun according to a detection threshold. When the homing detection module detects that the charging gun has not been returned but has actually been returned, a calibration instruction is generated. A Chinese patent with publication number CN114734854A provides a method for controlling charging and discharging of a charging and discharging device, a charging pile, a charging station and a battery swap station. This patent includes an electronic locking device and an electronic locking device. When the electronic locking device is set on the charging gun, the electronic locking device is set on the gun hanging socket.

[0004] The above patents all detect whether the charging gun has returned to its position through a sensor device. However, when the sensor device fails or the detection position is inaccurate and cannot effectively detect the position of the charging gun, it is impossible to further determine whether the charging gun has returned to its position. In addition, the above patents use the return of the charging gun to determine whether to end billing. If the user returns the charging gun because it is damaged, rashly ending the billing will cause the user to use the smart device to communicate with other charging piles again before continuing charging, which will undoubtedly reduce the user's experience.

[0005] In view of this, the present invention proposes a DC charging pile online monitoring method and system to solve the above problems. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, the present invention provides a method and system for online monitoring of a DC charging pile.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A method for online monitoring of a DC charging pile, comprising:

[0009] S10: in response to the charging end signal, obtaining wire state information and charging gun state information, inputting the wire state information and the charging gun state information into a pre-built state classification model to obtain a charging state type, where the charging state type includes abnormal charging and normal charging;

[0010] S20: When the charging status type is normal charging, and the charging gun location information is not obtained within the target time period, a charging gun location area image set is obtained, and whether the charging gun is returned to its position is determined based on the charging gun location area image set. If so, the charging is terminated; if not, the process proceeds to S30;

[0011] S30: acquiring charging characteristic information and a charging process image set, marking the charging process image set based on the charging characteristic information, and ending the billing;

[0012] S40: When the charging status type is abnormal charging, an abnormal inquiry message is sent to the user, and the billing is terminated or charging pile recommendation information is sent according to the answer message. The answer message is information generated by the user in response to the abnormal inquiry message.

[0013] Furthermore, the method for obtaining the wire status information includes:

[0014] Send a detection electrical signal to the conductor, obtain the target electrical signal returned by the conductor, perform time domain analysis and frequency domain analysis on the target electrical signal, and thus obtain the conductor status information.

[0015] Furthermore, the method for constructing the state classification model includes:

[0016] Obtain i groups of training data, where i is a positive integer greater than 1, and the training data includes historical conductor state information, historical charging gun state information, and historical charging state types. The historical conductor state information and the historical charging gun state information are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical target terms in the training set are used as input data, and the historical charging state types in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and the initial classifier having an accuracy greater than a preset threshold is output as a state classification model.

[0017] Furthermore, the determination of the target time period includes:

[0018] When responding to the charging end signal, the timing starts to generate the initial time. Within the preset time period, if the charging start signal appears, the corresponding time is marked as the end time, and the time period between the initial time and the end time is used as the target time period. If no charging start signal appears, the preset time period is used as the target time period.

[0019] Furthermore, the method for obtaining the charging gun position area image set includes:

[0020] Acquire H initial position area images within a target time period, segment the H initial position area images to obtain corresponding charging gun position area sub-images, and generate a charging gun position area image set based on the H charging gun position area sub-images, where H is an integer greater than 1.

[0021] Furthermore, the method of segmenting the H initial position area images to obtain corresponding charging gun position area sub-images includes:

[0022] Based on the self-attention mechanism, it is pre-determined whether there is a charging gun in the initial position area image. If there is a charging gun, the area where the charging gun is located is segmented to generate a charging gun position area sub-image. If there is no charging gun, the preset position area image is used as the charging gun position area sub-image.

[0023] Furthermore, the method for determining whether the charging gun is in place based on the charging gun position area image set includes:

[0024] Traverse the charging gun position area image set, obtain the first grayscale value of H charging gun position area sub-images respectively, calculate the initial difference between the first grayscale value and the second grayscale value, take the median of the H initial difference values ​​as the target difference, and judge whether the target difference is greater than the preset difference threshold. If so, the charging gun is returned to its position; if not, the charging gun is not returned to its position, and the second grayscale value is the grayscale value of the preset position area image.

[0025] Furthermore, the method for marking the charging process image set based on the charging characteristic information includes:

[0026] The license plate number in the charging feature information is obtained, characters in the license plate number that are not numbers are removed, a target digital sequence is obtained, numbers whose first S digits are not 0 in the target digital sequence are obtained, corresponding charging process images in the charging process image set are obtained based on the numbers whose first S digits are not 0, and the charging feature information is embedded into the charging process image through a watermark, where S is an integer greater than 0.

[0027] Furthermore, acquiring the charging process image set includes:

[0028] Obtain a charging process video, input the charging process video into a key frame extraction model, and obtain a charging process image set.

[0029] Furthermore, the method for constructing the key frame extraction model includes:

[0030] A sample data set is obtained, wherein the sample data set includes a historical charging process video and a historical charging process image set, the sample data set is divided into a sample training set and a sample test set, a regression network is constructed, the historical charging process video in the sample training set is used as input data of the regression network, the historical charging process image set in the sample training set is used as output data of the regression network, the regression network is trained, and an initial regression network for predicting a real-time charging process image set is obtained, the initial regression network is tested using the sample test set, and the initial regression network that satisfies a preset error value is output as a key frame extraction model.

[0031] A DC charging pile online monitoring system, which is used to implement the above-mentioned DC charging pile online monitoring method, comprises:

[0032] Information acquisition module: used to respond to the charging end signal, obtain the wire state information and the charging gun state information, input the wire state information and the charging gun state information into the pre-built state classification model, and obtain the charging state type, which includes abnormal charging and normal charging;

[0033] Judgment module: when the charging status type is normal charging and the charging gun location information is not obtained within the target time period, obtain the charging gun location area image set, and judge whether the charging gun is returned to its position based on the charging gun location area image set. If so, end the billing; if not, enter the marking module;

[0034] Marking module: used to obtain charging feature information and a charging process image set, mark the charging process image set based on the charging feature information, and end billing;

[0035] Inquiry module: used to send abnormal inquiry information to the user when the charging status type is abnormal charging, and determine whether to end billing or send charging pile recommendation information based on the answer information. The answer information is the information generated by the user in response to the abnormal inquiry information.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] The present invention first obtains the wire status information and the charging gun status information, inputs the wire status information and the charging gun status information into a pre-built status classification model, obtains the charging status type, and when the charging status type is normal charging and the charging gun position information is not obtained within the target time period, obtains the charging gun position area image set, and determines whether the charging gun is returned based on the charging gun position area image set. When the charging status type is abnormal charging, an abnormal inquiry message is sent to the user, and the billing is terminated or the charging pile recommendation information is sent based on the answer information. When the sensing device fails or the detection position is inaccurate, and the charging gun position cannot be effectively detected, it can further determine whether the charging gun is returned. In addition, when the user returns the charging gun due to damage, the system will not rashly terminate the billing, thereby avoiding reducing the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a flow chart of a DC charging pile online monitoring method in the present invention;

[0039] Figure 2 It is a schematic diagram of the normal communication state between the charging pile, the wire and the charging gun in the present invention;

[0040] Figure 3 A schematic diagram of a charging pile detecting whether a wire is faulty in the present invention;

[0041] Figure 4 A schematic diagram of a computer-readable storage medium in the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example 1

[0043] See also Figure 1 As shown, this embodiment discloses a method for online monitoring of a DC charging pile, including S10 to S40.

[0044] S10: In response to the charging end signal, wire state information and charging gun state information are acquired, and the wire state information and charging gun state information are input into a pre-built state classification model to obtain a charging state type, where the charging state type includes abnormal charging and normal charging.

[0045] It should be noted that, taking a DC charging pile as an example, when a user wants to charge an electric vehicle, usually, the charging gun should be inserted into the charging port of the electric vehicle for connection, and an information connection should be established between the user's smart device and the DC charging pile to confirm whether to charge. The charging end signal is usually sent by the DC charging pile to the electric vehicle, and of course the user's smart device can also receive the corresponding charging end signal.

[0046] In this embodiment, the wire state information includes but is not limited to the peak value of the electric signal, the average value of the electric signal, and the frequency of the electric signal.

[0047] Methods for obtaining conductor status information include:

[0048] Send a detection electrical signal to the conductor, obtain the target electrical signal returned by the conductor, perform time domain analysis and frequency domain analysis on the target electrical signal, and thus obtain the conductor status information.

[0049] It should be added that the time domain analysis of the target electrical signal mentioned above refers to the analysis of the signal in the time domain, which mainly focuses on the timing characteristics and waveform changes of the target electrical signal to generate time domain images, such as waveform diagrams, amplitude-frequency characteristic diagrams, etc. The frequency domain analysis of the target electrical signal refers to performing a fast Fourier transform on the target electrical signal to obtain the electrical signal frequency.

[0050] Combine the following Figure 2 and Figure 3 Provide specific instructions.

[0051] Figure 2 100 is the charging pile, 200 is the wire, and 300 is the charging gun. Figure 2 It represents the normal communication status among the charging pile 100, the wire 200 and the charging gun 300.

[0052] Figure 3 The charging pile 100 sends a detection electrical signal to the wire 200 to detect whether the wire 200 is damaged. The charging pile 100 includes a signal transmitting unit 110 and a signal analyzing unit 120. The wire 200 includes an inner layer 210 and a signal receiving layer 220. Figure 3 It can be seen that the detection electrical signal is sent to the internal layer 210 through the signal transmitting unit 110, the target electrical signal is generated through the internal layer 210, and the target electrical signal is first acquired by the signal receiving layer 220, and then the target electrical signal is sent to the signal analysis unit 120, and the target electrical signal is analyzed by the signal analysis unit 120 to generate the wire status information.

[0053] The above-mentioned charging gun status information includes but is not limited to the charging gun current, communication rate and internal temperature of the charging gun. The above-mentioned communication rate refers to the rate of data transmission between the charging gun and the charging pile. The internal temperature of the charging gun includes the internal air temperature and the internal component temperature. The above-mentioned communication rate can be obtained through the communication interface, and the internal component temperature can be the weighted average of the temperatures of each component inside the charging gun.

[0054] The construction method of the state classification model includes:

[0055] Obtain i groups of training data, where i is a positive integer greater than 1, and the training data includes historical conductor state information, historical charging gun state information, and historical charging state types. The historical conductor state information and the historical charging gun state information are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical target terms in the training set are used as input data, and the historical charging state types in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set. The initial classifier having an accuracy greater than a preset threshold is output as a state classification model, and the initial classifier is preferably a naive Bayes model or a support vector machine model.

[0056] S20: When the charging status type is normal charging, and the charging gun location information is not obtained within the target time period, obtain the charging gun location area image set, and determine whether the charging gun is returned based on the charging gun location area image set. If so, end the billing, if not, proceed to S30.

[0057] It should be added that failure to obtain the charging gun position information means that a sensor is provided in the charging gun socket, but due to damage to the sensor or inaccurate detection, it is impossible to know whether the charging gun is located in the charging gun socket.

[0058] Determination of the target time period includes:

[0059] When responding to the charging end signal, the timing starts to generate the initial time. Within the preset time period, if the charging start signal appears, the corresponding time is marked as the end time, and the time period between the initial time and the end time is used as the target time period. If no charging start signal appears, the preset time period is used as the target time period.

[0060] It should be noted that the above-mentioned charging end signal refers to the end of charging of the previous vehicle, while the charging start signal refers to the start of charging of the next vehicle. The charging start signal is also obtained after the charging pile is connected to the smart device. For example, at charging stations on highways, due to the limited number of charging piles, vehicles often queue up for charging.

[0061] When the previous car finishes charging, if the user does not return the charging gun in time, and the next car needs to be charged, the user of the next car may return the charging gun first. In this way, due to the short time interval between the two operations, the system may mistakenly judge that the user of the previous car has returned the charging gun, and thus cannot accurately judge the charging status.

[0062] To avoid this situation, a fixed preset time period is set, for example 3 minutes. If no charging start signal appears within these 3 minutes, it means there is no charging queue. Therefore, 3 minutes is used as the target time period. If a charging start signal appears within these 3 minutes, it means there is a charging queue. To prevent missed judgment, the time period between the initial moment and the end moment should be used as the target time period. In this way, the target time period can be dynamically changed according to the actual charging situation.

[0063] The method for obtaining the charging gun position area image set includes:

[0064] Acquire H initial position area images within a target time period, segment the H initial position area images to obtain corresponding charging gun position area sub-images, and generate a charging gun position area image set based on the H charging gun position area sub-images, where H is an integer greater than 1.

[0065] The method of segmenting H initial position area images to obtain corresponding charging gun position area sub-images includes:

[0066] Based on the self-attention mechanism, it is pre-determined whether there is a charging gun in the initial position area image. If there is a charging gun, the area where the charging gun is located is segmented to generate a charging gun position area sub-image. If there is no charging gun, the preset position area image is used as the charging gun position area sub-image.

[0067] It should be added that the self-attention mechanism is widely used for image data in deep learning. Combined with a convolutional neural network, it can focus on important areas in the image and improve detection accuracy. For example, the convolutional neural network can be a YOLO detector. Through the self-attention mechanism, each area in the initial position area image is first weighted, and the YOLO detector then performs rapid detection based on the weights. There are many ways to segment an image. For example, region growing is a classic method for image segmentation. By gradually expanding the area of ​​the seed pixel, all similar pixels included in it are gathered together to form a connected area. This embodiment will not go into too much detail.

[0068] It can be understood that the image of the initial position area is a larger range. For example, the initial position area at least includes the top area of ​​the charging pile, the charging gun socket area and the areas on both sides of the charging pile. The image of the initial position area can be obtained by shooting at fixed time intervals through a nearby camera, and the preset position area mentioned above is the charging gun socket area. The above content is explained as follows in combination with specific application scenarios.

[0069] When the vehicle finishes charging, the user puts the charging gun back to the charging gun socket area as required. However, the charging gun socket cannot fix the charging gun due to damage or long usage. Therefore, the user usually places the charging gun in other areas of the charging pile, such as the top area of ​​the charging pile. Therefore, in this embodiment, the charging gun socket area image cannot be directly used as the charging gun position area sub-image, because under normal circumstances, the user has no awareness that the charging gun needs to be returned to its place, and will only place the charging gun on the ground or under the charging pile at will, but not in the top area of ​​the charging pile. Therefore, pre-determining whether there is a charging gun in the initial position area image can more accurately determine whether the user's behavior complies with regulations.

[0070] The method for judging whether the charging gun is in position based on the charging gun position area image set includes:

[0071] Traverse the charging gun position area image set, obtain the first grayscale value of H charging gun position area sub-images respectively, calculate the initial difference between the first grayscale value and the second grayscale value, take the median of the H initial difference values ​​as the target difference, and judge whether the target difference is greater than the preset difference threshold. If so, the charging gun is returned to its position; if not, the charging gun is not returned to its position, and the second grayscale value is the grayscale value of the preset position area image.

[0072] It should be noted that the preset position area image is the charging gun socket area image, and the charging gun socket area image refers to the image of the charging gun socket when the charging gun is not in the socket. The median of the H initial differences is used as the target difference in the above description only for exemplary purposes, and this embodiment is not limited to this.

[0073] S30: Acquire charging characteristic information and a charging process image set, mark the charging process image set based on the charging characteristic information, and end the billing.

[0074] The charging vehicle information includes the license plate number, charging time information, charging location information and vehicle identification number. The license plate number can be directly obtained by identifying the license plate image. The charging time information can be the time information when the vehicle is charging. The charging location information refers to the location information of the vehicle when it is charging. The vehicle identification number can be obtained after the charging column and the vehicle are connected through information and inquiries. It can be understood that the charging characteristic information represents information that is strongly associated with the charging vehicle. Then, the charging process image set is marked by the charging characteristic information, so that the charging process image set is strongly associated with the charging vehicle. In this way, in the subsequent warning or deduction process, it can effectively avoid the phenomenon that the user denies that the charging gun has not been returned to its place.

[0075] It can be understood that the charging process image set includes several images of the vehicle during the charging process, for example, images when the user inserts the charging gun into the charging port of the vehicle, images when the user pulls the charging gun out of the charging port of the vehicle, and images when the user drops the charging gun on the ground. The charging process image set is obtained by extracting key frames from the charging process video.

[0076] The acquisition of the charging process image set includes:

[0077] Obtain a charging process video, input the charging process video into a key frame extraction model, and obtain a charging process image set.

[0078] The construction method of the key frame extraction model includes:

[0079] A sample data set is obtained, wherein the sample data set includes a historical charging process video and a historical charging process image set, the sample data set is divided into a sample training set and a sample test set, a regression network is constructed, the historical charging process video in the sample training set is used as input data of the regression network, and the historical charging process image set in the sample training set is used as output data of the regression network, the regression network is trained, and an initial regression network for predicting a real-time charging process image set is obtained, the initial regression network is tested using the sample test set, and the initial regression network that satisfies a preset error value is output as a key frame extraction model, and the initial regression network is preferably a neural network model.

[0080] The method for marking a charging process image set based on charging feature information includes:

[0081] The license plate number in the charging feature information is obtained, characters in the license plate number that are not numbers are removed, a target digital sequence is obtained, numbers whose first S digits are not 0 in the target digital sequence are obtained, corresponding charging process images in the charging process image set are obtained based on the numbers whose first S digits are not 0, and the charging feature information is embedded into the charging process image through a watermark, where S is an integer greater than 0.

[0082] The license plate number is usually composed of Chinese characters, letters and numbers. In this embodiment, the Chinese characters and letters are removed, only the numbers are retained, and the numbers are combined in the original order to generate a target digital sequence. For example, the target digital sequence is 30178. If S is 3, the three numbers 3, 1 and 7 are taken respectively, and the corresponding charging process images are marked. The corresponding charging process image means that the order of the image in the real-time vehicle image set meets the preset rules. It can be understood that the charging process image set is a collection of several charging process images in a certain order, so the 3rd charging process image, the 1st charging process image and the 7th charging process image in the real-time vehicle image set can be watermarked respectively.

[0083] The watermarking method can be to embed all the charging characteristic information into the charging process image, or embed them separately, for example, embed the charging time information in the charging characteristic information into the third charging process image, embed the charging position information in the charging characteristic information into the first charging process image, and embed the vehicle identification number in the charging characteristic information into the seventh charging process image. This embodiment is not limited to this.

[0084] The watermark method can be implemented by calling the view display function in the database, and the target view display function refers to the watermark code in OpenCV.

[0085] S40: When the charging status type is abnormal charging, an abnormal inquiry message is sent to the user, and the billing is terminated or charging pile recommendation information is sent according to the answer message. The answer message is information generated by the user in response to the abnormal inquiry message.

[0086] It should be noted that when abnormal charging is detected, an abnormal inquiry message may be sent to the user's smart device or vehicle. The abnormal inquiry message may be whether to continue charging. When the user replies to continue charging, an idle charging pile should be recommended to the user instead of ending the billing immediately. It can be understood that after an idle charging pile is recommended to the user, the user's information can be sent to the recommended idle charging pile, thus avoiding the user's need to use the smart device again to communicate with other charging piles.

[0087] In this embodiment, the wire status information and the charging gun status information are first obtained, and the wire status information and the charging gun status information are input into a pre-built status classification model to obtain the charging status type. When the charging status type is normal charging and the charging gun position information is not obtained within the target time period, the charging gun position area image set is obtained, and whether the charging gun is returned is determined based on the charging gun position area image set. When the charging status type is abnormal charging, an abnormal inquiry message is sent to the user, and the billing is terminated or the charging pile recommendation information is sent based on the answer information. When the sensor device fails or the detection position is inaccurate, and the charging gun position cannot be effectively detected, it can further determine whether the charging gun is returned. In addition, when the user returns the charging gun due to damage, the system will not rashly terminate the billing, thereby avoiding reducing the user experience. Example 2

[0088] This embodiment provides a DC charging pile online monitoring system based on the first embodiment, including: an information acquisition module, a judgment module, a marking module and an inquiry module.

[0089] Information acquisition module: used to respond to the charging end signal, obtain the wire status information and the charging gun status information, input the wire status information and the charging gun status information into the pre-built status classification model, and obtain the charging status type, which includes abnormal charging and normal charging.

[0090] It should be noted that, taking a DC charging pile as an example, when a user wants to charge an electric vehicle, usually, the charging gun should be inserted into the charging port of the electric vehicle for connection, and an information connection should be established between the user's smart device and the DC charging pile to confirm whether to charge. The charging end signal is usually sent by the DC charging pile to the electric vehicle, and of course the user's smart device can also receive the corresponding charging end signal.

[0091] In this embodiment, the wire state information includes but is not limited to the peak value of the electric signal, the average value of the electric signal, and the frequency of the electric signal.

[0092] Methods for obtaining conductor status information include:

[0093] Send a detection electrical signal to the conductor, obtain the target electrical signal returned by the conductor, perform time domain analysis and frequency domain analysis on the target electrical signal, and thus obtain the conductor status information.

[0094] It should be added that the time domain analysis of the target electrical signal mentioned above refers to the analysis of the signal in the time domain, which mainly focuses on the timing characteristics and waveform changes of the target electrical signal to generate time domain images, such as waveform diagrams, amplitude-frequency characteristic diagrams, etc. The frequency domain analysis of the target electrical signal refers to performing a fast Fourier transform on the target electrical signal to obtain the electrical signal frequency.

[0095] The above-mentioned charging gun status information includes but is not limited to the charging gun current, communication rate and internal temperature of the charging gun. The above-mentioned communication rate refers to the rate of data transmission between the charging gun and the charging pile. The internal temperature of the charging gun includes the internal air temperature and the internal component temperature. The above-mentioned communication rate can be obtained through the communication interface, and the internal component temperature can be the weighted average of the temperatures of each component inside the charging gun.

[0096] Judgment module: used to obtain the charging gun location area image set when the charging status type is normal charging and the charging gun location information is not obtained within the target time period, and judge whether the charging gun is returned to its position based on the charging gun location area image set. If so, the billing is terminated; if not, it is transferred to the marking module.

[0097] It should be added that failure to obtain the charging gun position information means that a sensor is provided in the charging gun socket, but due to damage to the sensor or inaccurate detection, it is impossible to know whether the charging gun is located in the charging gun socket.

[0098] Determination of the target time period includes:

[0099] When responding to the charging end signal, the timing starts to generate the initial time. Within the preset time period, if the charging start signal appears, the corresponding time is marked as the end time, and the time period between the initial time and the end time is used as the target time period. If no charging start signal appears, the preset time period is used as the target time period.

[0100] It should be noted that the above-mentioned charging end signal refers to the end of charging of the previous vehicle, while the charging start signal refers to the start of charging of the next vehicle. The charging start signal is also obtained after the charging pile is connected to the smart device. For example, at charging stations on highways, due to the limited number of charging piles, vehicles often queue up for charging.

[0101] When the previous car finishes charging, if the user does not return the charging gun in time, and the next car needs to be charged, the user of the next car may return the charging gun first. In this way, due to the short time interval between the two operations, the system may mistakenly judge that the user of the previous car has returned the charging gun, and thus cannot accurately judge the charging status.

[0102] To avoid this situation, a fixed preset time period is set, for example 3 minutes. If no charging start signal appears within these 3 minutes, it means there is no charging queue. Therefore, 3 minutes is used as the target time period. If a charging start signal appears within these 3 minutes, it means there is a charging queue. To prevent missed judgment, the time period between the initial moment and the end moment should be used as the target time period. In this way, the target time period can be dynamically changed according to the actual charging situation.

[0103] The method for obtaining the charging gun position area image set includes:

[0104] Acquire H initial position area images within a target time period, segment the H initial position area images to obtain corresponding charging gun position area sub-images, and generate a charging gun position area image set based on the H charging gun position area sub-images, where H is an integer greater than 1.

[0105] The method of segmenting H initial position area images to obtain corresponding charging gun position area sub-images includes:

[0106] Based on the self-attention mechanism, it is pre-determined whether there is a charging gun in the initial position area image. If there is a charging gun, the area where the charging gun is located is segmented to generate a charging gun position area sub-image. If there is no charging gun, the preset position area image is used as the charging gun position area sub-image.

[0107] It can be understood that the initial position area image is a larger range. For example, the initial position area at least includes the top area of ​​the charging pile, the charging gun socket area and the two side areas of the charging pile, and the preset position area mentioned above is the charging gun socket area. The above content is explained as follows in combination with specific application scenarios.

[0108] When the vehicle finishes charging, the user puts the charging gun back to the charging gun socket area as required. However, the charging gun socket cannot fix the charging gun due to damage or long usage. Therefore, the user usually places the charging gun in other areas of the charging pile, such as the top area of ​​the charging pile. Therefore, in this embodiment, the charging gun socket area image cannot be directly used as the charging gun position area sub-image, because under normal circumstances, the user has no awareness that the charging gun needs to be returned to its place, and will only place the charging gun on the ground or under the charging pile at will, but not in the top area of ​​the charging pile. Therefore, pre-determining whether there is a charging gun in the initial position area image can more accurately determine whether the user's behavior complies with regulations.

[0109] The method for judging whether the charging gun is in position based on the charging gun position area image set includes:

[0110] Traverse the charging gun position area image set, obtain the first grayscale value of H charging gun position area sub-images respectively, calculate the initial difference between the first grayscale value and the second grayscale value, take the median of the H initial difference values ​​as the target difference, and judge whether the target difference is greater than the preset difference threshold. If so, the charging gun is returned to its position; if not, the charging gun is not returned to its position, and the second grayscale value is the grayscale value of the preset position area image.

[0111] It should be noted that the preset position area image is the charging gun socket area image, and the charging gun socket area image refers to the image of the charging gun socket when the charging gun is not in the socket. The median of the H initial differences is used as the target difference in the above description only for exemplary purposes, and this embodiment is not limited to this.

[0112] Marking module: used to obtain charging feature information and a charging process image set, mark the charging process image set based on the charging feature information, and end billing.

[0113] The charging vehicle information includes the license plate number, charging time information, charging location information and vehicle identification number. The license plate number can be directly obtained by identifying the license plate image. The charging time information can be the time information when the vehicle is charging. The charging location information refers to the location information of the vehicle when it is charging. The vehicle identification number can be obtained after the charging column and the vehicle are connected through information and inquiries. It can be understood that the charging characteristic information represents information that is strongly associated with the charging vehicle. Then, the charging process image set is marked by the charging characteristic information, so that the charging process image set is strongly associated with the charging vehicle. In this way, in the subsequent warning or deduction process, it can effectively avoid the phenomenon that the user denies that the charging gun has not been returned to its place.

[0114] It can be understood that the charging process image set includes several images of the vehicle during the charging process, for example, images when the user inserts the charging gun into the charging port of the vehicle, images when the user pulls the charging gun out of the charging port of the vehicle, and images when the user drops the charging gun on the ground. The charging process image set is obtained by extracting key frames from the charging process video.

[0115] The acquisition of the charging process image set includes:

[0116] Obtain a charging process video, input the charging process video into a key frame extraction model, and obtain a charging process image set.

[0117] The method for marking a charging process image set based on charging feature information includes:

[0118] The license plate number in the charging feature information is obtained, characters in the license plate number that are not numbers are removed, a target digital sequence is obtained, numbers whose first S digits are not 0 in the target digital sequence are obtained, corresponding charging process images in the charging process image set are obtained based on the numbers whose first S digits are not 0, and the charging feature information is embedded into the charging process image through a watermark, where S is an integer greater than 0.

[0119] The license plate number is usually composed of Chinese characters, letters and numbers. In this embodiment, the Chinese characters and letters are removed, only the numbers are retained, and the numbers are combined in the original order to generate a target digital sequence. For example, the target digital sequence is 30178. If S is 3, the three numbers 3, 1 and 7 are taken respectively, and the corresponding charging process images are marked. The corresponding charging process image means that the order of the image in the real-time vehicle image set meets the preset rules. It can be understood that the charging process image set is a collection of several charging process images in a certain order, so the 3rd charging process image, the 1st charging process image and the 7th charging process image in the real-time vehicle image set can be watermarked respectively.

[0120] The watermarking method can be to embed all the charging characteristic information into the charging process image, or embed them separately, for example, embed the charging time information in the charging characteristic information into the third charging process image, embed the charging position information in the charging characteristic information into the first charging process image, and embed the vehicle identification number in the charging characteristic information into the seventh charging process image. This embodiment is not limited to this.

[0121] The watermark method can be implemented by calling the view display function in the database, and the target view display function refers to the watermark code in OpenCV.

[0122] Inquiry module: used to send abnormal inquiry information to the user when the charging status type is abnormal charging, and determine whether to end billing or send charging pile recommendation information based on the answer information. The answer information is the information generated by the user in response to the abnormal inquiry information.

[0123] It should be noted that when abnormal charging is detected, an abnormal inquiry message may be sent to the user's smart device or vehicle. The abnormal inquiry message may be whether to continue charging. When the user replies to continue charging, an idle charging pile should be recommended to the user instead of ending the billing immediately. It can be understood that after an idle charging pile is recommended to the user, the user's information can be sent to the recommended idle charging pile, thus avoiding the user's need to use the smart device again to communicate with other charging piles. Example 3

[0124] like Figure 4 As shown, this embodiment discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed, the above-mentioned method for online monitoring of a DC charging pile is implemented.

[0125] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters, weights and thresholds in the formula are set by technicians in this field according to actual conditions.

[0126] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired network or a wireless network. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0127] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0128] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0129] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0131] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0132] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0133] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A DC charging pile online monitoring method, characterized in that: include: S10: in response to the charging end signal, obtaining wire state information and charging gun state information, inputting the wire state information and the charging gun state information into a pre-built state classification model to obtain a charging state type, where the charging state type includes abnormal charging and normal charging; S20: When the charging status type is normal charging, and the charging gun location information is not obtained within the target time period, a charging gun location area image set is obtained, and whether the charging gun is returned to its position is determined based on the charging gun location area image set. If so, the charging is terminated; if not, the process proceeds to S30; S30: acquiring charging characteristic information and a charging process image set, marking the charging process image set based on the charging characteristic information, and ending the billing; S40: When the charging status type is abnormal charging, an abnormal inquiry message is sent to the user, and the billing is terminated or charging pile recommendation information is sent according to the answer information, wherein the answer information is information generated by the user in response to the abnormal inquiry message; Determination of the target time period includes: When responding to the charging end signal, the timing starts to generate the initial time. Within the preset time period, if the charging start signal appears, the corresponding time is marked as the end time, and the time period between the initial time and the end time is used as the target time period. If no charging start signal appears, the preset time period is used as the target time period; The method for marking a charging process image set based on charging feature information comprises: The license plate number in the charging feature information is obtained, characters in the license plate number that are not numbers are removed, a target digital sequence is obtained, numbers whose first S digits are not 0 in the target digital sequence are obtained, corresponding charging process images in the charging process image set are obtained based on the numbers whose first S digits are not 0, and the charging feature information is embedded into the charging process image through a watermark, where S is an integer greater than 0.

2. A DC charging pile online monitoring method according to claim 1, characterized in that: The method for obtaining wire status information comprises: Send a detection electrical signal to the conductor, obtain the target electrical signal returned by the conductor, perform time domain analysis and frequency domain analysis on the target electrical signal, and thus obtain the conductor status information.

3. A DC charging pile online monitoring method according to claim 2, characterized in that: The method for constructing the state classification model includes: Obtain i groups of training data, where i is a positive integer greater than 1, and the training data includes historical conductor state information, historical charging gun state information, and historical charging state types. The historical conductor state information and the historical charging gun state information are used as sample sets, and the sample sets are divided into training sets and test sets. A classifier is constructed, and the historical target terms in the training set are used as input data, and the historical charging state types in the training set are used as output data. The classifier is trained to obtain an initial classifier, and the initial classifier is tested using the test set, and the initial classifier having an accuracy greater than a preset threshold is output as a state classification model.

4. A DC charging pile online monitoring method according to claim 1, characterized in that: The method for obtaining a charging gun position area image set comprises: Acquire H initial position area images within a target time period, segment the H initial position area images to obtain corresponding charging gun position area sub-images, and generate a charging gun position area image set based on the H charging gun position area sub-images, where H is an integer greater than 1.

5. A DC charging pile online monitoring method according to claim 4, characterized in that: The method of performing region segmentation on H initial position region images to obtain corresponding charging gun position region sub-images comprises: Based on the self-attention mechanism, it is pre-determined whether there is a charging gun in the initial position area image. If there is a charging gun, the area where the charging gun is located is segmented to generate a charging gun position area sub-image. If there is no charging gun, the preset position area image is used as the charging gun position area sub-image.

6. A DC charging pile online monitoring method according to claim 1, characterized in that: The method for judging whether the charging gun is in position based on the charging gun position area image set comprises: Traverse the charging gun position area image set, obtain the first grayscale value of H charging gun position area sub-images respectively, calculate the initial difference between the first grayscale value and the second grayscale value, take the median of the H initial difference values ​​as the target difference, and judge whether the target difference is greater than the preset difference threshold. If so, the charging gun is returned to its position; if not, the charging gun is not returned to its position, and the second grayscale value is the grayscale value of the preset position area image.

7. A DC charging pile online monitoring method according to claim 1, characterized in that: The acquisition of the charging process image set includes: Obtain a charging process video, input the charging process video into a key frame extraction model, and obtain a charging process image set; The method for constructing the key frame extraction model includes: A sample data set is obtained, wherein the sample data set includes a historical charging process video and a historical charging process image set, the sample data set is divided into a sample training set and a sample test set, a regression network is constructed, the historical charging process video in the sample training set is used as input data of the regression network, the historical charging process image set in the sample training set is used as output data of the regression network, the regression network is trained, and an initial regression network for predicting a real-time charging process image set is obtained, the initial regression network is tested using the sample test set, and the initial regression network that satisfies a preset error value is output as a key frame extraction model.

8. A DC charging pile online monitoring system, used to implement a DC charging pile online monitoring method according to any one of claims 1 to 7, characterized in that: include: Information acquisition module: used to respond to the charging end signal, obtain the wire state information and the charging gun state information, input the wire state information and the charging gun state information into the pre-built state classification model, and obtain the charging state type, which includes abnormal charging and normal charging; Judgment module: when the charging status type is normal charging and the charging gun location information is not obtained within the target time period, obtain the charging gun location area image set, and judge whether the charging gun is returned to its position based on the charging gun location area image set. If so, end the billing; if not, enter the marking module; Marking module: used to obtain charging feature information and a charging process image set, mark the charging process image set based on the charging feature information, and end billing; Inquiry module: used to send abnormal inquiry information to the user when the charging status type is abnormal charging, and determine whether to end billing or send charging pile recommendation information based on the answer information. The answer information is the information generated by the user in response to the abnormal inquiry information.

Citation Information

Patent Citations

  • Gun returning false alarm correction method, charging pile and storage medium

    CN113771660A

  • Charging and discharging control method for charging and discharging equipment, charging pile, charging station and battery swap station

    CN114734854A

  • Power battery charging diagnosis method, device and equipment and storage medium

    CN115447440A

  • Charging gun self-checking device and charging pile

    CN116298594A

  • Charging station for charging electric vehicles

    DE102019108666A1