AD sampling circuit and measuring instrument
By designing the AD sampling circuit in the measuring instrument and using the bias circuit to boost the signal and collect the bias voltage, the problem of low ADC collection accuracy is solved, high-precision signal collection is achieved, and the design and implementation costs of the bias reference source are reduced. .
Patent Information
- Application Number
- CN202323662168.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2033-12-29
AI Technical Summary
When existing measuring instruments collect weak signals, the ADC collection accuracy is poor, and the cost of using a high-precision power supply as a bias reference source in precision scenarios is high. Using an ordinary LDO as a bias reference source will reduce the sampling accuracy.
Design an AD sampling circuit, including a signal input module, a signal amplification module, a bias circuit module and an AD acquisition module. The amplified signal value is raised to an appropriate range through the bias circuit, and the bias voltage and superimposed signal value are collected. , subtracted by the processing module and divided by the amplification factor, the actual signal value is obtained, eliminating the influence of the accuracy of the bias reference source.
The signal acquisition accuracy is improved, the design difficulty and implementation cost of the bias reference source are reduced, and accuracy loss is avoided.
Smart Images

Figure CN221886476U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of measuring instruments, and in particular to an AD sampling circuit and a measuring instrument. Background Art
[0002] When measuring instruments collect weak signals, after the weak signals are amplified, the relative voltage signal value is still smaller than the ADC maximum sampling value. Some measuring instruments directly collect the amplified voltage, resulting in poor ADC acquisition accuracy. ADC, the abbreviation of Analog-to-Digital Converter, refers to analog / digital converter or analog-to-digital converter, which is a device that converts continuously changing analog signals into discrete digital signals.
[0003] In order to improve the ADC acquisition accuracy, some measuring instruments will use a bias circuit to raise the final sampled voltage value to a suitable range. When used in precision scenarios, a high-precision power supply is generally used as a bias reference source, which is expensive. In other usage scenarios, only the voltage generated by an ordinary LDO (Low Dropout Regulaor) is used as a bias reference source, which will reduce the sampling accuracy. Utility Model Content
[0004] The purpose of this application is to provide an AD sampling circuit and a measuring instrument to improve the sampling accuracy.
[0005] The first aspect of the present application provides an AD sampling circuit, comprising:
[0006] Signal input module, signal amplification module, bias circuit module, bias reference source and AD acquisition module; wherein,
[0007] The signal amplification module is connected to the signal input module and the bias circuit module respectively; the bias reference source is connected to the bias circuit module and the AD acquisition module respectively; the bias circuit module is connected to the AD acquisition module;
[0008] The signal input module is used to input the generated signal into the signal amplification module;
[0009] The signal amplification module is used to amplify the input signal and then input the amplified input signal to the bias circuit module;
[0010] The bias reference source is used to provide a bias voltage to the bias circuit module;
[0011] The bias circuit module is used to superimpose the bias voltage on the amplified input signal;
[0012] The AD acquisition module is used to respectively acquire the value of the bias voltage and the value of the input signal superimposed with the bias voltage.
[0013] In a possible implementation, the bias circuit module includes: a first resistor, a second resistor and an operational amplifier; wherein,
[0014] Two ends of the first resistor are respectively connected to the signal amplification module and the negative input terminal of the operational amplifier;
[0015] Two ends of the second resistor are respectively connected to the negative input terminal and the output terminal of the operational amplifier;
[0016] The positive input terminal of the operational amplifier is connected to the bias reference source;
[0017] The output end of the operational amplifier is also connected to the AD acquisition module.
[0018] In a possible implementation, the bias circuit module further includes:
[0019] A first capacitor and a third resistor, one end of the third resistor is connected to the operational amplifier, the other end of the third resistor is connected to the AD acquisition module, and the other end of the third resistor is also grounded through the first capacitor.
[0020] In a possible implementation, the AD sampling circuit further includes:
[0021] A second capacitor and a fourth resistor, one end of the fourth resistor is connected to the bias reference source, the other end of the fourth resistor is connected to the AD acquisition module, and the other end of the fourth resistor is also grounded through the second capacitor.
[0022] In a possible implementation, the bias reference source includes:
[0023] A fifth resistor and a sixth resistor, wherein the fifth resistor and the sixth resistor are connected in series between a power supply and a ground, the connection end of the fifth resistor and the sixth resistor is connected to the AD acquisition module, and the connection end of the fifth resistor and the sixth resistor is also connected to the bias circuit module.
[0024] In a possible implementation, the AD sampling circuit further includes:
[0025] A processing module is connected to the AD acquisition module and is used to subtract the bias voltage value collected by the AD acquisition module from the input signal value superimposed with the bias voltage, and then divide it by the amplification factor of the signal amplification module to obtain the voltage value of the signal actually collected by the signal input module.
[0026] In a possible implementation, the processing module adopts a microcontroller processing unit.
[0027] In a possible implementation, the AD acquisition module uses a 24-bit multi-channel acquisition Sigma Delta ADC.
[0028] The present application also provides a measuring instrument, comprising the AD sampling circuit described in the first aspect of the present application.
[0029] The AD sampling circuit and measuring instrument provided by the present application include: a signal input module, a signal amplification module, a bias circuit module, a bias reference source and an AD acquisition module; wherein the signal amplification module is respectively connected to the signal input module and the bias circuit module; the bias reference source is respectively connected to the bias circuit module and the AD acquisition module; the bias circuit module is connected to the AD acquisition module. Compared with the prior art, the present application adopts an AD acquisition module to respectively collect the value of the bias voltage and the input signal value superimposed with the bias voltage, and the two collected data are subtracted and then divided by the amplification factor of the signal amplification module to obtain the voltage value of the weak signal actually collected, thereby eliminating the influence of the accuracy of the bias reference source during AD acquisition and improving the signal acquisition accuracy. On the other hand, the bias reference source no longer needs high precision, which effectively reduces the design difficulty and implementation cost of the bias reference source. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0031] Figure 1 A schematic diagram of the structure of an AD sampling circuit provided in an embodiment of the present application is shown;
[0032] Figure 2 A schematic diagram of the structure of a specific AD sampling circuit provided in an embodiment of the present application is shown;
[0033] Figure 3 A schematic diagram of the structure of a bias reference source provided in an embodiment of the present application is shown;
[0034] Description of reference numerals:
[0035] 100 signal input module; 200 signal amplification module; 300 bias circuit module; 400 bias reference source; 500 AD acquisition module; 600 processing module. DETAILED DESCRIPTION
[0036] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0037] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0038] When weak signals are collected, subtle changes in signal values need to be amplified. In order to keep the amplified value within a reasonable range, the amplification factor of the amplifier circuit is generally controlled, and the signal voltage value is still small compared to the maximum sampling value of the ADC. According to the sampling principle of the ADC, for example, a 16-bit ADC will include 216=65536 steps or conversions, and the least significant bit (LSB) = VREF / 65536=3.3V / 65536=50.35uV. For an ideal ADC, all codes have the same width of 1LSB. If the maximum signal value of the ADC is 2.5V, it means that there are a total of 49652 conversions (2.5V / 1LSB). For this case, there will be 15884 conversions that are not used (65536-49652=15884). This reflects the loss of signal accuracy or ENOB (effective number of bits) loss after conversion (loss of 0.4 bits). If the difference between the ADC reference (VREF) and the ADC maximum signal level increases, the ENOB loss or accuracy loss will increase. For example, if the ADC maximum signal level is 1.2V and VREF = 3.3V, then the ENOB loss will be 1.5 bits. Therefore, the ADC dynamic range must match the maximum signal amplitude to obtain the highest accuracy.
[0039] Therefore, it is necessary to add a bias circuit to raise the collected signal value to an appropriate value, so that the ADC is in the best working state and the collection accuracy of the input signal is improved.
[0040] The use of bias circuits will also introduce errors introduced by the bias reference source. When used in precision scenarios, a high-precision power supply is generally used as the bias reference source, and such a design is generally more expensive. In other usage scenarios, there are also cases where only the voltage generated by an ordinary LDO is used as a reference source, which will reduce the sampling accuracy. In the above two common scenarios, the reference source of the bias circuit needs to be at an appropriate value through resistor divider, and the voltage divider resistor is limited by its own accuracy, so the use of the voltage divider resistor will also cause errors in the bias circuit.
[0041] The AD sampling circuit provided by the present application improves the voltage value of the amplified weak signal through the bias circuit, so that the voltage value of the weak signal is close to the maximum signal amplitude of the ADC dynamic range, so as to obtain a high-precision acquisition result. At the same time, the value of the bias circuit voltage is collected through the AD detection function, and then the bias voltage superimposed on the voltage value of the amplified signal is subtracted, so that the signal voltage value collected by the ADC can be close to the maximum signal amplitude of the ADC dynamic range, and can be unaffected by the accuracy of the bias voltage itself.
[0042] For details, please refer to Figure 1 , which shows a schematic diagram of an AD sampling circuit provided by some embodiments of the present application, such as Figure 1 As shown, the AD sampling circuit of the present application includes: a signal input module 100 , a signal amplification module 200 , a bias circuit module 300 , a bias reference source 400 and an AD acquisition module 500 .
[0043] The input end of the signal amplification module 200 is connected to the signal input module 100, and the output end of the signal amplification module 200 is connected to the first input end of the bias circuit module 300; the output end of the bias reference source 400 is respectively connected to the second input end of the bias circuit module 300 and the first input end of the AD acquisition module 500; the output end of the bias circuit module 300 is connected to the second input end of the AD acquisition module 500.
[0044] like Figure 1 As shown, the AD sampling circuit of the present application further includes: a processing module 600, and the processing module 600 is connected to the output end of the AD acquisition module 500. Specifically, the processing module 600 adopts a microcontroller processing unit.
[0045] The working principle of the AD sampling circuit of this application is as follows:
[0046] The signal input module 100 inputs the generated weak signal to the signal amplification module 200, the signal amplification module 200 amplifies the input weak signal, and then inputs it to the bias circuit module 300, the bias reference source 400 provides a bias voltage for the bias circuit module, and then the generated bias voltage is superimposed on the amplified input signal through the bias circuit module 300, the AD acquisition module 500 respectively collects the bias voltage value and the input signal value superimposed with the bias voltage, and finally the collected bias voltage value and the input signal value superimposed with the bias voltage are both input into the processing module 600, the two data are subtracted by the processing module 600, and then divided by the amplification factor of the signal amplification module 200, the voltage value of the weak signal actually collected can be obtained.
[0047] Specifically, the weak signal generated on the signal input module 100 refers to an electrical signal with low message strength, which is small and weak and difficult to be felt or received by a device, such as the electrical signal generated on the electrode of an electromagnetic water meter.
[0048] Specifically, the signal amplification module 200 is a module for amplifying weak signals, and an instrument amplifier may be used to implement the function of the amplification module. The specific amplification factor needs to be determined based on a comprehensive judgment based on the weak signal input range and the voltage range of the amplified signal.
[0049] Specifically, the bias circuit module 300 superimposes the reference voltage on the bias reference source 400 on the amplified weak signal, so that the voltage value of the amplified weak signal after superimposing the reference voltage is close to the maximum signal amplitude of the ADC dynamic range, thereby improving the ADC sampling accuracy.
[0050] like Figure 2 As shown, the bias circuit module 300 includes: a first resistor R1, a second resistor R2 and an operational amplifier U1. The two ends of the first resistor R1 are respectively connected to the output end of the signal amplification module 200 and the negative input terminal 4 of the operational amplifier U1. The two ends of the second resistor R2 are respectively connected to the negative input terminal 4 and the output terminal 1 of the operational amplifier U1. The positive input terminal 3 of the operational amplifier U1 is connected to the output end of the bias reference source 400. The output terminal 1 of the operational amplifier U1 is also connected to the second input terminal ADC2 of the AD acquisition module 500.
[0051] like Figure 2 As shown, the bias circuit module 300 also includes: a first capacitor C1 and a third resistor R3, one end of the third resistor R3 is connected to the output end of the operational amplifier U1, the other end of the third resistor R3 is connected to the second input end of the AD acquisition module 500, and the other end of the third resistor R3 is also grounded through the first capacitor C1.
[0052] like Figure 2 As shown, the AD sampling circuit also includes: a second capacitor C2 and a fourth resistor R4, one end of the fourth resistor R4 is connected to the output end of the bias reference source 400, the other end of the fourth resistor R4 is connected to the first input end of the AD acquisition module 500, and the other end of the fourth resistor R4 is also grounded through the second capacitor C2.
[0053] Specifically, resistor R1 connects the amplified weak signal and the negative input terminal of operational amplifier U1, resistor R2 connects the negative input terminal and the output terminal of operational amplifier U1, the values of resistor R1 and resistor R2 determine the amplification factor of the bias circuit, which can be adjusted according to actual usage. The two anti-aliasing filter circuits composed of resistor R3 and capacitor C1, resistor R4 and capacitor C2 can improve the sampling accuracy of the AD acquisition module.
[0054] The AD acquisition module 500 is a high-precision AD acquisition circuit, and the present application selects a 24-bit multi-channel acquisition SigmaDelta ADC. The AD acquisition module 500 inputs the AD values collected by two ports (ADC1 and ADC2) to the processing module 600.
[0055] The processing module 600 can adopt a microcontroller processing unit (MCU module for short), which is responsible for analyzing the collected data to obtain the collection results. First, the MCU module subtracts the collected bias voltage value from the input signal value superimposed with the bias voltage to obtain the amplified weak signal value that is not affected by the bias voltage value, and then divides this value by the amplification factor to obtain the actual collected weak signal value. By comparing this value with the theoretical value, the final result can be obtained, such as the final result of the electromagnetic flowmeter is the flow value.
[0056] like Figure 3 As shown, the bias reference source 400 includes: a fifth resistor R5 and a sixth resistor R6, the fifth resistor R5 and the sixth resistor R6 are connected in series between the power supply and the ground, the connection end of the fifth resistor R5 and the sixth resistor R6 is connected to the first input end ADC1 of the AD acquisition module, and the connection end of the fifth resistor R5 and the sixth resistor R6 is also connected to the second input end of the bias circuit module 300. It can be seen that the bias reference source 400 of the present application only divides the power supply voltage through two conventional resistors R5 and R6. Based on the design of the present application, the bias reference source no longer needs high precision, and only needs to provide a relatively stable voltage, which effectively reduces the design difficulty and implementation cost of the bias reference source.
[0057] Compared with the prior art. The AD sampling circuit provided in this embodiment uses an AD acquisition module to respectively acquire the value of the bias voltage and the value of the input signal superimposed with the bias voltage, and after subtracting the two acquired data and dividing them by the amplification factor of the signal amplification module, the voltage value of the weak signal actually acquired can be obtained, thereby eliminating the influence of the accuracy of the bias reference source during AD acquisition and improving the signal acquisition accuracy. On the other hand, the bias reference source no longer needs high precision, which effectively reduces the design difficulty and implementation cost of the bias reference source.
[0058] In addition, since the ADC dynamic range should match the maximum amplitude of the signal to be converted in order to maximize the ADC conversion accuracy, the present application uses a bias circuit to make the collected signal closer to the ADC maximum amplitude, thereby improving the sampling accuracy.
[0059] The present application also provides a measuring instrument, which includes the AD sampling circuit provided in the above-mentioned embodiment of the present application. The measuring instrument can be an electromagnetic flow meter, an electromagnetic water meter, etc.
[0060] like Figure 1 As shown, the AD sampling circuit includes: a signal input module 100 , a signal amplification module 200 , a bias circuit module 300 , a bias reference source 400 and an AD acquisition module 500 .
[0061] The input end of the signal amplification module 200 is connected to the signal input module 100, and the output end of the signal amplification module 200 is connected to the first input end of the bias circuit module 300; the output end of the bias reference source 400 is respectively connected to the second input end of the bias circuit module 300 and the first input end of the AD acquisition module 500; the output end of the bias circuit module 300 is connected to the second input end of the AD acquisition module 500.
[0062] like Figure 1 As shown, the AD sampling circuit of the present application further includes: a processing module 600, and the processing module 600 is connected to the output end of the AD acquisition module 500. Specifically, the processing module 600 adopts a microcontroller processing unit.
[0063] The working principle of the AD sampling circuit of this application is as follows:
[0064] The signal input module 100 inputs the generated weak signal to the signal amplification module 200, the signal amplification module 200 amplifies the input weak signal, and then inputs it to the bias circuit module 300, the bias reference source 400 provides a bias voltage for the bias circuit module, and then the generated bias voltage is superimposed on the amplified input signal through the bias circuit module 300, the AD acquisition module 500 respectively collects the bias voltage value and the input signal value superimposed with the bias voltage, and finally the collected bias voltage value and the input signal value superimposed with the bias voltage are both input into the processing module 600, the two data are subtracted by the processing module 600, and then divided by the amplification factor of the signal amplification module 200, the voltage value of the weak signal actually collected can be obtained.
[0065] like Figure 2As shown, the bias circuit module 300 includes: a first resistor R1, a second resistor R2 and an operational amplifier U1. The two ends of the first resistor R1 are respectively connected to the output end of the signal amplification module 200 and the negative input terminal 4 of the operational amplifier U1. The two ends of the second resistor R2 are respectively connected to the negative input terminal 4 and the output terminal 1 of the operational amplifier U1. The positive input terminal 3 of the operational amplifier U1 is connected to the output end of the bias reference source 400. The output terminal 1 of the operational amplifier U1 is also connected to the second input terminal ADC2 of the AD acquisition module 500.
[0066] like Figure 2 As shown, the bias circuit module 300 also includes: a first capacitor C1 and a third resistor R3, one end of the third resistor R3 is connected to the output end of the operational amplifier U1, the other end of the third resistor R3 is connected to the second input end of the AD acquisition module 500, and the other end of the third resistor R3 is also grounded through the first capacitor C1.
[0067] like Figure 2 As shown, the AD sampling circuit also includes: a second capacitor C2 and a fourth resistor R4, one end of the fourth resistor R4 is connected to the output end of the bias reference source 400, the other end of the fourth resistor R4 is connected to the first input end of the AD acquisition module 500, and the other end of the fourth resistor R4 is also grounded through the second capacitor C2.
[0068] like Figure 3 As shown, the bias reference source 400 includes: a fifth resistor R5 and a sixth resistor R6, the fifth resistor R5 and the sixth resistor R6 are connected in series between the power supply and the ground, the connection end of the fifth resistor R5 and the sixth resistor R6 is connected to the first input end ADC1 of the AD acquisition module, and the connection end of the fifth resistor R5 and the sixth resistor R6 is also connected to the second input end of the bias circuit module 300.
[0069] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0070] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application.
Claims
1. An AD sampling circuit, characterized in that: include: Signal input module, signal amplification module, bias circuit module, bias reference source and AD acquisition module; wherein, The signal amplification module is connected to the signal input module and the bias circuit module respectively; the bias reference source is connected to the bias circuit module and the AD acquisition module respectively; the bias circuit module is connected to the AD acquisition module; The signal input module is used to input the generated signal into the signal amplification module; The signal amplification module is used to amplify the input signal and then input the amplified input signal to the bias circuit module; The bias reference source is used to provide a bias voltage to the bias circuit module; The bias circuit module is used to superimpose the bias voltage on the amplified input signal; The AD acquisition module is used to respectively acquire the value of the bias voltage and the value of the input signal superimposed with the bias voltage.
2. The AD sampling circuit according to claim 1, characterized in that: The bias circuit module includes: a first resistor, a second resistor and an operational amplifier; wherein, Two ends of the first resistor are respectively connected to the signal amplification module and the negative input terminal of the operational amplifier; Two ends of the second resistor are respectively connected to the negative input terminal and the output terminal of the operational amplifier; The positive input terminal of the operational amplifier is connected to the bias reference source; The output end of the operational amplifier is also connected to the AD acquisition module.
3. The AD sampling circuit according to claim 2, characterized in that: The bias circuit module also includes: A first capacitor and a third resistor, one end of the third resistor is connected to the operational amplifier, the other end of the third resistor is connected to the AD acquisition module, and the other end of the third resistor is also grounded through the first capacitor.
4. The AD sampling circuit according to claim 1, characterized in that: The AD sampling circuit also includes: A second capacitor and a fourth resistor, one end of the fourth resistor is connected to the bias reference source, the other end of the fourth resistor is connected to the AD acquisition module, and the other end of the fourth resistor is also grounded through the second capacitor.
5. The AD sampling circuit according to claim 1, characterized in that: The bias reference source comprises: A fifth resistor and a sixth resistor, wherein the fifth resistor and the sixth resistor are connected in series between a power supply and a ground, the connection end of the fifth resistor and the sixth resistor is connected to the AD acquisition module, and the connection end of the fifth resistor and the sixth resistor is also connected to the bias circuit module.
6. The AD sampling circuit according to claim 1, characterized in that: The AD sampling circuit also includes: A processing module is connected to the AD acquisition module and is used to subtract the bias voltage value collected by the AD acquisition module from the input signal value superimposed with the bias voltage, and then divide it by the amplification factor of the signal amplification module to obtain the voltage value of the signal actually collected by the signal input module.
7. The AD sampling circuit according to claim 6, characterized in that: The processing module adopts a microcontroller processing unit.
8. The AD sampling circuit according to claim 1, characterized in that: The AD acquisition module adopts a 24-bit multi-channel acquisition Sigma Delta ADC.
9. A measuring instrument, characterized in that: The AD sampling circuit comprises the AD sampling circuit according to any one of claims 1 to 8.
Citation Information
Cited By
Battery fuel gauge, electronic device, and method for determining state of charge of battery
WO2026149116A1
