CN112485697A - High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm - Google Patents

High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm Download PDF

Info

Publication number
CN112485697A
CN112485697A CN202011251058.5A CN202011251058A CN112485697A CN 112485697 A CN112485697 A CN 112485697A CN 202011251058 A CN202011251058 A CN 202011251058A CN 112485697 A CN112485697 A CN 112485697A
Authority
CN
China
Prior art keywords
circuit
ripple
power supply
resistor
analog
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.)
Pending
Application number
CN202011251058.5A
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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN202011251058.5A priority Critical patent/CN112485697A/en
Publication of CN112485697A publication Critical patent/CN112485697A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/30Structural combination of electric measuring instruments with basic electronic circuits, e.g. with amplifier
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis
    • G01R23/165Spectrum analysis; Fourier analysis using filters

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Amplifiers (AREA)

Abstract

本发明公开了一种基于锁相放大算法的高压电源纹波测量分析系统,包括高压输入电路、隔直放大电路、滤波增益补偿电路、模数转换电路、数字信号处理电路;所述的高压输入电路,用于接入待测高压电源的信号,并为高压电源提供不同的负载;所述的隔直放大电路,用于隔离直流高压,并将交流纹波放大;所述的滤波增益补偿电路,用于对放大后的交流纹波采集得到的模拟纹波信号进行频带限制;所述的模数转换电路,用于将滤波增益补偿电路所采集的模拟纹波信号转换为数字信号;所述的数字信号处理电路,采用基于锁相放大算法对得到的数字信号进行采集和处理。本发明能对于精密高压电压源的纹波情况进行精确的分析,为精密高压电压源的设计及改进提供测量依据。

Figure 202011251058

The invention discloses a high-voltage power supply ripple measurement and analysis system based on a phase-locked amplification algorithm, comprising a high-voltage input circuit, a DC-blocking amplifier circuit, a filter gain compensation circuit, an analog-to-digital conversion circuit, and a digital signal processing circuit; the high-voltage input circuit The circuit is used to connect the signal of the high-voltage power supply to be tested and provide different loads for the high-voltage power supply; the DC isolation amplifier circuit is used to isolate the DC high voltage and amplify the AC ripple; the filter gain compensation circuit , used to limit the frequency band of the analog ripple signal collected by the amplified AC ripple; the analog-to-digital conversion circuit is used to convert the analog ripple signal collected by the filter gain compensation circuit into a digital signal; the The digital signal processing circuit adopts the lock-in amplification algorithm to collect and process the obtained digital signal. The invention can accurately analyze the ripple condition of the precision high-voltage voltage source, and provides a measurement basis for the design and improvement of the precise high-voltage voltage source.

Figure 202011251058

Description

一种基于锁相放大算法的高压电源纹波测量分析系统A High Voltage Power Supply Ripple Measurement and Analysis System Based on Lock-in Amplification Algorithm

技术领域technical field

本发明涉及精密电源测试技术领域,更具体的,涉及一种基于锁相放大算法的高压电源纹波测量分析系统。The invention relates to the technical field of precision power supply testing, and more particularly, to a high-voltage power supply ripple measurement and analysis system based on a phase-locked amplification algorithm.

背景技术Background technique

电源在电子系统中是非常重要的组成部分,对于精密电子系统,要求电源的纹波必须控制在不影响电路正常工作的范围,因而在设计电源时,我们需要对其纹波情况进行精确地测量与评估。The power supply is a very important part in the electronic system. For precision electronic systems, the ripple of the power supply must be controlled within the range that does not affect the normal operation of the circuit. Therefore, when designing the power supply, we need to accurately measure its ripple. and evaluation.

电源纹波产生的主要来源主要包括以下几种:一是电源中可能存在的开关管开关所产生的周期性开关噪声,电容电感在开关管的作用下进行充放电将产生周期性的输出电压波动;二是前级可能引入的工频噪声,这是由于室内高强度的工频电磁场可能会引入的噪声,也可能直接通过前级的整流电路直接进入后级的电路中;三是电压电流反馈环路有可能引入特定频率的纹波,这种纹波与反馈环路的响应速度有关,频率不会太高。The main sources of power supply ripple mainly include the following: First, the periodic switching noise generated by the switching tube switching that may exist in the power supply. The charging and discharging of the capacitor and inductance under the action of the switching tube will produce periodic output voltage fluctuations. ; The second is the power frequency noise that may be introduced by the front stage, which is due to the noise that may be introduced by the high-intensity power frequency electromagnetic field in the room, or it may directly enter the circuit of the latter stage through the rectifier circuit of the previous stage; The third is the voltage and current feedback The loop may introduce ripple at a specific frequency, which is related to the response speed of the feedback loop, and the frequency is not too high.

总结以上几种主要的开关电源纹波产生的机理,我们需要针对纹波测量系统,通过模拟滤波和数字滤波等方式,将测量频宽限制在低频-20MHz左右,这种频带的限制可以在尽可能还原纹波的信息的情况下,减少空间内发射的电磁噪声对于测量系统的干扰,从而尽可能准确地还原电源的纹波情况。To summarize the above-mentioned main switching power supply ripple generation mechanisms, we need to limit the measurement bandwidth to low frequency -20MHz through analog filtering and digital filtering for the ripple measurement system. When it is possible to restore the information of the ripple, the interference of the electromagnetic noise emitted in the space to the measurement system is reduced, so as to restore the ripple of the power supply as accurately as possible.

在精密高压电源的设计中,对于纹波的要求较高。在相对较高的工作电压下,纹波应远小于传统电源的纹波(纹波峰峰值小于等于1mV的量级),对于此类高压高精度的开关电源。如中国专利公开号:CN 108549039 A,公开日: 2018.09.18,公开了一种开关电源纹波测量电路,本发明涉及一种开关电源纹波测量电路,使用高速比较器和高精度DAC,实现了高频情况下的高精度纹波测量,控制器通过检测高速比较器输出脉冲信号的有无及宽度,判定DAC的输出值与纹波信号峰值或谷值的关系,并据此调整DAC的输出,当控制器恰好检测不到比较器的脉冲信号时,得到纹波信号的峰值或谷值,将二者相减得到纹波电压值。In the design of precision high-voltage power supplies, the requirements for ripple are higher. At a relatively high operating voltage, the ripple should be much smaller than that of a traditional power supply (the peak-to-peak value of the ripple is less than or equal to 1mV), for such high-voltage and high-precision switching power supplies. For example, Chinese Patent Publication No.: CN 108549039 A, publication date: 2018.09.18, discloses a switching power supply ripple measurement circuit, the invention relates to a switching power supply ripple measurement circuit, which uses a high-speed comparator and a high-precision DAC to achieve In order to achieve high-precision ripple measurement under high frequency conditions, the controller determines the relationship between the output value of the DAC and the peak or valley value of the ripple signal by detecting the presence and width of the output pulse signal from the high-speed comparator, and adjusts the DAC output value accordingly. Output, when the controller just cannot detect the pulse signal of the comparator, the peak or valley value of the ripple signal is obtained, and the ripple voltage value is obtained by subtracting the two.

传统的检测手段难以满足纹波的测量需求,且纹波的波形特征在一定程度上能反映出电源设计中存在着何种不足,因而构建一种针对高压低幅值纹波测量与分析的系统,在很大程度上能反向指导精密电源设计的改进方向。Traditional detection methods are difficult to meet the measurement requirements of ripple, and the waveform characteristics of ripple can reflect the shortcomings in power supply design to a certain extent. Therefore, a system for measuring and analyzing high-voltage and low-amplitude ripple is constructed. , to a large extent, it can guide the improvement direction of precision power supply design in the opposite direction.

发明内容SUMMARY OF THE INVENTION

本发明为了解决传统的检测手段难以满足纹波的测量需求的问题,提供了一种基于锁相放大算法的高压电源纹波测量分析系统,其能对于精密高压电压源的纹波情况进行精确的分析,从而为精密高压电压源的设计及改进提供测量依据。In order to solve the problem that the traditional detection method is difficult to meet the measurement requirements of the ripple, the present invention provides a high-voltage power supply ripple measurement and analysis system based on the lock-in amplification algorithm, which can accurately measure the ripple of the precision high-voltage voltage source. Analysis, so as to provide measurement basis for the design and improvement of precision high voltage voltage source.

为实现上述本发明目的,采用的技术方案如下:一种基于锁相放大算法的高压电源纹波测量分析系统,所述的高压电源纹波分析系统包括高压输入电路、隔直放大电路、滤波增益补偿电路、模数转换电路、数字信号处理电路;其中,In order to achieve the above purpose of the present invention, the technical scheme adopted is as follows: a high-voltage power supply ripple measurement and analysis system based on a phase-locked amplification algorithm, the high-voltage power supply ripple analysis system includes a high-voltage input circuit, a DC-blocking amplifier circuit, and a filter gain. Compensation circuit, analog-to-digital conversion circuit, digital signal processing circuit; wherein,

所述的高压输入电路,用于接入待测高压电源的信号,并为高压电源提供不同的负载,实现对不同负载下的纹波特性测量;The high-voltage input circuit is used to connect the signal of the high-voltage power supply to be measured, and provide different loads for the high-voltage power supply, so as to realize the measurement of the ripple characteristics under different loads;

所述的隔直放大电路,用于隔离直流高压,并将交流纹波放大;The DC blocking amplifying circuit is used to isolate the DC high voltage and amplify the AC ripple;

所述的滤波增益补偿电路,用于对放大后的交流纹波采集得到的模拟纹波信号进行频带限制;The filter gain compensation circuit is used to limit the frequency band of the analog ripple signal obtained by the amplified AC ripple collection;

所述的模数转换电路,用于将滤波增益补偿电路所采集的模拟纹波信号转换为数字信号;The analog-to-digital conversion circuit is used to convert the analog ripple signal collected by the filter gain compensation circuit into a digital signal;

所述的数字信号处理电路,采用基于锁相放大算法对得到的数字信号进行采集和处理,并将采集到的数字信号的频带进一步限制。The digital signal processing circuit adopts a phase-locked amplification algorithm to collect and process the obtained digital signal, and further limits the frequency band of the collected digital signal.

优选地,所述的高压电源纹波分析系统还上位机纹波分析装置,所述的上位机纹波分析装置对数字信号处理电路处理的结果进一步分析;并显示采集到的纹波信号的波形。Preferably, the high-voltage power supply ripple analysis system further includes a host computer ripple analysis device, and the host computer ripple analysis device further analyzes the results processed by the digital signal processing circuit; and displays the waveform of the collected ripple signal .

进一步地,所述的高压输入电路包括带保护的高压输入接头、由多路开关加功率电阻串联而成的可调负载电路;Further, the high-voltage input circuit includes a high-voltage input connector with protection, and an adjustable load circuit formed by connecting multiple switches and power resistors in series;

所述的带保护的高压输入接头接入高压电源后,通过可调负载电路输入隔直放大电路,并通过选通多路开关实现测量不同负载下的纹波特性。After the high-voltage input connector with protection is connected to the high-voltage power supply, the DC-blocking amplifier circuit is input through the adjustable load circuit, and the ripple characteristics under different loads are measured by gating the multi-way switch.

再进一步地,所述的多路开关采用若干个单刀双掷继电器串联实现多路选择。Still further, the multi-way switch adopts several single-pole double-throw relays in series to realize multi-way selection.

再进一步地,所述的隔直放大电路包括用于滤除高压直流信号的二阶高通滤波电路、用于将交流纹波放大的运算放大器A1、防止过冲浪涌损害运算放大器的单刀双掷继电器、接地电阻、第一比例放大电阻、第二比例放大电阻;Still further, the DC blocking amplifier circuit includes a second-order high-pass filter circuit for filtering out high-voltage DC signals, an operational amplifier A1 for amplifying the AC ripple, and a single-pole double-throw relay for preventing over-surfing from damaging the operational amplifier. , grounding resistance, first proportional amplification resistance, second proportional amplification resistance;

所述的二阶高通滤波电路的输入端接入高压输入电路的输出端;所述的二阶高通滤波电路的输出端接单刀双掷继电器的一个选通端;The input end of the second-order high-pass filter circuit is connected to the output end of the high-voltage input circuit; the output end of the second-order high-pass filter circuit is connected to a gate end of the SPDT relay;

所述的单刀双掷继电器的另一端选通端通过接地电阻接地;The other end of the single-pole double-throw relay is grounded through a grounding resistor;

所述的单刀双掷继电器的中心端口接运算放大器A1的正输入端;The center port of the SPDT relay is connected to the positive input end of the operational amplifier A1;

所述的第一比例放大电阻、第二比例放大电阻依次串联后运算放大器A1的输出端;The first proportional amplifying resistor and the second proportional amplifying resistor are sequentially connected in series to the output end of the operational amplifier A1;

所述的运算放大器A1的负输入端接在第一比例放大电阻、第二比例放大电阻之间;The negative input terminal of the operational amplifier A1 is connected between the first proportional amplification resistor and the second proportional amplification resistor;

所述的运算放大器A1的输出端将放大后的交流纹波信号传输给滤波增益补偿电路。The output end of the operational amplifier A1 transmits the amplified AC ripple signal to the filter gain compensation circuit.

再进一步地,所述的滤波增益补偿电路包括依次串联的有源高通滤波电路、无源低通滤波电路;所述的运算放大器A1的输出端与有源高通滤波电路的输入端连接;所述的无源低通滤波电路的输出端与模数转换电路的输入端连接。Still further, the filter gain compensation circuit includes an active high-pass filter circuit and a passive low-pass filter circuit in series; the output end of the operational amplifier A1 is connected to the input end of the active high-pass filter circuit; the The output end of the passive low-pass filter circuit is connected with the input end of the analog-to-digital conversion circuit.

再进一步地,所述的有源高通滤波电路采用10阶巴特沃斯滤波器,所述的10阶巴特沃斯滤波器采用5级Sallen-Key电路结构,每级所述的Sallen-Key电路结构包括独立的增益补偿电路,保证输出模拟信号与输入模拟信号的幅值比例是10:1。Still further, the described active high-pass filter circuit adopts the 10th-order Butterworth filter, and the described 10th-order Butterworth filter adopts the 5-stage Sallen-Key circuit structure, and the Sallen-Key circuit structure described in each stage is Including an independent gain compensation circuit to ensure that the amplitude ratio of the output analog signal to the input analog signal is 10:1.

再进一步地,所述的Sallen-Key电路结构包括电容、正反馈电阻、接地电阻、放大器、电阻;Still further, the Sallen-Key circuit structure includes a capacitor, a positive feedback resistor, a grounding resistor, an amplifier, and a resistor;

所述的电容的一端与运算放大器A1的输出端连接;所述的电容的另一端依次与电容、放大器的正输入端连接;One end of the capacitor is connected to the output end of the operational amplifier A1; the other end of the capacitor is connected to the positive input end of the capacitor and the amplifier in turn;

所述的正反馈电阻的一端接在电容、电容之间;所述的正反馈电阻的另一端接在放大器的输出端;One end of the positive feedback resistor is connected between the capacitor and the capacitor; the other end of the positive feedback resistor is connected to the output end of the amplifier;

所述的接地电阻的一端接在电容与放大器的正输入端之间;One end of the grounding resistance is connected between the capacitor and the positive input end of the amplifier;

所述的放大器的输出端与下一级的Sallen-Key电路结构的输出端连接;同时所述的放大器的输出端依次通过电阻、电阻接地;The output end of the amplifier is connected with the output end of the Sallen-Key circuit structure of the next stage; at the same time, the output end of the amplifier is grounded through the resistance and the resistance in turn;

所述的放大器的负输入端接在电阻、电阻之间。The negative input end of the amplifier is connected between the resistor and the resistor.

再进一步地,所述的无源低通滤波电路采用14阶椭圆滤波器,所述的无源低通滤波电路的特性阻抗为50Ω。Still further, the passive low-pass filter circuit adopts a 14th-order ellipse filter, and the characteristic impedance of the passive low-pass filter circuit is 50Ω.

再进一步地,所述的模数转换电路包括阻抗匹配网络、全差分运算放大器、反馈电阻、滤波网络、参考电压源、模数转换器;Still further, the analog-to-digital conversion circuit includes an impedance matching network, a fully differential operational amplifier, a feedback resistor, a filter network, a reference voltage source, and an analog-to-digital converter;

所述的全差分运算放大器的正输入端依次与阻抗匹配网络、无源低通滤波电路的输出端连接;The positive input end of the fully differential operational amplifier is sequentially connected with the impedance matching network and the output end of the passive low-pass filter circuit;

所述的全差分运算放大器的负输入端通过阻抗匹配网络接地;The negative input end of the fully differential operational amplifier is grounded through an impedance matching network;

所述的全差分运算放大器的负输出端、正输出端通过滤波网络与模数转换器连接;The negative output end and the positive output end of the fully differential operational amplifier are connected to the analog-to-digital converter through a filter network;

所述的反馈电阻的一端与全差分运算放大器的正输入端连接,所述的反馈电阻的另一端与全差分运算放大器的负输出端连接;One end of the feedback resistor is connected to the positive input end of the fully differential operational amplifier, and the other end of the feedback resistor is connected to the negative output end of the fully differential operational amplifier;

所述的反馈电阻的一端与全差分运算放大器的负输入端连接,所述的反馈电阻的另一端与全差分运算放大器的正输出端连接;One end of the feedback resistor is connected to the negative input end of the fully differential operational amplifier, and the other end of the feedback resistor is connected to the positive output end of the fully differential operational amplifier;

所述的参考电压源输入模数转换器。The reference voltage source is input to the analog-to-digital converter.

再进一步地,所述的数字信号处理电路包括主控芯片、存储单元;Still further, the digital signal processing circuit includes a main control chip and a storage unit;

所述的主控芯片读取模数转换器的采样数据通过16位的并行差分LVDS实现;所述的主控芯片读写模数转换器的控制字采用SPI接口协议进行传输;所述的主控芯片内置用于分析纹波频域特性的锁相放大算法,实现对接受到的数据进行处理;The main control chip reads the sampling data of the analog-to-digital converter through 16-bit parallel differential LVDS; the main control chip reads and writes the control word of the analog-to-digital converter using the SPI interface protocol for transmission; The control chip has a built-in lock-in amplification algorithm for analyzing the ripple frequency domain characteristics, and realizes the processing of the received data;

所述的存储单元,用于存储模数转换器上传的数据和主控芯片处理后的数据。The storage unit is used to store the data uploaded by the analog-to-digital converter and the data processed by the main control chip.

本发明的有益效果如下:The beneficial effects of the present invention are as follows:

本发明的原理是将高压电源信号通过隔直放大电路、滤波增益补偿电路进行一系列的处理,并使用高速高分辨率的模数转换电路以及内置由锁相放大算法的数字信号处理电路对纹波进行采集与分析,可对纹波的频谱幅值信息进行精确分析。本发明能实现在较高的直流电压的精密电源中的微小纹波的测量与分析,适用于精密高压电源的纹波检测场景。同时本发明可实现测试高压电源在不同负载情况下的纹波特性。The principle of the present invention is to process the high-voltage power supply signal through a DC-blocking amplifier circuit and a filter gain compensation circuit, and use a high-speed and high-resolution analog-to-digital conversion circuit and a built-in digital signal processing circuit with a phase-locked amplification algorithm. The wave can be collected and analyzed, and the spectral amplitude information of the ripple can be accurately analyzed. The invention can realize the measurement and analysis of the tiny ripple in the precision power supply with higher direct current voltage, and is suitable for the ripple detection scene of the precision high-voltage power supply. At the same time, the present invention can realize testing the ripple characteristics of the high-voltage power supply under different load conditions.

附图说明Description of drawings

图1是本实施例所述的高压电源纹波分析系统的原理框图。FIG. 1 is a principle block diagram of the high-voltage power supply ripple analysis system described in this embodiment.

图2是本实施例所述的高压输入电路的电路连接图。FIG. 2 is a circuit connection diagram of the high-voltage input circuit according to this embodiment.

图3是本实施例所述的隔直放大电路的电路连接图。FIG. 3 is a circuit connection diagram of the DC blocking amplifier circuit described in this embodiment.

图4是本实施例所述的有源高通滤波电路的电路连接图。FIG. 4 is a circuit connection diagram of the active high-pass filter circuit according to this embodiment.

图5是本实施例所述的无源低通滤波电路的电路连接图。FIG. 5 is a circuit connection diagram of the passive low-pass filter circuit described in this embodiment.

图6是本实施例所述的数模转换电路的电路连接图。FIG. 6 is a circuit connection diagram of the digital-to-analog conversion circuit described in this embodiment.

图7是本实施例所述的数字处理电路的电路连接图。FIG. 7 is a circuit connection diagram of the digital processing circuit according to this embodiment.

图8是本实施例所述的锁相放大算法的原理示意图。FIG. 8 is a schematic diagram of the principle of the lock-in amplification algorithm described in this embodiment.

具体实施方式Detailed ways

下面结合附图和具体实施方式对本发明做详细描述。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

实施例1Example 1

如图1所示,一种基于锁相放大算法的高压电源纹波测量分析系统,所述的高压电源纹波分析系统包括高压输入电路、隔直放大电路、滤波增益补偿电路、模数转换电路、数字信号处理电路;其中,As shown in Figure 1, a high-voltage power supply ripple measurement and analysis system based on a lock-in amplification algorithm, the high-voltage power supply ripple analysis system includes a high-voltage input circuit, a DC-blocking amplifier circuit, a filter gain compensation circuit, and an analog-to-digital conversion circuit. , digital signal processing circuit; among them,

所述的高压输入电路,用于接入待测高压电源的信号,并为高压电源提供不同的负载,实现对不同负载下的纹波特性测量;The high-voltage input circuit is used to connect the signal of the high-voltage power supply to be measured, and provide different loads for the high-voltage power supply, so as to realize the measurement of the ripple characteristics under different loads;

所述的隔直放大电路,用于隔离直流高压,并将交流纹波放大;The DC blocking amplifying circuit is used to isolate the DC high voltage and amplify the AC ripple;

所述的滤波增益补偿电路,用于对放大后的交流纹波采集得到的模拟纹波信号进行频带限制;The filter gain compensation circuit is used to limit the frequency band of the analog ripple signal obtained by the amplified AC ripple collection;

所述的模数转换电路,用于将滤波增益补偿电路所采集的模拟纹波信号转换为数字信号;The analog-to-digital conversion circuit is used to convert the analog ripple signal collected by the filter gain compensation circuit into a digital signal;

所述的数字信号处理电路,采用基于锁相放大算法对得到的数字信号进行采集和处理,并将采集到的数字信号的频带进一步限制。The digital signal processing circuit adopts a phase-locked amplification algorithm to collect and process the obtained digital signal, and further limits the frequency band of the collected digital signal.

在一个具体的实施例中,所述的高压电源纹波分析系统还上位机纹波分析装置,所述的上位机纹波分析装置对数字信号处理电路处理的结果进一步分析;并显示采集到的纹波信号的波形。In a specific embodiment, the high-voltage power supply ripple analysis system further includes a host computer ripple analysis device, and the host computer ripple analysis device further analyzes the processing results of the digital signal processing circuit; and displays the collected data. The waveform of the ripple signal.

在一个具体的实施例中,如图2中的电路结构所示,所述的高压输入电路包括带保护的高压输入接头、由多路开关加功率电阻串联而成的可调负载电路;所述的带保护的高压输入接头202包括一个外壳接保护地的三同轴、一个外壳接保护地的双同轴接口几种中的一种。所述的带保护的高压输入接头202将待测量的高压电源信号201接入所述的高压电源纹波分析系统。当待测量的高压电源进入高压电源纹波分析系统后,将通过一个多路开关加功率电阻串联而成的可调负载电路203。本实施例可以测试高压电源在不同负载情况下的纹波特性。在一个具体的实施例中,所述的多路开关的选通由数字信号处理电路进行控制。本实施例所述的双同轴接口的耐压通常约为1500V,所述的多路开关应选择单刀双掷继电器串联来实现多路选择的功能,除了实现多路选通的逻辑,还可以满足对高电压输入耐压的要求,两级的单刀双掷开关串联,即可实现四路的多路选择开关,耐压值为600V×2=1200V。所述的多路开关中在上电时应该选定最高阻值,防止上电过程中过载损坏待测电源。In a specific embodiment, as shown in the circuit structure in FIG. 2 , the high-voltage input circuit includes a high-voltage input connector with protection, and an adjustable load circuit formed by connecting multiple switches and power resistors in series; the The protected high-voltage input connector 202 includes one of several types of triaxial interfaces with the outer casing connected to the protective ground, and a dual coaxial interface with the outer casing connected to the protective ground. The protected high-voltage input connector 202 connects the high-voltage power supply signal 201 to be measured into the high-voltage power supply ripple analysis system. After the high-voltage power supply to be measured enters the high-voltage power supply ripple analysis system, an adjustable load circuit 203 is formed by connecting a multi-channel switch and a power resistor in series. This embodiment can test the ripple characteristics of the high-voltage power supply under different load conditions. In a specific embodiment, the gating of the multiplexer is controlled by a digital signal processing circuit. The withstand voltage of the dual coaxial interface described in this embodiment is usually about 1500V, and the multi-way switch should select single-pole double-throw relays in series to realize the function of multi-way selection. To meet the requirements of high voltage input withstand voltage, two-stage SPDT switches can be connected in series to realize a four-way multiplexer switch, and the withstand voltage value is 600V×2=1200V. In the multi-way switch, the highest resistance value should be selected during power-on to prevent overload damage to the power supply to be tested during power-on.

在一个具体的实施例中,如图3所示,所述的隔直放大电路包括二阶RC电路组成的二阶高通滤波电路、用于将交流纹波放大的运算放大器A1、防止过冲浪涌损害运算放大器的单刀双掷继电器308、接地电阻305、第一比例放大电阻 306、第二比例放大电阻307;所述的二阶高通滤波电路的作用是滤除高压直流信号,由于纹波测量的特点,将准入的信号带宽限制在10Hz-20MHz,所述的隔直放大电路中的二阶高通滤波电路的-3dB频点将设为10Hz。In a specific embodiment, as shown in FIG. 3 , the DC-blocking amplifier circuit includes a second-order high-pass filter circuit composed of a second-order RC circuit, an operational amplifier A1 for amplifying the AC ripple, and preventing over-surfing surges. The SPDT relay 308, the grounding resistor 305, the first proportional amplifying resistor 306, and the second proportional amplifying resistor 307 that damage the operational amplifier; the function of the second-order high-pass filter circuit is to filter out the high-voltage DC signal. The characteristic is that the admitted signal bandwidth is limited to 10Hz-20MHz, and the -3dB frequency point of the second-order high-pass filter circuit in the DC-blocking amplifier circuit will be set to 10Hz.

所述的二阶高通滤波电路的输入端接入高压输入电路的输出端;所述的二阶高通滤波电路的输出端接单刀双掷继电器308的一个选通端;The input end of the second-order high-pass filter circuit is connected to the output end of the high-voltage input circuit; the output end of the second-order high-pass filter circuit is connected to a gate end of the SPDT relay 308;

所述的单刀双掷继电器308的另一端选通端通过接地电阻305接地;The other end gating end of the SPDT relay 308 is grounded through the grounding resistor 305;

所述的单刀双掷继电器308的中心端口接运算放大器A1的正输入端;The central port of the SPDT relay 308 is connected to the positive input end of the operational amplifier A1;

所述的第一比例放大电阻306、第二比例放大电阻307依次串联后运算放大器A1的输出端;The first proportional amplifying resistor 306 and the second proportional amplifying resistor 307 are sequentially connected in series to the output end of the operational amplifier A1;

所述的运算放大器A1的负输入端接在第一比例放大电阻306、第二比例放大电阻307之间;The negative input terminal of the operational amplifier A1 is connected between the first proportional amplifying resistor 306 and the second proportional amplifying resistor 307;

所述的运算放大器A1的输出端将放大后的交流纹波信号传输给滤波增益补偿电路。The output end of the operational amplifier A1 transmits the amplified AC ripple signal to the filter gain compensation circuit.

所述的单刀双掷继电器308在外部高压输入时,为了防止过冲浪涌损害运算放大器309,应该选通接地电阻305一端。所述的单刀双掷继电器308的耐压应该大于输入电压的最大值,当开机上电时的浪涌稳定后,才应该将二阶高通滤波电路的端口接入运算放大器309的正输入端,为此应该在上电后约0.5-1s才将阶高通滤波电路接入运算放大器309正输入端,第一比例放大电阻306和第二比例放大电阻307将决定隔离放大电路的放大倍数,设第一比例放大电阻306的阻值为R1,第二比例放大电阻307的阻值为R2,则放大倍数为:When the single-pole double-throw relay 308 is input with an external high voltage, one end of the grounding resistor 305 should be gated in order to prevent over-surfing from damaging the operational amplifier 309 . The withstand voltage of the single-pole double-throw relay 308 should be greater than the maximum value of the input voltage. When the surge is stabilized when the power is turned on, the port of the second-order high-pass filter circuit should be connected to the positive input of the operational amplifier 309. For this reason, the first-order high-pass filter circuit should be connected to the positive input terminal of the operational amplifier 309 about 0.5-1s after power-on. The first proportional amplifying resistor 306 and the second proportional amplifying resistor 307 will determine the amplification factor of the isolation amplifying circuit. The resistance value of the first proportional amplifying resistor 306 is R1, and the resistance value of the second proportional amplifying resistor 307 is R2, so the amplification factor is:

Figure RE-GDA0002866775110000071
Figure RE-GDA0002866775110000071

所述的隔直放大电路中选用的运算放大器309应采用低电压噪声的运算放大器,且放大倍数在带宽允许的范围内应该尽量大,运算放大器309的选型应重点参考增益带宽积这一参数,在本实施例中需要将20M以内的信号放大100倍,故增益带宽积至少需要达到2GHz,可使用ADI公司的超低失真高速运算放大器 AD8099,其增益带宽积可以达到3.8GHz,20MHz的增益约为45dB,略大于100 倍,满足设计需求。由所述的隔直放大电路放大以后的信号将进入后级滤波增益补偿电路对信号带宽进行更加精确的限制。如图3所示,二阶高通滤波电路中的两级RC滤波的参数分别为:电容301为15.7uF,电阻302为1kΩ,电容303为15.7uF,电阻304为1kΩ。The operational amplifier 309 selected in the DC-blocking amplifier circuit should be an operational amplifier with low voltage noise, and the magnification should be as large as possible within the range allowed by the bandwidth. The selection of the operational amplifier 309 should focus on referring to the parameter of the gain-bandwidth product. , in this embodiment, the signal within 20M needs to be amplified by 100 times, so the gain-bandwidth product needs to reach at least 2GHz. The ultra-low distortion high-speed operational amplifier AD8099 from ADI can be used, and its gain-bandwidth product can reach 3.8GHz, 20MHz gain About 45dB, slightly more than 100 times, to meet the design requirements. The signal amplified by the DC blocking amplifying circuit will enter the post-stage filtering gain compensation circuit to limit the signal bandwidth more accurately. As shown in Figure 3, the parameters of the two-stage RC filter in the second-order high-pass filter circuit are: capacitor 301 is 15.7uF, resistor 302 is 1kΩ, capacitor 303 is 15.7uF, and resistor 304 is 1kΩ.

在一个具体的实施例中,如图4、图5所示,本实施例需要构建10Hz-20MHz 的滤波增益补偿电路,由于考虑到硬件结构的复杂程度和滤波器的特点等因素。所述的滤波增益补偿电路包括依次串联的有源高通滤波电路、无源低通滤波电路;所述的运算放大器A1的输出端与有源高通滤波电路的输入端连接;所述的无源低通滤波电路的输出端与模数转换电路的输入端连接。In a specific embodiment, as shown in FIG. 4 and FIG. 5 , in this embodiment, a filter gain compensation circuit of 10Hz-20MHz needs to be constructed, because factors such as the complexity of the hardware structure and the characteristics of the filter are considered. The filter gain compensation circuit includes an active high-pass filter circuit and a passive low-pass filter circuit in series; the output end of the operational amplifier A1 is connected to the input end of the active high-pass filter circuit; the passive low-pass filter circuit is connected in series. The output end of the pass filter circuit is connected with the input end of the analog-to-digital conversion circuit.

如图4所示,所述的有源高通滤波电路将采用10阶巴特沃斯滤波器,所述的10阶巴特沃斯滤波器的特点是通带波纹较小,同时,其陡降为6dB每倍频,故当设定通带-3dB频点为10Hz,阻带-60dB频点设定为5Hz的情况时,易估算滤波器阶数为10阶。所述的10阶巴特沃斯滤波器将采用五级Sallen-Key电路结构,每级所述的Sallen-Key电路结构中包括独立的增益补偿电路,以补偿器件不理想对于滤波后波形的影响,保证输出模拟信号与输入模拟信号的幅值比例是 10:1。As shown in Figure 4, the active high-pass filter circuit will use a 10th-order Butterworth filter. The 10th-order Butterworth filter is characterized by a small passband ripple, and at the same time, its steep drop is 6dB Therefore, when the frequency point of -3dB in the passband is set to 10Hz, and the frequency point of -60dB in the stopband is set to 5Hz, it is easy to estimate that the filter order is 10th order. The 10th-order Butterworth filter will use a five-stage Sallen-Key circuit structure, and each stage of the Sallen-Key circuit structure includes an independent gain compensation circuit to compensate for the influence of the unideal device on the filtered waveform, Ensure that the amplitude ratio of the output analog signal to the input analog signal is 10:1.

在一个具体的实施例中,以第一级为例,如图4所示,所述的Sallen-Key电路结构包括电容401、电容403、正反馈电阻402、接地电阻404、放大器405、电阻406、电阻407;In a specific embodiment, taking the first stage as an example, as shown in FIG. 4 , the Sallen-Key circuit structure includes a capacitor 401 , a capacitor 403 , a positive feedback resistor 402 , a grounding resistor 404 , an amplifier 405 , and a resistor 406 , resistor 407;

所述的电容401的一端与运算放大器A1的输出端连接;所述的电容401的另一端依次与电容403、放大器405的正输入端连接;One end of the capacitor 401 is connected to the output end of the operational amplifier A1; the other end of the capacitor 401 is connected to the positive input end of the capacitor 403 and the amplifier 405 in turn;

所述的正反馈电阻402的一端接在电容401、电容403之间;所述的正反馈电阻402的另一端接在放大器405的输出端;One end of the positive feedback resistor 402 is connected between the capacitor 401 and the capacitor 403; the other end of the positive feedback resistor 402 is connected to the output end of the amplifier 405;

所述的接地电阻404的一端接在电容403与放大器405的正输入端之间;One end of the grounding resistor 404 is connected between the capacitor 403 and the positive input end of the amplifier 405;

所述的放大器405的输出端与下一级的Sallen-Key电路结构的输出端连接;同时所述的放大器405的输出端依次通过电阻406、电阻407接地;The output end of the amplifier 405 is connected with the output end of the Sallen-Key circuit structure of the next stage; at the same time, the output end of the amplifier 405 is grounded through the resistor 406 and the resistor 407 in turn;

所述的放大器405的负输入端接在电阻406、电阻407之间。The negative input terminal of the amplifier 405 is connected between the resistor 406 and the resistor 407 .

此外,电阻406和电阻407为运放的比例放大电阻,确定运算放大器405的放大倍数,如第一级Sallen-Key有源高通滤波器的结构一共有五级,其电路结构是完全相同的,但选择的器件参数有所区别。优选的,所述的有源高通滤波电路中选用的器件理想参数如表1所示,使用中应根据波形的实际情况进行调整:In addition, the resistor 406 and the resistor 407 are the proportional amplification resistors of the operational amplifier, which determine the amplification factor of the operational amplifier 405. For example, the structure of the first-stage Sallen-Key active high-pass filter has a total of five stages, and its circuit structure is exactly the same. But the selected device parameters are different. Preferably, the ideal parameters of the device selected in the active high-pass filter circuit are shown in Table 1, and should be adjusted according to the actual situation of the waveform in use:

表1有源高通滤波电路的参数表Table 1 Parameter table of active high-pass filter circuit

Figure RE-GDA0002866775110000081
Figure RE-GDA0002866775110000081

在一个具体的实施例中,所述的无源低通滤波电路采用14阶椭圆滤波器,通带-3dB频点为20MHz,阻带-60dB频点设定为20.5MHz,由于巴特沃斯滤波器的陡降较小,无法以较少阶数达到设定的衰减指标,故最终采用椭圆滤波器这一陡降最大的滤波器来实现低通滤波器的结构。其中,整个电路的结构可以视为电感与电容的并联结构与电容串联的多级无源器件滤波网络,如图5的结构所示。其中电阻501为阻抗匹配电阻,所述的无源低通滤波电路的特性阻抗为50 Ω,后级的高速高分辨率模数转换电路也需要阻抗匹配网络用于匹配50欧姆的输出阻抗,减小信号的反射。所述的14阶椭圆滤波器的参数如表2所示:In a specific embodiment, the passive low-pass filter circuit uses a 14th-order elliptic filter, the passband -3dB frequency is set to 20MHz, and the stopband -60dB frequency is set to 20.5MHz. Due to Butterworth filtering The steep drop of the filter is small, and the set attenuation index cannot be achieved with a small number of orders, so the elliptic filter, the filter with the largest steep drop, is finally used to realize the structure of the low-pass filter. Among them, the structure of the whole circuit can be regarded as a multi-stage passive device filtering network in which the parallel structure of the inductor and the capacitor and the capacitor are connected in series, as shown in the structure of FIG. 5 . The resistor 501 is an impedance matching resistor, the characteristic impedance of the passive low-pass filter circuit is 50 Ω, and the high-speed high-resolution analog-to-digital conversion circuit of the latter stage also needs an impedance matching network to match the output impedance of 50 Ω, reducing the output impedance of 50 Ω. reflections of small signals. The parameters of the 14th-order ellipse filter are shown in Table 2:

表2 14阶椭圆滤波器电路的参数表Table 2 Parameter table of 14th order elliptic filter circuit

标号label 器件类型Device Type 参数或型号parameter or model 501501 电阻resistance 50Ω50Ω 502502 电感inductance 312.2nH312.2nH 503503 电容capacitance 169.9pF169.9pF 504504 电感inductance 399.5nH399.5nH 505505 电容capacitance 94.18pF94.18pF 506506 电容capacitance 127.4pF127.4pF 507507 电感inductance 212.2nH212.2nH 508508 电容capacitance 267.9pF267.9pF 509509 电容capacitance 71.77pF71.77pF 510510 电感inductance 134nH134nH 511511 电容capacitance 453.4pF453.4pF 512512 电容capacitance 61.15pF61.15pF 513513 电感inductance 158.3nH158.3nH 514514 电容capacitance 377.1pF377.1pF 515515 电容capacitance 95.54pF95.54pF 516516 电感inductance 291.1nH291.1nH 517517 电容capacitance 173.1pF173.1pF 518518 电容capacitance 169.7pF169.7pF 519519 电感inductance 458.7nH458.7nH 520520 电容capacitance 38.95pF38.95pF 521521 电容capacitance 90.91pF 90.91pF

在一个具体的实施例中,如图6所示,本实施例中测量的纹波信号带宽设计在10Hz-20MHz,为了充分保证还原出的信号内容的真实度,要求在最高频率时的信号,一个周期内必须采集到10个点,也就是采样率fS=20MHz*10=200MSPS,图6中高速高精度的模数转换器607,根据计算的结果,可采用ADI公司的集成式高速高精度流水线型模数转换器LTC2107,该模数转换器607的精度为16bit,采样速度为模数转换器607的前级需要高精度的单端转差分结构,将滤波与增益补偿电路输出的单端对地波形转为差分输入,其核心结构是全差分运算放大器605,根据要求的20MHz的信号带宽,所述的全差分运算放大器605将选用ADI 公司的ADA4945-1,其-3dB带宽60MHz,大于设定的信号频率上限20MHz,可以正常使用。In a specific embodiment, as shown in FIG. 6 , the bandwidth of the ripple signal measured in this embodiment is designed to be 10Hz-20MHz. In order to fully ensure the authenticity of the restored signal content, the signal at the highest frequency is required, 10 points must be collected in one cycle, that is, the sampling rate f S = 20MHz*10 = 200MSPS, the high-speed and high-precision analog-to-digital converter 607 in Figure 6, according to the calculation results, can use ADI's integrated high-speed high-speed Precision pipeline analog-to-digital converter LTC2107, the precision of the analog-to-digital converter 607 is 16bit, and the sampling speed is the pre-stage of the analog-to-digital converter 607, which requires a high-precision single-ended to differential structure. The end-to-ground waveform is converted into a differential input, and its core structure is a fully differential operational amplifier 605. According to the required signal bandwidth of 20MHz, the fully differential operational amplifier 605 will use the ADA4945-1 of Analog Devices, whose -3dB bandwidth is 60MHz, It can be used normally if it is greater than the set signal frequency upper limit of 20MHz.

本实施例中所述的模数转换电路包括阻抗匹配网络601、阻抗匹配网络602、全差分运算放大器605、反馈电阻603、反馈电阻604、滤波网络606、参考电压源608、模数转换器607;The analog-to-digital conversion circuit described in this embodiment includes an impedance matching network 601 , an impedance matching network 602 , a fully differential operational amplifier 605 , a feedback resistor 603 , a feedback resistor 604 , a filter network 606 , a reference voltage source 608 , and an analog-to-digital converter 607 ;

所述的全差分运算放大器605的正输入端依次与阻抗匹配网络601、无源低通滤波电路的输出端连接;The positive input terminal of the fully differential operational amplifier 605 is sequentially connected to the impedance matching network 601 and the output terminal of the passive low-pass filter circuit;

所述的全差分运算放大器605的负输入端通过阻抗匹配网络602接地;The negative input terminal of the fully differential operational amplifier 605 is grounded through the impedance matching network 602;

所述的全差分运算放大器605的负输出端、正输出端通过滤波网络606与模数转换器607连接;The negative output terminal and the positive output terminal of the fully differential operational amplifier 605 are connected to the analog-to-digital converter 607 through the filter network 606;

所述的反馈电阻603的一端与全差分运算放大器605的正输入端连接,所述的反馈电阻603的另一端与全差分运算放大器605的负输出端连接;One end of the feedback resistor 603 is connected to the positive input end of the fully differential operational amplifier 605, and the other end of the feedback resistor 603 is connected to the negative output end of the fully differential operational amplifier 605;

所述的反馈电阻604的一端与全差分运算放大器605的负输入端连接,所述的反馈电阻604的另一端与全差分运算放大器605的正输出端连接;One end of the feedback resistor 604 is connected to the negative input end of the fully differential operational amplifier 605, and the other end of the feedback resistor 604 is connected to the positive output end of the fully differential operational amplifier 605;

所述的参考电压源608输入模数转换器607。The reference voltage source 608 is input to the analog-to-digital converter 607 .

所述的反馈电阻603和反馈电阻604的作用是匹配差分运发的放大倍数,将根据输入阻抗匹配放大倍数为2。所述的滤波网络606是由电阻、电容组成的低通滤波器,作用是限制输入信号的带宽,其带宽限制为20MHz。所述的参考电压源608,其要求为低温漂的参考电压源,为了限制其噪声,将在其输入模数转换器前可接入滤波网络,有利于进一步降低基准电压源的噪声。The functions of the feedback resistor 603 and the feedback resistor 604 are to match the amplification factor of the differential transmission, and the matching amplification factor is 2 according to the input impedance. The filtering network 606 is a low-pass filter composed of resistors and capacitors, and its function is to limit the bandwidth of the input signal, and its bandwidth is limited to 20MHz. The reference voltage source 608 is required to be a reference voltage source with low temperature drift. In order to limit its noise, a filter network can be connected before it is input to the analog-to-digital converter, which is beneficial to further reduce the noise of the reference voltage source.

在一个具体的实施例中,所述的数字信号处理电路包括主控芯片、存储单元;所述的主控芯片内置用于分析纹波频域特性的锁相放大算法,实现对接受到的数据进行处理;如图7中的电路结构所示,本实施例的数字信号处理电路采用的主控芯片是高端FPGA芯片,FPGA芯片由于其接口和硬件资源丰富、并行指令的易实现,非常适合高速数字信号读写和处理。本实施例采用ZYNQ-7000系列 FPGA芯片,其内部包含FPGA和ARM配合的硬件处理结构。根据前级模数转换器的选型,模数转换器607与主控芯片的采样数据将通过16位的并行差分 LVDS实现,所述的主控芯片读写模数转换器的控制字将采用SPI接口协议。所述的存储单元,用于存储模数转换器上传的数据和主控芯片处理后的数据。数据进入FPGA芯片中的存储单元后,将数据保存在两片1GB,1033MHz的DDR3 内存704上。但上位机纹波分析装置与主控芯片702通讯后,会通过高速总线将 DDR3中存储的数据发送至上位机纹波分析装置中。In a specific embodiment, the digital signal processing circuit includes a main control chip and a storage unit; the main control chip has a built-in lock-in amplification algorithm for analyzing the ripple frequency domain characteristics, so as to realize the processing of the received data. processing; as shown in the circuit structure in Figure 7, the main control chip used in the digital signal processing circuit of this embodiment is a high-end FPGA chip, and the FPGA chip is very suitable for high-speed digital due to its rich interface and hardware resources and easy implementation of parallel instructions. Signal reading and writing and processing. This embodiment adopts the ZYNQ-7000 series FPGA chip, which contains a hardware processing structure in which the FPGA and the ARM cooperate. According to the selection of the analog-to-digital converter of the previous stage, the sampling data of the analog-to-digital converter 607 and the main control chip will be realized by 16-bit parallel differential LVDS, and the control word of the main control chip to read and write the analog-to-digital converter will use SPI interface protocol. The storage unit is used to store the data uploaded by the analog-to-digital converter and the data processed by the main control chip. After the data enters the storage unit in the FPGA chip, the data is stored in two pieces of 1GB, 1033MHz DDR3 memory 704. However, after the upper computer ripple analysis device communicates with the main control chip 702, the data stored in DDR3 will be sent to the upper computer ripple analysis device through the high-speed bus.

本实施例所述的高压电源纹波分析系统的供电和时钟,由专门的电路703提供,对电源来说要求满足芯片最高算力下的电流需求,要求其供电纹波不能影响数字电路的正常功能。对时钟电路来说要求其时钟抖动、偏斜等参数尽可能小,可以使用温补晶振来作为外部时钟源,并由FPGA内部锁相环倍频并分配给高压电源纹波分析系统。The power supply and clock of the high-voltage power supply ripple analysis system described in this embodiment are provided by a special circuit 703. For the power supply, it is required to meet the current requirement under the highest computing power of the chip, and the power supply ripple is required to not affect the normal operation of the digital circuit. Function. For the clock circuit, the parameters such as clock jitter and skew are required to be as small as possible. A temperature-compensated crystal oscillator can be used as an external clock source, and the frequency is multiplied by the internal phase-locked loop of the FPGA and distributed to the high-voltage power supply ripple analysis system.

在一个具体的实施例中,如图8所示,本实施例对于纹波特性分析最为重要的数字算法即为锁相放大算法,其数学原理是三角函数的积化和差公式,即:In a specific embodiment, as shown in FIG. 8 , the most important digital algorithm for ripple characteristic analysis in this embodiment is the lock-in amplification algorithm, and its mathematical principle is the product sum difference formula of trigonometric functions, namely:

Figure RE-GDA0002866775110000111
Figure RE-GDA0002866775110000111

Figure RE-GDA0002866775110000112
Figure RE-GDA0002866775110000112

Figure RE-GDA0002866775110000113
Figure RE-GDA0002866775110000113

Figure RE-GDA0002866775110000114
Figure RE-GDA0002866775110000114

所述的锁相放大算法的原理即为将待测高压电源信号的数字信号分别与设定的参考电压源的数字正弦信号及数字余弦信号做乘法,假定待测信号中在参考频率有以下信号分量:The principle of the lock-in amplification algorithm is to multiply the digital signal of the high-voltage power supply signal to be measured with the digital sine signal and digital cosine signal of the set reference voltage source, assuming that the signal to be measured has the following signals at the reference frequency. Quantity:

S(t)=Aisin(ωt+φ)S(t)=A i sin(ωt+φ)

其中,ω为待测信号中与参考信号同频的信号分量,φ为该信号与参考信号的相位差,Ai为待测信号内与参考信号同频的信号的幅度,同理可以知道参考电压源的数字正弦信号和参考余弦信号分别如下:Among them, ω is the signal component of the same frequency as the reference signal in the signal to be tested, φ is the phase difference between the signal and the reference signal, A i is the amplitude of the signal of the same frequency as the reference signal in the signal to be tested. The digital sine signal and reference cosine signal of the voltage source are as follows:

S_REF_0=Arcos(ωt)S_REF_0=A r cos(ωt)

S_REF_1=Arsin(ωt)S_REF_1=A r sin(ωt)

根据前面推导给出的积化和差公式,当待测信号与参考信号相乘可以得到以下公式,图8中,802和805为数字乘法器,可以将数字正弦信号与待测信号做乘法:According to the product sum-difference formula deduced above, when the signal to be tested is multiplied by the reference signal, the following formula can be obtained. In Figure 8, 802 and 805 are digital multipliers, which can multiply the digital sinusoidal signal by the signal to be tested:

Figure RE-GDA0002866775110000115
Figure RE-GDA0002866775110000115

Figure RE-GDA0002866775110000116
Figure RE-GDA0002866775110000116

公式中,含有2ωt的信号为高频信号,利用一个数字低通滤波器803和806 可以将其滤除,滤波后的信号假定为S_OUT_0和S_OUT_1,分别等于:In the formula, the signal containing 2ωt is a high-frequency signal, which can be filtered out by a digital low-pass filter 803 and 806. The filtered signals are assumed to be S_OUT_0 and S_OUT_1, which are respectively equal to:

Figure RE-GDA0002866775110000121
Figure RE-GDA0002866775110000121

Figure RE-GDA0002866775110000122
Figure RE-GDA0002866775110000122

则滤波后信号中只包含与幅度和相位有关的值,利用平方求和和反正切的计算公式,即可知道待测信号的幅度与相位信息:Then the filtered signal only contains the values related to the amplitude and phase, and the amplitude and phase information of the signal to be measured can be known by using the calculation formula of the sum of squares and the arc tangent:

Figure RE-GDA0002866775110000123
Figure RE-GDA0002866775110000123

Figure RE-GDA0002866775110000124
Figure RE-GDA0002866775110000124

测量过程中采用参考信号扫频的方法即可求解出纹波信号中不同频点的幅度,从而实现对纹波信号频域信息的精确分析,同时采用这种方法可以极大的提升测量的精确度,因为除了同频信号外其他频率的信号与参考信号的相关性极弱,对此我们需要引入互相关函数的概念R12,R12的定义为:In the measurement process, the frequency sweeping method of the reference signal can be used to solve the amplitude of different frequency points in the ripple signal, so as to realize the accurate analysis of the frequency domain information of the ripple signal. At the same time, this method can greatly improve the accuracy of the measurement. Because the correlation between signals of other frequencies and the reference signal is extremely weak except for the same frequency signal, we need to introduce the concept of cross-correlation function R 12 , and the definition of R 12 is:

Figure RE-GDA0002866775110000125
Figure RE-GDA0002866775110000125

假定参考信号与待测正弦信号不同频,则参考信号和待测正弦信号分别为:Assuming that the reference signal and the sinusoidal signal to be measured are not of the same frequency, the reference signal and the sinusoidal signal to be measured are respectively:

Si(t)=Aisin(ω1t+φ1)S i (t)=A i sin(ω 1 t+φ 1 )

Sr(t)=Arsin(ω2t+φ2)S r (t)=A r sin(ω 2 t+φ 2 )

则联合以上两组公式可得:Combining the above two sets of formulas can get:

Figure RE-GDA0002866775110000126
Figure RE-GDA0002866775110000126

由上式可知,当ω1=ω2时,上式的积分值的极限不为0。代入之前锁相放大算法的原理,计算一段时间内值的累加,其本质就是一种低通滤波器,故当参考信号与待测正弦信号同频时,其相关性最高,相关系数不为0,因而对待测信号与参考信号的乘积求和一段时间,可以滤除掉其他频带的信息,仅保留需要测量的频点的幅度和相位信息。以上即为锁相放大算法的核心内容。It can be seen from the above formula that when ω 12 , the limit of the integral value of the above formula is not 0. Substitute the principle of the lock-in amplification algorithm before, and calculate the accumulation of values within a period of time. Its essence is a low-pass filter. Therefore, when the reference signal and the sinusoidal signal to be measured have the same frequency, the correlation is the highest, and the correlation coefficient is not 0. , so that the product of the signal to be measured and the reference signal is summed for a period of time, the information of other frequency bands can be filtered out, and only the amplitude and phase information of the frequency point that needs to be measured are retained. The above is the core content of the lock-in amplification algorithm.

所述的数字信号处理电路在采集完模数转换结构输出的数字信号后,需要根据上位机纹波分析装置的指令及时将采样信号传输到上位机纹波分析装置705,进行进一步的数学统计处理,同时由于其短时间内的传输数据量十分巨大,主控芯片与上位机纹波分析装置的通讯需要使用,PCIe、以太网、USB等高速通讯协议。本实施例上位机纹波分析装置需要能对传输的信号进行实时的展示与统计,统计内容包括一段时间内的纹波最大最小值(峰峰值)、纹波有效值、纹波频率等参数。同时,上位机纹波分析装置可以调用硬件电路主控芯片的锁相放大算法,对纹波的频谱信息进行实时的计算,上位机纹波分析装置还可显示采集到的纹波信号的波形。After the digital signal processing circuit has collected the digital signal output by the analog-to-digital conversion structure, it needs to timely transmit the sampled signal to the upper computer ripple analysis device 705 according to the instruction of the upper computer ripple analysis device, and perform further mathematical statistical processing. At the same time, due to the huge amount of data transmitted in a short period of time, the communication between the main control chip and the upper computer ripple analysis device needs to use high-speed communication protocols such as PCIe, Ethernet, and USB. The host computer ripple analysis device in this embodiment needs to be able to display and make statistics on the transmitted signal in real time, and the statistics include parameters such as the maximum and minimum values of ripple (peak-to-peak value), RMS ripple, and ripple frequency within a period of time. At the same time, the host computer ripple analysis device can call the phase-lock amplification algorithm of the hardware circuit main control chip to calculate the ripple spectrum information in real time, and the host computer ripple analysis device can also display the waveform of the collected ripple signal.

根据以上的高压电源纹波分析系统,总共放大倍数为2000倍,若假设输入纹波信号的幅度为1mV,则最后进入模数转换器中的纹波信号约为2V,LTC2107 模数转换器的SNR约为80dB,则其ENOB=(80-1.76)/6.02≈13bit,则AD分辨率为2.5V/2^13≈305uV,等效为对于纹波的真实分辨率为305uV/2000≈ 152.6nV。以上分辨率能较好地呈现出10uV-1mV纹波的波形情况。According to the above high-voltage power supply ripple analysis system, the total amplification factor is 2000 times. If the amplitude of the input ripple signal is assumed to be 1mV, the final ripple signal entering the analog-to-digital converter is about 2V. The SNR is about 80dB, then its ENOB=(80-1.76)/6.02≈13bit, then the AD resolution is 2.5V/2^13≈305uV, which is equivalent to the real resolution of the ripple is 305uV/2000≈152.6nV . The above resolution can better present the waveform of 10uV-1mV ripple.

显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Obviously, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, rather than limiting the embodiments of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the claims of the present invention.

Claims (11)

1. The utility model provides a high voltage power supply ripple measures analytic system based on lock-in amplification algorithm which characterized in that: the high-voltage power supply ripple analysis system comprises a high-voltage input circuit, a blocking amplification circuit, a filtering gain compensation circuit, an analog-to-digital conversion circuit and a digital signal processing circuit; wherein,
the high-voltage input circuit is used for accessing a signal of a high-voltage power supply to be tested and providing different loads for the high-voltage power supply so as to realize ripple characteristic measurement under different loads;
the DC blocking amplifying circuit is used for isolating DC high voltage and amplifying AC ripples;
the filter gain compensation circuit is used for carrying out frequency band limitation on an analog ripple signal acquired by the amplified alternating current ripple;
the analog-to-digital conversion circuit is used for converting the analog ripple wave signal collected by the filter gain compensation circuit into a digital signal;
the digital signal processing circuit collects and processes the obtained digital signal by adopting a phase-locked amplification algorithm and further limits the frequency band of the collected digital signal.
2. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 1, wherein: the high-voltage power supply ripple analysis system also comprises an upper computer ripple analysis device, and the upper computer ripple analysis device further analyzes the result processed by the digital signal processing circuit; and displaying the waveform of the collected ripple signal.
3. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 2, wherein: the high-voltage input circuit comprises a high-voltage input joint with protection and an adjustable load circuit formed by connecting a multi-way switch and a power resistor in series;
after the high-voltage input joint with the protection is connected with a high-voltage power supply, the high-voltage input joint is input into the blocking amplification circuit through the adjustable load circuit, and the ripple characteristics under different loads are measured through gating the multi-way switch.
4. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 3, wherein: the multi-way switch realizes multi-way selection by connecting a plurality of single-pole double-throw relays in series.
5. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 4, wherein: the blocking amplification circuit comprises a second-order high-pass filter circuit for filtering high-voltage direct-current signals, an operational amplifier A1 for amplifying alternating-current ripples, a single-pole double-throw relay for preventing overshoot surge from damaging the operational amplifier, a ground resistor (305), a first proportional amplification resistor (306) and a second proportional amplification resistor (307);
the input end of the second-order high-pass filter circuit is connected to the output end of the high-voltage input circuit; the output end of the second-order high-pass filter circuit is connected with one gating end of the single-pole double-throw relay;
the gating end at the other end of the single-pole double-throw relay is grounded through a grounding resistor (305);
the central port of the single-pole double-throw relay is connected with the positive input end of an operational amplifier A1;
the first proportional amplifying resistor (306) and the second proportional amplifying resistor (307) are sequentially connected in series to the output end of the operational amplifier A1;
the negative input end of the operational amplifier A1 is connected between the first proportional amplifying resistor (306) and the second proportional amplifying resistor (307);
the output end of the operational amplifier A1 transmits the amplified AC ripple signal to the filter gain compensation circuit.
6. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 5, wherein: the filter gain compensation circuit comprises an active high-pass filter circuit and a passive low-pass filter circuit which are sequentially connected in series; the output end of the operational amplifier A1 is connected with the input end of the active high-pass filter circuit; the output end of the passive low-pass filter circuit is connected with the input end of the analog-to-digital conversion circuit.
7. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 6, wherein: the active high-pass filter circuit adopts a 10-order Butterworth filter, the 10-order Butterworth filter adopts a 5-level Sallen-Key circuit structure, each level of Sallen-Key circuit structure comprises an independent gain compensation circuit, and the amplitude ratio of an output analog signal to an input analog signal is guaranteed to be 10: 1.
8. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 7, wherein: the Sallen-Key circuit structure comprises capacitors (401, 403), a positive feedback resistor (402), a grounding resistor (404), an amplifier (405) and resistors (406, 407);
one end of the capacitor (401) is connected with the output end of the operational amplifier A1; the other end of the capacitor (401) is sequentially connected with the positive input end of the capacitor (403) and the positive input end of the amplifier (405);
one end of the positive feedback resistor (402) is connected between the capacitor (401) and the capacitor (403); the other end of the positive feedback resistor (402) is connected with the output end of the amplifier (405);
one end of the grounding resistor (404) is connected between the capacitor (403) and the positive input end of the amplifier (405);
the output end of the amplifier (405) is connected with the output end of the Sallen-Key circuit structure of the next stage; meanwhile, the output end of the amplifier (405) is grounded through a resistor (406) and a resistor (407) in sequence;
the negative input end of the amplifier (405) is connected between the resistor (406) and the resistor (407).
9. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 8, wherein: the passive low-pass filter circuit adopts a 14-order elliptic filter, and the characteristic impedance of the passive low-pass filter circuit is 50 omega.
10. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 9, wherein: the analog-to-digital conversion circuit comprises impedance matching networks (601, 602), a fully differential operational amplifier (605), feedback resistors (603, 604), a filter network (606), a reference voltage source (608) and an analog-to-digital converter (607);
the positive input end of the fully differential operational amplifier (605) is connected with the output ends of the impedance matching network (601) and the passive low-pass filter circuit in sequence;
the negative input end of the fully differential operational amplifier (605) is grounded through an impedance matching network (602);
the negative output end and the positive output end of the fully differential operational amplifier (605) are connected with an analog-to-digital converter (607) through a filter network (606);
one end of the feedback resistor (603) is connected with the positive input end of the fully differential operational amplifier (605), and the other end of the feedback resistor (603) is connected with the negative output end of the fully differential operational amplifier (605);
one end of the feedback resistor (604) is connected with the negative input end of the fully differential operational amplifier (605), and the other end of the feedback resistor (604) is connected with the positive output end of the fully differential operational amplifier (605);
the reference voltage source (608) is input into the analog-to-digital converter (607).
11. The system for measuring and analyzing the ripple of the high-voltage power supply based on the phase-locked amplification algorithm according to claim 10, wherein: the digital signal processing circuit comprises a main control chip and a storage unit;
the reading of the sampling data of the analog-to-digital converter by the main control chip is realized by 16-bit parallel differential LVDS; the control word of the main control chip read-write analog-digital converter is transmitted by adopting an SPI (serial peripheral interface) protocol; the main control chip is internally provided with a phase-locked amplification algorithm for analyzing the ripple frequency domain characteristics, so that the received data is processed;
and the storage unit is used for storing the data uploaded by the analog-to-digital converter and the data processed by the main control chip.
CN202011251058.5A 2020-11-11 2020-11-11 High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm Pending CN112485697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011251058.5A CN112485697A (en) 2020-11-11 2020-11-11 High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011251058.5A CN112485697A (en) 2020-11-11 2020-11-11 High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm

Publications (1)

Publication Number Publication Date
CN112485697A true CN112485697A (en) 2021-03-12

Family

ID=74929477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011251058.5A Pending CN112485697A (en) 2020-11-11 2020-11-11 High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm

Country Status (1)

Country Link
CN (1) CN112485697A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113466735A (en) * 2021-09-06 2021-10-01 西安热工研究院有限公司 Variable power supply monitoring circuit
CN113810021A (en) * 2021-08-13 2021-12-17 天津大学 Novel reconfigurable filter
CN116818795A (en) * 2023-08-31 2023-09-29 中国地质大学(武汉) Pipeline photoelectric nondestructive testing system
CN118536566A (en) * 2024-05-13 2024-08-23 成都信息工程大学 Analog AI operation architecture

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154379A (en) * 1998-07-16 2000-11-28 Tdk Corporation Electric power conversion device
CN101408594A (en) * 2008-09-04 2009-04-15 温州市科星电子有限公司 Device suitable for monitoring direct-current power supply ripple coefficient
CN102340294A (en) * 2010-07-21 2012-02-01 中国科学院微电子研究所 Four-order active LC radio frequency band-pass filter
CN102594157A (en) * 2012-04-05 2012-07-18 重庆安谐新能源技术有限公司 Signal acquisition device and processing method for alternating current power current-sharing output system
CN104034937A (en) * 2014-05-28 2014-09-10 陕西海泰电子有限责任公司 Multi-channel nV-grade AC (alternate current) voltage detecting device and method
CN106405236A (en) * 2016-10-27 2017-02-15 中国地质大学(武汉) Weak ripple and harmonic voltage detection device and method for direct-current voltage-stabilized power supply
CN107783062A (en) * 2017-11-27 2018-03-09 厦门亿联网络技术股份有限公司 A kind of ripple determiner
CN108549039A (en) * 2018-04-13 2018-09-18 同济大学 A kind of Switching Power Supply ripple measuring circuit
CN109164399A (en) * 2018-09-10 2019-01-08 大族激光科技产业集团股份有限公司 Power detecting system and test method
CN109490794A (en) * 2018-10-18 2019-03-19 湖南恩智测控技术有限公司 A kind of power supply ripple test circuit and test method
CN111669177A (en) * 2019-03-05 2020-09-15 合肥杰发科技有限公司 Analog-digital converter

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6154379A (en) * 1998-07-16 2000-11-28 Tdk Corporation Electric power conversion device
CN101408594A (en) * 2008-09-04 2009-04-15 温州市科星电子有限公司 Device suitable for monitoring direct-current power supply ripple coefficient
CN102340294A (en) * 2010-07-21 2012-02-01 中国科学院微电子研究所 Four-order active LC radio frequency band-pass filter
CN102594157A (en) * 2012-04-05 2012-07-18 重庆安谐新能源技术有限公司 Signal acquisition device and processing method for alternating current power current-sharing output system
CN104034937A (en) * 2014-05-28 2014-09-10 陕西海泰电子有限责任公司 Multi-channel nV-grade AC (alternate current) voltage detecting device and method
CN106405236A (en) * 2016-10-27 2017-02-15 中国地质大学(武汉) Weak ripple and harmonic voltage detection device and method for direct-current voltage-stabilized power supply
CN107783062A (en) * 2017-11-27 2018-03-09 厦门亿联网络技术股份有限公司 A kind of ripple determiner
CN108549039A (en) * 2018-04-13 2018-09-18 同济大学 A kind of Switching Power Supply ripple measuring circuit
CN109164399A (en) * 2018-09-10 2019-01-08 大族激光科技产业集团股份有限公司 Power detecting system and test method
CN109490794A (en) * 2018-10-18 2019-03-19 湖南恩智测控技术有限公司 A kind of power supply ripple test circuit and test method
CN111669177A (en) * 2019-03-05 2020-09-15 合肥杰发科技有限公司 Analog-digital converter

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
AMO_REV: "浅谈输入阻抗、输出阻抗和阻抗匹配", 《CSDN:HTTPS://BLOG.CSDN.NET/AMO_REV/ARTICLE/DETAILS/78820902》 *
LEEJIAC: "全差分运算放大器ADA4930的分析(1)", 《博客园:HTTPS://WWW.CNBLOGS.COM/LEEJIAC/P/6229356.HTML》 *
ROBERT A. PEASE: "《模拟电路》", 31 July 2014, 北京航空航天大学出版社 *
孙肖子 等: "《模拟电子电路及技术基础》", 30 April 2017, 西安电子科技大学出版社 *
江晓安 等: "《模拟电子技术》", 30 April 2016, 西安电子科技大学出版社 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810021A (en) * 2021-08-13 2021-12-17 天津大学 Novel reconfigurable filter
CN113810021B (en) * 2021-08-13 2024-04-05 天津大学 Novel reconfigurable filter
CN113466735A (en) * 2021-09-06 2021-10-01 西安热工研究院有限公司 Variable power supply monitoring circuit
CN113466735B (en) * 2021-09-06 2022-02-11 西安热工研究院有限公司 Variable power supply monitoring circuit
CN116818795A (en) * 2023-08-31 2023-09-29 中国地质大学(武汉) Pipeline photoelectric nondestructive testing system
CN116818795B (en) * 2023-08-31 2023-12-19 中国地质大学(武汉) A pipeline photoelectric non-destructive inspection system
CN118536566A (en) * 2024-05-13 2024-08-23 成都信息工程大学 Analog AI operation architecture

Similar Documents

Publication Publication Date Title
US10627959B2 (en) Differential circuit, capacitance detection circuit, touch detection device and terminal device
CN112485697A (en) High-voltage power supply ripple measurement and analysis system based on phase-locked amplification algorithm
CN104007322B (en) High-precision data acquisition system for electrical impedance imaging
CN102095904B (en) Signal acquisition system having a compensation digital filter
CN107666300B (en) Signal filtering processing comparison system based on analog-to-digital converter
CN101587172B (en) Secondary battery testing system
CN211348423U (en) High-frequency signal measuring device
CN102213603A (en) Singlechip-based low-frequency weak signal detector
CN101566845A (en) Multi-channel synchronous vibration data collecting system
US7423480B2 (en) AC amplifier for precision measurement
CN108037156A (en) Multifrequency electrical impedance tomography system based on reference measure
CN107643445A (en) Amplitude measurement method and system based on high-speed comparator and RC integrating circuit
CN108333420A (en) A kind of Low Frequency Sine Signals peak detector and peak-value detection method
CN207399155U (en) Signal filtering process Compare System based on analog-digital converter
CN112798908B (en) High-voltage signal source, dielectric response test equipment, test system and test method
CN207198217U (en) A kind of multifunctional virtual oscillograph based on expansible platform
CN112269062B (en) Valve section module element impedance tester
CN206649085U (en) A kind of device of acquisition pulse rise time
CN203414549U (en) Ultra-low power test power meter
CN208092129U (en) A kind of amplitude versus frequency characte tester based on FPGA and ARM
CN218037249U (en) Detection circuit for switching power supply
CN112630524A (en) Low-current signal acquisition processing circuit and acquisition processing method
CN109683008A (en) A kind of voltage collection circuit of the APD module based on flow cytometer
CN217278623U (en) A line load network detection and fault location device
CN214585873U (en) Front amplifying circuit of circuit breaker detection device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312