An encoder

The encoder addresses the complexity and delay issues of Flash ADCs by employing weight coding modules with parallel controllable switches, ensuring fast conversion times and low power usage.

CN109728821BActive Publication Date: 2024-12-06HUZHOU GUANGHAN ENTERPRISE MANAGEMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910010739.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-07
Publication Date
2024-12-06
Estimated Expiration
2039-01-07

AI Technical Summary

Technical Problem

Flash ADCs face increased hardware complexity and conversion time with higher conversion bits due to the need for numerous comparators and combinational circuits, leading to significant delays and power consumption.

Method used

An encoder composed of independent weight coding modules with parallel-connected pairs of controllable switches and resistors, reducing conversion time and power consumption by eliminating dependency on the number of coding bits.

Benefits of technology

The encoder achieves fast encoding speed and reduced power consumption by utilizing parallel controllable switches and resistors, independent of the number of coding bits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109728821B_ABST
    Figure CN109728821B_ABST
Patent Text Reader

Abstract

The invention discloses an encoder, which comprises weight coding modules of the same number as the number of its output terminals, each weight coding module comprises a plurality of tube pairs connected in parallel between a positive pole of a power supply and an output terminal, which are formed by a positive polarity controllable switch and a negative polarity controllable switch connected in series, and a single positive polarity controllable switch, and a pull-down resistor connected between the output terminal and the ground, the control ends of the positive polarity controllable switch and the negative polarity controllable switch are connected to the input terminal of the encoder, the conversion time of the encoder is independent of the number of coding bits and the number of controllable switches, and is only equivalent to the conversion time of one controllable switch, thereby greatly improving the encoding speed; since the encoder is only composed of controllable switches and resistors working in an on-off state, the power consumption of the encoder is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of encoders, and in particular relates to an encoder. Background Art

[0002] Compared with other types of analog-to-digital signal converters, parallel comparator A / D converters (also known as Flash ADCs) have the advantages of short conversion time and fast conversion speed. However, when the number of conversion bits is large, its hardware overhead will increase rapidly, the circuit will become very complex, and the conversion time will also be longer. The reasons are: (1) Flash ADCs need to quantize the input analog signal, and then compare and save all quantization levels. When the number of binary bits of the conversion output is n The number of quantization levels will be 2 n -1, the required comparators and triggers will reach 2 n -1, the hardware cost is significantly increased; (2) Flash ADC has a priority encoder that converts the compared state stored in the trigger into a binary number. When the number of conversion bits increases, more semiconductor components are required, and the combinational circuits increase in geometric progression. When the fan-in number is limited, the number of combinational circuits must be increased, which naturally increases the delay of the priority encoder.

[0003] For the first case, many documents have proposed solutions; for the second case, although some work has been done, the effect is not good. For example, Chinese patent application number 98125226.5 discloses a priority encoder, which is mainly implemented by logic gates and selection gates; Chinese patent application number 201810316264.6 also discloses a priority encoder, which is mainly implemented by existing integrated combinational circuits. Due to the excessive use of combinational circuits, when the number of input terminals of the priority encoder is large, the circuit is not only complex but also the delay is significantly increased. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention proposes an encoder.

[0005] To achieve the above object, the present invention adopts the following technical solution:

[0006] An encoder comprising Input and Output , , is a positive integer. The encoder comprises The weight coding module The weight coding module includes a positive electrode connected to the power supply and an output terminal. Between A pair of tubes and a separate positive polarity controllable switch connected at the output A pull-down resistor between , , Each pair of tubes is composed of a positive polarity controllable switch and a negative polarity controllable switch connected in series. The control terminal of the positive polarity controllable switch is turned on when connected to a high level and disconnected when connected to a low level. The control terminal of the negative polarity controllable switch is disconnected when connected to a high level and turned on when connected to a low level. The control end of the positive polarity controllable switch and the control end of the negative polarity controllable switch of the pair of tubes are respectively connected to the input end , Connected, ; Separate positive polarity controllable switch control terminal and input terminal connected.

[0007] Compared with the prior art, the present invention has the following beneficial effects:

[0008] The encoder proposed by the present invention is composed of weight coding modules that are independent of each other and connected in parallel, and the number of which is the same as the number of the encoder output terminals. Each weight coding module includes a plurality of pairs of tubes connected in series between the positive pole of the power supply and the output terminal, which are composed of a positive polarity controllable switch and a negative polarity controllable switch, and a single positive polarity controllable switch, and a pull-down resistor connected between the output terminal and the ground. The control ends of the positive polarity controllable switch and the negative polarity controllable switch are connected to the input terminal of the encoder. The conversion time of the encoder has nothing to do with the number of coding bits and the number of controllable switches, and is only equivalent to the conversion time of one controllable switch, which greatly improves the encoding speed; because the encoder is only composed of controllable switches and resistors working in the on-off state, the power consumption of the encoder is greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A block diagram of a composition of an encoder according to an embodiment of the present invention;

[0010] Figure 2 A schematic diagram of the structure of a 4-bit encoder. DETAILED DESCRIPTION

[0011] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0012] The block diagram of an encoder according to an embodiment of the present invention is as follows: Figure 1 As shown, the encoder includes Input and Output , , is a positive integer. The encoder comprises The weight coding module The weight coding module includes a positive electrode connected to the power supply and an output terminal. Between A pair of tubes and a separate positive polarity controllable switch connected at the output A pull-down resistor between , , Each pair of tubes is composed of a positive polarity controllable switch and a negative polarity controllable switch connected in series. The control terminal of the positive polarity controllable switch is turned on when connected to a high level and disconnected when connected to a low level. The control terminal of the negative polarity controllable switch is disconnected when connected to a high level and turned on when connected to a low level. The control end of the positive polarity controllable switch and the control end of the negative polarity controllable switch of the pair of tubes are respectively connected to the input end and Connected, ; Separate positive polarity controllable switch control terminal and input terminal connected.

[0013] In this embodiment, the encoder includes Input terminals and Output terminals, The encoder consists of The weight coding module is composed of a plurality of weight coding modules. The output end of each weight coding module corresponds to an output end of the encoder, and the input end is all or some of the input ends of the encoder. The structures of the weight coding modules are basically the same, and they all include a plurality of pairs of tubes connected in parallel between the positive pole of the power supply and the output end of the weight coding module, a separate positive polarity controllable switch, and a pull-down resistor connected between the output end of the weight coding module and the ground. The difference is that the number of pairs of tubes in different weight coding modules is different. A pair of tubes is composed of a positive polarity controllable switch and a negative polarity controllable switch connected in series. The control logic of the positive polarity controllable switch is to turn on when its control end is at a high level and to turn off when it is at a low level. The control logic of the negative polarity controllable switch is to turn off when its control end is at a high level and to turn on when it is at a low level. Therefore, a pair of tubes is only turned on when its positive polarity control end is at a high level and its negative polarity control end is at a low level, and is turned off in other cases. Since all pairs of tubes and individual positive polarity controllable switches are connected in parallel between the positive pole of the power supply and the output end of the weight coding module, as long as one pair of tubes or an individual positive polarity controllable switch is turned on, the weight coding module outputs a high level; only when all pairs of tubes and individual positive polarity controllable switches are disconnected, the output of the weight coding module is pulled to a low level by the pull-down resistor.

[0014] The first weight coding module is used to generate the lowest bit code of the encoder, and its output end is the output end of the encoder , whose input is all of the encoder Input Therefore, the number of tubes is ( -1) / 2, the control terminals of the positive polarity controllable switches are connected to the input terminals with odd numbers. connected, and the control terminals of the negative polarity controllable switches are connected to the input terminals with even numbers. Connected, the control end of the independent positive polarity controllable switch is connected to the highest input end The total number of controllable switches is: = .

[0015] The second weight coding module is used to generate the second lowest bit code of the encoder, and its output end is the output end of the encoder , whose input end is the input end of all even-numbered serial numbers of the encoder Therefore, the number of tubes is ( -3) / 4, the control end of the positive polarity controllable switch is connected to the input end connected, and the control end of the negative polarity controllable switch is connected to the input end Connected, the control end of the independent positive polarity controllable switch is connected to the input end The total number of controllable switches is: = .

[0016] No. The weight coding module is used to generate the first bit encoding, whose output is the output of the encoder , whose input is , , , …, , is the number of tubes, . No. The control end and input end of the positive polarity controllable switch of the tube (Right now odd multiples of The control end and input end of the negative polarity controllable switch of the tube (Right now even multiples of ; Separate positive polarity controllable switch control terminal and input terminal The total number of controllable switches is: .

[0017] No. The weight coding module is used to generate the highest bit code of the encoder, and its output end is the output end of the encoder . No. The weight coding module does not contain a pair of tubes, but only a single positive polarity controllable switch, whose control terminal is connected to the input terminal. connected.

[0018] In summary, the total number of positive and negative polarity controllable switches included in the encoder is:

[0019] = = .

[0020] The input and output relationship of the encoder is shown in Table 1. According to Table 1, the encoder can convert a continuous "1" (located in the lower position) and a continuous "0" (located in the higher position) into n +1 state converted to one m Bits are represented by binary code.

[0021] Table 1 Encoder input and output relationship table

[0022]

[0023] Figure 2 Schematic diagram of the structure of a 4-bit encoder. The encoder includes 4 weight encoding modules. The output end of the first weight encoding module is , including 7 pairs of tubes, the input end and The input terminals are connected to the control terminals of the positive and negative polarity controllable switches of the 7 pairs of tubes. is connected to the control end of a separate positive polarity controllable switch; the output end of the second weight coding module is , including 3 pairs of tubes, input end and The input terminal is connected to the control terminal of the positive polarity controllable switch and the negative polarity controllable switch of the three pairs of tubes respectively. is connected to the control end of a separate positive polarity controllable switch; the output end of the third weight coding module is , including 1 pair of tubes, input end and The input terminal is connected to the control terminal of the positive polarity controllable switch and the negative polarity controllable switch of a pair of tubes respectively. The fourth weight coding module only includes one single positive polarity controllable switch, and the output terminal is , input The input and output relationship of the encoder is shown in Table 1. Column and List.

[0024] The positive and negative polarity controllable switches in this embodiment can be made of different materials, as long as they meet the characteristics of sufficiently large resistance when disconnected, sufficiently small path resistance when turned on, and fast turn-on speed, such as atomic switches, quantum switches, photon switches and transistor switches.

[0025] The encoder of this embodiment is mainly used in A / D conversion circuits. A / D conversion circuits are generally composed of a sampling and holding circuit, a comparator, and a trigger (used to save the output state of the comparator). When the encoder of this embodiment is applied to the A / D conversion circuit, its input end is connected to the output end of the trigger to encode the state signal (as shown in Table 1) output by the trigger. In addition, the encoder of this embodiment can also be used in other digital integrated circuits or analog-digital hybrid integrated circuits.

[0026] The above only illustrates several specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any equivalent changes or modifications or proportional enlargement or reduction made according to the design spirit of the present invention should be considered to fall within the protection scope of the present invention.

Claims

1. An encoder, characterized in that: The encoder is composed of weight coding modules that are independent of each other and connected in parallel, and the number of weight coding modules is the same as the number of output terminals of the encoder. Each weight coding module includes a plurality of pairs of tubes connected in parallel between the positive pole of the power supply and the output terminal, which are composed of a positive polarity controllable switch and a negative polarity controllable switch connected in series, and a single positive polarity controllable switch, and a pull-down resistor connected between the output terminal and the ground. The control ends of the positive polarity controllable switch and the negative polarity controllable switch are connected to the input terminal of the encoder. The number of encoder input terminals is n and number of outputs m satisfy , m is a positive integer; the encoder n The input terminals are , m The output terminals are , then i The weight coding module includes a positive electrode connected to the power supply and an output terminal. Between A pair of tubes and a separate positive polarity controllable switch connected at the output A pull-down resistor between , ,in K i Must meet The pair of tubes is composed of a positive polarity controllable switch and a negative polarity controllable switch connected in series. The control end of the positive polarity controllable switch is turned on when connected to a high level and disconnected when connected to a low level. The control end of the negative polarity controllable switch is disconnected when connected to a high level and turned on when connected to a low level. When turned on, the path resistance is small enough and the turn-on speed is fast. K i The control end of the positive polarity controllable switch and the control end of the negative polarity controllable switch of the tube are respectively connected to the input end and Connected, ; No. i The control end and input end of the independent positive polarity controllable switch in the weight coding module connected.

2. The encoder according to claim 1, characterized in that: The switching time of the encoder has nothing to do with the number of encoding bits and the number of controllable switches, and is only equivalent to the switching time of one controllable switch.

3. The encoder according to claim 1, characterized in that: The encoder is composed only of a controllable switch and a resistor working in an on-off state, which greatly reduces the power consumption of the encoder.