High-precision electric energy metering analog front end based on continuous time Delta-Sigma modulator
By using continuous time Delta-Sigma modulator and chopping stability technology in high-precision electrical energy metering devices, shaping sampling error and quantization noise, the problems of degradation of noise performance of traditional discrete time modulators and complex integrator design are solved, and the problem of further development is achieved. High noise performance and lower power consumption.
Patent Information
- Application Number
- CN202411143533.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-15
AI Technical Summary
In traditional high-precision electrical energy metering devices, the discrete-time Delta-Sigma modulator leads to a degradation of noise performance due to sampling errors caused by the sampling process, and the integrator design is complex and the power consumption is high.
Using a continuous time Delta-Sigma modulator, the shaping sampling error and quantization noise are reduced by continuous time integrator and chopping stability technology, DC offset and flicker noise are reduced, and anti-aliasing filters are cancelled.
Significantly improve noise performance, reduce overall power consumption of analog front-end, reduce system error, reduce anti-aliasing filter design difficulty, and reduce overall cost.
Smart Images

Figure CN118971890A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of analog front-end circuits and relates to a high-precision electric energy metering analog front-end based on a continuous-time Delta-Sigma modulator. Background Art
[0002] like Figure 1 As shown in the figure, the traditional high-precision electric energy metering device usually consists of the following four parts: anti-aliasing filter, programmable gain amplifier (PGA), Delta-Sigma modulator and DSP / MCU. Among them, the anti-aliasing filter, PGA and Delta-Sigma modulator process analog signals and do not involve digital signal processing, so they are called electric energy metering analog front end. The analog signal to be measured, such as the single-phase and three-phase voltage signals after voltage division, first passes through the anti-aliasing filter to filter out high-frequency interference signals and prevent high-frequency interference from aliasing into the useful signal band; then it passes through the controllable amplification of the PGA and enters the Delta-Sigma modulator. The analog signal is sampled and noise-shaped in the modulator, and finally a high-frequency multi-bit data stream is obtained. In the DSP / MCU unit, the high-speed data stream is down-sampled, digitally filtered and the power quality calculation unit, and finally a digital output representing the power quality (active power, reactive power, etc.) is obtained.
[0003] The Delta-Sigma modulator uses oversampling and noise shaping technology to sample and quantize the input signal, and to shape the quantization noise, moving the low-frequency noise outside the signal bandwidth; the DSP / MCU unit filters out the noise outside the signal bandwidth and reduces the output sampling frequency to the Nyquist frequency. Among them, the modulator is a key module in the high-precision electric energy metering analog front end, and the conversion accuracy of the metering device is closely related to the performance of the modulator.
[0004] High-precision energy metering analog front-end circuits usually use discrete time (DT) Delta-Sigma modulators, whose structure is as follows: Figure 2As shown. The analog input signal is sampled before entering the discrete time integrator H(z), so the discrete time Delta-Sigma modulator is processing discrete time signals. Since the sampling process occurs at the signal input end, the sampling error caused by the incomplete establishment of the signal will be directly transferred to the modulator output end together with the input signal through the signal transfer function (Signal Transform Function, STF), and cannot be shaped and suppressed by the noise transfer function (Noise Transform Function, NTF). Therefore, the sampling error will eventually lead to a decrease in the noise performance of the modulator. In addition, the discrete time integrator needs to respond quickly to the input signal within half a clock cycle and establish well, which requires the unit gain bandwidth of the integrator to be much larger than the clock frequency, usually more than 5 times. This will not only increase the design complexity of the integrator circuit, but also lead to higher power consumption. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a high-precision electric energy metering analog front-end architecture based on a continuous-time Delta-Sigma modulator, which utilizes the inherent anti-aliasing characteristics of the continuous-time modulator to effectively reduce the difficulty of designing the analog front-end anti-aliasing circuit, and can even directly cancel the anti-aliasing circuit. Through the chopper stabilization technology, the DC offset and flicker noise of the continuous-time modulator are greatly reduced.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A high-precision electric energy metering analog front end based on a continuous-time Delta-Sigma modulator comprises an anti-aliasing filter, a programmable gain amplifier PGA and a continuous-time Delta-Sigma modulator; the anti-aliasing filter is used to filter out high-frequency interference signals; the programmable gain amplifier PGA is used to achieve controllable signal amplification, and the continuous-time Delta-Sigma modulator is used to shape sampling errors and quantization noise;
[0008] The continuous-time Delta-Sigma modulator includes a continuous-time integrator, a sampling circuit, an analog-to-digital converter ADC, and a digital-to-analog converter DAC; the continuous-time integrator is used to integrate the input signal and accumulate the error of the input signal, thereby realizing the shaping of the quantization noise; the sampling circuit is used to sample the signal shaped by the continuous-time integrator; the ADC is used to quantize the sampled signal, and the DAC is used to convert the digital signal into an analog signal and calculate the difference with the analog input signal.
[0009] Furthermore, the signal transfer function of a first-order continuous-time Delta-Sigma modulator is:
[0010] STF(f)=e-jπf sinc(f)
[0011] Where f represents the signal frequency, j is the imaginary unit, and sinc represents the sinc function.
[0012] Furthermore, the continuous time integrator is a fully differential active RC integrator with chopper stabilization. Before entering the operational transconductance amplifier OTA, the chopper modulation circuit modulates the analog low frequency signal to the chopping frequency f chop Nearby; OTA generates an offset voltage V while amplifying the signal. os and flicker noise V n ; The chopper demodulation circuit turns f chop The nearby useful signal is restored to the low frequency band, and the V os and V n Modulated to the chopping frequency f chop nearby.
[0013] Further, the fully differential active RC integrator with chopper stabilization is specifically as follows:
[0014] Eight CMOS switches are added between the resistor of the RC integrator and the operational amplifier, and between the operational amplifier and the output terminal to form a fully differential active RC integrator with chopper stabilization.
[0015] Furthermore, the operational amplifier adopts a fully differential folded common source and common gate structure, uses a PMOS input pair tube, utilizes its independent N-well to eliminate the substrate bias effect, and uses an error amplifier to achieve common mode feedback; the CMOS switch uses two parallel PMOS and NMOS to achieve the opening and closing of the switch under the control of the inverted clocks S and Sn.
[0016] Furthermore, the operational amplifier includes a P-type fully differential input pair, an NMOS current mirror pair, an NMOS common gate pair, a PMOS common source and common gate pair, a common mode feedback resistor and capacitor, and a common mode error amplifier; the P-type fully differential input pair is connected to input terminals Vin and Vip; the PMOS common source and common gate pair is connected to signals Vb1 and Vb2; the NMOS common gate pair is connected to signal Vb3; the NMOS current mirror pair is connected to signal Vb4; the common mode feedback resistor and capacitor are connected to output terminals Von and Vop; the non-inverting input terminal of the common mode error amplifier is connected to output terminals Von and Vop, the inverting input terminal is connected to a reference voltage Vref, the output terminal is connected to the gate of the PMOS tube, the source of the PMOS tube is connected to VDD, and the drain is connected to the input terminals Vin and Vip.
[0017] Furthermore, the timing control of the operational amplifier includes two-phase non-overlapping clocks S1 and S2, and inverted clocks S and Sn, which are used to control the CMOS transmission switch.
[0018] The beneficial effects of the present invention are: compared with the traditional architecture, the present invention can significantly improve the noise performance, reduce the overall power consumption of the analog front end, reduce the system error caused by sampling, effectively reduce the difficulty of designing the analog front end anti-aliasing filter, and reduce the overall cost. The present invention greatly reduces the DC offset and flicker noise of the modulator through the chopper stabilization technology; the continuous time modulator scheme can reduce the overall power consumption, reduce the design difficulty of the pre-anti-aliasing filter, and even in some relatively low-precision application scenarios, the pre-anti-aliasing filter can be removed to make full use of the inherent anti-aliasing characteristics of the continuous time modulator.
[0019] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
[0021] Figure 1 This is a schematic diagram of the structure of a traditional high-precision electric energy metering device;
[0022] Figure 2 Schematic diagram of the discrete time Delta-Sigma modulator structure;
[0023] Figure 3 It is a schematic diagram of the structure of a continuous-time Delta-Sigma modulator;
[0024] Figure 4 It is a schematic diagram of the frequency characteristics of a first-order continuous-time Delta-Sigma modulator;
[0025] Figure 5 It is a schematic diagram of the structure of a fully differential active RC integrator with chopper stabilization;
[0026] Figure 6 is a schematic diagram of the operational amplifier structure in the integrator;
[0027] Figure 7 It is a schematic diagram of the CMOS switch structure;
[0028] Figure 8 This is a timing diagram of non-overlapping clocks. DETAILED DESCRIPTION
[0029] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
[0030] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.
[0031] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0032] The present invention provides a high-precision electric energy metering analog front end based on a continuous-time Delta-Sigma modulator, comprising an anti-aliasing filter, a programmable gain amplifier PGA and a continuous-time Delta-Sigma modulator. The anti-aliasing filter is used to filter out high-frequency interference signals; the programmable gain amplifier PGA is used to achieve controllable signal amplification; and the continuous-time Delta-Sigma modulator is used to shape sampling errors and quantization noise.
[0033] The main differences between the continuous-time Delta-Sigma modulator and the discrete-time modulator are two points: 1. The sampling circuit is transferred from before the integrator to after the integrator. According to the Delta-Sigma modulation principle, the sampling error and quantization noise are shaped and suppressed together, which greatly reduces the impact of the sampling error on the system noise performance; 2. The integrator structure is changed from discrete time to continuous time. The former uses a switched capacitor integrator and the latter uses an RC integrator, which significantly reduces the bandwidth design requirements of the operational amplifier and reduces the power consumption of the operational amplifier. Specifically, the continuous-time Delta-Sigma modulator structure is as follows: Figure 3 As shown, Figure 3 In the figure, CT represents continuous time signal (Continuous Time), DT represents discrete time signal (Discrete Time); the symbol "-" represents the subtraction operation between the input signal and the feedback signal at the adder ⊕. The structure includes a continuous time integrator, a sampling circuit, an analog-to-digital converter ADC, and a digital-to-analog converter DAC; the continuous time integrator is used to integrate the input signal and accumulate the error of the input signal, thereby realizing the shaping of the quantization noise; the sampling circuit is used to sample the signal shaped by the continuous time integrator; the ADC is used to quantize the sampled signal, and the DAC is used to convert the digital signal into an analog signal and calculate the difference with the analog input signal.
[0034] The present invention uses a second-order continuous-time Delta-Sigma modulator with two-stage integrator cascade to shape the sampling error and quantization noise. The signal transfer function of a first-order continuous-time Delta-Sigma modulator is as follows:
[0035] STF(f)=e -jπf sinc(f)
[0036] Where f is the signal frequency, j is the imaginary unit, and sinc is the sinc function. The frequency characteristics of a first-order continuous-time Delta-Sigma modulator are as follows: Figure 4 As shown, the DC gain of STF is 1, and it is zero at non-zero integer multiples of the sampling frequency. According to the sampling theorem, the frequency components near the integer multiples of fs will be aliased into the signal band during sampling, and the signal transfer function of the continuous-time modulator can greatly attenuate this part of the frequency components. This is the inherent anti-aliasing characteristic of the continuous-time modulator. In addition, high-order continuous-time modulators have a higher order of attenuation for frequency components near integer multiples of fs. Therefore, by reasonably selecting the filter order N and the oversampling rate OSR, the design difficulty of the analog front-end anti-aliasing filter can be significantly reduced, and even the anti-aliasing filter can be eliminated.
[0037] As the core unit in the continuous-time Delta-Sigma modulator, there are two main ways to implement the integrator: active RC and Gm-C integrator. Since the latter uses open-loop technology, has limited linearity, and is sensitive to parasitic capacitance, active RC integrators are often used in applications with high linearity requirements. Traditional RC integrators usually use operational transconductance amplifiers (OTA), such as a folded common-source common-gate amplifier structure. However, large flicker noise and DC offset will deteriorate the noise performance of the modulator. At the same time, under drastic temperature changes, the temperature drift of the DC offset will be more significant. Both of these points increase the nonlinear error of the high-precision electric energy metering analog front end and reduce the measurement accuracy of the analog front end. Therefore, the present invention proposes a fully differential active RC integrator with chopper stabilization, such as Figure 5 As shown, eight CMOS switches are added between the resistor and the operational amplifier and between the operational amplifier and the output terminal of the traditional RC integrator to form a fully differential active RC integrator with chopper stabilization.
[0038] The essence of chopper stabilization technology is modulation and demodulation. Before entering OTA, the chopper modulation circuit modulates the analog low-frequency signal to the chopping frequency f chop Nearby, OTA amplifies the signal while also contributing to the offset voltage V os and flicker noise V n , and then the chopper demodulation circuit converts f chop The nearby useful signal is restored to the low frequency band, and the V os and V n Modulated to the chopping frequency f chop Nearby, thus cleverly achieving the spectrum separation of low-frequency useful signals and interference noise. In the subsequent DSP / MCU, the chopping frequency f chop All nearby interfering noises are filtered out, leaving only low-frequency useful signals.
[0039] The operational amplifier in the integrator is Figure 6 As shown, this design adopts a fully differential folded common source and common gate structure, using a PMOS input pair tube. Its independent N-well can eliminate the substrate bias effect, and an error amplifier is used to achieve common mode feedback to ensure that the system can work stably. Among them, Vref is the reference voltage of the output common mode voltage, and Vb1-4 needs to set a reasonable bias voltage to ensure that each MOS works in the saturation region. Specifically, the operational amplifier consists of a P-type fully differential input pair tube M1-2, a PMOS common source and common gate pair tube M3-6, an NMOS common gate pair tube M7-8, an NMOS current mirror pair tube M9-10, common mode feedback resistors and capacitors R1-2, C1-2, and a common mode error amplifier I0. As shown Figure 7 As shown in the figure, the CMOS switch uses two parallel PMOS and NMOS to realize the opening and closing of the switch under the control of the inverted clocks S and Sn. In order to ensure a small on-resistance and high linearity, the size of the PMOS is about 2.5 times that of the NMOS. The timing of the entire non-overlapping clock is as follows Figure 8 As shown, S1 and S2 are two-phase non-overlapping clocks with a non-overlapping time of about 2ns, and S and Sn are anti-phase clocks used to control the CMOS transmission switch. Therefore, the fully differential RC integrator with chopper stabilization proposed in this design achieves sufficient gain and small equivalent input noise through a folded common source and common gate amplifier; uses a CMOS transmission gate circuit to ensure a small on-resistance and high linearity; uses chopper stabilization technology to eliminate offset voltage and flicker noise, and finally realizes a relatively ideal continuous-time RC integrator.
[0040] In summary, the present invention proposes a high-precision electric energy metering analog front-end implementation scheme based on a continuous-time Delta-Sigma modulator. Through the chopper stabilization technology, the DC offset and flicker noise of the modulator are greatly reduced; the continuous-time modulator scheme can reduce the overall power consumption and the design difficulty of the pre-anti-aliasing filter. Even in some relatively low-precision application scenarios, the pre-anti-aliasing filter can be removed to fully utilize the inherent anti-aliasing characteristics of the continuous-time modulator.
[0041] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A high-precision electric energy measurement analog front end based on a continuous-time Delta-Sigma modulator, characterized in that: It includes an anti-aliasing filter, a programmable gain amplifier PGA and a continuous-time Delta-Sigma modulator; the anti-aliasing filter is used to filter out high-frequency interference signals; the programmable gain amplifier PGA is used to achieve controllable signal amplification, and the continuous-time Delta-Sigma modulator is used to shape sampling errors and quantization noise; The continuous-time Delta-Sigma modulator comprises a continuous-time integrator, a sampling circuit, an analog-to-digital converter ADC, and a digital-to-analog converter DAC; The continuous-time integrator is used to perform an integration operation on the input signal and accumulate the error of the input signal, thereby realizing the shaping of the quantization noise; the sampling circuit is used to sample the signal shaped by the continuous-time integrator; ADC is used to quantify the sampled signal, and DAC is used to convert the digital signal into an analog signal and calculate the difference with the analog input signal.
2. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 1, characterized in that: The signal transfer function of a first-order continuous-time Delta-Sigma modulator is: STF(f)=e -jπf sinc(f) Where f represents the signal frequency, j is the imaginary unit, and sinc represents the sinc function.
3. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 1, characterized in that: The continuous time integrator is a fully differential active RC integrator with chopper stabilization. Before entering the operational transconductance amplifier OTA, the chopper modulation circuit modulates the analog low-frequency signal to the chopping frequency f chop Nearby; OTA generates an offset voltage V while amplifying the signal. os and flicker noise V n ; The chopper demodulation circuit turns f chop The nearby useful signal is restored to the low frequency band, and the V os and V n Modulated to the chopping frequency f chop nearby.
4. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 3, characterized in that: The fully differential active RC integrator with chopper stabilization is specifically as follows: Eight CMOS switches are added between the resistor of the RC integrator and the operational amplifier, and between the operational amplifier and the output terminal to form a fully differential active RC integrator with chopper stabilization.
5. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 4, characterized in that: The operational amplifier adopts a fully differential folded common source and common gate structure, uses a PMOS input pair tube, utilizes its independent N well to eliminate the substrate bias effect, and uses an error amplifier to achieve common mode feedback; the CMOS switch uses two parallel PMOS and NMOS, and realizes the opening and closing of the switch under the control of the inverted clocks S and Sn.
6. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 5, characterized in that: The operational amplifier includes a P-type fully differential input pair, an NMOS current mirror pair, an NMOS common gate pair, a PMOS common source and common gate pair, a common mode feedback resistor and capacitor, and a common mode error amplifier; the P-type fully differential input pair is connected to input terminals Vin and Vip; the PMOS common source and common gate pair is connected to signals Vb1 and Vb2; the NMOS common gate pair is connected to signal Vb3; the NMOS current mirror pair is connected to signal Vb4; the common mode feedback resistor and capacitor are connected to output terminals Von and Vop; the positive input terminal of the common mode error amplifier is connected to output terminals Von and Vop, the negative input terminal is connected to a reference voltage Vref, the output terminal is connected to the gate of the PMOS tube, the source of the PMOS tube is connected to VDD, and the drain is connected to the input terminals Vin and Vip.
7. The high-precision electric energy metering analog front end based on continuous-time Delta-Sigma modulator according to claim 5, characterized in that: The timing control of the operational amplifier includes two-phase non-overlapping clocks S1 and S2, and inverted clocks S and Sn, which are used to control the CMOS transmission switch.
