Disclosure of Invention
The application provides a system and a method for detecting the reliability of an intelligent electric meter, which apply impulse voltage and current of different degrees to the intelligent electric meter, and detect the precision and the stability of the intelligent electric meter by detecting the electric energy quality fluctuation on lines on two sides of the intelligent electric meter.
In order to achieve the above purpose, the present application provides the following solutions:
a system for detecting the reliability of an intelligent ammeter comprises a fluctuation power supply, a front electric energy fluctuation detection device, a rear electric energy fluctuation detection device, an intelligent ammeter analysis device and a stable load;
the fluctuation power supply, the front electric energy fluctuation detection device, the intelligent electric meter, the rear electric energy fluctuation detection device and the stable load are sequentially connected through electric lines;
the fluctuating power supply is used for providing voltage and current with controllable output;
the stable load is an electric load device capable of bearing various electric energy fluctuations, and the highest voltage and the highest current which can be borne by the stable load are both smaller than the highest voltage and the highest current which can be provided by the fluctuation power supply;
the front electric energy fluctuation detection device is used for detecting a front electric energy fluctuation frequency spectrum transmitted to the intelligent ammeter by the fluctuation power supply, the rear electric energy fluctuation detection device is used for detecting a rear electric energy fluctuation frequency spectrum transmitted to the stable load after passing through the intelligent ammeter, and the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum both comprise voltage fluctuation amplitude and frequency and current fluctuation amplitude and frequency;
the intelligent electric meter analysis device is respectively connected with the front electric energy fluctuation detection device and the rear electric energy fluctuation detection device, and is used for detecting the stability of the intelligent electric meter according to the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum;
the intelligent electric meter analysis device is further connected with the fluctuation power supply and the intelligent electric meter respectively, and the intelligent electric meter analysis device is further used for analyzing the precision of the intelligent electric meter according to the output electric energy of the fluctuation power supply and the recording electric energy of the intelligent electric meter.
Optionally, the front electric energy fluctuation detection device includes a signal acquisition module, a discrete filtering module, a linear correction module and a frequency spectrum module;
the signal acquisition module is used for acquiring voltage signals and electric energy signals on the power supply line to obtain electric energy low-voltage signals;
the discrete filtering module is used for performing discrete filtering processing on the electric energy low-voltage signal to obtain stable electric energy stability data;
the linear correction module is used for carrying out data linear correction processing on the electric energy stable data to obtain electric energy specific data;
the frequency spectrum module is used for generating an electric energy fluctuation frequency spectrum according to the electric energy specific data, and the electric energy frequency spectrum comprises a voltage frequency spectrum and a current frequency spectrum.
Optionally, the signal acquisition module adopts a hall sensor to obtain the electric energy low-voltage signal on the power supply line, and records the linear transformation ratio of the hall sensor, wherein the electric energy low-voltage signal comprises a current low-voltage signal and a voltage low-voltage signal.
Optionally, the discrete filtering module includes a discrete sampling unit, an ADC sampling correction unit, an average filtering unit, a low-pass filtering unit, and a weight filtering unit;
the discrete sampling unit is used for performing discrete sampling on the electric energy low-voltage signal at a preset frequency to obtain an electric energy discrete signal;
the ADC sampling correction unit is used for performing signal correction processing on the electric energy discrete signal to obtain an electric energy correction signal;
the mean value filtering unit is used for carrying out mean value filtering processing on the electric energy correction signal according to preset filtering times to obtain first filtering data;
the low-pass filtering unit is used for filtering a data part higher than a preset frequency in the first filtering data based on the preset frequency to obtain second filtering data;
the weight filtering unit is used for suppressing interference data in the second filtering data according to the previous electric energy stable data and a preset beta parameter to obtain the current electric energy stable data.
Optionally, the linear correction module includes a displacement correction unit, a linear amplification unit, and a linear correction unit;
the momenting correction unit is used for performing time correction processing on the electric energy stable data by using a momenting method to obtain time correction data;
the linear amplification unit is used for performing data amplification processing on the time correction data by using a linear amplification method according to the linear transformation ratio to obtain amplified data;
and the linear correction unit is used for carrying out data linear correction processing on the amplified data by using a linear correction method to obtain the specific electric energy data.
Optionally, the front electric energy fluctuation detection device and the rear electric energy fluctuation detection device have the same structure.
Optionally, the smart meter analysis device superimposes the front electric energy fluctuation frequency spectrum generated by the front electric energy fluctuation monitoring device and the rear electric energy fluctuation frequency spectrum generated by the rear electric energy fluctuation detection device, and performs frequency spectrum division according to the fluctuation amplitude and the fluctuation frequency to obtain the stability conclusion of the smart meter.
Optionally, the smart meter analysis device superimposes the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum, and superimposes the output electric energy of the fluctuation power supply and the recorded electric energy of the smart meter according to time to obtain the accuracy conclusion of the smart meter.
In order to achieve the above object, the present application also discloses a method for detecting reliability of an intelligent electric meter, which includes the following steps:
outputting controllably variable voltage and current, the voltage and current variations each including amplitude variations and frequency variations;
acquiring a front electric energy fluctuation frequency spectrum in front of the intelligent ammeter and a rear electric energy fluctuation frequency spectrum behind the intelligent ammeter, and acquiring electric energy data recorded by the intelligent ammeter;
superposing the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum, and dividing the frequency spectrums according to the fluctuation amplitude and the fluctuation frequency to obtain a stability conclusion of the intelligent electric meter;
and after the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum are subjected to superposition processing, voltage change amplitude and frequency, current change amplitude and frequency, and electric energy data recorded by the intelligent electric meter are superposed to obtain an accuracy conclusion of the intelligent electric meter.
The beneficial effect of this application does:
the application discloses smart electric meter reliability detection system and method, the voltage and the current of different variation amplitude and variation frequency are exerted to smart electric meter, through detecting electric energy quality fluctuation on the wiring of smart electric meter both ends, the stability of smart electric meter when facing voltage and current fluctuation is reflected conscientiously, simultaneously superpose the measured data of power end and smart electric meter record again, can obtain under different voltage/current variation amplitude or variation frequency, smart electric meter's stability and reliability.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Example one
As shown in fig. 1, a schematic structural diagram of a system for detecting reliability of a smart meter according to an embodiment of the present application is shown, and the system mainly includes a fluctuation power supply, a front electric energy fluctuation detection device, a rear electric energy fluctuation detection device, a smart meter analysis device, and a stable load. The fluctuation power supply, the front electric energy fluctuation detection device, the intelligent electric meter, the rear electric energy fluctuation detection device and the stable load are sequentially connected through a power supply line.
Specifically, in this embodiment, a fluctuating power supply is used to provide a controllable output voltage and current; the stable load is electric load equipment capable of bearing various electric energy fluctuations, and the highest voltage and the highest current which can be borne by the stable load are both smaller than the highest voltage and the highest current which can be provided by a fluctuation power supply; the intelligent power meter comprises a front electric energy fluctuation detection device, a rear electric energy fluctuation detection device and a control device, wherein the front electric energy fluctuation detection device is used for detecting a front electric energy fluctuation frequency spectrum transmitted to the intelligent power meter by a fluctuation power supply, the rear electric energy fluctuation detection device is used for detecting a rear electric energy fluctuation frequency spectrum transmitted to a stable load after passing through the intelligent power meter, and the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum both comprise voltage fluctuation amplitude and frequency and current fluctuation amplitude and frequency; the intelligent electric meter analysis device is connected with the front electric energy fluctuation detection device and the rear electric energy fluctuation detection device and is used for detecting the stability of the intelligent electric meter according to the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum; the intelligent electric meter analysis device is further connected with the fluctuation power supply and the intelligent electric meter, and the intelligent electric meter analysis device is further used for analyzing the precision of the intelligent electric meter according to the output electric energy of the fluctuation power supply and the recording electric energy of the intelligent electric meter.
The functions and modes of operation of the various components are described in detail below.
The fluctuation power supply adopts the currently-sold adjustable alternating voltage, can provide surge current, changes the voltage frequency, can output pulses, simulates the interference in an actual power grid, and can customize any voltage level and current range. The present embodiment employs a common AN77 series ac constant current source.
The stable load adopts a large-resistance resistor, and the bearable highest voltage and highest current exceed the voltage and current output by the fluctuation power supply in the test process.
The smart meter adopts the products which are permitted to be generated by the related departments.
The front electric energy fluctuation detection device and the rear electric energy fluctuation detection device are core components of the test system, and the precision and the sensitivity of the front electric energy fluctuation detection device and the rear electric energy fluctuation detection device directly determine the analysis result of the intelligent electric meter analysis device. In this embodiment, the front electric energy fluctuation detection device and the rear electric energy fluctuation detection device are formed by adopting the same structure, so that the detection deviation caused by inconsistent structures of the test devices is avoided. The following description will be given taking the power fluctuation detection apparatus as an example, as shown in fig. 2.
The front electric energy fluctuation detection device comprises a signal acquisition module, a discrete filtering module, a linear correction module and a frequency spectrum module.
The signal acquisition module is used for acquiring a voltage signal and an electric energy signal on a power supply line to obtain an electric energy low-voltage signal; the discrete filtering module is used for performing discrete filtering processing on the electric energy low-voltage signal to obtain stable electric energy stability data; the linear correction module is used for carrying out data linear correction processing on the electric energy stable data to obtain electric energy specific data; the frequency spectrum module is used for generating an electric energy fluctuation frequency spectrum according to the electric energy specific data, and the electric energy frequency spectrum comprises a voltage frequency spectrum and a current frequency spectrum.
The voltage and the current on the bus cannot be directly used for data processing, and the processed low-voltage signal needs to be used, so that in this embodiment, a hall sensor or a similar sensor in the prior art is used for acquisition and conversion to obtain an electric energy low-voltage signal, and the electric energy low-voltage signal (current and voltage) enters a subsequent discrete filtering module through a single chip ADC IO. The power low-voltage signal comprises a voltage low-voltage signal and a current low-voltage signal. In the subsequent signal processing, all the processing includes processing of a voltage signal and processing of a current signal, unless otherwise specified. In particular, the linear transformation ratio of the hall sensor is recorded during signal acquisition, and the linear transformation ratio is used during signal restoration at a later stage.
In this embodiment, the discrete filtering module is composed of a discrete sampling unit, an ADC sampling correction unit, an average filtering unit, a low-pass filtering unit, and a weight filtering unit.
The discrete sampling unit is used for performing discrete sampling on the electric energy low-voltage signal at a preset frequency to obtain an electric energy discrete signal. In this embodiment, a timer triggers an event to sample within 2.5ms, so as to obtain an electric energy discrete signal.
The ADC sampling correction unit is used for performing signal correction processing on the electric energy discrete signal to obtain an electric energy correction signal. In this embodiment, during sampling, an ADC sampling correction unit is used to perform signal correction processing on the electric energy discrete signal in a software compensation manner of an ADC sampling correction method, and meanwhile, in the correction unit, the voltage level of the Vref pin of the single chip microcomputer is obtained first, the voltage is referred to a standard voltage of 3.3v to further calculate a power supply drift parameter v, and the ADC sampling voltage is corrected by the parameter, so as to obtain the electric energy correction signal after preliminary correction.
The mean filtering unit is used for carrying out mean filtering processing on the electric energy correction signal according to preset filtering times to obtain first filtering data. In this embodiment, the filtering frequency c is set, and the weight of the newly acquired data is determined by acquiring the allocated previous signal in the time domain, so as to remove the interference spike, and obtain more stable data, which is referred to as first filtering data.
The low-pass filtering unit is used for filtering out a data part higher than a preset frequency in the first filtering data based on the preset frequency to obtain second filtering data. In this embodiment, based on the preset frequency f, the scrambled data in the first filtered data that is higher than the preset frequency f is filtered out to obtain the second filtered data, and at this time, the data is substantially stable and usable.
The weight filtering unit is used for suppressing interference data in the second filtering data according to the previous electric energy stable data and a preset beta parameter to obtain the current electric energy stable data. In this embodiment, the last saved power stabilization data is combined, the coupling mode between the new data and the old data is dynamically determined by the preset specific gravity parameter beta, and the output of the coupling mode is equal to the old data beta + the new data beta (1-beta), so as to further suppress the glitch and obtain stable and smooth power stabilization data.
In the present embodiment, the linear correction module is composed of a displacement correction unit, a linear amplification unit, and a linear correction unit.
The momenting unit is used for carrying out time correction processing on the electric energy stable data by using a momenting method to obtain time correction data. In this embodiment, in order to better exert the effect of the weight filtering unit, the momentum correction unit is connected in series to the output stage of the weight filtering unit, and the time correction processing is performed on the electric energy stable data to obtain the time correction data. The use time of the correction unit is determined through the time parameter t, the numerical value is ensured to be synchronous with the original data when starting, and the data is ensured not to be over-suppressed by the weight filtering unit to cause slow data change.
And the linear amplification unit is used for performing data amplification processing on the time correction data by using a linear amplification method according to the linear variable proportion to obtain amplified data. In the embodiment, the current linear specific gravity k is obtained according to the transformation ratio of the hall sensor in the initial power low-voltage signal conversion process, and the amplification data is obtained. It should be noted that the linear specific gravity k is not one but is differentiated because the sensors for collecting the current signal and the voltage signal are different.
The linear correction unit is used for carrying out data linear correction processing on the amplified data by using a linear correction method to obtain specific electric energy data. In the embodiment, for more accurate parameter acquisition, the linear correction unit is used after the linear amplification unit, so that more stable and accurate data acquired by part of the nonlinear area of the hall sensor is ensured. And determining the correction degree according to a built-in linear icon A of the Hall sensor, and acquiring specific data of electric energy, including specific data of current and voltage.
And finally, generating an electric energy fluctuation frequency spectrum by a frequency spectrum module according to the electric energy specific data, wherein the electric energy fluctuation frequency spectrum comprises a voltage frequency spectrum and a current frequency spectrum, and the time sequence is clearly displayed. The voltage and the current are respectively displayed so as to judge different performances of the intelligent electric meter when the intelligent electric meter faces voltage transformation and current change.
Based on two groups of electric energy fluctuation frequency spectrums in front and at the back of the intelligent electric meter, the intelligent electric meter analysis device superposes the two groups of frequency spectrums, frequency spectrums are divided according to fluctuation amplitude and fluctuation frequency, a stability conclusion of the intelligent electric meter is obtained, and different stabilities of the intelligent electric meter under different voltages, currents, change frequencies and change amplitudes are obtained through analysis. Furthermore, due to the fact that the frequency spectrum has time marks, the frequency spectrum can be divided according to time, and performance change and change trend of the intelligent electric meter under long-time impact are considered.
Further, in this embodiment, according to the time recorded on the fluctuation spectrum, the output power of the fluctuation power supply and the recorded power value of the smart meter are also superimposed on the above spectrum analysis by dividing a certain time period, for example, by taking 10 seconds as a unit, so that the counting accuracy conclusion of the smart meter at different times, different voltages, currents, different frequencies, and different amplitudes can be obtained.
Example two
As shown in fig. 3, a flowchart of a method for detecting reliability of an intelligent electric meter according to the second embodiment of the present application is shown, and the method mainly includes the following steps:
and S1, outputting voltage and current with controllable change, wherein the change of the voltage and the change of the current comprise amplitude change and frequency change, and a commercially available controllable current source can be adopted.
S2, acquiring a front electric energy fluctuation frequency spectrum in front of the intelligent electric meter and a rear electric energy fluctuation frequency spectrum behind the intelligent electric meter, acquiring electric energy data recorded by the intelligent electric meter, and adopting the same type of equipment for acquiring the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum in order to ensure accurate data and avoid errors caused by equipment reasons.
S3, overlapping the front electric energy fluctuation frequency spectrum and the rear electric energy frequency spectrum, and dividing the frequency spectrums according to the fluctuation amplitude and the fluctuation frequency to obtain a stability conclusion of the intelligent electric meter;
and S4, after the front electric energy fluctuation frequency spectrum and the rear electric energy fluctuation frequency spectrum are subjected to superposition processing, voltage change amplitude and frequency, current change amplitude and frequency and electric energy data recorded by the intelligent electric meter are superposed by taking time as a unit, and a precision conclusion of the intelligent electric meter is obtained.
The above-described embodiments are merely illustrative of the preferred embodiments of the present application, and do not limit the scope of the present application, and various modifications and improvements made to the technical solutions of the present application by those skilled in the art without departing from the spirit of the present application should fall within the protection scope defined by the claims of the present application.