Analog-to-digital conversion circuit

By using the off-period coding technology in the analog-to-digital conversion circuit, the analog-to-digital conversion process is simplified, the complex and cost-effective production of traditional ADC chips is solved, and the low-cost and efficient analog-to-digital conversion effect is achieved.

WO2024230340A1PCT designated stage expired Publication Date: 2024-11-14ZHANG GUOLIU
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083715
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-10
Filing Date
2024-03-26
Publication Date
2024-11-14

AI Technical Summary

Technical Problem

Traditional analog-to-digital converter (ADC) chip production process is complex and costly, making it difficult to achieve low-cost and efficient analog-to-digital conversion.

Method used

Design an analog-to-digital conversion circuit, including sensors, sampling and holding circuits and multiple branches, each branch is equipped with an encoding component, converting the analog signal into a binary digital signal through off-period encoding, and simplifying the characteristics of off-period Process and reduction of accuracy requirements.

Benefits of technology

It realizes low-cost and efficient analog-to-digital transformation, simplifies the analog-to-digital conversion process, and reduces production costs and complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083715_14112024_PF_FP_ABST
    Figure CN2024083715_14112024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention is an analog-to-digital conversion circuit. The circuit comprises a sensor, a sample-and-hold circuit, and n branches; each branch is provided with a coding component; the sensor converts an analog signal to be converted into a current corresponding to a voltage value; the coding component on the i-th branch equally divides a voltage value range of the sensor into 2i-1 on-off periods, the first half of each on-off period being a power-off interval, and the second half thereof being a power-on interval; the coding component on each branch determines an output code value according to the interval where the voltage value falls: when the voltage value falls within the power-off interval, the coding component outputs a code value 0, and when the voltage value falls within the power-on interval, the coding component outputs a code value 1; and the code values of the n branches are output as a string of n-bit digital sequence of 0 and 1 according to the serial numbers of the branches, to obtain a binary digital signal result of the analog signal. By means of the characteristics of the on-off periods of binary coding, complicated processes and precision requirements are not needed, and analog-to-digital conversion is achieved by a low-cost circuit.
Need to check novelty before this filing date? Find Prior Art

Description

An analog-to-digital conversion circuit Technical Field

[0001] The present invention relates to the technical field of analog-to-digital conversion, and in particular to an analog-to-digital conversion circuit. Background Art

[0002] In automatic control systems, the objects being controlled or measured are often changing physical quantities. These continuously changing quantities, which vary continuously in both time and value, are also called analog quantities. When a microcontroller is used for measurement or calculation, the analog quantity must be converted into a digital quantity before it can be accepted by the microcontroller. Devices that can convert analog quantities into digital quantities are called analog-to-digital converters, or ADCs or A / Ds for short.

[0003] ADC chips typically include an operation register, an interrupt register, and a conversion memory controller. Traditional ADC chip production processes are complex, including a step that requires removing acid mist and impurities generated during the ADC foaming process to maintain the accuracy of the converted signal. Chip manufacturing places high demands on machinery and the environment, resulting in high manufacturing process requirements and costs for traditional analog-to-digital converters.

[0004] Summary of the Invention

[0005] In order to solve the above problems, the present invention proposes an analog-to-digital conversion circuit, which does not require complex processes and precision requirements and uses a low-cost circuit to achieve analog-to-digital conversion.

[0006] An embodiment of the present invention provides an analog-to-digital conversion circuit, comprising a sensor, a sample-and-hold circuit, and n branches, each branch being provided with an encoding component. The sensor converts an analog signal to be converted into a current corresponding to a voltage value, which is input into the n branches via the sample-and-hold circuit. The encoding component on each branch outputs a code value of 0 or 1 based on the input current. The code values ​​of the n branches are output in ascending order of branch number to obtain an analog-to-digital conversion result.

[0007] Set the coding component on the i-th branch to divide the voltage range of the sensor into 2 i-1 On-off cycles, the first half of each on-off cycle is a power-off interval, and the second half is a power-on interval, wherein i=1, 2, ..., n, where n is an integer greater than 0;

[0008] After current is applied to the coding component on each branch, the output coding value is determined according to whether the voltage value falls within the power-off range or the power-on range: when the voltage value falls within the power-off range, the output coding value is 0, and when the voltage value falls within the power-on range, the output coding value is 1;

[0009] The code values ​​of the n branches are output as a string of n-bit 01 digital sequences in ascending order of branch numbers, and the binary digital signal result of the analog signal is obtained.

[0010] As a preferred solution, the encoding component in the circuit is a turn-type on-off cycle component;

[0011] The turn-type on-off cycle assembly consists of a cylindrical closed container, a turn line, and a buoy;

[0012] The turn-type on-off cycle component installed in the i-th branch has its turn wire wound within the scale interval of the cylindrical closed container. i-1 turns, thereby dividing the voltage value range into 2 i-1 On-off cycles;

[0013] The wire is wound around the cylindrical sealed container for an integer number of turns. The first half of each turn is insulated from the cylindrical sealed container, and the second half is conductive to the cylindrical sealed container. The half side of the cylindrical sealed container that is insulated from the wire is called the insulating side, and the half side that is conductive to the wire is called the conductive side. Each turn of the wire passes through an insulating side and a conductive side, forming an on-off cycle.

[0014] The cylindrical sealed container contains insulating liquid. The liquid level is controlled by the voltage value and stays on the scale corresponding to the voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and H is the highest scale of the cylindrical sealed container;

[0015] The float is always on the liquid surface of the cylindrical closed container and is connected in series to the winding line. It always moves along the trajectory of the winding line, so the float is always located at the intersection of the liquid surface and the winding line.

[0016] When the buoy stays on the insulating side of the cylindrical sealed container, the turn-type on-off cycle component is not conductive, and the branch line outputs a code value of 0; when the buoy stays on the conductive side of the cylindrical sealed container, the turn-type on-off cycle component is conductive, and the branch line outputs a code value of 1.

[0017] As a parallel solution to the above solution, the encoding component in the circuit is a rotary on-off cycle component;

[0018] The rotary on-off cycle assembly consists of five parts: input wire, rotary pointer, insulating chassis, conductive sheet, and output wire;

[0019] The input wire is connected to the root of the rotary pointer, the output wire is connected to the conductive sheet, and the rotary pointer is made of conductive material;

[0020] The insulating chassis is insulated as a whole, and the rear semicircle of the pointer is covered with a conductive sheet, forming a layout in which the front semicircle is insulated and the rear semicircle is conductive. The rotating pointer undergoes an on-off cycle every time it rotates one circle from its initial position.

[0021] The rotating pointer is driven by the current. When the voltage value of the current is v in When the total rotation degree of the rotating pointer located in the i-th branch is Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and n is the total number of branches;

[0022] After the rotating pointer completes the above rotation degrees, if it stays on the conductive sheet, the input wire and the output wire are connected, the rotary on-off cycle component is energized, and the code value output by this branch is 1; if it stays on the insulating chassis, the input wire and the output wire are not connected, the rotary on-off cycle component is not energized, and the code value output by this branch is 0.

[0023] As a parallel solution to the above solution, the encoding component in the circuit is a fan-type on-off cycle component;

[0024] The fan-type on-off cycle assembly consists of four parts: input wire, rotating pointer, fan-type chassis, and output wire;

[0025] The input wire is connected to the root of the rotary pointer, and the rotary pointer is made of conductive material;

[0026] The fan-type chassis on the i-th branch is divided into 2 i There are two types of sectors: one is the insulating sector made of insulating material, and the other is the conductive sector made of conductive material. The insulating sector and the conductive sector are arranged alternately, dividing the entire fan-type chassis into 2 i-1 On-off cycles;

[0027] The output wire is connected to all the conductive sectors. The rotating pointer on the sector-type on-off cycle component is driven by the current to rotate. The pointer of the sector-type on-off cycle component on each branch rotates at the same degree under the same voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor;

[0028] When the pointer falls on the conductive sector, the input wire and the output wire are connected, the fan-type on-off cycle component is energized, and the code value output by this branch is 1; when the pointer falls on the insulating sector, the input wire and the output wire are not connected, the fan-type on-off cycle component is not energized, and the code value output by this branch is 0.

[0029] The present invention provides an analog-to-digital conversion circuit, comprising a sensor, a sampling and holding circuit, and n branches, each of which is provided with an encoding component; the sensor converts an analog signal to be converted into a current corresponding to a voltage value; the encoding component on each branch outputs a code value 0 or a code value 1 according to the input current; the code values ​​of the n branches are output in ascending order of branch numbers to obtain an analog-to-digital conversion result; the encoding component on the i-th branch is set to divide the voltage value range of the sensor into two equal parts i-1 The first half of each on-off cycle is the power-off interval, and the second half is the power-on interval, where i = 1, 2, ..., n, where n is an integer greater than 0. After current is applied, the encoding component on each branch determines the output code value by determining whether the voltage value falls within the power-off interval or the power-on interval: when the voltage value falls within the power-off interval, the code value is output as 0, and when the voltage value falls within the power-on interval, the code value is output as 1. The code values ​​of the n branches are output in ascending order of branch number as a string of n-bit 01 digital sequences, resulting in the binary digital signal of the analog signal. By leveraging the on-off cycle characteristics of binary coding, the analog-to-digital conversion can be achieved using low-cost circuits without complex processes and precision requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] FIG1 is a schematic structural diagram of an analog-to-digital conversion circuit provided by an embodiment of the present invention;

[0031] FIG2 is a schematic diagram showing the correspondence between a binary number and its encoded decimal number provided by an embodiment of the present invention;

[0032] FIG3 is a schematic diagram of the structure of an encoding component provided by an embodiment of the present invention;

[0033] FIG4 is a schematic structural diagram of an encoding component provided by another embodiment of the present invention;

[0034] FIG5 is a schematic structural diagram of an analog-to-digital conversion circuit provided by yet another embodiment of the present invention;

[0035] FIG6 is a schematic structural diagram of an encoding component provided by another embodiment of the present invention;

[0036] FIG7 is a schematic structural diagram of an analog-to-digital conversion circuit provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0038] Example 1

[0039] An embodiment of the present invention provides an analog-to-digital conversion circuit, comprising a sensor, a sample-and-hold circuit, and n branches, each branch being provided with an encoding component. The sensor converts an analog signal to be converted into a current corresponding to a voltage value, which is input into the n branches via the sample-and-hold circuit. The encoding component on each branch outputs a code value of 0 or 1 based on the input current. The code values ​​of the n branches are output in ascending order of branch number to obtain an analog-to-digital conversion result.

[0040] Set the coding component on the i-th branch to divide the voltage range of the sensor into 2 i-1 On-off cycles, the first half of each on-off cycle is a power-off interval, and the second half is a power-on interval, wherein i=1, 2, ..., n, where n is an integer greater than 0;

[0041] After current is applied to the coding component on each branch, the coding value is determined by judging whether the voltage value falls within the power-off range or the power-on range: when the voltage value falls within the power-off range, the coding value is output as 0, and when the voltage value falls within the power-on range, the coding value is output as 1.

[0042] The code values ​​of the n branches are output as a string of n-bit 01 digital sequences in the order of branch numbers from small to large, and the binary digital signal result of the analog signal is obtained.

[0043] In the specific implementation of this embodiment, refer to FIG1 , which is a schematic structural diagram of an analog-to-digital conversion circuit provided by an embodiment of the present invention. The circuit includes a sensor LT, a sample-and-hold circuit, and four branches, each of which is configured with an encoding component for encoding an analog signal.

[0044] The input end of the sensor LT is used to input analog signals, and the output end is connected to the sample and hold circuit; the output end of the sample and hold circuit is connected to four branches;

[0045] The standard analog-to-digital conversion process includes four steps: sampling, holding, quantization, and encoding.

[0046] The sampling process converts a continuous-time signal into a discrete-time signal. Since the analog signal is input continuously, the resulting voltage is also continuous. The sampling circuit is essentially a circuit switch that, by repeatedly opening and closing, breaks the continuous voltage signal into discrete voltage values.

[0047] The voltage values ​​passing through the sampling circuit are instantaneous. Because the ADC converts voltage values ​​into a digital sequence through multiple steps, processing time is required. During this processing time, the ADC needs to repeatedly retrieve voltage values. However, the instantaneous voltage values ​​sampled are fleeting, necessitating the addition of a hold circuit. The hold circuit maintains the instantaneous voltage value obtained by the sampling circuit at the ADC input, allowing the ADC to continuously retrieve this voltage value for a certain period of time. The sampling circuit and the hold circuit together constitute a sample-and-hold circuit.

[0048] Specifically, the positive input terminal of the sensor LT serves as the input terminal, the negative input terminal is connected to the output terminal, and the voltage source inside the sensor LT is 5V. Therefore, the sensor LT is used to convert the external input voltage into a current with a voltage between [0, 5]V.

[0049] When performing binary encoding, see Figure 2, which is a schematic diagram of the correspondence between binary digits and the decimal digits they encode, provided by an embodiment of the present invention. Each column of digits in the figure has its corresponding encoding value below it. For example, the binary digit sequence in column 7 is (00110)2, and its encoding value is the sum of the bit weights of the digits with a value of 1, i.e., 0+0+4+2+0=(6). 10 The same is true for all other values.

[0050] After arranging the binary code values ​​in ascending order, the 0 and 1 values ​​on each digit have the following distribution pattern: the 0-value interval and the 1-value interval on all digits are of equal length, and are distributed alternately with the 0-value interval first and the 1-value interval second. Here, one 0-value interval plus one 1-value interval is called one on-off cycle. The on-off cycle pattern obtained by analysis includes: the on-off cycles of all digits are first the 0-value interval and then the 1-value interval, all digits divide the value interval into several complete on-off cycles, the highest digit (digit N) has only one on-off cycle in the value interval; the number of on-off cycles doubles for each lower level of the digit. For example, in Figure 2, digit five has only one on-off cycle; digit four has two on-off cycles, which is twice that of digit five; digit three has four on-off cycles, which is twice that of digit four. For an n-bit binary number, the number of on-off cycles of its digit i is C i The calculation formula is: C i =2 n-i .

[0051] For example, the third digit of a 5-digit binary number has 2 5-3 = 4 on-off cycles; the digit 3 of an 8-bit binary number has 2 8-3 =32 on-off cycles.

[0052] Referring to Figure 1, based on the on-off cycle characteristics of binary coding, when converting an analog signal into a 4-bit binary number, four branches are laid out, namely the first branch TOP1, the second branch TOP2, the third branch TOP3 and the fourth branch TOP4; each branch includes a coding component that specifically encodes the 01 value of a specific digit. The first branch TOP1 coding value includes one on-off cycle, and its coding component divides the voltage value interval [0, 5] V of the sensor into two intervals, which are the power-off interval and the power-on interval from low to high; the second branch TOP2 coding value includes two on-off cycles, and its coding component divides the voltage value interval [0, 5] V of the sensor into four intervals, which are alternately distributed between the power-off interval and the power-on interval from low to high; the third branch TOP3 coding value includes four on-off cycles, and its coding component divides the voltage value interval [0, 5] V of the sensor into eight intervals, which are alternately distributed between the power-off interval and the power-on interval from low to high; the fourth branch TOP4 coding value includes eight on-off cycles, and its coding component divides the voltage value interval [0, 5] V of the sensor into 16 intervals, which are alternately distributed between the power-off interval and the power-on interval from low to high;

[0053] The 01 values ​​of the branch circuits are arranged in ascending order of their on-off cycles, equivalent to arranging the digits from high to low. The encoding component on each branch circuit outputs a code value of 0 or 1 based on the input current. The code values ​​of the n branches are output in ascending order of branch number to obtain the analog-to-digital conversion result. The resulting string of 01 values ​​is the 4-bit binary value of the analog signal. This analog-to-digital conversion method, achieved by laying out multiple branch circuits with on-off cycles increasing by a factor of two, is called on-off cycle-based analog-to-digital conversion.

[0054] In Figure 1, the 3.67V input voltage after sensor conversion is input into the four branches respectively. The coding values ​​of the four branches are determined according to the intervals of the on-off cycles of the 3.5V voltage in the four branches. Specifically, the 3.67V voltage in the first branch TOP1 is in the power-on interval, and the output coding value is 1. The 3.67V voltage in the second branch TOP2 is in the power-off interval, and the output coding value is 0. The 3.67V voltage in the third branch TOP3 is in the power-on interval, and the output coding value is 1. The 3.67V voltage in the fourth branch TOP4 is in the power-on interval, and the output coding value is 1. The coding values ​​of the four branches are output as a string of 4-bit 01 digital sequences in the order of branch numbers from small to large, so the final digital signal output of the 3.67V voltage is (1011)2.

[0055] It should be noted that in this embodiment, the voltage value of the signal is used as an example to illustrate the specific operating principle of the on-off cycle type analog-to-digital conversion circuit. In other embodiments, other characteristic values ​​of the signal can also be used as the judgment condition for analog-to-digital conversion, such as the current value of the signal. The specific structure and operating principle are similar to those of the present application and are not further described here.

[0056] It should be noted that in this embodiment, the working process of the analog-to-digital conversion circuit of the present invention is illustrated by taking the number of branches n=4 and the coding range of only 0 to 15 as an example. In other embodiments, the number of branches n is a positive integer, and its specific structure and working process are similar to those of the present application, which will not be repeated here.

[0057] The present invention is based on the on-off cycle characteristics of binary coding, and encodes each digit through multiple branches to achieve final binary coding output. The analog-to-digital conversion circuit structure is simple and the analog-to-digital conversion process is faster.

[0058] Example 2

[0059] In another embodiment provided by the present invention, the encoding component in the circuit is a turn-type on-off cycle component;

[0060] The turn-type on-off cycle assembly consists of a cylindrical closed container, a turn line, and a buoy;

[0061] The turn-type on-off cycle component installed in the i-th branch has its turn wire wound within the scale interval of the cylindrical closed container. i-1 turns, thereby dividing the voltage value range into 2 i-1 On-off cycles;

[0062] The wire is wound around the cylindrical sealed container for an integer number of turns. The first half of each turn is insulated from the cylindrical sealed container, and the second half is conductive to the cylindrical sealed container. The half side of the cylindrical sealed container that is insulated from the wire is called the insulating side, and the half side that is conductive to the wire is called the conductive side. Each turn of the wire passes through an insulating side and a conductive side, forming an on-off cycle.

[0063] The cylindrical sealed container contains insulating liquid. The liquid level is controlled by the voltage value and stays on the scale corresponding to the voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and H is the highest scale of the cylindrical sealed container;

[0064] The float is always on the liquid surface of the cylindrical closed container and is connected in series to the winding line. It always moves along the trajectory of the winding line, so the float is always located at the intersection of the liquid surface and the winding line.

[0065] When the buoy stays on the insulating side of the cylindrical sealed container, the turn-type on-off cycle component is not conductive, and the branch line outputs a code value of 0; when the buoy stays on the conductive side of the cylindrical sealed container, the turn-type on-off cycle component is conductive, and the branch line outputs a code value of 1.

[0066] In the specific implementation of this embodiment, refer to Figure 3, which is a structural diagram of the encoding component provided by the embodiment of the present invention; the encoding component of each branch is a turn-type on-off cycle component, which consists of three parts: a cylindrical sealed container, a turn wire, and a buoy; Figure 2 shows the structural diagram of the turn-type on-off cycle components in the five branches. The encoding of the 5th digit encoded by the first branch has only one on-off cycle, so the turn-type on-off cycle component of the first branch includes 1 turn of turn wire evenly wound on the cylindrical sealed container with a height of H; the encoding of the 4th digit encoded by the second branch has two on-off cycles, so the turn-type on-off cycle component of the second branch includes 2 The third branch encodes a third digit with four on-off cycles, and thus the turn-type on-off cycle component of the third branch includes four turns of wire uniformly wound on the cylindrical sealed container with a height of H; the fourth branch encodes a second digit with eight on-off cycles, and thus the turn-type on-off cycle component of the fourth branch includes eight turns of wire uniformly wound on the cylindrical sealed container with a height of H; the fifth branch encodes a first digit with only sixteen on-off cycles, and thus the turn-type on-off cycle component of the fifth branch includes sixteen turns of wire uniformly wound on the cylindrical sealed container with a height of H;

[0067] The wire is wound around the cylindrical sealed container for an integer number of turns. The first half of each turn is insulated from the cylindrical sealed container, and the second half is conductive to the cylindrical sealed container. The half side of the cylindrical sealed container that is insulated from the wire is called the insulating side, and the half side that is conductive to the wire is called the conductive side. Each turn of the wire passes through an insulating side and a conductive side, forming an on-off cycle.

[0068] The cylindrical sealed container contains insulating liquid. The liquid level is controlled by the voltage value and stays on the scale corresponding to the voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and H is the highest scale of the cylindrical sealed container;

[0069] The float is always on the liquid surface of the cylindrical closed container and is connected in series to the winding line. It always moves along the trajectory of the winding line, so the float is always located at the intersection of the liquid surface and the winding line.

[0070] When the buoy stays on the insulating side of the cylindrical sealed container, the turn-type on-off cycle component is not conductive, and the branch line outputs a code value of 0; when the buoy stays on the conductive side of the cylindrical sealed container, the turn-type on-off cycle component is conductive, and the branch line outputs a code value of 1.

[0071] In Figure 3, when the sliding position of the float of the cylindrical sealed container is 22, it is connected to the conductive side of the cylindrical sealed container of the first branch, and the corresponding digit 5 ​​outputs the coding value 1; it is connected to the insulating side of the cylindrical sealed container of the second branch, and the corresponding digit 4 outputs the coding value 0; it is connected to the conductive side of the cylindrical sealed container of the third branch, and the corresponding digit 3 outputs the coding value 1; it is connected to the conductive side of the cylindrical sealed container of the fourth branch, and the corresponding digit 2 outputs the coding value 1; it is connected to the insulating side of the cylindrical sealed container of the fifth branch, and the corresponding digit 1 outputs the coding value 0; therefore, the corresponding coding value output is (10110)2.

[0072] It should be noted that in this embodiment, the working process of the analog-to-digital conversion circuit of the present invention is illustrated by taking the number of branches n=5 and the coding range of only 0 to 31 as an example. In other embodiments, the number of branches n is a positive integer, and its specific structure and working process are similar to those of the present application, which will not be repeated here.

[0073] It should be noted that in this embodiment, other columns with symmetrical bottom structures can also be used in the turn-type on-off cycle component, such as regular quadrangular prisms, square columns and other structures. In these structures, the half side of the sealed container that is insulated from the turn wire is called the insulating side, and the half side that is conductive to the turn wire is called the conductive side, which does not affect the implementation of the solution.

[0074] The coding component structure of the turn-type on-off periodic component set by the turn-increasing method can realize analog-to-digital conversion coding conveniently and quickly.

[0075] Example 3

[0076] In another embodiment provided by the present invention, the encoding component in the circuit is a rotary on-off cycle component;

[0077] The rotary on-off cycle assembly consists of five parts: input wire, rotary pointer, insulating chassis, conductive sheet, and output wire;

[0078] The input wire is connected to the root of the rotary pointer, the output wire is connected to the conductive sheet, and the rotary pointer is made of conductive material;

[0079] The insulating chassis is insulated as a whole, and the rear semicircle of the pointer is covered with a conductive sheet, forming a layout in which the front semicircle is insulated and the rear semicircle is conductive. The rotating pointer undergoes an on-off cycle every time it rotates one circle from its initial position.

[0080] The rotating pointer is driven by the current. When the voltage value of the current is v inWhen the total rotation degree of the rotating pointer located in the i-th branch is Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and n is the total number of branches;

[0081] After the rotating pointer completes the above rotation degrees, if it stays on the conductive sheet, the input wire and the output wire are connected, the rotary on-off cycle component is energized, and the code value output by this branch is 1; if it stays on the insulating chassis, the input wire and the output wire are not connected, the rotary on-off cycle component is not energized, and the code value output by this branch is 0.

[0082] In the specific implementation of this embodiment, referring to FIG4 , which is a structural diagram of an encoding component provided by another embodiment of the present invention, the encoding component in the branch is a rotary on-off cycle component;

[0083] The rotary on-off cycle assembly consists of five parts: input wire, rotary pointer, insulating chassis, conductive sheet, and output wire;

[0084] The input wire is connected to the root of the rotary pointer, the output wire is connected to the conductive sheet, and the rotary pointer is made of conductive material;

[0085] Figure 4 shows the structure of the rotary on-off cycle components for all branches. The insulating chassis is entirely insulated, and a conductive sheet covers the rear semicircle of the pointer's rotation, creating a layout where the front semicircle is insulated and the rear semicircle is conductive. Each rotation of the rotating pointer from its initial position undergoes an on-off cycle. The rotating pointer serves as the input, and the sectors of the conductive sheet serve as the output. When powered, the rotating pointer rotates counterclockwise. Configuring different voltage sensitivities for the component pointers of each branch allows the rotary on-off cycle components of different branches to rotate differently at the same voltage. After completing the aforementioned rotation, if the rotating pointer rests on the conductive sheet, the input and output wires are connected, the rotary on-off cycle component is energized, and the output code value of that branch is 1. If it rests on the insulating chassis, the input and output wires are disconnected, the rotary on-off cycle component is deenergized, and the output code value of that branch is 0.

[0086] If the sensor's conversion level range is set to [0V, 5V], the voltage sensitivity of the first branch's rotary on-off cycle component can be set to one rotation of 5V. The pointer rotates 72° per volt, giving a voltage sensitivity of 72° / V. The voltage sensitivity of the second branch's rotary on-off cycle component can be set to two rotations of 5V, giving a voltage sensitivity of 144° / V. By setting the voltage sensitivity of each branch component in increments of 2, a set of rotary on-off cycle components with a doubled number of on-off cycles can be obtained. As shown in Figure 4, when the voltage input to the first branch and the second branch is 2V, the rotary pointer of the rotary on-off cycle component of the first branch rotates 72°x2=144°, falls on the insulating chassis, and outputs the code value 0; the rotary pointer of the rotary on-off cycle component of the second branch rotates 144°x2=288°, falls on the conductive plate, and outputs the code value 1; by installing this set of rotary on-off cycle components with different voltage sensitivities in different sub-circuits, a sub-circuit that encodes the value 01 for each digit can be obtained.

[0087] Under different voltage sensitivities, the rotation angle of the rotating pointer of the i-th branch is Among them, v in is the voltage value output by the sensor, v max is the rated maximum voltage value of the sensor, and n is the total number of branches.

[0088] 5 is a schematic diagram of the structure of an analog-to-digital conversion circuit provided by another embodiment of the present invention. In this embodiment, eight branches are provided, each branch including a rotary on-off cycle component. The insulating chassis of the rotary on-off cycle components of all branches are insulated as a whole, and the conductive sheet is covered on the rear semicircle of the rotating pointer, forming a layout in which the front semicircle is insulated and the rear semicircle is conductive. The rotating pointer undergoes an on-off cycle each time it rotates one circle from its initial position.

[0089] The analog-to-digital converter converts the input analog signal into an 8-bit binary number with a value in the range [0, 255]. Assuming the current analog signal strength is 179, the sensor first quantizes the analog signal strength to a voltage value of 5V × (179 / 255) = 3.51V. This 3.51V voltage enters the eight digital sub-circuits, causing the pointer of the rotary on-off cycle component on each sub-circuit to rotate. Because each insulating chassis component has different voltage sensitivity, the rotation behavior varies.

[0090] The 3.51V voltage causes the pointer on digit 8 to rotate 252° and stop in the conductive plate area. Therefore, the circuit of digit 8 is energized and the encoding value is 1; the pointer on digit 7 rotates 504°, that is, 1 circle zero 144°, and finally the pointer stops in the insulating chassis area. Therefore, the circuit of digit 7 is disconnected and the encoding value is 0; and so on, the encoding value of digit 6 is confirmed to be 1, the encoding value of digit 5 ​​is 1, the encoding value of digit 4 is 0, the encoding value of digit 3 is 0, the encoding value of digit 2 is 1, and the encoding value of digit 1 is 1, and the binary code output is 10110011.

[0091] It should be noted that in this embodiment, the number of branches n = 8, which can only achieve a coding range of 0 to 255. This example illustrates the operation of the analog-to-digital conversion circuit of the present invention. In other embodiments, when converting an analog signal to an n-bit binary number, only n branches need to be set, and different voltage sensitivities are set for the rotary components on each branch. The voltage sensitivity setting rules are similar to those in this embodiment and are not further described here.

[0092] By setting different voltage sensitivities for components with the same rotary on-off cycle and using a sensitivity enhancement method to set the on-off cycle, analog-to-digital conversion encoding can be quickly achieved using a low-cost circuit.

[0093] Example 4

[0094] In another embodiment provided by the present invention, the encoding component in the circuit is a fan-type on-off cycle component;

[0095] The fan-type on-off cycle assembly consists of four parts: input wire, rotating pointer, fan-type chassis, and output wire;

[0096] The input wire is connected to the root of the rotary pointer, and the rotary pointer is made of conductive material;

[0097] The fan-type chassis on the i-th branch is divided into 2 i There are two types of sectors: one is the insulating sector made of insulating material, and the other is the conductive sector made of conductive material. The insulating sector and the conductive sector are arranged alternately, dividing the entire fan-type chassis into 2 i-1 On-off cycles;

[0098] The output wire is connected to all the conductive sectors. The rotating pointer on the sector-type on-off cycle component is driven by the current to rotate. The pointer of the sector-type on-off cycle component on each branch rotates at the same degree under the same voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor;

[0099] When the pointer falls on the conductive sector, the input wire and the output wire are connected, the fan-type on-off cycle component is energized, and the code value output by this branch is 1; when the pointer falls on the insulating sector, the input wire and the output wire are not connected, the fan-type on-off cycle component is not energized, and the code value output by this branch is 0.

[0100] In the specific implementation of this embodiment, refer to FIG6 , which is a structural diagram of an encoding component provided by another embodiment of the present invention. The encoding component is specifically a fan-type on-off cycle component. The fan-type on-off cycle component used in this embodiment is a fan-type structure.

[0101] FIG6 discloses the structure of the fan-type on-off cycle component of the first branch. In the fan-type on-off cycle component of the first branch, the 360-degree chassis is evenly divided into 2 sectors, which are alternately divided into insulating sectors and conductive sectors in a counterclockwise direction from the initial position of the rotating pointer; in the fan-type on-off cycle component of the second branch, the 360-degree chassis is evenly divided into 4 sectors, which are alternately divided into insulating sectors and conductive sectors in a counterclockwise direction from the initial position of the rotating pointer. The structures of all fan-type on-off cycle components are obtained by analogy. The rotating pointer serves as the input end, and the conductive sector is connected to the output wire as the output end. When the rotating pointer is powered on, it will rotate counterclockwise, and the rotation angle is 0.04. Among them, v in is the voltage value of the input signal, v max The rated maximum voltage value of the sensor. When the rotating pointer contacts the conductive sector, it outputs a high potential, corresponding to the code 1; when the rotating pointer contacts the insulating sector, it outputs a low potential, corresponding to the code 0;

[0102] Referring to FIG7 , which is a schematic diagram of the structure of an analog-to-digital conversion circuit provided by another embodiment of the present invention, in which eight branches are provided, each branch including a fan-type on-off cycle component, the input end of each fan-type on-off cycle component being connected to the root of the rotating pointer of the fan-type on-off cycle component, the 360-degree chassis of the fan-type on-off cycle component of the first branch digit 8 being evenly divided into 2 sectors, the sectors being alternately in a counterclockwise direction from the initial position of the rotating pointer to the insulating sector and the conductive sector; the 360-degree chassis of the fan-type on-off cycle component of the second branch digit 7 being evenly divided into 4 sectors, the sectors being alternately in a counterclockwise direction from the initial position of the rotating pointer to the insulating sector and the conductive sector; the 360-degree chassis of the fan-type on-off cycle component of the third branch digit 6 being evenly divided into 8 sectors, the sectors being alternately in a counterclockwise direction from the initial position of the rotating pointer to the insulating sector and the conductive sector; the 360-degree chassis of the fan-type on-off cycle component of the fourth branch digit 5 ​​being evenly divided into 8 sectors. The 60-degree chassis is evenly divided into 16 sectors, and the sectors are alternately insulating sectors and conductive sectors in a counterclockwise direction from the initial position of the rotating pointer; the 360-degree chassis in the sector-type on-off cycle component of the 5th branch number 4 is evenly divided into 32 sectors, and the sectors are alternately insulating sectors and conductive sectors in a counterclockwise direction from the initial position of the rotating pointer; the 360-degree chassis in the sector-type on-off cycle component of the 6th branch number 3 is evenly divided into 64 sectors, and the sectors are alternately insulating sectors and conductive sectors in a counterclockwise direction from the initial position of the rotating pointer. The initial position alternates between insulating sectors and conductive sectors counterclockwise; the 360-degree chassis in the sector-type on-off cycle component of the 7th branch digit 2 is evenly divided into 128 sectors, and the sectors alternate between insulating sectors and conductive sectors counterclockwise from the initial position of the rotating pointer; the 360-degree chassis in the sector-type on-off cycle component of the 8th branch digit 1 is evenly divided into 256 sectors, and the sectors alternate between insulating sectors and conductive sectors counterclockwise from the initial position of the rotating pointer.

[0103] The voltage sensitivity of the pointers on each branch's fan-type assembly is the same: they rotate one full revolution at the sensor's rated maximum voltage. If the rated maximum voltage is 5V, the voltage sensitivity of all the insulated chassis pointers is the same: 72° / V. Therefore, when a voltage is input, the pointers on all branches' insulated chassis point in the same direction.

[0104] The sector-type on-off cycle component sets the on-off cycle on the sector-type chassis: the component with the highest digit divides the chassis into two equal sectors, with the insulating sector and the conductive sector rotating counterclockwise from the initial position of the pointer. This sets one rotation as one on-off cycle. The component with the next highest digit divides the chassis into four equal sectors, with each two sectors forming an on-off cycle, thus setting one rotation as two on-off cycles. The component with the third highest digit divides the chassis into eight sectors, setting one rotation as four on-off cycles, and so on.

[0105] When the voltage value of the input analog signal is 179, the sensor LT outputs a voltage value of 3.51V to each branch, and the pointers of the sector components on all branches point to the 252° position, but the sectors of the 252° position are different for chassis on different digits. The 252° area on the digital 8 chassis is a conductive sector, which can be powered, and the coding value is 1; the 252° area on the digital 7 chassis is an insulating sector, which cannot be powered, and the coding value is 0; the 252° area on the digital 6 chassis is a conductive sector, which can be powered, and the coding value is 1; the 252° area on the digital 5 chassis is a conductive sector, which can be powered, and the coding value is 1; the 252° area on the digital 4 chassis is an insulating sector, which cannot be powered, and the coding value is 0; the 252° area on the digital 3 chassis is an insulating sector, which cannot be powered, and the coding value is 0; the 252° area on the digital 2 chassis is a conductive sector, which can be powered, and the coding value is 1; the 252° area on the digital 1 chassis is a conductive sector, which can be powered, and the coding value is 1; after the rotary components on all digits determine the coding values ​​according to this rule, the final output binary digital string is also 10110011, which corresponds to 179 in decimal.

[0106] It should be noted that, in this embodiment, the number of branches n=8 and the ability to achieve only a coding range of 0 to 255 are used as an example to illustrate the working process of the analog-to-digital conversion circuit of the present invention. In other embodiments, when converting an analog signal into an n-bit binary number, only n branches need to be set up, and the fan-shaped components on each branch divide the chassis into 2 parts according to the Topi ranking of the digits they are in. i The specific working process is similar to that of the present embodiment and will not be described in detail here.

[0107] Compared with the rotary on-off cycle component, the fan-type on-off cycle component provided in this embodiment does not need to consider how to implement the setting of different voltage sensitivities, and the design difficulty is small; the number of rotations required for all pointers to encode a value is less than or equal to 1, which can effectively reduce energy consumption; and analog-to-digital conversion encoding can be quickly implemented.

[0108] It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An analog-to-digital conversion circuit, characterized in that: The circuit includes a sensor, a sampling and holding circuit and n branches, each branch is equipped with a coding component; the sensor converts the analog signal to be converted into a current corresponding to the voltage value, and inputs the current into the n branches through the sampling and holding circuit, and the coding component on each branch outputs a coding value 0 or a coding value 1 according to the input current; the coding values ​​of the n branches are output in the order of branch numbers from small to large to obtain an analog-to-digital conversion result; Set the encoding component on the i-th branch to divide the voltage range of the sensor into 2 i-1 On-off cycles, the first half of each on-off cycle is a power-off interval, and the second half is a power-on interval, wherein i=1, 2, ..., n, and n is an integer greater than 0; After the current is passed through the coding component on each branch, the output coding value is determined according to whether the voltage value falls within the power-off interval or the power-on interval: when the voltage value falls within the power-off interval, the output coding value is 0, and when the voltage value falls within the power-on interval, the output coding value is 1; The code values ​​of the n branches are output as a string of n-bit 01 digital sequences in the order of branch numbers from small to large, and the binary digital signal result of the analog signal is obtained.

2. The analog-to-digital conversion circuit according to claim 1, characterized in that: The encoding component in the circuit is a turn-type on-off cycle component; The turn-type on-off cycle assembly consists of a cylindrical closed container, a turn line, and a buoy; The turn-type on-off cycle component installed in the i-th branch has its turn wire wound within the scale interval of the cylindrical closed container 2 i-1 turns, thereby dividing the voltage value range into 2 i-1 On-off cycle; The wire turns an integer number of turns around the cylindrical sealed container. The first half of each turn is insulated from the cylindrical sealed container, and the second half is conductive with the cylindrical sealed container. The half side of the cylindrical sealed container that is insulated from the wire turns is called the insulating side, and the half side that is conductive with the wire turns is called the conductive side. Each turn of the wire turns passes through an insulating side and a conductive side, forming an on-off cycle. The cylindrical sealed container contains insulating liquid. The liquid level is controlled by the voltage value and stays at the voltage value corresponding to the liquid level. On the scale, the liquid level scale Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and H is the highest scale of the cylindrical closed container; The float is always on the liquid surface of the liquid in the cylindrical closed container, and is connected in series to the turn line, always moving along the track of the turn line, so the float is always located at the intersection of the liquid surface and the turn line; When the buoy stays on the insulating side of the cylindrical closed container, the turn-type on-off cycle component is not conductive, and the branch line outputs a code value of 0; when the buoy stays on the conductive side of the cylindrical closed container, the turn-type on-off cycle component is conductive, and the branch line outputs a code value of 1.

3. The analog-to-digital conversion circuit according to claim 1, characterized in that: The encoding component in the circuit is a rotary on-off cycle component; The rotary on-off cycle assembly consists of five parts: input wire, rotating pointer, insulating chassis, conductive sheet, and output wire; The input wire is connected to the root of the rotating pointer, the output wire is connected to the conductive sheet, and the rotating pointer is made of conductive material; The insulating chassis is insulated as a whole, and a conductive sheet is covered on the rear semicircle of the pointer rotation, forming a layout in which the front semicircle is insulated and the rear semicircle is conductive. The rotating pointer undergoes an on-off cycle every time it rotates one circle from the initial position. The rotating pointer is driven by the current to rotate. When the voltage value of the current is v in When the total rotation degree of the rotating pointer located in the i-th branch is Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor, and n is the total number of branches; After the rotating pointer completes the above rotation degrees, if it stays on the conductive sheet, the input wire and the output wire are connected, the rotary on-off cycle component is energized, and the coding value of the branch output is 1; if it stays on the insulating chassis, the input wire and the output wire are not connected, the rotary on-off cycle component is not energized, and the coding value of the branch output is 0.

4. The analog-to-digital conversion circuit according to claim 1, characterized in that: The coding component in the circuit is a fan-type on-off cycle component; The fan-type on-off cycle assembly consists of four parts: input wire, rotating pointer, fan-type chassis, and output wire; The input wire is connected to the root of the rotating pointer, and the rotating pointer is made of conductive material; The fan-type chassis on the i-th branch is divided into 2 i There are two types of sectors: one is an insulating sector made of insulating material, and the other is a conductive sector made of conductive material; the insulating sector and the conductive sector are arranged alternately, dividing the entire fan-type chassis into 2 i-1 On-off cycle; The output wire is connected to all the conductive sectors. The rotating pointer on the sector-type on-off cycle component is driven to rotate by the current. The pointers of the sector-type on-off cycle components on each branch rotate at the same degree under the same voltage value. Among them, v in is the voltage value of the input current, v max is the rated maximum voltage value of the sensor; When the pointer falls on the conductive sector, the input wire and the output wire are connected, the fan-type on-off cycle component is energized, and the coding value of the branch output is 1; when the pointer falls on the insulating sector, the input wire and the output wire are not connected, the fan-type on-off cycle component is not energized, and the coding value of the branch output is 0.

Citation Information

Patent Citations

  • Analog-to-digital converters and analog-to-digital conversion methods

    CN102904573A

  • Method and device for acquiring analog signals

    CN106685421A

  • Analog-to-digital conversion circuit

    CN116527053A

  • Analog-to-digital converter

    US20080180296A1

  • Analog-to-digital converters

    US20180175876A1