Dual-reference mutual-check parameter detection circuit for sampling circuit and electric energy metering chip
By using a differential input circuit and a double-reference mutual detection parameter detection circuit of a reference signal source in a smart meter, the problem of common-mode interference from the sampling circuit and the reliability of the reference source is solved, achieving accuracy and reliability of electric energy measurement, and reducing error.
Patent Information
- Application Number
- CN201811149930.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2038-09-29
AI Technical Summary
In smart meters, the sampling circuit lacks the ability to suppress common-mode interference, resulting in voltage measurement errors, and the offset of the reference source leads to energy measurement errors. Changes in clock frequency affect energy measurement accuracy. Real-time monitoring and self-calibration are required to ensure measurement accuracy.
Using a differential input circuit and a reference signal source, the voltage signal is converted into a clock signal through the frequency processing module, combined with the reference clock for mutual detection, using a comparator to detect the difference between the clock downconversion signal and the reference clock signal, and the signal processor processes the digital voltage signal to Realize electric energy measurement and fault detection to enhance system reliability.
Effectively suppress common mode interference, improve measurement accuracy and anti-interference ability, ensure the accuracy and reliability of electric energy measurement, and reduce errors.
Smart Images

Figure CN108957119B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ASIC (Application Specific Integrated Circuit), and in particular to a dual-reference mutual detection parameter detection circuit of a sampling circuit and an electric energy metering chip. Background Art
[0002] In the field of smart meters, measurement accuracy and reliability are crucial, which are directly affected by voltage and current detection. Voltage detection generally uses a voltage divider circuit, and current detection generally uses manganese copper, current transformers, etc.
[0003] The inventors found that in practical applications, environmental factors such as temperature, high current, and electromagnetic fields can easily change the parameters of the sampling circuit. In particular, in the current sampling circuit, there is basically no suppression capability for common-mode interference, which causes errors in voltage measurement and ultimately leads to errors in electric energy measurement. Moreover, since the online monitoring and calibration principles are based on the fact that the reference source is constant, if the reference source is offset, an erroneous calibration result will occur, resulting in errors in electric energy mismeasurement.
[0004] The inventors also found that in the metering chip, the frequency of the chip clock directly affects the sampling and power metering accuracy. Generally, the clock frequency is stable and reliable, but it is not ruled out that in some cases, the clock frequency changes, which will also lead to the problem of mismeasurement of power. Therefore, real-time monitoring of the parameters of the sampling circuit to ensure that the metering accuracy is within the allowable range has become an urgent problem to be solved. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a dual-reference mutual-check parameter detection circuit and an electric energy metering chip for a sampling circuit, so as to solve the common-mode interference problem in the online parameter monitoring and self-calibration circuit of the sampling circuit, the reliability problem of the reference source and the reference clock, and the error in parameter measurement caused by this, which ultimately leads to the problem of electric energy metering error.
[0006] An embodiment of the present invention provides a dual-reference mutual detection parameter detection circuit of a sampling circuit, comprising:
[0007] A sampling circuit, using a differential input circuit to obtain a sampling voltage;
[0008] an analog-to-digital converter, converting the sampled voltage into a digital voltage signal, and inputting the digital voltage signal into a signal processor;
[0009] A reference signal source is connected to the sampling circuit and outputs a voltage signal to the frequency processing module;
[0010] The frequency processing module converts the voltage signal into a clock signal including a frequency signal, then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator;
[0011] A reference clock, which measures the clock of the parameter detection circuit and inputs the reference clock signal into the comparator; the clock includes an OSC (oscillator) clock generated by an external crystal or an internal RC clock (RC oscillation circuit clock);
[0012] The comparator compares the clock down signal with the reference clock signal and inputs the comparison result into the signal processor;
[0013] The signal processor processes the digital voltage signal based on the comparison result to achieve electric energy measurement and fault detection.
[0014] Furthermore, the frequency processing module includes:
[0015] A voltage-frequency module, converting the voltage signal into a clock signal including a frequency signal, and inputting the clock signal into a frequency divider;
[0016] The frequency divider reduces the frequency of the clock signal to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal to the comparator.
[0017] Furthermore, the frequency of the reference signal source is greater than the grid frequency and is not an integer multiple of the grid frequency.
[0018] Furthermore, the sampling circuit includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2.
[0019] Furthermore, the reference signal source includes a reference voltage source, wherein:
[0020] The first resistor R1, the second resistor R2, and the second capacitor C2 are connected in series and in parallel with the first capacitor C1, and the parallel circuit is connected in series with the third resistor R0 to collect the voltage between the N line and the L line of the power grid; one end of the reference voltage source is connected to the connection point of the first resistor R1 and the second resistor R2, and the other end is connected to the power ground.
[0021] Furthermore, the reference signal source includes a reference current source and a detection module, wherein:
[0022] The third resistor R0 is connected between the grid L line and the power ground, one end of the first resistor R1 is connected to the connection point between the third resistor R0 and the L line, one end of the second resistor R2 is connected to one end of the third resistor R0 connected to the power ground, and the other ends of the first resistor R1 and the second resistor R2 are connected to the power ground after passing through the first capacitor C1 and the second capacitor C2 respectively;
[0023] The detection module is connected in parallel with the third resistor R0, the reference current source is connected with the detection module, and the detection module outputs a voltage signal to the frequency processing module.
[0024] Furthermore, one end of the analog-to-digital converter is connected to a connection end of the first resistor R1 and the first capacitor C1; the other end of the analog-to-digital converter is connected to a connection end of the second resistor R2 and the second capacitor C2.
[0025] The embodiment of the present invention further provides an electric energy metering chip, comprising:
[0026] an analog-to-digital converter, converting the sampled voltage into a digital voltage signal, and inputting the digital voltage signal into a signal processor;
[0027] The reference signal source is connected to the sampling circuit and outputs the voltage signal to the frequency processing module;
[0028] The frequency processing module converts the voltage signal into a clock signal including a frequency signal, then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator;
[0029] A reference clock, which measures the clock of the parameter detection circuit and inputs the reference clock signal into the comparator; the clock includes an OSC clock generated by an external crystal or an internal RC clock;
[0030] The comparator compares the clock down signal with the reference clock signal and inputs the comparison result into the signal processor;
[0031] The signal processor processes the digital voltage signal based on the comparison result to achieve electric energy measurement and fault detection.
[0032] Furthermore, the frequency processing module includes:
[0033] A voltage-frequency module, converting the voltage signal into a clock signal including a frequency signal, and inputting the clock signal into a frequency divider;
[0034] The frequency divider reduces the frequency of the clock signal to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal to the comparator.
[0035] Furthermore, the reference signal source includes a reference voltage source or a combination of a reference current source and a detection module.
[0036] The technical solution of the present invention uses a differential circuit in the sampling circuit part, which can effectively suppress common-mode interference and improve measurement accuracy and anti-interference ability; by detecting the characteristics of the electrical signal generated by the reference source on the sampling circuit, it is determined whether the parameters of the sampling circuit have changed; at the same time, a reference clock and a reference voltage and current source are used for mutual inspection, which increases the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a schematic diagram of the composition of a dual-reference mutual detection parameter detection circuit of a sampling circuit provided by an embodiment of the present invention;
[0039] Figure 2 It is a schematic diagram of the composition of a dual-reference mutual detection parameter detection circuit of a sampling circuit provided by another embodiment of the present invention;
[0040] Figure 3 It is a schematic diagram of the composition of an electric energy metering chip provided by an embodiment of the present invention;
[0041] Figure 4 It is a schematic diagram of the composition of an electric energy metering chip provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the specific implementation of the technical scheme of the present invention will be described in more detail and clearly in conjunction with the accompanying drawings and embodiments. However, the specific implementation and embodiments described below are only for the purpose of illustration, rather than for limiting the present invention. It only includes a part of the embodiments of the present invention, rather than all the embodiments, and other embodiments obtained by those skilled in the art for various changes of the present invention all belong to the scope of protection of the present invention.
[0043] Figure 1 It is a schematic diagram of the composition of a dual-reference mutual check parameter detection circuit of a sampling circuit provided in an embodiment of the present invention, wherein the circuit comprises a sampling circuit 11, an analog-to-digital converter 12, a reference voltage source 13, a frequency processing module 14, a reference clock 15, a comparator 16, and a signal processor 17.
[0044] The sampling circuit 11 uses a differential input circuit to obtain a sampled voltage. The analog-to-digital converter 12 converts the sampled voltage into a digital voltage signal and inputs the digital voltage signal into the signal processor 17. The reference voltage source 13 is connected to the sampling circuit 11 and outputs a voltage signal to the frequency processing module 14. The frequency processing module 14 converts the voltage signal into a clock signal including a frequency signal, and then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator 16. The reference clock 15 measures the clock of the parameter detection circuit and inputs the reference clock signal into the comparator 16, wherein the clock includes an OSC clock generated by an external crystal or an internal RC clock. The comparator 16 compares the clock frequency reduction signal with the reference clock signal and inputs the comparison result into the signal processor 17. The signal processor 17 processes the digital voltage signal based on the comparison result to realize electric energy metering and fault detection.
[0045] The frequency processing module 14 includes a frequency conversion module 141 and a frequency divider 142 .
[0046] The voltage-frequency module 141 converts the voltage signal into a clock signal including a frequency signal, and inputs the clock signal to the frequency divider 142. The frequency divider 142 downconverts the clock signal to obtain a clock downconverted signal, and inputs the clock downconverted signal to the comparator 16.
[0047] The sampling circuit 11 includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2. The first resistor R1, the second resistor R2, and the second capacitor C2 are connected in series and then connected in parallel with the first capacitor C1. The parallel circuit is connected in series with the third resistor R0 to collect the voltage between the N line and the L line of the power grid; one end of the reference voltage source 13 is connected to the connection point of the first resistor R1 and the second resistor R2, and the other end is connected to the power ground. One end of the analog-to-digital converter 12 is connected to the connection end of the first resistor R1 and the first capacitor C1; the other end of the analog-to-digital converter 12 is connected to the connection end of the second resistor R2 and the second capacitor C2.
[0048] The analog-to-digital converter 12 converts the voltage across the first resistor R1 and the second resistor R2 into a digital signal and inputs it into the signal processor 17. A voltage signal that can reflect the magnitude of the reference voltage is drawn from the reference voltage source 13 and inputted into the voltage-frequency module 141. The voltage-frequency module 141 converts the voltage signal into a clock signal including a frequency signal according to a known relationship and inputs it into the frequency divider 142. The frequency divider 142 reduces the frequency of the clock and inputs it into the comparator 16. At the same time, the comparator 16 also receives a clock signal from the chip reference clock, compares the frequencies of the two, and inputs the result into the signal processor 17.
[0049] The reference voltage source 13 is generally an AC signal, and the frequency f1 is greater than the grid frequency f0 and is not an integer multiple of the grid frequency f0. The reference voltage source 13 is connected to the differential sampling circuit 11 in the manner shown in the figure.
[0050] As can be seen from the figure, the reference voltage source 13 is used for online monitoring to detect whether the parameters of the external detection circuit have changed. The reference voltage and the grid voltage are superimposed on the sampling circuit 11. The voltage signal obtained by the signal processor 17 includes both the grid voltage signal and the reference voltage signal. The signal processor 17 extracts the signal with a frequency of f0 from the voltage signal to determine the voltage of the grid, extracts the signal with a frequency of f1, and compares it with the preset standard signal to determine whether the parameters of the sampling circuit 11 have changed.
[0051] Since the reference clock and reference voltage source 13 are generally stable and reliable, generally only one of the reference sources will be offset, resulting in measurement errors, and the probability of both having problems at the same time is extremely small. Therefore, if the comparator 16 determines that everything is normal and no offset occurs, then normal power measurement is performed. If the comparator 16 finds that the relationship between the two has changed, it is determined that one of the reference sources has been offset, and the signal processor 17 is provided for further processing.
[0052] Figure 2 It is a schematic diagram of the composition of a dual-reference mutual check parameter detection circuit of a sampling circuit provided in an embodiment of the present invention, wherein the circuit includes a sampling circuit 21, an analog-to-digital converter 22, a reference current source 28, a detection module 29, a frequency processing module 24, a reference clock 25, a comparator 26, and a signal processor 27.
[0053] The sampling circuit 21 uses a differential input circuit to obtain a sampled voltage. The analog-to-digital converter 22 converts the sampled voltage into a digital voltage signal and inputs the digital voltage signal into the signal processor 27. The detection module 29 is connected to the sampling circuit 21, and the reference current source 28 is connected to the detection module 29. The detection module 29 outputs a voltage signal to the frequency processing module 24. The frequency processing module 24 converts the voltage signal into a clock signal including a frequency signal, and then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator 26. The reference clock 25 measures the clock of the parameter detection circuit, and inputs the reference clock signal into the comparator 26. The clock includes an OSC clock generated by an external crystal or an internal RC clock. The comparator 26 compares the clock frequency reduction signal with the reference clock signal, and inputs the comparison result into the signal processor 27. The signal processor 27 processes the digital voltage signal based on the comparison result to realize electric energy metering and fault detection.
[0054] The frequency processing module 24 includes a frequency conversion module 241 and a frequency divider 242 .
[0055] The voltage-frequency module 241 converts the voltage signal into a clock signal including a frequency signal, and inputs the clock signal to the frequency divider 242. The frequency divider 242 down-converts the clock signal to obtain a clock down-converted signal, and inputs the clock down-converted signal to the comparator 26.
[0056] The sampling circuit 21 includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2. The third resistor R0 is connected between the power grid L line and the power ground, one end of the first resistor R1 is connected to the connection point between the third resistor R0 and the L line, one end of the second resistor R2 is connected to one end of the third resistor R0 connected to the power ground, and the other ends of the first resistor R1 and the second resistor R2 are connected to the power ground after passing through the first capacitor C1 and the second capacitor C2 respectively.
[0057] One end of the analog-to-digital converter 22 is connected to a connection end of the first resistor R1 and the first capacitor C1 ; the other end of the analog-to-digital converter 22 is connected to a connection end of the second resistor R2 and the second capacitor C2 .
[0058] The analog-to-digital converter 22 converts the voltage across the first resistor R1 and the second resistor R2 into a digital signal and inputs it into the signal processor 27. The reference current source 28 generates a reference current signal, and the detection module 29 converts the reference current signal into a voltage signal according to a known relationship and inputs it into the voltage-frequency module 241. The voltage-frequency module 241 converts the voltage signal into a clock signal including a frequency signal according to a known relationship and inputs it into the frequency divider 242, which down-converts the clock and inputs it into the comparator 26. At the same time, the comparator 26 also receives a clock signal from the chip reference clock, compares the frequencies of the two, and inputs the result into the signal processor 27.
[0059] The frequency f1 of the reference current source 28 is greater than the grid frequency f0 and is not an integer multiple of the grid frequency f0.
[0060] like Figure 2 As shown, the reference current source 28 is used for online monitoring to detect whether the parameters of the external detection circuit have changed. The current of the reference current source 28 is converted into a voltage by the detection module 29 and superimposed on the grid voltage on the sampling circuit 21. The current signal obtained by the signal processor 27 includes both the grid voltage signal and the reference voltage signal. The signal processor 27 extracts the signal amount with a frequency of f0 in the voltage signal to determine the voltage of the grid, extracts the signal amount with a frequency of f1, and compares it with the preset standard signal to determine whether the parameters of the sampling circuit 21 have changed.
[0061] Since the reference clock and the reference current source 28 are generally stable and reliable, generally only one of the reference sources will be offset, resulting in measurement errors, and the probability of both having problems at the same time is extremely small. Therefore, if the comparator 26 determines that everything is normal and no offset occurs, then normal power measurement is performed. If the comparator 26 finds that the relationship between the two has changed, it is determined that one of the reference sources has been offset, and the signal processor 27 is provided for further processing.
[0062] Figure 3 1 is a schematic diagram of the composition of an electric energy metering chip provided in an embodiment of the present invention. The electric energy metering chip includes an analog-to-digital converter 32 , a reference voltage source 33 , a frequency processing module 34 , a reference clock 35 , a comparator 36 , and a signal processor 37 .
[0063] The analog-to-digital converter 32 converts the sampled voltage into a digital voltage signal and inputs the digital voltage signal into the signal processor 37. The reference voltage source 33 is connected to the sampling circuit and outputs a voltage signal to the frequency processing module 34. The frequency processing module 34 converts the voltage signal into a clock signal including a frequency signal, and then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator 36. The reference clock 35 measures the clock of the parameter detection circuit and inputs the reference clock signal into the comparator 36. The clock includes an OSC clock generated by an external crystal or an internal RC clock. The comparator 36 compares the clock frequency reduction signal with the reference clock signal and inputs the comparison result into the signal processor 37. The signal processor 37 processes the digital voltage signal based on the comparison result to realize electric energy metering and fault detection.
[0064] The frequency processing module 34 includes a voltage-frequency module 341 and a frequency divider 342. The voltage-frequency module 341 converts the voltage signal into a clock signal including a frequency signal, and inputs the clock signal to the frequency divider 342. The frequency divider 342 downconverts the clock signal to obtain a clock downconverted signal, and inputs the clock downconverted signal to the comparator 36.
[0065] One end of the reference voltage source 33 is connected to the connection point of the first resistor R1 and the second resistor R2, and the other end is connected to the power ground. One end of the analog-to-digital converter 32 is connected to the connection end of the first resistor R1 and the first capacitor C1; the other end of the analog-to-digital converter 32 is connected to the connection end of the second resistor R2 and the second capacitor C2.
[0066] The sampling circuit includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2. The analog-to-digital converter 32 converts the voltage across the first resistor R1 and the second resistor R2 into a digital signal and inputs it into the signal processor 37. A voltage signal that can reflect the magnitude of the reference voltage is drawn from the reference voltage source 33 and inputted into the voltage-frequency module 341. The voltage-frequency module 341 converts the voltage signal into a clock signal containing a frequency signal according to a known relationship and inputs it into the frequency divider 342. The frequency divider 342 reduces the frequency of the clock and inputs it into the comparator 36. At the same time, the comparator 36 also receives a clock signal from the chip reference clock, compares the frequencies of the two, and inputs the result into the signal processor 37.
[0067] The reference voltage source 33 is used for online monitoring to detect whether the parameters of the external detection circuit have changed. The signal of the reference voltage source 33 is generally an AC signal, and the frequency f1 is greater than the grid frequency f0 and is not an integer multiple of the grid frequency f0. Figure 3 The method shown is connected in a differential sampling circuit.
[0068] Depend on Figure 3 It can be seen that the reference voltage and the grid voltage are superimposed on the sampling circuit. The voltage signal obtained by the signal processor 37 includes both the grid voltage signal and the reference voltage signal. The signal processor 37 extracts the signal with a frequency of f0 from the voltage signal to determine the voltage of the grid, and extracts the signal with a frequency of f1, and compares it with the preset standard signal to determine whether the parameters of the sampling circuit have changed.
[0069] Since the reference clock and reference voltage source 33 are generally stable and reliable, generally only one of the reference sources will be offset, resulting in measurement errors, and the probability of both having problems at the same time is extremely small. Therefore, if the comparator 36 determines that everything is normal and no offset occurs, then normal power measurement is performed. If the comparator 36 finds that the relationship between the two has changed, it is determined that one of the reference sources has been offset, and the signal processor 37 is provided for further processing.
[0070] Figure 4 1 is a schematic diagram of the composition of an electric energy metering chip provided by another embodiment of the present invention. The electric energy metering chip includes an analog-to-digital converter 42 , a reference current source 48 , a detection module 49 , a frequency processing module 44 , a reference clock 45 , a comparator 46 , and a signal processor 47 .
[0071] The analog-to-digital converter 42 converts the sampled voltage into a digital voltage signal and inputs the digital voltage signal into the signal processor 47. The detection module 49 is connected to the sampling circuit, and the reference current source 48 is connected to the detection module 49. The detection module 49 outputs the voltage signal to the frequency processing module 44. The frequency processing module 44 converts the voltage signal into a clock signal including a frequency signal, and then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator 46. The reference clock 45 measures the clock of the parameter detection circuit, and inputs the reference clock signal into the comparator 46. The clock includes an OSC clock generated by an external crystal or an internal RC clock. The comparator 46 compares the clock frequency reduction signal with the reference clock signal, and inputs the comparison result into the signal processor 47. The signal processor 47 processes the digital voltage signal based on the comparison result to realize electric energy metering and fault detection.
[0072] The frequency processing module 44 includes a voltage-frequency module 441 and a frequency divider 442. The voltage-frequency module 441 converts the voltage signal into a clock signal including a frequency signal, and inputs the clock signal to the frequency divider 442. The frequency divider 442 downconverts the clock signal to obtain a clock downconversion signal, and inputs the clock downconversion signal to the comparator 46.
[0073] The sampling circuit includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2. The third resistor R0 is connected between the power grid L line and the power ground, one end of the first resistor R1 is connected to the connection point between the third resistor R0 and the L line, one end of the second resistor R2 is connected to one end of the third resistor R0 connected to the power ground, and the other ends of the first resistor R1 and the second resistor R2 are connected to the power ground after passing through the first capacitor C1 and the second capacitor C2 respectively. The detection module 29 is connected in parallel with the third resistor R0, and the reference current source 28 is connected to the detection module 29, and the voltage signal is output to the frequency processing module 24 through the detection module 29. The analog-to-digital converter 42 converts the voltage across the first resistor R1 and the second resistor R2 into a digital signal and inputs it into the signal processor 47.
[0074] The detection module 49 is connected to the sampling circuit, and the reference current source 48 generates a reference current signal. The detection module 49 converts the reference current signal into a voltage signal according to a known relationship and inputs it into the voltage-frequency module 441. The voltage-frequency module 441 converts the voltage signal into a clock signal containing a frequency signal according to a known relationship and inputs it into the frequency divider 442. The frequency divider 442 reduces the frequency of the clock and inputs it into the comparator 46. At the same time, the comparator 46 also receives a clock signal from the chip reference clock, compares the frequencies of the two, and inputs the result to the signal processor 47.
[0075] The frequency f1 of the reference current source 48 is greater than the grid frequency f0 and is not an integer multiple of the grid frequency f0.
[0076] like Figure 4 As shown, the reference current source 48 is used for online monitoring to detect whether the parameters of the external detection circuit have changed. The current of the reference current source 48 is converted into a voltage by the detection module 49 and superimposed on the grid voltage on the sampling circuit. The voltage signal obtained by the signal processor 47 includes both the grid voltage signal and the reference voltage signal. The signal processor 47 extracts the signal amount with a frequency of f0 in the voltage signal to determine the voltage of the grid, extracts the signal amount with a frequency of f1, and compares it with the preset standard signal to determine whether the parameters of the sampling circuit have changed.
[0077] Since the reference clock and the reference current source 48 are generally stable and reliable, generally only one of the reference sources will be offset, resulting in measurement errors, and the probability of both having problems at the same time is extremely small. Therefore, if the comparator 46 determines that everything is normal and no offset occurs, then normal power measurement is performed. If the comparator 46 finds that the relationship between the two has changed, it is determined that one of the reference sources has been offset, and the signal processor 47 is provided for further processing.
[0078] It should be noted that the various embodiments described above with reference to the accompanying drawings are only used to illustrate the present invention rather than to limit the scope of the present invention. Those skilled in the art should understand that any modification or equivalent substitution of the present invention without departing from the spirit and scope of the present invention should be included within the scope of the present invention. In addition, unless otherwise indicated by the context, words appearing in the singular include the plural form, and vice versa. In addition, unless otherwise specified, all or part of any embodiment may be used in combination with all or part of any other embodiment.
Claims
1. A dual-reference mutual detection parameter detection circuit for a sampling circuit, comprising: The sampling circuit uses a differential input circuit to obtain the sampling voltage to suppress common-mode interference, where: The sampling circuit includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2; The first resistor R1, the second resistor R2, and the second capacitor C2 are connected in series and in parallel with the first capacitor C1, and the parallel circuit is connected in series with the third resistor R0 to collect the voltage between the N line and the L line of the power grid; an analog-to-digital converter, converting the sampled voltage into a digital voltage signal, and inputting the digital voltage signal into a signal processor; A reference signal source, connected to the sampling circuit, for outputting a reference voltage to the sampling circuit and outputting a voltage signal to the frequency processing module, wherein the frequency of the reference signal source is greater than the grid frequency and is not an integer multiple of the grid frequency; The frequency processing module converts the voltage signal into a clock signal including a frequency signal, then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator; A reference clock, used to input a reference clock signal into the comparator; the reference clock includes an OSC clock generated by an external crystal or an internal RC clock; The comparator compares the clock down signal with the reference clock signal and inputs the comparison result into the signal processor; The signal processor processes the digital voltage signal based on the comparison result to achieve electric energy measurement and fault detection, including: The grid frequency is extracted from the digital voltage signal to determine the grid voltage, and the frequency of the reference signal source is extracted and compared with a preset standard signal to determine whether the parameters of the sampling circuit have changed.
2. The circuit according to claim 1, wherein The frequency processing module comprises: A voltage-frequency module, converting the voltage signal into a clock signal including a frequency signal, and inputting the clock signal into a frequency divider; The frequency divider reduces the frequency of the clock signal to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal to the comparator.
3. The circuit according to claim 1, wherein: The reference signal source includes a reference voltage source, wherein: One end of the reference voltage source is connected to a connection point between the first resistor R1 and the second resistor R2, and the other end is connected to a power ground.
4. The circuit according to claim 1, wherein: The reference signal source includes a reference current source and a detection module, wherein: The third resistor R0 is connected between the grid L line and the power ground, one end of the first resistor R1 is connected to the connection point between the third resistor R0 and the L line, one end of the second resistor R2 is connected to one end of the third resistor R0 connected to the power ground, and the other ends of the first resistor R1 and the second resistor R2 are connected to the power ground after passing through the first capacitor C1 and the second capacitor C2 respectively; The detection module is connected in parallel with the third resistor R0, the reference current source is connected with the detection module, and the detection module outputs a voltage signal to the frequency processing module.
5. The circuit according to claim 3 or 4, wherein: One end of the analog-to-digital converter is connected to the connection end of the first resistor R1 and the first capacitor C1; the other end of the analog-to-digital converter is connected to the connection end of the second resistor R2 and the second capacitor C2.
6. An electric energy metering chip, comprising: an analog-to-digital converter, converting the sampled voltage into a digital voltage signal, and inputting the digital voltage signal into a signal processor; A reference signal source is connected to the sampling circuit, and is used to output a reference voltage to the sampling circuit, and output a voltage signal to the frequency processing module, wherein the frequency of the reference signal source is greater than the grid frequency and is not an integer multiple of the grid frequency; The sampling circuit uses a differential input circuit to obtain a sampling voltage to suppress common-mode interference, wherein: The sampling circuit includes a third resistor R0, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2; The first resistor R1, the second resistor R2, and the second capacitor C2 are connected in series and in parallel with the first capacitor C1, and the parallel circuit is connected in series with the third resistor R0 to collect the voltage between the N line and the L line of the power grid; The frequency processing module converts the voltage signal into a clock signal including a frequency signal, then performs frequency reduction to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal into the comparator; A reference clock, used to input a reference clock signal into the comparator; the reference clock includes an OSC clock generated by an external crystal or an internal RC clock; The comparator compares the clock down signal with the reference clock signal and inputs the comparison result into the signal processor; The signal processor processes the digital voltage signal based on the comparison result to achieve electric energy measurement and fault detection, including: The grid frequency is extracted from the digital voltage signal to determine the grid voltage, and the frequency of the reference signal source is extracted and compared with a preset standard signal to determine whether the parameters of the sampling circuit have changed.
7. The electric energy metering chip according to claim 6, characterized in that: The frequency processing module comprises: A voltage-frequency module, converting the voltage signal into a clock signal including a frequency signal, and inputting the clock signal into a frequency divider; The frequency divider reduces the frequency of the clock signal to obtain a clock frequency reduction signal, and inputs the clock frequency reduction signal to the comparator.
8. The electric energy metering chip according to claim 6, characterized in that: The reference signal source includes a reference voltage source or a combination of a reference current source and a detection module.
Citation Information
Patent Citations
Differential current sampling circuit and linear voltage regulator
CN101840241A
Testing device, testing method, and phase shifter
CN102317803A
Clock frequency monitoring circuit and method
CN103677082A
Satellite navigation system based electric-energy-meter field calibration device
CN104330765A
Electric energy metering loop high precision data synchronous sampling device and method
CN105301554A
