Analog-to-digital converter
By using a combined structure of components such as integration, comparison and cutting units in the analog-to-digital converter, the problem of insufficient accuracy of the analog-to-digital converter is solved, high-precision and high-resolution analog signal conversion is achieved, and the characteristics of the analog signal are ensured. Full reflection.
Patent Information
- Application Number
- CN202410790084.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-24
AI Technical Summary
Existing analog-to-digital converters do not have sufficient accuracy for analog signals, making it difficult to effectively describe the characteristics of analog signals.
Using an analog-to-digital converter structure including an integrating unit, a comparison unit, a cutting unit and an MCU unit, high-precision conversion of analog signals is achieved through integral processing, comparison cutting and counter counting, and the residual energy is saved through the latch unit to ensure energy No loss, improve conversion resolution.
The accuracy and conversion speed of the analog-to-digital converter are improved, the integrity of the energy of the analog signal and the authenticity of the digital signal are ensured, and the performance index of 22bits resolution is achieved.
Smart Images

Figure CN118694374A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to an analog-to-digital converter suitable for a weighing system. Background Art
[0002] The rapid development of computer technology, communication technology and microelectronics technology has greatly promoted the development of analog to digital converters (ADCs). The output of an analog to digital converter can be regarded as a description of an analog signal.
[0003] At present, the oversampling analog-to-digital converter is a commonly used analog-to-digital converter, and the ∑-Δ ADC (Sigma-Delta analog-to-digital converter) is widely used. The ∑-Δ ADC may include an anti-aliasing filter, a ∑-Δ modulator, and a downsampling filter. Specifically, the analog signal first passes through an anti-aliasing filter to attenuate the noise and components outside the frequency band, and then the ∑-Δ modulator oversamples and noise shapes the analog signal output by the anti-aliasing filter, converting it into a high-speed, low-resolution bit stream (i.e., a 1-bit data stream), and finally the bit stream passes through a downsampling filter to filter out the high-frequency noise outside the signal frequency band and downsampling extraction, converting it into a low-speed, high-resolution digital signal and outputting it. It can be understood that the output result of the downsampling filter is a description of the analog signal.
[0004] After inspection, patent: analog-to-digital converter (CN202311164683.X), the analog-to-digital converter includes a modulator for processing analog signals to output a bit stream; a filter group, the filter group includes multiple downsampling filters, each downsampling filter is connected to the modulator; a first control system is connected to each downsampling filter, and is used to control the multiple downsampling filters to start up one after another, so that each downsampling filter is used to process the bit stream after starting and output different processing results. The above analog-to-digital converter has the problem of insufficient accuracy of analog signals. Summary of the invention
[0005] In order to solve the above technical problems, an object of the present invention is to provide an analog-to-digital converter.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] An analog-to-digital converter comprises an integration unit, a comparison unit, a cutting unit, a latch unit and an MCU unit, wherein the input end of the integration unit is connected to a signal input end, the output end of the integration unit is connected to one input end of the comparison unit, the other input end of the comparison unit is connected to the output end of the cutting unit, the input end of the cutting unit is connected to the output end of the MCU unit, the output end of the comparison unit is connected to the input end of the latch unit, the output end of the latch unit is connected to the input end of the integration unit, and the clock signal output end of the MCU unit is connected to the input end of the latch unit.
[0008] Preferably, in the analog-to-digital converter, the comparison unit comprises a chip IC1A, the second pin of the chip IC1A is connected to the initial signal input terminal via a resistor R3, a resistor R5, a capacitor C2, a capacitor C8 and a capacitor C12 are connected in parallel between the second pin of the chip IC1A and the resistor R3, the capacitor C12 is connected to the eighth pin of the chip IC1A via a capacitor C14, the first pin of the chip IC1A is the output terminal, the third pin of the chip IC1A is connected to the output terminal of the cutting unit (2) via a resistor R4, a resistor R6, a capacitor C3, a capacitor C9 and a capacitor C13 are connected in parallel between the third pin of the chip IC1A and the resistor R4 and are connected to the fourth pin of the chip IC1A, and the first pin of the chip IC1A is connected to the input terminal of the latch unit (4).
[0009] Preferably, in the analog-to-digital converter, the model of the chip IC1A is LM393.
[0010] Preferably, in the analog-to-digital converter, the integration unit comprises a chip IC1B, the sixth pin of the chip IC1B is connected to the fifth pin of the chip IC1B via a capacitor C5, the sixth pin of the chip IC1B is connected to the seventh pin of the chip IC1B via a capacitor C1, the capacitor C1 is connected to a capacitor C6 and a capacitor C11 connected in parallel, the sixth pin and the fifth pin of the chip IC1B are connected to the input signal via a resistor R1 and a resistor R2 respectively, the sixth pin and the fifth pin of the chip IC1B are connected to the input end of the latch unit (3) via a resistor R18 and a resistor R19 respectively, the fifth pin of the chip IC1B is grounded via a capacitor C4, a capacitor C7 and a capacitor C11 connected in parallel, and the seventh pin of the chip IC1B is connected to one input end of the comparison unit.
[0011] Preferably, in the analog-to-digital converter, the chip model of the chip IC1B is OP07.
[0012] Preferably, in the analog-to-digital converter, the cutting unit includes a chip IC11, a fourth pin of the chip IC11 is connected to an input end of the comparison unit, a third pin of the chip IC11 is connected to a fifth pin of the chip IC11 through a capacitor C11, and a second pin of the chip IC11 is connected to the MCU unit.
[0013] Preferably, in the analog-to-digital converter, the model of the chip IC11 is MC74VHC1G04DTT1G.
[0014] Preferably, in the analog-to-digital converter, the latch unit includes a chip IC5, the first pin, the fourth pin and the fourteenth pin of the chip IC5 are connected to the second pin of the chip IC5 through a capacitor C21, the third pin of the chip IC5 is connected to the output end of the MCU unit, the fifth pin and the sixth pin of the chip IC5 are connected to the input end of the integration unit, the third pin of the chip IC5 is connected to the output end of the MCU unit, and the ground pin 5 of the chip IC5 is connected to the output end of the MCU unit.
[0015] Preferably, in the analog-to-digital converter, the chip model of the chip IC5 is 74LS279
[0016] Preferably, in the analog-to-digital converter, the chip model used by the MCU unit is LPC1115.
[0017] By means of the above scheme, the present invention has at least the following advantages:
[0018] The present invention can improve the accuracy of the analog-to-digital converter through the integration unit, the comparison unit, the cutting unit and the latch unit.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 It is a principle block diagram of the present invention;
[0022] Figure 2 It is a practical circuit diagram of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0024] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0025] Example
[0026] like Figure 1 and Figure 2 As shown, an analog-to-digital converter includes an integration unit 1, a comparison unit 2, a cutting unit 3, a latch unit 4 and an MCU unit 5, wherein the input end of the integration unit 1 is connected to the signal input end, the output end of the integration unit 1 is connected to one input end of the comparison unit 2, the other input end of the comparison unit 2 is connected to the output end of the cutting unit 3, the input end of the cutting unit 3 is connected to the output end of the MCU unit 5, the output end of the comparison unit 2 is connected to the input end of the latch unit 4, the output end of the latch unit 4 is connected to the input end of the integration unit 1, and the clock signal output end of the MCU unit 5 is connected to the input end of the latch unit 4.
[0027] The comparison unit 2 described in the present invention includes a chip IC1A, the second pin of the chip IC1A is connected to the initial signal input end through a resistor R3, a resistor R5, a capacitor C2, a capacitor C8 and a capacitor C12 are connected in parallel between the second pin of the chip IC1A and the resistor R3, the capacitor C12 is connected to the eighth pin of the chip IC1A through a capacitor C14, the first pin of the chip IC1A is the output end, the third pin of the chip IC1A is connected to the output end of the cutting unit 2 through a resistor R4, a resistor R6, a capacitor C3, a capacitor C9 and a capacitor C13 are connected in parallel between the third pin of the chip IC1A and the resistor R4 and are connected to the fourth pin of the chip IC1A, the first pin of the chip IC1A is connected to the input end of the latch unit 4, wherein the model of the chip IC1A is LM393.
[0028] The integration unit 1 described in the present invention includes a chip IC1B, the sixth pin of the chip IC1B is connected to the fifth pin of the chip IC1B through a capacitor C5, the sixth pin of the chip IC1B is connected to the seventh pin of the chip IC1B through a capacitor C1, the capacitor C1 is connected to a capacitor C6 and a capacitor C11 in parallel, the sixth pin and the fifth pin of the chip IC1B are connected to the input signal through a resistor R1 and a resistor R2 respectively, the sixth pin and the fifth pin of the chip IC1B are connected to the input end of the latch unit 3 through a resistor R18 and a resistor R19 respectively, the fifth pin of the chip IC1B is grounded through a capacitor C4, a capacitor C7 and a capacitor C11 in parallel, and the seventh pin of the chip IC1B is connected to one input end of the comparison unit 2, wherein the chip model of the chip IC1B is OP07.
[0029] The cutting unit 3 in the present invention includes a chip IC11, a fourth pin of the chip IC11 is connected to an input end of the comparison unit 2, a third pin of the chip IC11 is connected to a fifth pin of the chip IC11 through a capacitor C11, and a second pin of the chip IC11 is connected to the MCU unit 5. The model of the chip IC11 is MC74VHC1G04DTT1G.
[0030] The latch unit 4 in the present invention includes a chip IC5, wherein the first pin, the fourth pin and the fourteenth pin of the chip IC5 are connected to the second pin of the chip IC5 through a capacitor C21, the third pin of the chip IC5 is connected to the output end of the MCU unit 1, the fifth pin and the sixth pin of the chip IC5 are connected to the input end of the integration unit 1, the third pin of the chip IC5 is connected to the output end of the MCU unit 5, and the ground pin 5 of the chip IC5 is connected to the output end of the MCU unit 5, wherein the chip model of the chip IC5 is 74LS279
[0031] The chip model used by the MCU unit 5 in the present invention is LPC1115.
[0032] The working principle of the present invention is as follows:
[0033] In order to achieve the purpose of faster conversion speed, the present invention does not need to perform signal sampling or signal holding and other switching actions for the input analog voltage signal. Instead, the energy carried by the analog voltage signal Ua is directly fed to the signal integrator for integration processing to obtain the integrated voltage signal Ub. Then it is sent to the signal comparator to compare with the cutting signal Ucut output by the cutting unit, so that the integration result is cut into sections of mapping signals Ud proportional to the input voltage signal analog_IN. This mapping signal contains the residual energy left after cutting. During the cutting period, the internal counter (MCU unit) will count the clock pulses of a fixed frequency to obtain a count value proportional to the converted input voltage signal. This count value is the quantization result of this conversion. Every time the comparator completes a cutting, it also completes a quantization synchronously, so the conversion rate depends on the frequency of the synchronous cutting signal.
[0034] In order to improve the conversion quality, the residual energy contained in the mapping signal is in a legacy state and is not thrown away. Instead, it is sent to the latch to be stored under the drive of the transmission signal Flatch, and converted into a pair of modulation signals Uf, which are mixed with the converted analog voltage signal analog_IN through the mixer to form a mixed input voltage signal Ua, waiting to continue to participate in the conversion in the next conversion cycle. The advantage of this is that when the input analog voltage signal analog_IN is converted into a digital signal, the energy carried by the analog signal is not lost, and all the characteristics of the analog signal are truly reflected in the digital signal, from the magnitude of the electronic motion thermal noise to the full-scale input signal range, can be realistically converted.
[0035] The input analog voltage signal of the present invention is quantized and processed continuously in real time. Each quantization result not only reflects the corresponding input voltage signal size at this moment (i.e., within this conversion cycle), but also contains the residual signal energy information (i.e., remainder) of the previous conversion cycle. Therefore, in order to achieve a higher conversion resolution, it is necessary to perform a constant value convolution operation (a constant value set by technicians in this field) on the continuous quantization result function and the time function to obtain an expanded digital result. This digital result information also truly represents all the characteristic information of the input analog signal as the intermediate result of this conversion.
[0036] In the present invention, since the analog voltage signal will be added with noise pollution during the integration and comparison process, and the quantized result data will also generate digital noise during the convolution operation, the intermediate result data needs to be properly digitally filtered to eliminate shock oscillation, attenuate noise interference, and obtain the final output Digital_OUT as realistic as possible. Commonly used digital filter models include maximum flat shape, elliptical shape, etc., and an adaptive intelligent switching algorithm strategy is adopted.
[0037] By combining the above devices (integral unit 1, comparison unit 2, cutting unit 3, latch unit 4 and MCU unit 5) to form a circuit board, a performance index of 22 bits resolution at a conversion speed of 1500 Hz can be achieved.
[0038] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0039] In the description of this application, it should be noted that the terms "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0040] In addition, the terms "horizontal", "vertical" and the like do not mean that the components are required to be absolutely horizontal or vertical, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0041] In the description of this application, it should also be noted that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0042] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the technical principles of the present invention, and these improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. An analog-to-digital converter, characterized in that: The invention comprises an integration unit (1), a comparison unit (2), a cutting unit (3), a latch unit (4) and an MCU unit (5), wherein the input end of the integration unit (1) is connected to the signal input end, the output end of the integration unit (1) is connected to one input end of the comparison unit (2), the other input end of the comparison unit (2) is connected to the output end of the cutting unit (3), the input end of the cutting unit (3) is connected to the output end of the MCU unit (5), the output end of the comparison unit (2) is connected to the input end of the latch unit (4), the output end of the latch unit (4) is connected to the input end of the integration unit (1), and the clock signal output end of the MCU unit (5) is connected to the input end of the latch unit (4).
2. An analog-to-digital converter according to claim 1, characterized in that: The comparison unit (2) comprises a chip IC1A, wherein a second pin of the chip IC1A is connected to an initial signal input terminal via a resistor R3, a resistor R5, a capacitor C2, a capacitor C8 and a capacitor C12 connected in parallel are connected between the second pin of the chip IC1A and the resistor R3, the capacitor C12 is connected to an eighth pin of the chip IC1A via a capacitor C14, a first pin of the chip IC1A is an output terminal, a third pin of the chip IC1A is connected to an output terminal of the cutting unit (2) via a resistor R4, a resistor R6, a capacitor C3, a capacitor C9 and a capacitor C13 connected in parallel are connected between the third pin of the chip IC1A and the resistor R4 and are connected to a fourth pin of the chip IC1A, and a first pin of the chip IC1A is connected to an input terminal of the latch unit (4).
3. An analog-to-digital converter according to claim 2, characterized in that: The model of the chip IC1A is LM393.
4. The analog-to-digital converter according to claim 1, characterized in that: The integration unit (1) comprises a chip IC1B, wherein the sixth pin of the chip IC1B is connected to the fifth pin of the chip IC1B via a capacitor C5, the sixth pin of the chip IC1B is connected to the seventh pin of the chip IC1B via a capacitor C1, the capacitor C1 is connected to a capacitor C6 and a capacitor C11 connected in parallel, the sixth pin and the fifth pin of the chip IC1B are connected to an input signal via a resistor R1 and a resistor R2 respectively, the sixth pin and the fifth pin of the chip IC1B are connected to an input end of a latch unit (3) via a resistor R18 and a resistor R19 respectively, the fifth pin of the chip IC1B is grounded via a capacitor C4, a capacitor C7 and a capacitor C11 connected in parallel, and the seventh pin of the chip IC1B is connected to one input end of a comparison unit (2).
5. An analog-to-digital converter according to claim 4, characterized in that: The chip model of the chip IC1B is OP07.
6. The analog-to-digital converter according to claim 1, characterized in that: The cutting unit (3) comprises a chip IC11, a fourth pin of the chip IC11 is connected to an input end of the comparison unit (2), a third pin of the chip IC11 is connected to a fifth pin of the chip IC11 via a capacitor C11, and a second pin of the chip IC11 is connected to the MCU unit (5).
7. An analog-to-digital converter according to claim 6, characterized in that: The model of the chip IC11 is MC74VHC1G04DTT1G.
8. The analog-to-digital converter according to claim 1, characterized in that: The latch unit (4) comprises a chip IC5, wherein the first pin, the fourth pin and the fourteenth pin of the chip IC5 are connected to the second pin of the chip IC5 via a capacitor C21, the third pin of the chip IC5 is connected to the output end of the MCU unit (1), the fifth pin and the sixth pin of the chip IC5 are connected to the input end of the integration unit (1), the third pin of the chip IC5 is connected to the output end of the MCU unit (5), and the ground pin 5 of the chip IC5 is connected to the output end of the MCU unit (5).
9. An analog-to-digital converter according to claim 8, characterized in that: The chip model of the chip IC5 is 74LS279.
10. The analog-to-digital converter according to claim 1, characterized in that: The chip model used by the MCU unit (5) is LPC1115.
