Nothing Special   »   [go: up one dir, main page]

CN102281069B - Analog-to-digital conversion circuit - Google Patents

Analog-to-digital conversion circuit Download PDF

Info

Publication number
CN102281069B
CN102281069B CN201010199048.1A CN201010199048A CN102281069B CN 102281069 B CN102281069 B CN 102281069B CN 201010199048 A CN201010199048 A CN 201010199048A CN 102281069 B CN102281069 B CN 102281069B
Authority
CN
China
Prior art keywords
signal
circuit
counting
analog
digital conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010199048.1A
Other languages
Chinese (zh)
Other versions
CN102281069A (en
Inventor
刘铭晃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sensorteknik Technology Corp
Original Assignee
Sensorteknik Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sensorteknik Technology Corp filed Critical Sensorteknik Technology Corp
Priority to CN201010199048.1A priority Critical patent/CN102281069B/en
Publication of CN102281069A publication Critical patent/CN102281069A/en
Application granted granted Critical
Publication of CN102281069B publication Critical patent/CN102281069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

本发明涉及一种模拟数字转换电路,其包含一积分电路、一参考讯号产生电路、一比较器与一第一计数电路,积分电路积分一输入讯号以产生一积分讯号,参考讯号产生电路依序产生复数参考讯号,比较器接收积分讯号与该些参考讯号,并依序比较积分讯号与该些参考讯号,以依序产生复数比较讯号,第一计数电路计数该些比较讯号,以产生一重置讯号而重置积分电路。由于积分电路系在比较器产生复数比较讯号后,才被重置一次,如此可达到减少积分电路被重置的次数,而减少非线性效应,以提高模拟数字转换电路的精确度。

The present invention relates to an analog-to-digital conversion circuit, which includes an integration circuit, a reference signal generating circuit, a comparator and a first counting circuit. The integration circuit integrates an input signal to generate an integration signal. The reference signal generating circuit generates a plurality of reference signals in sequence. The comparator receives the integration signal and the reference signals and compares the integration signal and the reference signals in sequence to generate a plurality of comparison signals in sequence. The first counting circuit counts the comparison signals to generate a reset signal to reset the integration circuit. Since the integration circuit is reset once after the comparator generates the plurality of comparison signals, the number of times the integration circuit is reset can be reduced, thereby reducing the nonlinear effect and improving the accuracy of the analog-to-digital conversion circuit.

Description

模拟数字转换电路Analog-to-digital conversion circuit

技术领域 technical field

本发明是有关于一种转换电路,尤其是指一种模拟数字转换电路。The present invention relates to a conversion circuit, in particular to an analog-to-digital conversion circuit.

背景技术 Background technique

现今,微电脑系统具备了快速运算、储存数据的能力,在目前的机电系统中,微电脑所制作而成的控制器(controller)早已取代旧时纯机械式或是电机机械式的控制机构。微电脑内部的讯号模式,皆为数字式讯号,即通常所谓的逻辑“0”或“1”,逻辑0代表低电位,通常在微电脑系统中为0伏特,逻辑1代表高电位,通常在微电脑系统中为5伏特。然而在自然界中的物理现象,当予以数量化之后往往是呈现连续的输入讯号,因此若欲将外界物理量的变化量传入微电脑中进行运算,或是要由微电脑输出命令驱动装置时,就需要将讯号进行转换的处理。Nowadays, the microcomputer system has the ability of fast calculation and data storage. In the current electromechanical system, the controller (controller) made by the microcomputer has already replaced the old purely mechanical or electromechanical control mechanism. The signal modes inside the microcomputer are all digital signals, which are usually called logic "0" or "1". Logic 0 represents a low potential, usually 0 volts in a microcomputer system, and logic 1 represents a high potential, usually in a microcomputer system Medium is 5 volts. However, physical phenomena in nature often present continuous input signals after being quantified. Therefore, if you want to transfer the change of external physical quantities into the microcomputer for calculation, or output commands from the microcomputer to drive the device, you need The process of converting a signal.

一般所量测的电压或电流等连续讯号,可称之为输入讯号。把输入讯号转换成数字讯号的装置则称为模拟对数字转换器(analogtodigitalconverter,ADC)。在模拟对数字讯号的转换技术上,有各种不电路架构以完成工作,分别为:(1)单斜率ADC(SingleSlopeIntegratingA/DConverter)(2)双斜率ADC(DoubleSlopeIntegratingA/DConverter)。Generally, continuous signals such as voltage or current to be measured can be called input signals. A device that converts an input signal into a digital signal is called an analog-to-digital converter (ADC). In the conversion technology of analog to digital signals, there are various circuit structures to complete the work, namely: (1) single slope ADC (SingleSlopeIntegratingA/DConverter) (2) double slope ADC (DoubleSlopeIntegratingA/DConverter).

在模拟数字转换器中,都具备有一积分电路,如图1所示,输入讯号Iin经由包含电容C和运算放大器12的积分电路进行积分,如此即可在运算放大器12的输出端D产生一积分讯号,如图2所示此积分讯号为一三角波讯号。比较器14比较积分讯号与一参考讯号Vref以产生一比较讯号。计数器16耦接比较器14的输出端以计数比较讯号,以表示计数一个三角波讯号,如此即可产生数字讯号,比较讯号更作为一重置讯号RST以重置积分电路,以产生下一个积分讯号,即产生下一个三角波讯号。In the analog-to-digital converter, there is an integrating circuit, as shown in Figure 1, the input signal Iin is integrated through the integrating circuit including the capacitor C and the operational amplifier 12, so that an integral can be generated at the output terminal D of the operational amplifier 12 Signal, as shown in Figure 2, the integral signal is a triangular wave signal. The comparator 14 compares the integral signal with a reference signal Vref to generate a comparison signal. The counter 16 is coupled to the output terminal of the comparator 14 to count the comparison signal, which means counting a triangular wave signal, so that a digital signal can be generated, and the comparison signal is used as a reset signal RST to reset the integration circuit to generate the next integration signal , which generates the next triangular wave signal.

由上述可知,比较器14每比较积分讯号与参考讯号而产生一比较讯号后,就必须要重置积分电路,以产生下一个积分讯号。所以以一12位模拟数字转换器而言,计数器16要计数4096次,所以积分电路就必须要被重置4096次。习知的积分电路在重置时,是会产生非线性误差(IntegralNon-Linearity,INL),且非线性误差会被累积,因此,此非线性误差会随着积分电路被重置的次数增加而增加,如此则会降低模拟数字转换器的精确度。因此,如何减少非线性效应的产生为现今发展模拟数字转换器的一大重要课题。It can be seen from the above that, every time the comparator 14 compares the integrated signal with the reference signal to generate a comparison signal, it must reset the integrating circuit to generate the next integrated signal. Therefore, for a 12-bit analog-to-digital converter, the counter 16 needs to count 4096 times, so the integrating circuit must be reset 4096 times. When the conventional integrating circuit is reset, a nonlinear error (IntegralNon-Linearity, INL) will be generated, and the nonlinear error will be accumulated. Therefore, this nonlinear error will increase as the number of resets of the integrating circuit increases. increase, which reduces the accuracy of the analog-to-digital converter. Therefore, how to reduce the occurrence of nonlinear effects is an important issue in the development of analog-to-digital converters.

因此,本发明即在针对上述问题而提出一种模拟数字转换电路,其可减少积分电路被重置的次数,而减少非线性效应,以解决上述问题。Therefore, the present invention proposes an analog-to-digital conversion circuit aimed at the above-mentioned problems, which can reduce the number of resets of the integrating circuit and reduce nonlinear effects, so as to solve the above-mentioned problems.

发明内容 Contents of the invention

本发明的目的在于提供一种模拟数字转换电路,其藉由比较器依序比较积分讯号与复数参考讯号,而产生复数比较讯号,第一计数电路计数该些比较讯号而产生一重置讯号以重置积分电路,由于积分电路在比较器产生复数比较讯号后,才被重置一次,如此可减少积分电路被重置的次数,而减少非线性效应,以提高模拟数字转换电路的精确度。The object of the present invention is to provide an analog-to-digital conversion circuit, which uses a comparator to sequentially compare the integral signal and the complex reference signal to generate complex comparison signals, and the first counting circuit counts the comparison signals to generate a reset signal to Resetting the integrating circuit, since the integrating circuit is reset only once after the comparator generates complex comparison signals, this can reduce the number of times the integrating circuit is reset, reduce nonlinear effects, and improve the accuracy of the analog-to-digital conversion circuit.

为了达到上述的目的,本发明是一种模拟数字转换电路,其包含有:In order to achieve the above-mentioned purpose, the present invention is an analog-to-digital conversion circuit, which includes:

一积分电路,积分一输入讯号以产生一积分讯号;an integrating circuit, integrating an input signal to generate an integrating signal;

一参考讯号产生电路,依序产生复数个参考讯号;A reference signal generating circuit, which sequentially generates a plurality of reference signals;

一比较器,接收该积分讯号与该些参考讯号,并依序比较该积分讯号与该些参考讯号,以依序产生复数个比较讯号;以及a comparator, receiving the integral signal and the reference signals, and sequentially comparing the integral signal and the reference signals to sequentially generate a plurality of comparison signals; and

一第一计数电路,接收该些比较讯号,并计数该些比较讯号,以产生一重置讯号而重置该积分电路与该第一计数电路。A first counting circuit receives the comparison signals and counts the comparison signals to generate a reset signal to reset the integrating circuit and the first counting circuit.

本发明中,其中该参考讯号产生电路更包含:In the present invention, the reference signal generation circuit further includes:

一分压电路,接收一参考电压,而产生该些参考讯号;以及A voltage divider circuit receives a reference voltage and generates the reference signals; and

一开关模块,耦接该分压电路与该比较器之间,以依序传送该些参考讯号至该比较器,该开关模块受控于该第一计数电路。A switch module is coupled between the voltage dividing circuit and the comparator to sequentially transmit the reference signals to the comparator, and the switch module is controlled by the first counting circuit.

本发明中,其中该分压电路包含复数个电阻,该些电阻相互串联。In the present invention, the voltage dividing circuit includes a plurality of resistors, and the resistors are connected in series.

本发明中,其中该积分电路更包含:In the present invention, wherein the integrating circuit further includes:

一运算放大器,接收该输入讯号;an operational amplifier receiving the input signal;

一电容,并联于该运算放大器,以产生该积分讯号;a capacitor connected in parallel to the operational amplifier to generate the integral signal;

一第一放电开关,耦接该电容的一端与一第一放电端之间,该第一放电开关受控于该第一计数电路;以及a first discharge switch, coupled between one terminal of the capacitor and a first discharge terminal, the first discharge switch is controlled by the first counting circuit; and

一第二放电开关,耦接该电容的另一端与一第二放电端之间,该第二放电开关受控于该第一计数电路。A second discharge switch is coupled between the other end of the capacitor and a second discharge end, and the second discharge switch is controlled by the first counting circuit.

本发明中,其中该积分讯号为一三角波讯号。In the present invention, the integral signal is a triangular wave signal.

本发明中,其中该比较器为一迟滞比较器。In the present invention, the comparator is a hysteresis comparator.

本发明中,其中该第一计数电路包含:In the present invention, wherein the first counting circuit includes:

一计数器,计数该些比较讯号,而产生一计数讯号;以及A counter counts the comparison signals to generate a count signal; and

一逻辑电路,依据该计数讯号产生该重置讯号。A logic circuit generates the reset signal according to the count signal.

本发明中,其中该计数器更包含:In the present invention, wherein the counter further includes:

复数个正反器,其相互串联,以计数该些比较讯号而产生该计数讯号。A plurality of flip-flops are connected in series to generate the counting signal by counting the comparison signals.

本发明中,其更包含:In the present invention, it further includes:

一第二计数电路,耦接该第一计数电路以计数该重置讯号,以产生一计数讯号;以及a second counting circuit coupled to the first counting circuit to count the reset signal to generate a counting signal; and

一闩锁电路,接收该第一计数电路与该第二计数电路的该些计数讯号,以产生一栓锁讯号。A latch circuit receives the counting signals of the first counting circuit and the second counting circuit to generate a latching signal.

本发明具有的有益效果:本发明所述模拟数字转换电路的积分电路在比较器产生该些比较讯号后,才被重置一次,如此即可减少积分电路被重置的次数,以降低积分电路的非线性误差,而提高模拟数字转换电路的精确度。The present invention has beneficial effects: the integrating circuit of the analog-to-digital conversion circuit described in the present invention is reset only once after the comparator generates the comparison signals, so that the number of times the integrating circuit is reset can be reduced, thereby reducing the cost of the integrating circuit. Non-linear error, and improve the accuracy of the analog-to-digital conversion circuit.

附图说明 Description of drawings

图1是现有技术的积分电路的电路图;Fig. 1 is the circuit diagram of the integration circuit of prior art;

图2是现有技术的积分电路的波形图;Fig. 2 is the waveform diagram of the integrating circuit of prior art;

图3是本发明的模拟数字转换电路的一较佳实施例的电路图;以及Fig. 3 is a circuit diagram of a preferred embodiment of the analog-to-digital conversion circuit of the present invention; and

图4是本发明的模拟数字转换电路的一较佳实施例的波形图。FIG. 4 is a waveform diagram of a preferred embodiment of the analog-to-digital conversion circuit of the present invention.

【图号对照说明】[Description of drawing number comparison]

C电容Iin输入讯号C capacitance Iin input signal

RST重置讯号Vcmi第一放电端RST reset signal V cmi first discharge terminal

Vcmo第二放电端Vref参考讯号V cmo second discharge terminal V ref reference signal

VREFP参考电压VREFN参考准位V REFP reference voltage V REFN reference level

12运算放大器14比较器12 operational amplifier 14 comparator

16计数器20积分电路16 counters 20 integration circuits

22运算放大器24电容22 operational amplifier 24 capacitor

26第一放电开关28第二放电开关26 first discharge switch 28 second discharge switch

30参考讯号产生电路32分压电路30 reference signal generation circuit 32 voltage divider circuit

34开关模块40比较器34 switch modules 40 comparators

50第一计数电路52正反器50 first counting circuit 52 flip-flop

54逻辑电路61第二计数电路54 logic circuit 61 second counting circuit

63闩锁电路65积分讯号63 latch circuits 65 integral signals

67参考讯号69小三角波讯号67 Reference signal 69 Small triangle wave signal

具体实施方式 detailed description

为使对本发明的结构特征及所达成的功效有更进一步的了解与认识,用以较佳的实施例及附图配合详细的说明,说明如下:In order to have a further understanding and understanding of the structural features of the present invention and the achieved effects, the preferred embodiments and accompanying drawings are used for a detailed description, as follows:

首先,请参阅图3与图4,其是本发明的模拟数字转换电路的一较佳实施例的电路图与波形图。如图所示,本发明模拟数字转换电路包含一积分电路20、一参考讯号产生电路30、一比较器40与一第一计数电路50。积分电路20接收一输入讯号Iin并积分输入讯号Iin而产生如图4所示的一积分讯号65。于此实施例中,输入讯号Iin为一电流讯号。参考讯号产生电路30依序产生复数个参考讯号。比较器40的正输入端与负输入端分别接收积分电路20所产生的积分讯号65与参考讯号产生电路30所产生的该些参考讯号,并依序比较积分讯号65与该些参考讯号,以产生复数比较讯号。本发明模拟数字转换电路的比较器40的一较佳实施例为一迟滞比较器。First, please refer to FIG. 3 and FIG. 4 , which are circuit diagrams and waveform diagrams of a preferred embodiment of the analog-to-digital conversion circuit of the present invention. As shown in the figure, the analog-to-digital conversion circuit of the present invention includes an integrating circuit 20 , a reference signal generating circuit 30 , a comparator 40 and a first counting circuit 50 . The integration circuit 20 receives an input signal Iin and integrates the input signal Iin to generate an integration signal 65 as shown in FIG. 4 . In this embodiment, the input signal Iin is a current signal. The reference signal generation circuit 30 sequentially generates a plurality of reference signals. The positive input terminal and the negative input terminal of the comparator 40 respectively receive the integrated signal 65 generated by the integrating circuit 20 and the reference signals generated by the reference signal generating circuit 30, and compare the integrated signal 65 and these reference signals in sequence to obtain Generate complex comparison signals. A preferred embodiment of the comparator 40 of the analog-to-digital conversion circuit of the present invention is a hysteresis comparator.

再参阅图3,第一计数电路50耦接比较器40的输出端,以接收比较器40所产生的该些比较讯号并计数该些比较讯号。第一计数电路50计数该些比较讯号的次数至一门坎值时,即产生一重置讯号RST重置积分电路20。积分电路20是在比较器40比较积分讯号65与该些参考讯号而产生该些比较讯号之后,才被第一计数电路50重置一次,如此即可以降低积分电路20被重置的次数,以可减低积分电路20的非线性误差,而提高模拟数字转换电路的精确度。Referring to FIG. 3 again, the first counting circuit 50 is coupled to the output terminal of the comparator 40 to receive the comparison signals generated by the comparator 40 and count the comparison signals. When the first counting circuit 50 counts the times of the comparison signals to a threshold value, it generates a reset signal RST to reset the integrating circuit 20 . The integrating circuit 20 is reset once by the first counting circuit 50 only after the comparator 40 compares the integrating signal 65 and the reference signals to generate the comparison signals, so that the number of times the integrating circuit 20 is reset can be reduced to The non-linear error of the integration circuit 20 can be reduced, and the precision of the analog-to-digital conversion circuit can be improved.

此外,本发明模拟数字转换电路的积分电路20更包含一运算放大器22、一电容24、一第一放电开关26与一第二放电开关28。运算放大器22的输入端接收输入讯号Iin。电容24并联于运算放大器22以产生积分讯号65。当输入讯号Iin输入于积分电路20时,积分电路20即会积分输入讯号Iin而产生积分讯号65。如图4所示,本发明模拟数字转换电路的积分讯号65为一三角波讯号。第一放电开关26耦接电容24的一端与一第一放电端Vcmi之间,且受控于第一计数电路50的重置讯号RST。第二放电开关28耦接电容24的另一端与一第二放电端Vcmo之间,且亦受控于第一计数电路50的重置讯号RST。第一重置讯号RST用于导通第一放电开关26与第二放电开关28,以对电容22进行放电而重置积分电路20。如此,积分电路20是会重新积分输入讯号Iin而产生下一个积分讯号65,即产生下一个三角波讯号。In addition, the integration circuit 20 of the analog-to-digital conversion circuit of the present invention further includes an operational amplifier 22 , a capacitor 24 , a first discharge switch 26 and a second discharge switch 28 . The input terminal of the operational amplifier 22 receives the input signal Iin. The capacitor 24 is connected in parallel with the operational amplifier 22 to generate the integrated signal 65 . When the input signal Iin is input to the integration circuit 20 , the integration circuit 20 will integrate the input signal Iin to generate the integration signal 65 . As shown in FIG. 4 , the integral signal 65 of the analog-to-digital conversion circuit of the present invention is a triangular wave signal. The first discharge switch 26 is coupled between one terminal of the capacitor 24 and a first discharge terminal V cmi , and is controlled by the reset signal RST of the first counting circuit 50 . The second discharge switch 28 is coupled between the other terminal of the capacitor 24 and a second discharge terminal V cmo , and is also controlled by the reset signal RST of the first counting circuit 50 . The first reset signal RST is used to turn on the first discharge switch 26 and the second discharge switch 28 to discharge the capacitor 22 and reset the integration circuit 20 . In this way, the integration circuit 20 will re-integrate the input signal Iin to generate the next integration signal 65, that is, generate the next triangular wave signal.

再参阅图3,本发明模拟数字转换电路的参考位讯号生电路30更包含一分压电路32与一开关模块34。分压电路32的两端分别接收一参考电压VREFP与一参考准位VREFN,分压电路32包含复数个电阻,且该些电阻相互串联以分压该参考电压VREFP,以产生如图4所示的不同准位的复数参考讯号67,该些参考讯号67的准位是逐渐提高。开关模块34耦接分压电路32与比较器40之间,以依序传送不同准位的该些参考讯号67至比较器40,以供比较器40比较积分讯号65与该些参考讯号67,而产生复数比较讯号。Referring to FIG. 3 again, the reference bit signal generation circuit 30 of the analog-to-digital conversion circuit of the present invention further includes a voltage divider circuit 32 and a switch module 34 . The two ends of the voltage divider circuit 32 respectively receive a reference voltage V REFP and a reference level V REFN , the voltage divider circuit 32 includes a plurality of resistors, and these resistors are connected in series to divide the reference voltage V REFP to generate 4 shows complex reference signals 67 with different levels, the levels of these reference signals 67 are gradually increased. The switch module 34 is coupled between the voltage divider circuit 32 and the comparator 40 to sequentially transmit the reference signals 67 of different levels to the comparator 40 for the comparator 40 to compare the integrated signal 65 with the reference signals 67, And generate complex comparison signals.

一旦,积分讯号65的准位高于参考讯号产生电路30所提供的一参考讯号67的准位时,开关模块34即会切换而传送具有更高准位之下一参考讯号67至比较器40。由于积分讯号65的准位亦会逐渐提高,所以比较器40比较积分讯号65与该些参考讯号67会产生复数比较讯号。参考讯号产生电路30提供不同准位的参考讯号67至比较器40而与积分讯号65进行比较,所以比较器40所产生的每一比较讯号即相当于一个小三角波讯号69。因此,第一计数电路50计数该些比较讯号的数量,即相当于计数三角波讯号69的数量。本发明的开关模块34受控于第一计数电路50,第一计数电路50每计数一个比较讯号即会控制开关模块34,以传输不同准位的参考讯号67至比较器40。本发明的开关模块30包含有复数开关,而分别耦接于分压电路32的该些电阻与比较器40之间,以提供不同准位的参考讯号67至比较器40。该些开关受控于第一计数电路50。复参阅图3,本发明模拟数字转换电路的第一计数电路50包含一计数器与一逻辑电路54。于此实施例中,计数器包含有复数正反器52且相互串联,该些正反器52为D型正反器52。每一正反器52的一输入端D与一反向输出端QB是相耦接,该些正反器52的第一个正反器的一频率输入端CK是耦接比较器40的输出端,以接收比较讯号。此外,除该些正反器52的最后一个正反器之外,每一正反器52的一输出端Q是耦接下一个正反器52的一频率输入端CK,而相串联。每一正反器52的输出端Q即分别输出计数讯号B0~B3,该些计数讯号B0~B3为二进制。上述计数器用于计数比较讯号的数量,即相当于计数三角波讯号69的数量,而对应输出该些计数讯号B0~B3。该些计数讯号B0~B3可用于做为控制开关模块34的控制讯号,以控制开关模块34的该些开关,以传输不同准位的参考讯号67至比较器40。此实施例的计数器是利用复数正反器52实现,但并不局限本发明的第一计数电路50的计数器仅能由正反器52所构成,此领域技术人员可知计数器亦可由其它常用电路构成。Once the level of the integrated signal 65 is higher than the level of a reference signal 67 provided by the reference signal generating circuit 30, the switch module 34 will switch to transmit a reference signal 67 with a higher level to the comparator 40 . Since the level of the integrated signal 65 will gradually increase, the comparator 40 compares the integrated signal 65 with the reference signals 67 to generate complex comparison signals. The reference signal generation circuit 30 provides reference signals 67 of different levels to the comparator 40 for comparison with the integral signal 65 , so each comparison signal generated by the comparator 40 is equivalent to a small triangular wave signal 69 . Therefore, the first counting circuit 50 counts the number of these comparison signals, which is equivalent to counting the number of the triangular wave signal 69 . The switch module 34 of the present invention is controlled by the first counting circuit 50 , and the first counting circuit 50 controls the switch module 34 every time a comparison signal is counted to transmit reference signals 67 of different levels to the comparator 40 . The switch module 30 of the present invention includes a plurality of switches respectively coupled between the resistors of the voltage dividing circuit 32 and the comparator 40 to provide reference signals 67 of different levels to the comparator 40 . These switches are controlled by the first counting circuit 50 . Referring again to FIG. 3 , the first counting circuit 50 of the analog-to-digital conversion circuit of the present invention includes a counter and a logic circuit 54 . In this embodiment, the counter includes a plurality of flip-flops 52 connected in series, and the flip-flops 52 are D-type flip-flops 52 . An input terminal D of each flip-flop 52 is coupled to an inverting output terminal QB, and a frequency input terminal CK of the first flip-flop of these flip-flops 52 is coupled to the output of the comparator 40 terminal to receive the comparison signal. In addition, except the last flip-flop 52 of the flip-flops 52 , an output terminal Q of each flip-flop 52 is coupled to a frequency input terminal CK of the next flip-flop 52 to be connected in series. The output terminal Q of each flip-flop 52 respectively outputs counting signals B0 - B3 , and the counting signals B0 - B3 are binary. The above-mentioned counter is used for counting the quantity of the comparison signal, which is equivalent to counting the quantity of the triangular wave signal 69, and correspondingly outputs the counting signals B0-B3. These counting signals B0 - B3 can be used as control signals for controlling the switch module 34 to control the switches of the switch module 34 to transmit reference signals 67 of different levels to the comparator 40 . The counter in this embodiment is realized by using a complex flip-flop 52, but it is not limited to the fact that the counter of the first counting circuit 50 of the present invention can only be composed of flip-flops 52, and those skilled in the art will know that the counter can also be composed of other common circuits. .

逻辑电路54耦接计数器以接收该些计数讯号B0~B3,并依据该些计数讯号B0~B3而得知三角波讯号69的数量。逻辑电路54依据该些计数讯号B0~B3而得知三角波讯号69的数量达到门坎值时,即产生重置讯号RST而重置积分电路20,以重新积分输入讯号Iin产生下一个新积分讯号65,即产生下一个大三角波讯号。此实施例的门坎值为预先设定于逻辑电路54内,其值依据使用需求而可改变。此外,重置讯号RST亦会重置第一计数电路50的计数器,于此实施例中即藉由重置讯号RST重置该些正反器52,以重新计数比较器40所输出的复数比较讯号。The logic circuit 54 is coupled to the counter to receive the counting signals B0 - B3 , and obtain the quantity of the triangular wave signal 69 according to the counting signals B0 - B3 . When the logic circuit 54 learns that the quantity of the triangular wave signal 69 reaches the threshold value according to the counting signals B0-B3, it generates a reset signal RST to reset the integrating circuit 20 to re-integrate the input signal Iin to generate the next new integrating signal 65 , which generates the next big triangle wave signal. The threshold value of this embodiment is pre-set in the logic circuit 54, and its value can be changed according to application requirements. In addition, the reset signal RST will also reset the counter of the first counting circuit 50. In this embodiment, the flip-flops 52 are reset by the reset signal RST, so as to re-count the complex comparisons output by the comparator 40. signal.

由上述说明可知,第一计数电路50是用于计数该些比较讯号的数量即计数小三角波讯号69的数量,并在比较讯号的数量达到门坎值时即重置积分讯号65,以产生下一个积分讯号,且重置计数讯号B0~B3。如此,每一积分讯号65是相当于包含有固定数量的小三角波讯号69。It can be seen from the above description that the first counting circuit 50 is used to count the number of these comparison signals, that is, count the number of small triangular wave signals 69, and reset the integral signal 65 when the number of comparison signals reaches the threshold value to generate the next Integrate the signal, and reset the counting signals B0~B3. In this way, each integral signal 65 is equivalent to including a fixed number of small triangular wave signals 69 .

再参阅图3,本发明更包含一第二计数电路61与一闩锁电路63。第二计数电路61接收第一计数电路50所产生的重置讯号RST并计数重置讯号RST,而产生一计数讯号并传送至栓锁电路63。第二计数电路61所产生的计数讯号是表示积分讯号65的数量,即表示积分电路20所产生的大三角波讯号的数量。栓锁电路63更耦接第一计数电路50以接收该些计数讯号B0~B3,如此栓锁电路63依据第一计数电路50的该些计数讯号B0~B3以及第二计数电路61的计数讯号,即可得知积分讯号65的数量以及积分讯号65所包含的小三角波讯号69的数量。换言之,小三角波讯号69的总数量即为积分讯号65的数量与每一积分讯号65所包含的小三角波讯号69的数量的乘积。栓锁电路63依据第一计数电路50的该些计数讯号B0~B3与第二计数电路61的计数讯号,而产生一栓锁讯号,以提供给后续电路。栓锁讯号提供给后续电路的运用会随着不同电路设计而不同,且并非为本发明的主要技术特征,所以在此则不详述。Referring to FIG. 3 again, the present invention further includes a second counting circuit 61 and a latch circuit 63 . The second counting circuit 61 receives the reset signal RST generated by the first counting circuit 50 and counts the reset signal RST to generate a counting signal and transmits it to the latch circuit 63 . The counting signal generated by the second counting circuit 61 represents the quantity of the integrating signal 65 , that is, the quantity of the large triangular wave signal generated by the integrating circuit 20 . The latch circuit 63 is further coupled to the first counting circuit 50 to receive the counting signals B0-B3, so that the latching circuit 63 is based on the counting signals B0-B3 of the first counting circuit 50 and the counting signal of the second counting circuit 61 , the quantity of the integral signal 65 and the quantity of the small triangular wave signal 69 included in the integral signal 65 can be obtained. In other words, the total number of small triangular wave signals 69 is the product of the number of integrated signals 65 and the number of small triangular wave signals 69 included in each integrated signal 65 . The latch circuit 63 generates a latch signal according to the counting signals B0 - B3 of the first counting circuit 50 and the counting signal of the second counting circuit 61 to provide to subsequent circuits. The application of the latch signal to the subsequent circuit will vary with different circuit designs, and is not the main technical feature of the present invention, so it will not be described in detail here.

运用本发明的模拟数字转换电路是可降低积分电路20被重置的次数,而减少非线性效应,而提高模拟数字转换电路的精确度。举例来说,以一12位模拟数字转换电路而言,其必须产生4096个小三角波讯号。因此,一般现有技术模拟数字转换电路的积分电路必须要被重置4096次。然而,本发明的积分电路20是不需要被重置4096次,假若本发明的参考讯号产生电路30可提供16个不同准位的参考讯号67,也就是一个积分讯号65可相对包含有16个小三角波讯号69,所以第一计数电路50为4位计数电路,再设计第二计数电路61为8位计数电路,而用于计数积分讯号65的数量,如此即可达到12位的功用。换言之,本发明的积分电路20仅需被重置256次,所以重置次数而仅有现有技术的16分之一。如此,即可有效可降低积分电路20被重置的次数,而减少非线性效应,而提高模拟数字转换电路的精确度,上述第一计数电路50为4位计数电路与第二计数电路61为8位计数电路仅为本发明的一较佳实施例,第一计数电路50与第二计数电路61是可依据使用需求而设计并不局限上述的实施例。Using the analog-to-digital conversion circuit of the present invention can reduce the number of resets of the integration circuit 20, reduce nonlinear effects, and improve the accuracy of the analog-to-digital conversion circuit. For example, for a 12-bit analog-to-digital conversion circuit, it must generate 4096 small triangle wave signals. Therefore, the integrating circuit of the conventional analog-to-digital conversion circuit must be reset 4096 times. However, the integrating circuit 20 of the present invention does not need to be reset 4096 times. If the reference signal generating circuit 30 of the present invention can provide 16 reference signals 67 of different levels, that is, one integrating signal 65 can relatively include 16 Small triangular wave signal 69, so the first counting circuit 50 is a 4-bit counting circuit, and the second counting circuit 61 is designed to be an 8-bit counting circuit, and is used to count the quantity of the integral signal 65, so that the function of 12 bits can be achieved. In other words, the integration circuit 20 of the present invention only needs to be reset 256 times, so the number of resets is only 16th of that of the prior art. In this way, the number of times the integration circuit 20 is reset can be effectively reduced, the non-linear effect is reduced, and the accuracy of the analog-to-digital conversion circuit is improved. The above-mentioned first counting circuit 50 is a 4-bit counting circuit and the second counting circuit 61 is The 8-bit counting circuit is only a preferred embodiment of the present invention. The first counting circuit 50 and the second counting circuit 61 can be designed according to application requirements and are not limited to the above-mentioned embodiment.

综上所述,本发明模拟数字转换电路包含积分电路、参考讯号产生电路、比较器与第一计数电路,积分电路积分输入讯号以产生积分讯号,参考讯号产生电路依序产生复数参考讯号,比较器接收积分电路所产生的积分讯号与参考讯号产生电路产生的该些参考讯号,并依序比较积分讯号与该些参考讯号,以产生复数比较讯号,第一计数电路计数该些比较讯号,以产生重置讯号而重置积分电路,如此,即可达到减少重置积分电路的次数以减少非线性效应,而提高模拟数字转换电路的精确度。In summary, the analog-to-digital conversion circuit of the present invention includes an integrating circuit, a reference signal generating circuit, a comparator, and a first counting circuit. The integrating circuit integrates an input signal to generate an integral signal, and the reference signal generating circuit sequentially generates complex reference signals for comparison. The device receives the integrated signal generated by the integrating circuit and the reference signals generated by the reference signal generating circuit, and compares the integrated signal and the reference signals in sequence to generate complex comparison signals, and the first counting circuit counts the comparison signals to The reset signal is generated to reset the integration circuit, so that the number of reset integration circuits can be reduced to reduce nonlinear effects and improve the accuracy of the analog-to-digital conversion circuit.

综上所述,仅为本发明的一较佳实施例而已,并非用来限定本发明实施的范围,凡依本发明权利要求范围所述的形状、构造、特征及精神所为的均等变化与修饰,均应包括于本发明的权利要求范围内。In summary, it is only a preferred embodiment of the present invention, and is not intended to limit the implementation scope of the present invention. All equivalent changes and Modifications should be included within the scope of the claims of the present invention.

Claims (9)

1. an analog-to-digital conversion circuit, is characterized in that, it includes:
One integrating circuit, integration one input signal is to produce an integration signal;
One reference signal produces circuit, sequentially produces a plurality of reference signal;
One comparator, receives this integration signal and those reference signal, and sequentially compares this integration signal and those reference signal, a plurality ofly compares signal sequentially to produce;
One first counting circuit, receives those and compares signal, and counts those and compare signal, resets this integrating circuit and this first counting circuit to produce a replacement signal; And
One second counting circuit, couples this first counting circuit to count this replacement signal, to produce a counting signal.
2. analog-to-digital conversion circuit as claimed in claim 1, is characterized in that, wherein this reference signal generation circuit more comprises:
One bleeder circuit, receives a reference voltage, and produces those reference signal; And
One switch module, couples between this bleeder circuit and this comparator, and sequentially to transmit those reference signal to this comparator, this switch module is controlled by this first counting circuit.
3. analog-to-digital conversion circuit as claimed in claim 2, it is characterized in that, wherein this bleeder circuit comprises a plurality of resistance, and those resistance are connected mutually.
4. analog-to-digital conversion circuit as claimed in claim 1, it is characterized in that, wherein this integrating circuit more comprises:
One operational amplifier, receives this input signal;
One electric capacity, is parallel to this operational amplifier, to produce this integration signal;
One first discharge switch, couple between one end of this electric capacity and one first discharge end, this first discharge switch is controlled by this first counting circuit; And
One second discharge switch, couple between the other end of this electric capacity and one second discharge end, this second discharge switch is controlled by this first counting circuit.
5. analog-to-digital conversion circuit as claimed in claim 1, it is characterized in that, wherein this integration signal is a triangular wave signal.
6. analog-to-digital conversion circuit as claimed in claim 1, it is characterized in that, wherein this comparator is a hysteresis comparator.
7. analog-to-digital conversion circuit as claimed in claim 1, it is characterized in that, wherein this first counting circuit comprises:
One counter, counts those and compares signal, and produce a counting signal; And
One logical circuit, produces this replacement signal according to this counting signal.
8. analog-to-digital conversion circuit as claimed in claim 7, it is characterized in that, wherein this counter more comprises: a plurality of flip-flop, and it is connected mutually, compares signal to count those and produces this counting signal.
9. analog-to-digital conversion circuit as claimed in claim 1, is characterized in that, wherein this first counting circuit counts those and compares signal, and produces a counting signal, and this analog-to-digital conversion circuit more comprises:
One latch circuit, those receiving this first counting circuit and this second counting circuit count signal, to produce a bolt-lock signal.
CN201010199048.1A 2010-06-08 2010-06-08 Analog-to-digital conversion circuit Active CN102281069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010199048.1A CN102281069B (en) 2010-06-08 2010-06-08 Analog-to-digital conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010199048.1A CN102281069B (en) 2010-06-08 2010-06-08 Analog-to-digital conversion circuit

Publications (2)

Publication Number Publication Date
CN102281069A CN102281069A (en) 2011-12-14
CN102281069B true CN102281069B (en) 2016-04-06

Family

ID=45106283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010199048.1A Active CN102281069B (en) 2010-06-08 2010-06-08 Analog-to-digital conversion circuit

Country Status (1)

Country Link
CN (1) CN102281069B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106289333B (en) * 2015-05-29 2019-01-25 苏州坤元微电子有限公司 Capacitor charge and discharge control module and power frequency conversion circuit
CN106877870A (en) * 2015-12-11 2017-06-20 联芯科技有限公司 Adc circuit and its method for sampling
CN113009854B (en) * 2019-12-19 2023-03-31 江森自控空调冷冻设备(无锡)有限公司 Device for obtaining effective value of analog input signal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181269B1 (en) * 1998-08-03 2001-01-30 Mitsubishi Electric Engineering Company Limited Method for controlling an analog/digital converter
US6384760B1 (en) * 2001-05-30 2002-05-07 Agilent Technologies, Inc. Analog-to-digital converter
US7414553B1 (en) * 2006-11-17 2008-08-19 Zilog, Inc. Microcontroller having in-situ autocalibrated integrating analog-to-digital converter (IADC)
CN101473540A (en) * 2006-06-13 2009-07-01 丰田自动车株式会社 A/D converter and A/D converting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181269B1 (en) * 1998-08-03 2001-01-30 Mitsubishi Electric Engineering Company Limited Method for controlling an analog/digital converter
US6384760B1 (en) * 2001-05-30 2002-05-07 Agilent Technologies, Inc. Analog-to-digital converter
CN101473540A (en) * 2006-06-13 2009-07-01 丰田自动车株式会社 A/D converter and A/D converting method
US7414553B1 (en) * 2006-11-17 2008-08-19 Zilog, Inc. Microcontroller having in-situ autocalibrated integrating analog-to-digital converter (IADC)

Also Published As

Publication number Publication date
CN102281069A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
Yaul et al. 11.3 A 10b 0.6 nW SAR ADC with data-dependent energy savings using LSB-first successive approximation
CN105553479B (en) A kind of binary capacitor array and its low power consumption switch method applied to nearly threshold value SAR ADC
CN104158545B (en) A kind of successive approximation register pattern number converter quantified based on voltage controlled oscillator
US8902092B2 (en) Analog-digital conversion circuit and method
CN109936369B (en) A Hybrid SAR-VCO ADC
CN104253613B (en) A kind of low pressure ultra-low-power high-precision comparator of SAR ADC
CN105007079A (en) Fully differential increment sampling method of successive approximation type analog-digital converter
CN111711453B (en) Successive approximation type analog-to-digital converter
Bashir et al. Analog-to-digital converters: A comparative study and performance analysis
US20130321189A1 (en) Ad converter circuit and ad conversion method
CN112187265A (en) Mixed type analog-digital converter and signal transceiver for electric power special communication network
JP2015171087A (en) Analog/digital conversion circuit
CN102111156A (en) Successive approximation register analog-to-digital conversion circuit for realizing minimal dynamic range
CN103023499B (en) Analog to digital converter and method of work thereof
CN102281069B (en) Analog-to-digital conversion circuit
US9059734B1 (en) Systems and methods for capacitive digital to analog converters
JP5368194B2 (en) Voltage controlled delay generator and analog / digital converter
CN204376879U (en) There is the SAR ADC of mixed type DAC capacitor array structure
CN104779957B (en) High-speed successive approximation analog-to-digital converter
US8264394B2 (en) Analog-to-digital converting circuit
TWI736223B (en) Digital slope analog to digital converter device and signal conversion method
TWI458266B (en) Analog - to - digital converter
CN108233925A (en) It is segmented pre-quantization bypass gradually-appoximant analog-digital converter
CN107517059B (en) Circuit and method for improving conversion speed of analog-to-digital converter
CN109802680B (en) Capacitor array and analog-to-digital converter based on fractional reference

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SENSORTEK LTD.

Free format text: FORMER OWNER: SITRONIX TECHNOLOGY CO., LTD.

Effective date: 20150702

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150702

Address after: Taiwan Hsinchu County Chinese jhubei City, Taiwan 5 yuan a Street No. 6 Building 1

Applicant after: SENSORTEK TECHNOLOGY CORP

Address before: Taiwan Hsinchu County Tai Yuan Street Chinese jhubei City, No. 20 6 floor 2

Applicant before: Sitronix Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant