CN113820557A - Non-invasive electric bicycle charging load detection and identification method - Google Patents
Non-invasive electric bicycle charging load detection and identification method Download PDFInfo
- Publication number
- CN113820557A CN113820557A CN202111104383.3A CN202111104383A CN113820557A CN 113820557 A CN113820557 A CN 113820557A CN 202111104383 A CN202111104383 A CN 202111104383A CN 113820557 A CN113820557 A CN 113820557A
- Authority
- CN
- China
- Prior art keywords
- electric bicycle
- data
- current
- charging
- electric
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/005—Testing of electric installations on transport means
- G01R31/006—Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F18/24155—Bayesian classification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Probability & Statistics with Applications (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
The invention discloses a non-invasive charging load detection and identification method for an electric bicycle, which comprises the steps of obtaining charging load data of the electric bicycle and other electric appliances connected with the electric bicycle in parallel, and extracting current-voltage characteristics of the obtained data; performing time domain simulation on the current and voltage characteristic data to obtain a primary charging voltage and current oscillogram; analyzing the oscillogram, judging whether the data have errors, searching and eliminating the error data, preprocessing the data to obtain the oscillogram with the error data eliminated; respectively carrying out macroscopic analysis and microscopic analysis on the oscillogram; carrying out frequency domain analysis on the preprocessed data by utilizing a Fourier transform method, and extracting harmonic features; and classifying and identifying the harmonic features, and respectively training and testing by using a training set and a testing set. The invention can distinguish different electric appliances for identification control by identifying different load characteristics by extracting the current and voltage of the electric bicycle and other electric appliances and classifying the characteristics of the electric bicycle and other electric appliances.
Description
Technical Field
The invention belongs to the technical field of load detection and data identification, and particularly relates to a non-invasive electric bicycle charging load detection and identification method.
Background
With the rapid development of the electric bicycle industry, the charging behavior of the electric bicycle is intensively researched. The purpose of determining the load type through the load characteristic value can be achieved by comparing the electric bicycle with other loads, observing respective load characteristics and researching an identification method.
For modeling of the charging load of the electric bicycle, a Monte Carlo simulation method is mainly adopted at home and abroad, and the charging load condition related to a certain electric bicycle or a certain charging station is reflected according to the load characteristics related to the charging of the electric bicycle.
In the prior art, a vehicle travel characteristic set is generally established by adopting a GPS, and the prediction of the charging load of the electric bicycle is realized by establishing data of vehicle travel and different charging scenes. And predicting the charging loads of different electric vehicles by combining a Monte Carlo method according to a charging power mathematical model, charging time distribution, charging initial time distribution and the like of the battery. Or verifying that the influence factors of the electric bicycle approximately accord with the parameter result by adopting a logistic analysis method, establishing a secondary curve model of travel mileage and time, and enabling an actual sample travel curve to obey the logistic model. However, these prior art techniques still have many drawbacks, such as: when the feature space is large, the logistic regression performance is not very good; fitting is easy to be performed under, and the accuracy is not high generally; a large number of multi-class features or variables cannot be handled well; for nonlinear characteristics, conversion and the like are required.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a non-invasive electric bicycle charging load detection and identification method aiming at the defects of the prior art, wherein the load characteristics are classified by extracting the current and voltage of the electric bicycle and other electric appliances, and different load characteristics are identified to distinguish different electric appliances for identification control.
In order to achieve the technical purpose, the technical scheme adopted by the invention is as follows:
the non-invasive electric bicycle charging load detection and identification method comprises the following steps:
step 1: acquiring charging load data of the electric bicycle and other electric appliances connected in parallel with the electric bicycle, and extracting current-voltage characteristics of the acquired data;
step 2: performing time domain simulation on the current and voltage characteristic data in the step 1 to obtain a charging voltage waveform diagram and a current waveform diagram;
and step 3: analyzing the oscillogram in the step (2), judging whether the data have errors, searching and eliminating the error data, preprocessing the data, and obtaining the oscillogram with the error data eliminated;
and 4, step 4: respectively carrying out macroscopic analysis on the charging process and microscopic analysis on the waveform in one second on the waveform diagram obtained in the step 3;
and 5: carrying out frequency domain analysis on the data preprocessed in the step 3 by using a Fourier transform method, and extracting harmonic features;
step 6: and classifying and identifying the harmonic features, and respectively training and testing by using a training set and a testing set.
In order to optimize the technical scheme, the specific measures adopted further comprise:
the preprocessing the data in the step 3 includes:
and (3) eliminating data larger than a threshold value by adopting an interval amplitude limiting method, and identifying various load characteristics by adopting current and voltage waveforms in two states before and during charging.
The macro analysis of step 4 above, comprising:
and respectively analyzing the alternating voltage characteristic data and the current characteristic data, wherein when the current characteristic data are analyzed, the current phase of the electric bicycle is assumed to be equal to the current phase of other electric appliances, and only the waveform analysis is carried out on the magnitude of the current.
The microscopic analysis of the above step 4, comprising: and (3) carrying out microscopic analysis on the current characteristic data, namely selecting two states before and during charging to carry out time domain analysis, comparing current and voltage waveforms of the electric bicycle and other electric appliances, and analyzing the difference of the current and voltage waveforms.
The step 5 of performing frequency domain analysis by using a fourier transform method includes:
and (3) carrying out harmonic feature extraction on the data of the electric bicycle and other electric appliances after the preprocessing in the step (3) by utilizing a Fourier algorithm, wherein the harmonic feature extraction comprises phase frequency analysis and time frequency analysis.
The phase frequency analysis specifically includes: the relation between the phases of the electric bicycle and other electric appliances is analyzed to obtain a current-voltage phase spectrogram, and whether the phases of the electric bicycle and other electric appliances are different in current-voltage phase is analyzed.
The amplitude-frequency analysis specifically includes: the method includes the steps of discussing odd harmonics of electric bicycles and other electric appliances, obtaining values of 1, 3, 5, 7 and 9 harmonics by conversion, simulating three stages of charging before charging, namely charging, to obtain a single-side frequency spectrogram, and obtaining harmonic content distribution of each stage from the single-side frequency spectrogram.
In the above step 6, the harmonic features extracted by the frequency domain analysis in the step 5 are classified and identified by using a naive bayes classification method, and whether the harmonic features belong to the features of the electric bicycle or the features of other electric appliances are judged, specifically:
obtaining training samples according to the determined characteristic attributes, calculating each sample, solving each characteristic attribute, calculating the conditional probability of all the partitions, calculating P (yi) P (x | yi) of each class, and taking the P (yi) P (x | yi) as the maximum item of the class to which x belongs if P (y)k|x)=max{P(y1|x),P(y2|x),…,P(yn| x) }, then x ∈ yk;
Respectively selecting 30s-290s of data information for the electric bicycle and other electric appliances, wherein the data contents are 1, 3, 5, 7 and 9 harmonic amplitudes, merging and randomly disordering, dividing the data contents into a test set and a training set according to the ratio of 3:7, and training a classifier model by using the training set, wherein the model belongs to the electric bicycle 1, and the other electric appliances are 0;
and finally, testing by using the test set, and observing whether the test result meets the actual condition.
The invention has the following beneficial effects:
the extraction features and the extraction method of the electric bicycle and other electric appliances are discussed from the aspects of time domain, frequency domain and the like, the extraction features are mainly the harmonic characteristics of the load, the extraction method is Fourier transform, and the identification method is determined according to the requirement of load identification. Unilateral frequency spectrums of the electric bicycle and other electric appliances are analyzed according to three aspects of charging before, charging and charging, load modes are distinguished according to harmonic wave characteristics, and meanwhile, a harmonic wave characteristic statistical table of the electric bicycle and other electric appliances is constructed, and support is provided for load identification. The method comprises the steps of adopting naive Bayesian classification to identify loads, carrying out Fourier transform on data of each second of the load data in charging, selecting 1, 3, 5, 7 and 9-order harmonic features, randomly disordering the features, dividing the features into a test set and a training set according to the ratio of 3:7, training model parameters of the training set, and testing results by using the test set. By the methods, the load type can be known through the load characteristic value, different electrical appliance loads can be identified and classified, and the method has universality. Compared with the prior art, the method can better process a large number of various characteristics or variables and has higher accuracy.
Drawings
FIG. 1 is a graph of single-side spectrum of current and voltage for an electric bicycle and other electrical appliances in accordance with an embodiment of the present invention;
FIG. 2 is a graph of single-side current spectra of an electric bicycle and other electrical devices in three states according to an embodiment of the present invention;
FIG. 3 is a chart of current-voltage phase diagrams of an electric bicycle and other electrical appliances in accordance with an embodiment of the present invention;
FIG. 4 is a waveform diagram of charging voltage and current for an electric bicycle according to an embodiment of the present invention;
FIG. 5 is a diagram of voltage and current waveforms of other electrical devices according to an embodiment of the present invention;
FIG. 6 is a waveform diagram of an electric bicycle with abnormal waveforms in accordance with an embodiment of the present invention;
FIG. 7 is a waveform diagram of other electrical devices with abnormal waveforms according to an embodiment of the present invention;
FIG. 8 is a current waveform diagram of an electric bicycle and other electric appliances after the abnormality is eliminated according to the embodiment of the present invention;
FIG. 9 is a graph of the charging current voltage waveform of the electric bicycle before charging in accordance with the embodiment of the present invention;
FIG. 10 is a graph of the charging current and voltage waveforms of other appliances before charging according to the embodiment of the present invention;
FIG. 11 is a graph showing the charging current/voltage waveforms of the electric bicycle during charging according to the embodiment of the present invention;
FIG. 12 is a graph of the charging current and voltage waveforms of other electrical devices during charging according to the embodiment of the present invention;
FIG. 13 is a frequency spectrum diagram of an electric bicycle and other electrical appliances in accordance with an embodiment of the present invention;
FIG. 14 is a graph of current spectra of an electric bicycle and other electrical devices in three states according to an embodiment of the present invention;
FIG. 15 is a flowchart illustrating a non-intrusive electric bicycle charging load detection and identification method according to the present invention.
Detailed Description
Embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
Referring to fig. 15, the non-intrusive electric bicycle charging load detection and identification method of the present invention includes:
step 1: acquiring charging load data of the electric bicycle and other electric appliances connected in parallel with the electric bicycle, and extracting current-voltage characteristics of the acquired data;
step 2: performing time domain simulation on the current and voltage characteristic data in the step 1 to obtain a primary charging voltage and current oscillogram;
and step 3: analyzing the oscillogram in the step (2), judging whether the data have errors, searching and eliminating the error data, preprocessing the data, and obtaining the oscillogram with the error data eliminated;
and 4, step 4: respectively carrying out macroscopic analysis on the charging process and microscopic analysis on the waveform in one second on the waveform diagram obtained in the step 3;
and 5: carrying out frequency domain analysis on the data preprocessed in the step 3 by using a Fourier transform method, and extracting harmonic features;
step 6: and classifying and identifying the harmonic features, and respectively training and testing by using a training set and a testing set.
In the embodiment, the step 2-4 is a step of time domain simulation analysis, specifically:
performing time domain simulation according to a macroscopic angle and a microscopic angle, wherein the macroscopic angle is the whole charging process, and the microscopic angle is a one-second charging process;
the voltage and current waveforms of the two are analyzed in macroscopic analysis, and the two states before and after charging are analyzed in microscopic analysis. The current-voltage waveform diagrams having the abnormal waveforms shown in fig. 6 and 7 were obtained.
In an embodiment, the preprocessing the data in step 3 includes:
and (3) adopting an interval amplitude limiting method, eliminating data larger than a threshold value, and simultaneously adopting current and voltage waveforms in two states before and during charging, current spectrums in three states (10 th, 25 th and 100 th) and other various load characteristics to simultaneously identify.
In an embodiment, the macro analysis of step 4 comprises:
analyzing the alternating voltage characteristic data: because the electric bicycle and other electric appliances are in a parallel connection relationship, the obtained voltage data are almost equal in size because the amplitude and the phase are the same. So that the characteristics of the electric bicycle cannot be analyzed manually from the voltage of the electric bicycle. However, in order to ensure the accuracy of the results, voltage analysis of electric bicycles and other electric appliances is still required.
Analyzing the current characteristic data: due to the phase considerations in ac circuits, the currents are not all equal, and it may happen that the current of the branch is larger than the total current.
In order to simply and visually display the characteristics of the current, the current phase of the electric bicycle is assumed to be equal to the current phase of other electric appliances, only the waveform analysis is carried out on the magnitude of the current, two states before and during charging are selected for time domain analysis, data processing is carried out, and a current-voltage waveform diagram is made.
In an embodiment, the microscopic analysis of step 4 comprises:
microscopic analysis was performed on the current characteristic data: two states before and during charging are selected for time domain analysis, and the current and voltage waveforms of the electric bicycle and other electric appliances are compared and the difference is analyzed.
In an embodiment, the step 5 uses a fourier transform method to perform frequency domain analysis, and expresses the time domain function as f (w) integral of the function in the frequency domain, and for the forward transform process, the syntropy is also an integral form of the frequency domain function f (w) and the time domain function f (t). Generally, the function f (t) is an original function, and the function f (w) can be equivalently regarded as a corresponding image function after fourier transform, and the original function can form a transform pair with the image function.
The DTFT in the time domain is generally discrete and the DTFT in the frequency domain is generally periodic. DTFT is typically used for spectral analysis of discrete time signals. It is also the inverse of the fourier series.
The fourier transform, which is a corresponding discrete form in both the time and frequency domains, can convert the time domain results of the corresponding signal into frequency domain samples of the DTFT.
Generally, in terms of form, time-domain and frequency-domain corresponding sequences are limited, and often, after a discrete signal with a limited length is applied after fourier transform, the equivalent of the discrete signal can also be regarded as a corresponding change in a period extension process after fourier transform, and in a subsequent practical process, DFT calculation is often obtained through FFT calculation.
Fast fourier transform is a better calculation method for discrete fourier transform of sequence, which can decompose the matrix into products of sparse factors by means of DFT, and then realize fast operation, and for this reason, the complexity in the calculation process is mainly determined by reducing N2 defined by DFT to N log N. The inverse DFT process can also be expressed by DFT.
The harmonic wave of the power system is generally defined by means of fourier series, and the periodic non-sinusoidal electric quantity is also decomposed, and the result obtained after the decomposition contains a plurality of parts larger than the fundamental frequency component besides the part with the same fundamental frequency of the power grid, so that the part is called as a harmonic wave signal. Depending on how many times the frequency is the fundamental, this part of the harmonics can also be divided into spurious and even harmonics. The invention mainly discusses the odd harmonics of electric bicycles and other electric appliances.
The step 5 specifically comprises the following steps:
carrying out harmonic feature extraction including phase frequency analysis and time frequency analysis on the data of the electric bicycle and other electric appliances after the preprocessing in the step 3 by utilizing a Fourier algorithm;
analyzing the phase relation between the electric bicycle and other electrical appliances through phase frequency analysis to obtain a current-voltage phase spectrogram and analyzing whether the electric bicycle and the other electrical appliances are different in the phase of current and voltage;
through amplitude-frequency analysis, odd harmonics of the electric bicycle and other electric appliances are discussed, values of 1, 3, 5, 7 and 9 harmonics are obtained through conversion, a unilateral frequency spectrogram is obtained by simulating three stages of charging before charging, namely charging, and harmonic content distribution of each stage is obtained from the unilateral frequency spectrogram.
In the embodiment, in step 6, the harmonic features extracted through the frequency domain analysis in step 5 are classified and identified by using a naive bayes classification method, and it is determined whether the harmonic features belong to features of the electric bicycle or features of other electric appliances, specifically:
obtaining training samples according to the determined characteristic attributes, calculating each sample, solving each characteristic attribute, calculating the conditional probability of all the partitions, calculating P (yi) P (x | yi) of each class, and taking the P (yi) P (x | yi) as the maximum item of the class to which x belongs if P (y)k|x)=max{P(y1|x),P(y2|x),…,P(yn| x) }, then x ∈ yk;
Respectively selecting 30s-290s of data information for the electric bicycle and other electric appliances, wherein the data contents are 1, 3, 5, 7 and 9 harmonic amplitudes, merging and randomly disordering, dividing the data contents into a test set and a training set according to the ratio of 3:7, and training a classifier model by using the training set, wherein the model belongs to the electric bicycle 1, and the other electric appliances are 0;
and finally, testing by using the test set, and observing whether the test result meets the actual condition.
Examples
The comprehensive analysis of the amplitude-frequency characteristics of alternating current is the basis of analyzing the harmonic phenomenon, time domain data are converted into a frequency domain through fast Fourier transform, the Nyquist sampling law shows that the sampling frequency is generally half of the maximum frequency, the maximum frequency is 6400hz, symmetrical images can be presented at 3200hz in a spectrogram, and therefore only the analysis of a unilateral spectrogram is carried out.
It can be seen from fig. 1 that the fundamental amplitude of the electric bicycle current is the highest for the electric bicycle itself, and as the number of stages increases, the odd harmonic amplitudes decrease. For other electric appliances, although the amplitude of the fundamental wave is the largest, the descending trend amplitude of the odd harmonics is much larger than that of the electric bicycle along with the increase of the frequency, and the current amplitude is close to 0A from the fifth harmonic. From the voltage perspective, the voltage spectrum characteristics of the electric bicycle are almost consistent with those of other electric appliances, only fundamental waves are present, and higher harmonics are not present.
After the harmonic analysis is carried out on the whole charging state, in order to clear the harmonic change modes of the electric bicycle and other electric appliances at each stage, frequency domain analysis is respectively carried out on three states of charging starting, charging to be started and charging according to the harmonic characteristics of the current of the electric bicycle and other electric appliances, and unilateral frequency spectrograms in the three states are obtained. As can be seen from fig. 2, the electric bicycle does not have any wave generation at the time of starting charging. As charging is about to start, the electric bicycle generates fundamental waves, odd harmonics, and many inter-harmonics. When the state of charging is reached, the inter-harmonics disappear, only the fundamental and odd harmonics remain, and the odd harmonic amplitude gradually decreases as the frequency increases. For other electric appliances, the charging is started without generating harmonics as in the electric bicycle, but the odd harmonics gradually decrease in magnitude as the frequency increases. The initial state of charge is nearly the same as the initial state of charge and shows a decreasing trend. When the charge is in the charging process, except that the fundamental wave and the third harmonic are obvious, other odd harmonics are not obvious, and even do not appear in a single-side frequency spectrum diagram.
Then, the phase relationship between the electric bicycle and other electrical appliances is explored through phase frequency analysis, as shown in fig. 3, real domain data of the electric bicycle and other electrical appliances are converted into complex frequency domain data through fourier transform, and the phases of the real part and the imaginary part are solved through the phase solution method, so that the phases of the real part and the imaginary part are consistent whether the voltage is the current or the current is the voltage.
The load characteristics of the electric bicycle and other electric appliances are extracted and researched from the aspect of harmonic characteristics through alternating current harmonic analysis and phase frequency analysis, and the characteristic relation of the load is determined through extracting harmonic components of the electric bicycle and other electric appliances and analyzing the harmonic times or the harmonic amplitudes, so that the requirement on the characteristic extraction of the electric bicycle and other electric appliances is met.
In order to explore the relationship between the voltage and the current of the electric bicycle and other electric appliances, time domain simulation is respectively carried out on the electric bicycle and the other electric appliances, and firstly, the charging waveform in the whole process is obtained.
Analysis from the voltage side:
by comparing fig. 4 and 5, it is found that the voltage waveform of the electric bicycle is almost identical to the voltage waveform of other electric appliances. The amplitudes are not completely consistent considering that the data are not measured under ideal conditions, and factors such as wire impedance interfere with the results, but slight differences do not affect the final conclusion.
As can be seen from fig. 4, the charging period of the electric bicycle is approximately between 30s and 480s, the waveform of the electric bicycle is regular, the waveform of the other electrical appliance is irregular, and the current waveform of the other electrical appliance is greatly different from the current waveform of the electric bicycle. The reason for the exploration is that the irregular charging waveform is presented because the loads of other electrical appliances are of a plurality of types, the charging time is not uniform, the charging power and the current are not consistent, and the like; the electric bicycle has a continuous regular waveform when the current is unchanged in the charging time period.
Analysis from the aspect of current:
the abnormal values of the current oscillograms of the electric bicycle and other electrical appliances are found by observing the waveforms, and abnormal data need to be removed to obtain a more accurate oscillogram.
By the interval amplitude limiting method, the abnormal data is eliminated, and the modified oscillogram is obtained. As can be seen from fig. 8, the waveform diagram after data preprocessing is very beautiful, and the difference between the two currents can be visually seen.
Fig. 9 to 12 are microscopic time domain simulations of the electric bicycle and other electric appliances at different stages, and for example, a state of 9 to 10 seconds is selected for simulation in a state before charging. The state during charging is selected to 259-260 s for simulation. Through comparison, the charging current waveform of the electric bicycle during charging is more uniform and clearer than that of the electric bicycle before charging, the positive and negative alternation of the waveform is more regular, the waveform amplitude is larger and is close to 20A, and the current of the electric bicycle before charging is less than 0.5A. Comparing fig. 11 and fig. 12, it is found that the current waveforms of other electrical appliances during charging are sawtooth triangular waves, which are completely different from the waveforms of the electric bicycle, and the waveforms are relatively uniform and clear. The current waveform before charging is relatively scattered and the amplitude is relatively small by comprehensively comparing the current waveform before charging with the current waveform during charging. The current waveform in charging is more regular and clearer, and the charging current amplitude is more stable and cannot be suddenly changed.
The time domain voltage and current data of the electric bicycle and other electrical appliances are converted into the frequency domain voltage and current data through the fast Fourier transform, and the whole process is subjected to frequency domain simulation, as shown in FIG. 13, the energy is almost concentrated around the fundamental wave in the whole process, and the amplitude is reduced along with the increase of the frequency. It should be noted that the harmonic feature table mentioned above is a rough analysis of the electric bicycle and other electric appliances according to the frequency spectrum diagram, and it is not mentioned that an odd harmonic does not exist, but its amplitude is lower and is not easily seen in the frequency spectrum diagram.
The embodiment of the invention also performs frequency domain simulation on the electric bicycle and other electric appliances in three states, takes one second in each state to perform Fourier transform to obtain a spectrogram in one second, and respectively takes the 10 th s, the 25 th s and the 100 th s to perform frequency spectrum simulation, as shown in fig. 14, because the frequency spectrums in the three states are analyzed, the frequency spectrum simulation is not described here.
The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above-mentioned embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may be made by those skilled in the art without departing from the principle of the invention.
Claims (8)
1. The non-invasive electric bicycle charging load detection and identification method is characterized by comprising the following steps:
step 1: acquiring charging load data of the electric bicycle and other electric appliances connected in parallel with the electric bicycle, and extracting current-voltage characteristics of the acquired data;
step 2: performing time domain simulation on the current and voltage characteristic data in the step 1 to obtain a charging voltage waveform diagram and a current waveform diagram;
and step 3: analyzing the oscillogram in the step (2), judging whether the data have errors, searching and eliminating the error data, preprocessing the data, and obtaining the oscillogram with the error data eliminated;
and 4, step 4: respectively carrying out macroscopic analysis on the charging process and microscopic analysis on the waveform in one second on the waveform diagram obtained in the step 3;
and 5: carrying out frequency domain analysis on the data preprocessed in the step 3 by using a Fourier transform method, and extracting harmonic features;
step 6: and classifying and identifying the harmonic features, and respectively training and testing by using a training set and a testing set.
2. The method of claim 1, wherein the step 3 of preprocessing the data comprises:
and (3) eliminating data larger than a threshold value by adopting an interval amplitude limiting method, and identifying various load characteristics by adopting current and voltage waveforms in two states before and during charging.
3. The method of claim 1, wherein the step 4 of macro-analyzing comprises:
and respectively analyzing the alternating voltage characteristic data and the current characteristic data, wherein when the current characteristic data are analyzed, the current phase of the electric bicycle is assumed to be equal to the current phase of other electric appliances, and only the waveform analysis is carried out on the magnitude of the current.
4. The method of claim 1, wherein the step 4 of micro-analyzing comprises: and (3) carrying out microscopic analysis on the current characteristic data, namely selecting two states before and during charging to carry out time domain analysis, comparing current and voltage waveforms of the electric bicycle and other electric appliances, and analyzing the difference of the current and voltage waveforms.
5. The method for detecting and identifying the charging load of the non-invasive electric bicycle according to claim 1, wherein the step 5 is a frequency domain analysis using a fourier transform method, comprising:
and (3) carrying out harmonic feature extraction on the data of the electric bicycle and other electric appliances after the preprocessing in the step (3) by utilizing a Fourier algorithm, wherein the harmonic feature extraction comprises phase frequency analysis and time frequency analysis.
6. The method of claim 5, wherein the phase frequency analysis is specifically: the relation between the phases of the electric bicycle and other electric appliances is analyzed to obtain a current-voltage phase spectrogram, and whether the phases of the electric bicycle and other electric appliances are different in current-voltage phase is analyzed.
7. The method for detecting and identifying the charging load of the non-invasive electric bicycle according to claim 5, wherein the amplitude-frequency analysis specifically comprises: the method includes the steps of discussing odd harmonics of electric bicycles and other electric appliances, obtaining values of 1, 3, 5, 7 and 9 harmonics by conversion, simulating three stages of charging before charging, namely charging, to obtain a single-side frequency spectrogram, and obtaining harmonic content distribution of each stage from the single-side frequency spectrogram.
8. The method for detecting and identifying the charging load of the non-invasive electric bicycle according to claim 1, wherein in the step 6, the harmonic features extracted by the frequency domain analysis in the step 5 are classified and identified by a naive Bayes classification method, and whether the harmonic features belong to the features of the electric bicycle or the features of other electric appliances is judged, specifically:
obtaining training samples according to the determined characteristic attributes, calculating each sample, solving each characteristic attribute, calculating the conditional probability of all the partitions, calculating P (yi) P (x | yi) of each class, and taking the P (yi) P (x | yi) as the maximum item of the class to which x belongs if P (y)k|x)=max{P(y1|x),P(y2|x),…,P(yn| x) }, then x ∈ yk;
Respectively selecting 30s-290s of data information for the electric bicycle and other electric appliances, wherein the data contents are 1, 3, 5, 7 and 9 harmonic amplitudes, merging and randomly disordering, dividing the data contents into a test set and a training set according to the ratio of 3:7, and training a classifier model by using the training set, wherein the model belongs to the electric bicycle 1, and the other electric appliances are 0;
and finally, testing by using the test set, and observing whether the test result meets the actual condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111104383.3A CN113820557A (en) | 2021-09-22 | 2021-09-22 | Non-invasive electric bicycle charging load detection and identification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111104383.3A CN113820557A (en) | 2021-09-22 | 2021-09-22 | Non-invasive electric bicycle charging load detection and identification method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113820557A true CN113820557A (en) | 2021-12-21 |
Family
ID=78914949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111104383.3A Withdrawn CN113820557A (en) | 2021-09-22 | 2021-09-22 | Non-invasive electric bicycle charging load detection and identification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113820557A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115456034A (en) * | 2022-11-09 | 2022-12-09 | 广东浩迪创新科技有限公司 | Automatic identification and monitoring method and system for electric bicycle charging |
CN116359602A (en) * | 2023-03-07 | 2023-06-30 | 北京智芯微电子科技有限公司 | Non-invasive electric vehicle charging identification method, device, medium and intelligent ammeter |
CN117081246A (en) * | 2023-08-16 | 2023-11-17 | 北京市计量检测科学研究院 | Indoor electric bicycle identification system that charges and computer equipment |
-
2021
- 2021-09-22 CN CN202111104383.3A patent/CN113820557A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115456034A (en) * | 2022-11-09 | 2022-12-09 | 广东浩迪创新科技有限公司 | Automatic identification and monitoring method and system for electric bicycle charging |
CN116359602A (en) * | 2023-03-07 | 2023-06-30 | 北京智芯微电子科技有限公司 | Non-invasive electric vehicle charging identification method, device, medium and intelligent ammeter |
CN116359602B (en) * | 2023-03-07 | 2024-05-03 | 北京智芯微电子科技有限公司 | Non-invasive electric vehicle charging identification method, device, medium and intelligent ammeter |
CN117081246A (en) * | 2023-08-16 | 2023-11-17 | 北京市计量检测科学研究院 | Indoor electric bicycle identification system that charges and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113820557A (en) | Non-invasive electric bicycle charging load detection and identification method | |
Zhang et al. | A real-time classification method of power quality disturbances | |
CN110648088B (en) | Electric energy quality disturbance source judgment method based on bird swarm algorithm and SVM | |
Cai et al. | Online identification of lithium-ion battery state-of-health based on fast wavelet transform and cross D-Markov machine | |
Venkatesh et al. | Robust Heteroscedastic Probabilistic Neural Network for multiple source partial discharge pattern recognition–Significance of outliers on classification capability | |
CN105067966A (en) | Low-voltage AC arc fault detection method based on characteristic mode component energy analysis | |
CN108009730A (en) | A kind of photovoltaic power station system health status analysis method | |
CN105954695B (en) | Synchronization-based homogeneous sensor mutation parameter identification method and device | |
Hunter et al. | Comparison of two partial discharge classification methods | |
CN112083328A (en) | Fault diagnosis method, system and device for high-voltage circuit breaker | |
Jopri et al. | An accurate classification method of harmonic signals in power distribution system by utilising S-transform | |
CN115758235A (en) | Open-circuit fault diagnosis method and device based on direct-current charging pile charging module | |
US10585130B2 (en) | Noise spectrum analysis for electronic device | |
Anshuman et al. | Enhanced visualization and characterization of low frequency oscillations in power system | |
Moreno et al. | A novel algorithm for voltage transient detection and isolation for power quality monitoring | |
CN110866840A (en) | Database modeling method for power load characteristic quantity training based on knowledge graph | |
CN112858782B (en) | Harmonic responsibility quantification method and system under influence of multi-user interaction of power system | |
Hatherall et al. | Remaining discharge energy estimation for lithium-ion batteries using pattern recognition and power prediction | |
Yau et al. | Signal clustering of power disturbance by using chaos synchronization | |
Chang et al. | A hybrid approach for detection and classification of power quality disturbances | |
Nicolae et al. | Tunning the Parameters for the FFT Analysis of Waveforms Acquired from a Power Plant | |
Liu et al. | Research on Fault Identification Method of Series Arc in Electric Vehicle Charging System Based on Machine Learning | |
Hao et al. | Identification of multiple partial discharge sources | |
Evagorou et al. | Performance of the Support Vector Machine Partial Discharge classification method to noise contamination using phase synchronous measurements | |
Wang et al. | Comparative study on fast calculation methods of broadband electrochemical impedance spectroscopy of power batteries |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20211221 |