CN204649825U - Based on the high speed true effective value rectifying system of FPGA - Google Patents

Based on the high speed true effective value rectifying system of FPGA Download PDF

Info

Publication number
CN204649825U
CN204649825U CN201520331275.3U CN201520331275U CN204649825U CN 204649825 U CN204649825 U CN 204649825U CN 201520331275 U CN201520331275 U CN 201520331275U CN 204649825 U CN204649825 U CN 204649825U
Authority
CN
China
Prior art keywords
fpga
unit
signal
effective value
measurement
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.)
Expired - Fee Related
Application number
CN201520331275.3U
Other languages
Chinese (zh)
Inventor
赵久瑞
曹建发
王帅
张望先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201520331275.3U priority Critical patent/CN204649825U/en
Application granted granted Critical
Publication of CN204649825U publication Critical patent/CN204649825U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

本实用新型公开了一种基于FPGA的高速真有效值检波系统,包括依次连接的信号放大器、A/D转换器、FPGA模块和控制模块;本实用新型利用A/D转换器与FPGA模块结合,对待测信号进行逐步积分;为了降低噪声对测量影响,该检波器还引入了信号的中值滤波,在很大程度上提高了测量精度;本实用新型可以在待测信号的一周期,完成对信号的真有效值测量,同时具有线性范围宽、精度高,稳定性好,灵活性强等优点。

The utility model discloses a high-speed true effective value detection system based on FPGA, which comprises a signal amplifier, an A/D converter, an FPGA module and a control module connected in sequence; the utility model utilizes the combination of the A/D converter and the FPGA module, The signal to be measured is gradually integrated; in order to reduce the influence of noise on the measurement, the detector also introduces the median filter of the signal, which greatly improves the measurement accuracy; The true RMS measurement of the signal has the advantages of wide linear range, high precision, good stability and strong flexibility.

Description

基于FPGA的高速真有效值检波系统High Speed True RMS Detection System Based on FPGA

技术领域 technical field

本实用新型涉及电子技术领域,由其涉及一种基于FPGA的高速真有效值检波系统。 The utility model relates to the field of electronic technology, in particular to an FPGA-based high-speed true effective value detection system.

背景技术 Background technique

电子系统和电力系统以及工业企业配电系统的电参数测量中,真有效值是一种最重要、最常用的电参数。任何有关于功率的测量,都离不开电流电压的有效值检测,而测量有效值通常依靠峰值测量或者整流平均值测量或者使用集成芯片进行有效值检波,如AD536,AD637等来实现。但当待测信号中即有直流也存在复杂的交流成分或谐波时,仅仅采用峰值测量或者整流平均值检波,这类测量就会产生较大的误差,甚至不能继续工作。逐步积分法可以完成对任意波形的真有效值检测,很多集成芯片均采用逐步积分法对信号有效值进行测量,但其受温度影响大,电路中必须对温度补偿,稳定性差,且工作效率较低,基本上每秒只能进行低于10次的测量。显然,在系统需要快速测量进行后续工作时,这类芯片往往存在着致命的缺陷。因此,需要一种线性范围较宽,精度高,响应快,可广泛应用的真有效值检波系统。 In the measurement of electrical parameters of electronic systems, power systems, and industrial enterprise power distribution systems, the true effective value is one of the most important and commonly used electrical parameters. Any measurement related to power is inseparable from the RMS detection of current and voltage, and the measurement of RMS usually relies on peak measurement or rectified average value measurement or the use of integrated chips for RMS detection, such as AD536, AD637, etc. to achieve. However, when the signal to be measured contains both DC and complex AC components or harmonics, only using peak value measurement or rectified average value detection, this type of measurement will produce large errors, and even cannot continue to work. The step-by-step integration method can complete the true RMS detection of arbitrary waveforms. Many integrated chips use the step-by-step integration method to measure the signal RMS, but it is greatly affected by temperature, and the circuit must be compensated for temperature, which has poor stability and low work efficiency. Low, basically only less than 10 measurements can be made per second. Obviously, such chips often have fatal flaws when the system requires fast measurements for follow-up work. Therefore, there is a need for a true RMS detection system with wide linear range, high precision, fast response and wide application.

实用新型内容 Utility model content

为了克服现有真有效值检波测量受到待测信号限制、响应慢以及线性范围的缺点,本实用新型提出了一种基于FPGA的高速真有效值检波系统。 In order to overcome the shortcomings of the existing true effective value detection measurement being limited by the signal to be tested, slow response and linear range, the utility model proposes a high-speed true effective value detection system based on FPGA.

本实用新型所采用的技术方案是:一种基于FPGA的高速真有效值检波系统,包括依次连接的信号放大器、A/D转换器、FPGA模块和控制模块。 The technical scheme adopted by the utility model is: a high-speed true RMS detection system based on FPGA, including a signal amplifier, an A/D converter, an FPGA module and a control module connected in sequence.

进一步的,所述的FPGA模块包括中值滤波单元、绝对值单元、时间计权单元和平方和单元;所述的中值滤波单元、绝对值单元和时间计权单元依次连接,所述的平方和单元和绝对值单元连接。 Further, the FPGA module includes a median filter unit, an absolute value unit, a time weighting unit and a square sum unit; the median filter unit, the absolute value unit and the time weight unit are connected in sequence, and the square And unit and absolute value unit connection.

进一步的,所述的控制模块包括依次连接的均方根单元和显示单元。 Further, the control module includes a root mean square unit and a display unit connected in sequence.

本实用新型的有益效果是:一种基于FPGA的高速真有效值检波系统利用A/D转换器与FPGA结合,对待测信号进行逐步积分;为了降低噪声对测量影响,该检波器还引入了信号的中值滤波,在很大程度上提高了测量精度。本实用新型可以在待测信号的一周期,完成对信号的真有效值测量,同时具有线性范围宽、精度高,稳定性好,灵活性强等优点。 The beneficial effects of the utility model are: a high-speed true RMS detection system based on FPGA utilizes the combination of A/D converter and FPGA to gradually integrate the signal to be measured; in order to reduce the impact of noise on the measurement, the detector also introduces a signal The median filter improves the measurement accuracy to a great extent. The utility model can complete the measurement of the true effective value of the signal in one period of the signal to be measured, and has the advantages of wide linear range, high precision, good stability and strong flexibility.

附图说明 Description of drawings

图1是本实用新型的数字真有效值检波原理图。 Fig. 1 is a schematic diagram of digital true RMS detection of the present invention.

具体实施方式 Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,下面通过参考附图描述的实施例是示例性的,仅用于解释本实用新型,而不能解释为对本实用新型的限制。 Embodiments of the present invention are described in detail below, and examples of said embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary, and are only used to explain the present utility model, and cannot be construed as a reference to the present utility model. New types of restrictions.

一种基于FPGA的高速真有效值检波系统,包括依次连接的信号放大器、A/D转换器、FPGA模块和控制模块。 A FPGA-based high-speed true RMS detection system includes signal amplifiers, A/D converters, FPGA modules and control modules connected in sequence.

所述的FPGA模块包括中值滤波单元、绝对值单元、时间计权单元和平方和单元;所述的中值滤波单元、绝对值单元和时间计权单元依次连接,所述的平方和单元和绝对值单元连接。 Described FPGA module comprises median filtering unit, absolute value unit, time weighting unit and square sum unit; Described median filtering unit, absolute value unit and time weighting unit are connected successively, and described square sum unit and Absolute unit connection.

所述的控制模块包括依次连接的均方根单元和显示单元。 The control module includes a root mean square unit and a display unit connected in sequence.

如图1,信号先经过信号放大器,将待测信号放大后,进入AD转换器将模拟量转化为数字量进入FPGA模块,FPGA模块中的中值滤波单元将信号中值滤波,去除噪声后,同时在时间计权单元中对其进行时间计权,在绝对值单元求待测信号的绝对值以保证接下来对信号求平方和计算的正确性,经过平方和单元求得平方和,输出到控制模块的均方根单元求均方根,并由显示单元显示。 As shown in Figure 1, the signal first passes through the signal amplifier, after the signal to be tested is amplified, it enters the AD converter to convert the analog quantity into a digital quantity and enters the FPGA module. The median filter unit in the FPGA module filters the median value of the signal and removes the noise. At the same time, it is time-weighted in the time weighting unit, and the absolute value of the signal to be measured is calculated in the absolute value unit to ensure the correctness of the subsequent calculation of the square sum of the signal, and the square sum is obtained through the square sum unit and output to The root mean square unit of the control module calculates the root mean square and displays it on the display unit.

信号通过A/D转换为数字信号进入FPGA的中值滤波单元,中值滤波单元具有两个数据队列,一个保持先进先出原则,把数据按照时间进行排序,保证每一位数据都能实时的参与中值筛选,提高数据的正确性。另一个用于数据的排序,从而选取中值输出到求绝对值单元。时间计权单元进行时间计权,在已知信号频率的情况下,根据实际需求设置采样点数并用直接数字式频率合成器DDS产生采样时钟,进行时间计权,保证控制模块对信号的整个周期进行逐步积分,最终FPGA模块将平方和结果和所设置的采样点数输出到控制模块进行处理。 The signal is converted into a digital signal through A/D and enters the median filter unit of the FPGA. The median filter unit has two data queues, one of which maintains the first-in-first-out principle and sorts the data according to time to ensure that each bit of data can be processed in real time. Participate in median screening to improve data accuracy. The other is used for data sorting, so that the median value is selected and output to the absolute value unit. The time weighting unit performs time weighting. When the signal frequency is known, the number of sampling points is set according to the actual demand and the direct digital frequency synthesizer DDS is used to generate the sampling clock for time weighting, so as to ensure that the control module controls the entire period of the signal. Integrate step by step, and finally the FPGA module outputs the sum of squares and the set number of sampling points to the control module for processing.

在待测信号频率未知的情况下,估计待测信号的最大可能频率,根据实际需要采集的信号点数得到信号的采样时钟。在信号经过中值滤波单元中值滤波后,采样时钟作为求绝对值和平方和计算的工作时钟,具有绝对值单元、平方和单元的功能,最终将平方和结果输出到控制模块中。采样点数在每次采样时钟的上升沿加一,判断信号为一个完整周期的依据为信号是否过零点,在正向(由负到正)过零点时采样点数输出到控制模块中后重新在FPGA模块中置零,实现时间计权单元的时间计权。 When the frequency of the signal to be measured is unknown, the maximum possible frequency of the signal to be measured is estimated, and the sampling clock of the signal is obtained according to the actual number of signal points to be collected. After the signal is filtered by the median filter unit, the sampling clock is used as the working clock for absolute value and square sum calculation, and has the functions of absolute value unit and square sum unit, and finally outputs the square sum result to the control module. The number of sampling points is increased by one on each rising edge of the sampling clock. The basis for judging that the signal is a complete cycle is whether the signal crosses zero. When the positive direction (from negative to positive) zero crosses, the number of sampling points is output to the control module and re-introduced in the FPGA Set zero in the module to realize the time weighting of the time weighting unit.

本实用新型具体控制实现为现有技术,本实用新型仅提供装置结构设计技术方案。 The concrete control realization of the utility model is the prior art, and the utility model only provides the technical scheme of device structure design.

Claims (2)

1. based on a high speed true effective value rectifying system of FPGA, it is characterized in that: comprise the signal amplifier, A/D converter, FPGA module and the control module that connect successively; Described FPGA module comprises median filter unit, absolute value element, time weighted unit and quadratic sum unit; Described median filter unit, absolute value element are connected successively with time weighted unit, and described quadratic sum unit is connected with absolute value element.
2. a kind of high speed true effective value rectifying system based on FPGA according to claim 1, is characterized in that: described control module comprises the root mean square unit and display unit that connect successively.
CN201520331275.3U 2015-05-21 2015-05-21 Based on the high speed true effective value rectifying system of FPGA Expired - Fee Related CN204649825U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520331275.3U CN204649825U (en) 2015-05-21 2015-05-21 Based on the high speed true effective value rectifying system of FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520331275.3U CN204649825U (en) 2015-05-21 2015-05-21 Based on the high speed true effective value rectifying system of FPGA

Publications (1)

Publication Number Publication Date
CN204649825U true CN204649825U (en) 2015-09-16

Family

ID=54102561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520331275.3U Expired - Fee Related CN204649825U (en) 2015-05-21 2015-05-21 Based on the high speed true effective value rectifying system of FPGA

Country Status (1)

Country Link
CN (1) CN204649825U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782460A (en) * 2019-11-04 2021-05-11 江苏莱提电气股份有限公司 Method for calculating effective value of alternating voltage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782460A (en) * 2019-11-04 2021-05-11 江苏莱提电气股份有限公司 Method for calculating effective value of alternating voltage

Similar Documents

Publication Publication Date Title
CN103630871B (en) Electronic electric energy meter dynamic characteristic test device
CN103344825B (en) Based on the electric energy metered system of AC sampling
CN106226723B (en) Electric energy metering simulation analysis system and method for complex nonlinear load environment
CN103185837B (en) Method for measuring frequency of power system
CN104991142A (en) Signal analyzer and device and processing method
CN103809148B (en) Method and system for measuring dynamic characteristics of electric energy meter
CN203572959U (en) Electronic electric energy meter dynamic characteristic testing device
CN105699738B (en) A kind of AC signal effective value measurement method based on PWM
CN106645942A (en) Low cost and high precision embedded type signal collection and analysis system and method
CN207586312U (en) A kind of digital frequency meter based on FPGA
CN110837000A (en) FPGA-based frequency measurement system
CN205015408U (en) Signal analyzer and signal processing device
CN202033420U (en) Special circuit for time parameter tests of analog integrated circuit test system
CN204649825U (en) Based on the high speed true effective value rectifying system of FPGA
CN104391176A (en) Software and hardware frequency measurement circuit compatible with electric power system signals
CN110212892B (en) A method for generating a variable threshold integral-differential pulse of a high-precision electric energy meter
CN205157646U (en) Electric energy metering circuit based on voltage controlled oscillator
CN104808038B (en) A kind of method of soft simulation interpolation lifting AC sampling frequency
CN215180470U (en) Self-adaptive filtering circuit based on synchronous sampling
CN104360198A (en) High-performance power quality analyzer
CN103383415A (en) Resistance and capacitance online testing circuit
CN110470903B (en) A voltage and frequency soft measurement device and method
CN109975598B (en) Periodic signal effective value measuring circuit
CN203414549U (en) Ultra-low power test power meter
KR101444582B1 (en) Apparatus and method for detecting frequency

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150916

Termination date: 20160521