A broadband voltage ratio measurement method and measurement device based on digital sampling
Through digital sampling and orthogonal decomposition technology, the problems of narrow frequency band and limited ratio range in the AC voltage ratio measurement method are solved, and high-precision broadband voltage ratio measurement is achieved. The frequency covers 10Hz~1MHz and the ratio range is wide, satisfying most voltage measurements. Calibration requirements.
Patent Information
- Application Number
- CN202211047904.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-08-30
AI Technical Summary
Existing AC voltage ratio measurement methods and devices have problems such as narrow frequency band, limited ratio range, and low measurement accuracy. Especially in the measurement and testing of AC voltage, broadband power, and resolver signals, it is difficult to achieve precise measurement with an accuracy level of 5 ppm. .
Adopting a wide-band voltage ratio measurement method based on digital sampling, through frequency estimation, orthogonal decomposition and inter-channel reciprocity compensation technology, including synchronous sampling, analog-to-digital conversion, FFT solution spectrum, whole period truncation, synthetic orthogonal basis, coherent demodulation and reciprocal sampling between channels, calculating the amplitude of the fundamental wave to achieve accurate voltage ratio measurement.
It achieves an AC voltage ratio measurement accuracy of 5ppm, with a frequency range covering 10Hz~1MHz and a ratio range covering 1.00000~0.00001. It improves the resolution and accuracy of voltage ratio measurement and meets most AC voltage measurement and calibration needs.
Smart Images

Figure CN115407121B
Abstract
Description
Technical Field
[0001] The present application generally relates to a broadband voltage ratio measurement method and a measurement device, and more particularly to a broadband voltage ratio measurement method and a measurement device based on digital sampling. Background Art
[0002] In the measurement and testing of AC voltage, broadband power, and resolver signals, precise AC voltage ratio measurement technology with an accuracy level of 5ppm is required.
[0003] Conventional AC voltage ratio measurement methods and devices mainly include an inductive voltage divider method, a resistive voltage divider method and an AC voltmeter method.
[0004] The inductive voltage divider method uses a multi-disc decimal inductive voltage divider for comparative measurement. It has high accuracy, which can be better than 1ppm, but the frequency band is narrow, generally a few kHz or more than ten kHz, and the zeroing process is more complicated.
[0005] The resistor divider method uses an AC resistor divider for comparative measurement, which greatly improves the test bandwidth. However, the accuracy is not as good as that of the inductive voltage divider, and the AC resistor divider is often fixed in ratio and cannot cover any ratio.
[0006] The AC voltmeter method uses an AC voltmeter to directly measure the input and output signals of a voltage ratio device. This method has a wide frequency range and can cover any ratio, but the ratio measurement accuracy is limited by the AC voltage effective value measurement resolution and stability, and most test points are no higher than 20ppm. Summary of the invention
[0007] In order to solve the problems of narrow frequency band, limited ratio range and low measurement accuracy of AC voltage ratio measurement and testing by inductive voltage divider method, resistor voltage divider method and AC voltmeter method, this application proposes a wide-band voltage ratio precision measurement method and device based on digital sampling, which achieves 5ppm-level AC voltage ratio measurement accuracy through frequency estimation, orthogonal decomposition and inter-channel reciprocity compensation technology, and has the advantages of wide frequency and wide ratio range, which can meet the needs of most AC voltage measurement and calibration.
[0008] The present application provides a voltage ratio measurement method, comprising:
[0009] S1: synchronously sampling the input signal and the output signal of the voltage proportional device at a fixed frequency through the first sampling channel and the second sampling channel, and performing analog-to-digital conversion to obtain a digital sequence of a fixed length;
[0010] S2: Select one of the first sampling channel and the second sampling channel as a reference channel, solve the spectrum of the measured signal of the reference channel by FFT, and calculate the fundamental frequency according to the three-spectral line method;
[0011] S3: According to the fundamental frequency, the digital sequence of each sampling channel is synchronously truncated in a full cycle;
[0012] S4: synthesizing an orthogonal basis operator according to the fundamental frequency;
[0013] S5: coherently demodulate the truncated digital sequence of each sampling channel with an orthogonal basis operator to obtain an in-phase component and an orthogonal component, and calculate the first fundamental wave amplitude of the first sampling channel and the second sampling channel;
[0014] S6: a reciprocal sampling channel, through the second sampling channel and the first sampling channel, synchronously sampling the input signal and the output signal of the voltage proportional device at a fixed frequency, and performing analog-to-digital conversion to obtain a digital sequence of a fixed length, repeating the above steps S2 to S5 to obtain the second fundamental wave amplitude of the first sampling channel and the second sampling channel;
[0015] S7: Calculate the voltage ratio according to the first fundamental wave amplitude and the second fundamental wave amplitude.
[0016] According to an embodiment of the present application, the sampling frequencies of the first sampling channel and the second sampling channel are 10 times or more than the frequencies of the input signal and the output signal of the voltage proportional device.
[0017] According to one embodiment of the present application, the step of calculating the fundamental frequency f0 according to the three-spectral-line method includes:
[0018] Find the highest spectral line X k and the adjacent second highest spectral line X k-1 , X k+1 , enter the following calculation formula to calculate:
[0019] f0=(k+δ)f0 / L
[0020] δ=-Re[(X k+1 -X k-1 ) / (2X k -X k-1 -X k+1 )]
[0021] Where: k——highest spectral line X k The number of spectral lines;
[0022] f s - sampling frequency;
[0023] L——The number of sampling signal points.
[0024] According to one embodiment of the present application, step S3 includes:
[0025] According to the fundamental frequency f0, the sampling frequency f s , calculate the maximum integer period point number L' in the digital sequence u1(n)~u2(n) with a fixed length of L points, and perform synchronous integer period truncation on the digital sequence u1(n)~u2(n), the calculation method includes:
[0026] First, the period number c of the digital sequence u1(n)~u2(n) is:
[0027] c=L / (f s / f0)
[0028] After rounding down, the integer cycle number C is: C = INT (c);
[0029] The calculation of the number of points in the whole cycle l' is: l'=C·(f s / f0), round l' to the nearest integer to get the maximum integer period point number L',
[0030] For the digital sequences u1(n)~u2(n), the maximum number of integer period points L' is taken from the starting point and the remaining points are discarded.
[0031] According to an embodiment of the present application, step S4 includes: synthesizing an orthogonal basis operator sequence according to the fundamental frequency f0, which are respectively:
[0032] a[n]=sin[(n / L)(f s / f0)·2π](n=0,1,2,...,L');
[0033] b[n]=cos[(n / L)(f s / f0)·2π] (n=0, 1, 2,..., L').
[0034] According to one embodiment of the present application, step S5 includes:
[0035] Using the orthogonal basis operator, multiply the digital sequence u1(n)~u2(n) and calculate the average value to obtain the in-phase component u of the digital sequence u1(n)~u2(n) 1a ~u 2a and the orthogonal component u 1b ~u 2b ;
[0036] Calculate the first fundamental wave amplitudes U1 and U2 of the first sampling channel and the second sampling channel by using the vector modulus calculation formula
[0037]
[0038]
[0039] According to one embodiment of the present application,
[0040] Step S6 includes: reciprocally sampling the channels to obtain second fundamental wave amplitudes U'1 and U'2 of the first sampling channel and the second sampling channel;
[0041] In step S7, according to the formula Calculate the voltage ratio k.
[0042] According to one embodiment of the present application, step S1 further includes: storing the obtained digital sequence of fixed length.
[0043] The present application also provides a voltage ratio measurement device for executing the above method, the voltage ratio measurement device comprising: a switching switch, a range conversion device, an analog-to-digital converter, a voltage reference module, a frequency reference module, a programmable logic device, a memory, and a main controller, wherein:
[0044] The range conversion device is used to expand the voltage measurement range;
[0045] The voltage reference module and the frequency reference module are used to provide the voltage reference and the frequency reference to the analog-to-digital converter;
[0046] The analog-to-digital converter is used for sampling at a fixed frequency and performing analog-to-digital conversion to obtain a digital sequence of a fixed length, and providing the digital sequence to the memory;
[0047] The memory is used to store the digital sequence;
[0048] The main controller is used to run the voltage ratio measurement software, realize the data reception of the programmable logic device, and calculate the measured voltage ratio according to the in-phase component and the orthogonal component;
[0049] Programmable logic devices include:
[0050] An FFT transform unit, used for reading the digital sequence of the reference channel and calculating the spectrum;
[0051] A three-spectrum frequency measurement unit, used to solve the fundamental frequency of the reference channel according to the three-spectrum method;
[0052] A full-cycle sampling unit, used for synchronous full-cycle truncation of digital sequences of the first sampling channel and the second sampling channel;
[0053] An orthogonal basis synthesis unit, used for synthesizing an orthogonal basis operator according to a fundamental wave frequency;
[0054] A phase-sensitive detection unit, used for coherently demodulating the truncated digital sequences of the first sampling channel and the second sampling channel with an orthogonal basis operator to obtain an in-phase component and an orthogonal component;
[0055] A serial bus interface control unit is used to upload the fundamental frequency, in-phase component, and quadrature component to the main controller via the serial bus;
[0056] Toggle switch for reciprocal sampling channels.
[0057] The present application also provides a computer-readable storage medium having software instructions stored thereon, wherein the software instructions implement the above method when executed.
[0058] This application is based on a digital sampling method and applies three-line frequency measurement technology, whole-cycle truncation and other methods to minimize spectrum leakage, avoid complex synchronous frequency multiplication circuit design, and simplify the circuit.
[0059] The present application synthesizes an orthogonal basis according to the measured fundamental frequency and adopts phase-sensitive detection technology to achieve accurate measurement of the fundamental amplitude, has strong anti-interference ability, and reduces the influence of measured signal distortion on the fundamental amplitude.
[0060] The present application offsets the influence of gain errors of different sampling channels on the AC voltage ratio by adopting the method of inter-channel reciprocity, thereby improving the resolution and accuracy of voltage ratio measurement.
[0061] The wideband voltage ratio precision measurement method and measurement device based on digital sampling provided in the present application can improve the AC voltage ratio resolution to 1ppm and the accuracy to 5ppm. The frequency range covers 10Hz~1MHz and the ratio range covers: 1.00000~0.00001, which can meet the needs of most voltage ratio measurement and calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The following will further explain the above characteristics, technical features, advantages and implementation methods of the present application in a clear and understandable manner through the description of the preferred embodiments and in combination with the accompanying drawings. The following drawings are only intended to illustrate and explain the present application, and do not limit the scope of the present application. Among them:
[0063] Figure 1 The test principle of the voltage ratio measurement method provided by the present application is shown.
[0064] Figure 2 Schematic diagram of the structure of a voltage ratio measurement device according to an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to have a clearer understanding of the technical features, purposes and effects of the present application, the specific implementation methods of the present application are now described with reference to the accompanying drawings.
[0066] The test principle of the voltage ratio measurement method provided in one embodiment of the present application is as follows: Figure 1 As shown. The input signal and output signal of the broadband voltage ratio device are synchronously sampled at a fixed frequency through two sampling channels. After obtaining a digital sequence of fixed length, the spectrum of the measured signal is solved by FFT (Fast Fourier Transform). The fundamental frequency of the measured signal is calculated by the three-spectral method through the highest spectrum line and the adjacent second-highest spectrum line. The digital sequence obtained by sampling is approximately truncated to an integer cycle, and the measured signal is multiplied by the calculated fundamental frequency synthesized digital orthogonal basis and the average value is obtained to obtain the in-phase component and orthogonal component of the input signal and the output signal. The fundamental amplitude of the input signal and the output signal is calculated by the vector modulus calculation formula, and the ratio value of the broadband voltage ratio device is solved by the fundamental amplitude ratio. In addition, the gain error between the two sampling channels is corrected by the reciprocal sampling channel method to improve the accuracy of the proportional measurement.
[0067] A voltage ratio measurement method provided according to an embodiment of the present application comprises the following steps:
[0068] S1: The input signal and output signal of the voltage proportional device are synchronously sampled at a fixed frequency through two sampling channels, and analog-to-digital conversion is performed.
[0069] like Figure 1 As shown, an AC voltage source is used to load the input end of the broadband voltage ratio device to be measured, and the input signal u1(t) at the input end is measured using sampling channel 1, and the output signal u2(t) at the output end is measured using sampling channel 2. The frequency and appropriate amplitude of the AC voltage source are set and output.
[0070] Through two sampling channels, with a fixed sampling frequency f s , synchronously sample the measured input signal u1(t) and output signal u2(t) respectively, and perform analog-to-digital conversion to convert the analog quantity into a digital quantity, thereby obtaining a digital sequence u1(n)~u2(n) of a finite length with a point number of L, and store the digital sequence u1(n)~u2(n).
[0071] Among them, the sampling frequency f s It should be much larger than the frequency f0 of the measured signal. Preferably, the sampling frequency f s It should be 10 times or more of the measured signal frequency f0. L should contain waveform data of more than 10 cycles.
[0072] S2: The spectrum of the measured signal of the reference channel is solved by FFT, and the fundamental frequency is calculated according to the three-spectral line method.
[0073] Select sampling channel 1 as the reference channel, use the FFT algorithm to solve the spectrum of the measured signal of the reference channel, solve the spectrum of the digital sequence u1(n) of the reference channel through FFT, and calculate the fundamental frequency according to the three-spectral line method.
[0074] The specific method of using the three-spectrum method to calculate the fundamental frequency f0 of the measured signal is as follows: Find the highest spectral line X k and the adjacent second highest spectral line X k-1 , X k+1 , enter the following calculation formula to calculate:
[0075] f0=(k+δ)f0 / L
[0076] δ=-Re[(X k+1 -X k-1 ) / (2X k -X k-1 -X k+1 )]
[0077] Where: k——highest spectral line X k The number of spectral lines;
[0078] f s ——The frequency of the sampling signal, in Hz;
[0079] L——The number of sampling signal points.
[0080] S3: According to the fundamental frequency, the digital sequence u1(n)~u2(n) is synchronously truncated into a full cycle.
[0081] According to the measured signal fundamental frequency f0, the sampling frequency f s , calculate the maximum integer period point number L' in the digital sequence u1(n)~u2(n) of finite length with the number of points L, and perform synchronous integer period truncation on the digital sequence u1(n)~u2(n).
[0082] The calculation method is as follows. First, the period number c of the digital sequence u1(n)~u2(n) with a finite length and a number of points L is:
[0083] c=L / (f s / f0)
[0084] After rounding down, the integer cycle number C is: C = INT (c);
[0085] The calculation of the number of points in the whole cycle l' is: l'=C·(f s / f0), round l' to the nearest integer to obtain the maximum integer period point number L'.
[0086] For the digital sequences u1(n)~u2(n), the maximum number of integer period points L' is taken from the starting point and the remaining points are discarded.
[0087] S4: synthesize an orthogonal basis operator according to the fundamental frequency of the measured signal of the reference channel.
[0088] The orthogonal basis operator sequences are synthesized according to the calculated fundamental frequency f0, which are:
[0089] a[n]=sin[(n / L)(f s / f0)·2π](n=0,1,2,...,L');
[0090] b[n]=cos[(n / L)(f s / f0)·2π] (n=0, 1, 2,..., L').
[0091] S5: coherently demodulate the digital sequences after truncating each channel with the orthogonal basis operator to obtain the in-phase component and the orthogonal component, and calculate the fundamental wave amplitudes U1 and U2 of the digital sequences u1(n)~u2(n).
[0092] Using the orthogonal basis operator, the digital sequence u1(n)~u2(n) is multiplied and the average value is calculated to obtain the in-phase component u of the digital sequence u1(n)~u2(n) 1a ~u 2a and the orthogonal component u 1b ~u 2b , calculate the fundamental amplitudes U1 and U2 of the digital sequences u1(n) and u2(n) by the vector modulus calculation formula.
[0093]
[0094]
[0095] S6: Reciprocal sampling channel, corrects the gain error between the two sampling channels.
[0096] exchange Figure 1 The sampling channels shown use sampling channel 2 to measure the input signal u1(t) at the input end, and use sampling channel 1 to measure the output signal u2(t) at the output end.
[0097] Through two sampling channels, with a fixed sampling frequency f s , the input signal u1(t) and the output signal u2(t) to be measured are sampled synchronously, thereby obtaining a digital sequence u'1(n) to u'2(n) of a finite length with a number of points L.
[0098] Repeat the above steps S2 to S5 to calculate the fundamental wave amplitudes U'1 and U'2 of the digital sequences u'1(n) and u'2(n).
[0099] S7: Calculate the voltage ratio k according to the fundamental wave amplitudes U1 and U2 before the reciprocal sampling channel and the fundamental wave amplitudes U'1 and U'2 after the reciprocal sampling channel.
[0100] Assume that the fundamental amplitude of u1(t) is A1, the fundamental amplitude of u2(t) is A2, the gain of sampling channel 1 at this frequency is K1, and the gain of sampling channel 2 at this frequency is K2. Then:
[0101] A1 K1=U1;
[0102] A2 K2=U2;
[0103] A1K 2= U'1;
[0104] A2 K1=U'2;
[0105] Then the voltage ratio k can be calculated by the following formula:
[0106]
[0107] The voltage ratio measurement method provided by the present application overcomes the shortcoming of the inductive voltage divider method that the frequency band is narrow by applying the digital sampling technology, and the frequency coverage range covers 10 Hz to 1 MHz.
[0108] The present application is based on the good linearity index of digital sampling technology, and overcomes the problem that the resistor divider can only be calibrated within a fixed ratio range, and the ratio range covers: 1.00000 to 0.00001.
[0109] This application reduces the measurement error of the proportional device due to harmonics, component gain error, and electromagnetic interference through frequency estimation, orthogonal decomposition and inter-channel reciprocity compensation technology, overcomes the problem of insufficient measurement accuracy of the AC voltmeter method, and improves the AC voltage proportional resolution to 1ppm and the accuracy to 5ppm.
[0110] Taking the above advantages into consideration, the present application has great practicality in the field of electrical measurement.
[0111] According to another embodiment of the present application, a voltage ratio measurement device is also provided, whose structure is as follows: Figure 2 As shown, it includes: a switching switch, a range converter, an analog-to-digital converter, a voltage reference module, a frequency reference module, a programmable logic device, a memory, and a main controller. The voltage ratio measurement device realizes a wide-band voltage ratio measurement function based on frequency estimation and phase-sensitive detection technology.
[0112] Among them, the range conversion device is used to expand the voltage measurement range.
[0113] The voltage reference module and the frequency reference module are used to provide voltage reference and frequency reference to the analog-to-digital converter.
[0114] The analog-to-digital converter is used to: sample at a fixed frequency and perform analog-to-digital conversion to obtain a digital sequence of a fixed length, and provide the digital sequence to the memory.
[0115] The main controller is used to run the voltage ratio measurement software, realize the data reception of the programmable logic device, and calculate the measured voltage ratio according to the in-phase component and the orthogonal component;
[0116] The memory is used to store the digital sequence.
[0117] Programmable logic devices include:
[0118] An FFT transform unit, used for reading the digital sequence of the reference channel and calculating the spectrum;
[0119] A three-spectrum frequency measurement unit, used to solve the fundamental frequency of the reference channel according to the three-spectrum method;
[0120] The whole cycle sampling unit is used to synchronously cut off the digital sequence of each channel in the whole cycle;
[0121] An orthogonal basis synthesis unit, used for synthesizing an orthogonal basis operator according to a fundamental wave frequency;
[0122] A phase-sensitive detection unit is used to multiply and average the truncated digital sequence of each channel with the in-phase operator and the orthogonal operator to obtain the in-phase component and the orthogonal component;
[0123] The serial bus interface control unit is used to upload parameters such as fundamental frequency, in-phase components of each channel, orthogonal components of each channel to the main controller through the serial bus.
[0124] The switching switches (S1, S2) are used for the reciprocal sampling channels.
[0125] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0126] The above description is only an illustrative embodiment of the present application and is not intended to limit the scope of the present application. Any equivalent changes, modifications and combinations made by any technician in the field without departing from the concept and principle of the present application shall fall within the scope of protection of the present application.
Claims
1. A voltage ratio measurement method, comprising: S1: synchronously sampling the input signal and the output signal of the voltage proportional device at a fixed frequency through the first sampling channel and the second sampling channel, and performing analog-to-digital conversion to obtain a digital sequence of a fixed length; S2: Select one of the first sampling channel and the second sampling channel as a reference channel, solve the spectrum of the measured signal of the reference channel by FFT, and calculate the fundamental frequency according to the three-spectral line method; S3: According to the fundamental frequency, the digital sequence of each sampling channel is synchronously truncated in a full cycle; S4: synthesizing an orthogonal basis operator according to the fundamental frequency; S5: coherently demodulate the truncated digital sequence of each sampling channel with an orthogonal basis operator to obtain an in-phase component and an orthogonal component, and calculate the first fundamental wave amplitude of the first sampling channel and the second sampling channel; S6: a reciprocal sampling channel, through the second sampling channel and the first sampling channel, synchronously sampling the input signal and the output signal of the voltage proportional device at a fixed frequency, and performing analog-to-digital conversion to obtain a digital sequence of a fixed length, repeating the above steps S2 to S5 to obtain the second fundamental wave amplitude of the first sampling channel and the second sampling channel; S7: Calculate the voltage ratio according to the first fundamental wave amplitude and the second fundamental wave amplitude.
2. The method according to claim 1, wherein: The sampling frequencies of the first sampling channel and the second sampling channel are 10 times or more than the frequencies of the input signal and the output signal of the voltage proportional device.
3. The method according to claim 1, wherein: The steps for calculating the fundamental frequency f0 according to the three-line method include: Find the highest spectral line X k and the adjacent second highest spectral line X k-1 , X k+1 , enter the following calculation formula to calculate: f0=(k+δ)f0 / L δ=-Re[(X k+1 -X k-1 ) / (2X k -X k-1 -X k+1 )] Where: k——highest spectral line X k The number of spectral lines; f s - sampling frequency; L——The number of sampling signal points.
4. The method according to claim 3, wherein: Step S3 includes: According to the fundamental frequency f0, the sampling frequency f s , calculate the maximum integer period point number L' in the digital sequence u1(n)~u2(n) with a fixed length of L points, and perform synchronous integer period truncation on the digital sequence u1(n)~u2(n), the calculation method includes: First, the period number c of the digital sequence u1(n)~u2(n) is: c=L / (f s / f0) After rounding down, the integer cycle number C is: C = INT (c); The calculation of the number of points in the whole cycle l' is: l'=C·(f s / f0), round l' to the nearest integer to get the maximum integer period point number L', For the digital sequences u1(n)~u2(n), the maximum number of integer period points L' is taken from the starting point and the remaining points are discarded.
5. The method according to claim 4, wherein: Step S4 includes: synthesizing orthogonal basis operator sequences according to the fundamental frequency f0, which are respectively: a[n]=sin[(n / L)(f s / f0)·2π],n=0,1,2,……,L'; b[n]=cos[(n / L)(f s / f0)·2π],n=0,1,2,……,L’。 6. The method according to claim 4, wherein: Step S5 includes: Using the orthogonal basis operator, multiply the digital sequence u1(n)~u2(n) and calculate the average value to obtain the in-phase component u of the digital sequence u1(n)~u2(n) 1a ~u 2a and the orthogonal component u 1b ~u 2b ; The first fundamental wave amplitudes U1 and U2 of the first sampling channel and the second sampling channel are calculated by the vector modulus calculation formula:
7. The method according to claim 6, wherein: Step S6 includes: reciprocally sampling the channels to obtain second fundamental wave amplitudes U'1 and U'2 of the first sampling channel and the second sampling channel; In step S7, according to the formula Calculate the voltage ratio k.
8. The method according to claim 1, step S1 further comprising: The obtained fixed-length digital sequence is stored.
9. A voltage ratio measurement device, used to perform the method according to any one of claims 1 to 8, the voltage ratio measurement device comprising: A switching switch, a range conversion device, an analog-to-digital converter, a voltage reference module, a frequency reference module, a programmable logic device, a memory, and a main controller, wherein: The range conversion device is used to expand the voltage measurement range; The voltage reference module and the frequency reference module are used to provide the voltage reference and the frequency reference to the analog-to-digital converter; The analog-to-digital converter is used for sampling at a fixed frequency and performing analog-to-digital conversion to obtain a digital sequence of a fixed length, and providing the digital sequence to the memory; The memory is used to store the digital sequence; The main controller is used to run the voltage ratio measurement software, realize the data reception of the programmable logic device, and calculate the measured voltage ratio according to the in-phase component and the orthogonal component; Programmable logic devices include: An FFT transform unit, used for reading the digital sequence of the reference channel and calculating the spectrum; A three-spectrum frequency measurement unit, used to solve the fundamental frequency of the reference channel according to the three-spectrum method; A full-cycle sampling unit, used for synchronous full-cycle truncation of digital sequences of the first sampling channel and the second sampling channel; An orthogonal basis synthesis unit, used for synthesizing an orthogonal basis operator according to a fundamental wave frequency; A phase-sensitive detection unit, used for coherently demodulating the truncated digital sequences of the first sampling channel and the second sampling channel with an orthogonal basis operator to obtain an in-phase component and an orthogonal component; A serial bus interface control unit is used to upload the fundamental frequency, in-phase component, and quadrature component to the main controller via the serial bus; Toggle switch for reciprocal sampling channels.
10. A computer-readable storage medium having stored thereon software instructions which, when executed, implement the method of any one of claims 1-8.
Citation Information
Patent Citations
Voltage modulation ratio verifying and measuring method
CN102788965A
Quasi-synchronous sampling and improved energy operator-based voltage flicker envelope parameter extraction method
CN110320400A
