CN115309222B - Precision current source device based on digital regulation and control slope compensation - Google Patents
Precision current source device based on digital regulation and control slope compensation Download PDFInfo
- Publication number
- CN115309222B CN115309222B CN202211028960.XA CN202211028960A CN115309222B CN 115309222 B CN115309222 B CN 115309222B CN 202211028960 A CN202211028960 A CN 202211028960A CN 115309222 B CN115309222 B CN 115309222B
- Authority
- CN
- China
- Prior art keywords
- voltage
- digital
- analog switch
- current source
- slope
- 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
Links
- 239000003990 capacitor Substances 0.000 claims abstract description 24
- 238000007599 discharging Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000005284 excitation Effects 0.000 description 2
- 102100028735 Dachshund homolog 1 Human genes 0.000 description 1
- 101000915055 Homo sapiens Dachshund homolog 1 Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- SSJXIUAHEKJCMH-UHFFFAOYSA-N cyclohexane-1,2-diamine Chemical compound NC1CCCCC1N SSJXIUAHEKJCMH-UHFFFAOYSA-N 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05F—SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- G05F1/00—Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
- G05F1/10—Regulating voltage or current
- G05F1/46—Regulating voltage or current wherein the variable actually regulated by the final control device is DC
- G05F1/56—Regulating voltage or current wherein the variable actually regulated by the final control device is DC using semiconductor devices in series with the load as final control devices
- G05F1/561—Voltage to current converters
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K4/00—Generating pulses having essentially a finite slope or stepped portions
- H03K4/06—Generating pulses having essentially a finite slope or stepped portions having triangular shape
- H03K4/08—Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape
- H03K4/48—Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices
- H03K4/50—Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices in which a sawtooth voltage is produced across a capacitor
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
- H03K5/24—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/66—Digital/analogue converters
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Nonlinear Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
本发明公开了一种基于数字调控斜坡补偿的精密电流源装置。本发明中的微控制器和电压型数模转换器通过数字总线连接,微控制器与数控斜坡电压发生器通过数字总线连接,电压型数模转换器和两路数控斜坡电压发生器分别与比例加法放大器的三个输入端连接,比例加法放大器的输出端与压控电流源的输入端连接。其中,所述两路拓扑结构相同的数控斜坡电压发生器均包括数控电流源、充电电容、第一模拟开关、电压缓冲器、第二模拟开关、第三模拟开关。本发明对于每一次补偿只需要输出一次控制信号,因此在保证精细可调、高精度和高平滑性的基础上,进一步提升可生成电流信号的带宽范围。
The invention discloses a precision current source device based on digital control slope compensation. In the present invention, the microcontroller and the voltage-type digital-to-analog converter are connected through a digital bus, the microcontroller and the numerically controlled slope voltage generator are connected through a digital bus, and the voltage-type digital-to-analog converter and the two numerically controlled slope voltage generators are respectively connected with the proportional The three input terminals of the summing amplifier are connected, and the output terminal of the proportional summing amplifier is connected to the input terminal of the voltage-controlled current source. Wherein, the two digitally controlled ramp voltage generators with the same topological structure both include a digitally controlled current source, a charging capacitor, a first analog switch, a voltage buffer, a second analog switch, and a third analog switch. The present invention only needs to output a control signal once for each compensation, so on the basis of ensuring fine adjustment, high precision and high smoothness, it further increases the bandwidth range of the current signal that can be generated.
Description
技术领域Technical field
本发明属于精密测量仪器领域,特别涉及一种基于数字调控斜坡补偿的精密电流源装置。The invention belongs to the field of precision measuring instruments, and in particular relates to a precision current source device based on digital control slope compensation.
背景技术Background technique
电流源在电子仪器中有广泛的应用,特别是在高精度电流比较仪电桥系统中起到重要作用。近年来,基于微控制器的数字电流源技术迅速发展,新一代直流电流比较仪电桥和低温电流比较仪电桥大多采用了数字电流源,作为电桥主、从回路的激励源。采用数字电流源的优势包括:一、可通过软件操作快速调节电流大小,可利用编程技术生成任意电流波形,例如低温电流比较仪工作所需要的斜坡换向电流波形;二、便于接入数字化控制系统,从而利用软件算法实现具有强鲁棒性控制效果。Current sources are widely used in electronic instruments, especially playing an important role in high-precision current comparator bridge systems. In recent years, digital current source technology based on microcontrollers has developed rapidly. Most of the new generation of DC current comparator bridges and low-temperature current comparator bridges use digital current sources as the excitation sources for the bridge's master and slave circuits. The advantages of using a digital current source include: 1. The current can be quickly adjusted through software operation, and programming technology can be used to generate any current waveform, such as the slope commutation current waveform required for the operation of a low-temperature current comparator; 2. It is easy to access digital control system, thereby using software algorithms to achieve highly robust control effects.
数字电流源至少包括微控制器、数模转换器和压控电流源三个主要部分。其中,数模转换器的分辨率决定了电流输出的分辨率。商用高精度数模转换器的分辨率通常在20位以内(大部分为16位)。为了应对高分辨率设计需求,技术人员通常采用两个或多个电压型数模转换器,按照不同权重比例进行相加,从而得到更高分辨率的电压输出,再将电压转化为所需要的其他信号形式(如电流信号)。在常规的应用中,被加法合成的各路数模转换器是同步工作的,工作逻辑等效于一个具有更高位的电压型数模转换器。在某些特别的应用领域,例如低温电流比较仪的换向电流,要求所生成的电流信号同时具有精细可调、高精度和高平滑性。采用上述技术可以满足前两项需求,然而在平滑性上存在不足。申请人之前提出了一种精密数字电压波形补偿方法,实现对主信号台阶(包括微分非线性误差)的补偿,解决了信号平滑性问题。在上述方案中,如果采用数模转换器作为补偿信号发生器,需要在信号带宽上做出让步。原因在于,补偿信号发生器须在主信号的一个刷新周期内完成几百甚至更多个刷新周期,从而限制了主信号的刷新频率。因此,上述方法在信号的快速性上存在不足。A digital current source includes at least three main parts: a microcontroller, a digital-to-analog converter, and a voltage-controlled current source. Among them, the resolution of the digital-to-analog converter determines the resolution of the current output. The resolution of commercial high-precision digital-to-analog converters is usually within 20 bits (mostly 16 bits). In order to cope with high-resolution design requirements, technicians usually use two or more voltage-type digital-to-analog converters to add them according to different weight ratios to obtain a higher-resolution voltage output, and then convert the voltage into the required Other signal forms (such as current signals). In conventional applications, the digital-to-analog converters that are added and synthesized work synchronously, and the working logic is equivalent to a voltage-type digital-to-analog converter with higher bits. In some special application fields, such as the commutation current of low-temperature current comparators, the generated current signal is required to be finely adjustable, high-precision and high-smooth at the same time. Using the above technology can meet the first two requirements, but there are shortcomings in smoothness. The applicant previously proposed a precision digital voltage waveform compensation method to compensate for the main signal steps (including differential nonlinear errors) and solve the problem of signal smoothness. In the above solution, if a digital-to-analog converter is used as the compensation signal generator, concessions need to be made on the signal bandwidth. The reason is that the compensation signal generator must complete hundreds or even more refresh cycles within one refresh cycle of the main signal, thus limiting the refresh frequency of the main signal. Therefore, the above method has shortcomings in signal speed.
发明内容Contents of the invention
本发明针对现有技术的不足,提出了一种基于数字调控斜坡补偿的精密电流源装置。In view of the shortcomings of the existing technology, the present invention proposes a precision current source device based on digital control slope compensation.
本发明包括微控制器、电压型数模转换器、两路拓扑结构相同的数控斜坡电压发生器、比例加法放大器和压控电流源。The invention includes a microcontroller, a voltage-type digital-to-analog converter, two numerically controlled slope voltage generators with the same topological structure, a proportional summing amplifier and a voltage-controlled current source.
所述微控制器和所述电压型数模转换器通过数字总线连接,所述微控制器与数控斜坡电压发生器通过数字总线连接,所述电压型数模转换器和所述两路数控斜坡电压发生器分别与比例加法放大器的三个输入端连接;所述比例加法放大器的输出端与所述压控电流源的输入端连接;其中电压型数模转换器、两路数控斜坡电压发生器和比例加法放大器构成了可数字调控、具有斜坡补偿的电压信号发生单元。The microcontroller and the voltage-type digital-to-analog converter are connected through a digital bus. The microcontroller is connected to the numerically controlled ramp voltage generator through a digital bus. The voltage-type digital-to-analog converter and the two numerically controlled ramps The voltage generator is respectively connected to the three input terminals of the proportional summing amplifier; the output terminal of the proportional summing amplifier is connected to the input terminal of the voltage-controlled current source; among them, a voltage type digital-to-analog converter and two digitally controlled slope voltage generators and a proportional adding amplifier constitute a voltage signal generating unit that can be digitally controlled and has slope compensation.
所述数控斜坡电压发生器用于产生斜坡波形与地电位相互交替的信号,且两路数控斜坡电压发生器产生的信号相反,包括数控电流源、充电电容、第一模拟开关、电压缓冲器、第二模拟开关和第三模拟开关,具体结构如下:The digitally controlled ramp voltage generator is used to generate a signal in which the ramp waveform and the ground potential alternate with each other, and the signals generated by the two digitally controlled ramp voltage generators are opposite, including a digitally controlled current source, a charging capacitor, a first analog switch, a voltage buffer, and a third digitally controlled ramp voltage generator. The second analog switch and the third analog switch have the following specific structures:
数控电流源的输出端与充电电容的第一端相连接,向充电电容注入电荷。The output terminal of the digitally controlled current source is connected to the first terminal of the charging capacitor, and charges are injected into the charging capacitor.
充电电容的第二端与参考点相连接,为充电电压提供参考电位。The second terminal of the charging capacitor is connected to the reference point to provide a reference potential for the charging voltage.
第一模拟开关的输入端与充电电容的第一端相连接,输出端连接至参考点,为充电电容提供电荷泄放途径。The input terminal of the first analog switch is connected to the first terminal of the charging capacitor, and the output terminal is connected to the reference point to provide a charge discharge path for the charging capacitor.
电压缓冲器的输入端与充电电容的第一端连接,将充电电压缓冲至电压缓冲器的输出端。The input terminal of the voltage buffer is connected to the first terminal of the charging capacitor, and the charging voltage is buffered to the output terminal of the voltage buffer.
第二模拟开关的输入端与电压缓冲器的输出端连接,将充电电压分时道导通至所述数控斜坡电压发生器的输出端。The input terminal of the second analog switch is connected to the output terminal of the voltage buffer, and the charging voltage is channeled to the output terminal of the digitally controlled ramp voltage generator in a time-sharing manner.
第三模拟开关的输入端与参考点连接,将参考电位分时导通至所述数控斜坡电压发生器的输出端。The input end of the third analog switch is connected to the reference point and conducts the reference potential to the output end of the digitally controlled slope voltage generator in a time-sharing manner.
第二模拟开关和第三模拟开关为控制逻辑相反的模拟开关,且受控于同一信号。The second analog switch and the third analog switch are analog switches with opposite control logics and are controlled by the same signal.
本发明的有益效果:本发明对于每一次补偿只需要输出一次控制信号,因此在保证精细可调、高精度和高平滑性的基础上,进一步提升可生成电流信号的带宽范围。Beneficial effects of the present invention: The present invention only needs to output a control signal once for each compensation. Therefore, on the basis of ensuring fine adjustment, high precision and high smoothness, the bandwidth range of the current signal that can be generated is further improved.
附图说明Description of the drawings
通过结合附图对本发明示例性实施例进行更详细的描述,本发明的上述以及其它目的、特征和优势将变得更加明显,其中,在本发明示例性实施例中,相同的参考标号通常代表相同部件。The above and other objects, features and advantages of the present invention will become more apparent by describing the exemplary embodiments of the present invention in more detail with reference to the accompanying drawings, wherein, in the exemplary embodiments of the present invention, the same reference numerals generally represent Same parts.
图1基于数字调控斜坡补偿的精密电流源装置原理框图;Figure 1 Principle block diagram of a precision current source device based on digital control slope compensation;
图2基于数字调控斜坡补偿的精密电流源装置中核心部分电路图;Figure 2 is a circuit diagram of the core part of a precision current source device based on digital control slope compensation;
图3基于数字调控斜坡补偿的精密电流源装置的控制时序。Figure 3. Control timing of a precision current source device based on digital control slope compensation.
具体实施方式Detailed ways
下面将更详细地描述本发明的优选实施方式。虽然以下描述了本发明的优选实施方式,然而应该理解,可以以各种形式实现本发明而不应被这里阐述的实施方式所限制。Preferred embodiments of the invention will be described in more detail below. Although preferred embodiments of the present invention are described below, it should be understood that the present invention may be implemented in various forms and should not be limited to the embodiments set forth herein.
图1示出了基于数字调控斜坡补偿的精密电流源装置原理框图。Figure 1 shows the schematic block diagram of a precision current source device based on digital control slope compensation.
它包括微控制器、电压型数模转换器、两路拓扑结构相同的数控斜坡电压发生器、比例加法放大器和压控电流源。It includes a microcontroller, a voltage-type digital-to-analog converter, two digitally controlled ramp voltage generators with the same topology, a proportional summing amplifier and a voltage-controlled current source.
所述微控制器和所述电压型数模转换器通过数字总线连接,所述微控制器与数控斜坡电压发生器通过数字总线连接,所述电压型数模转换器和所述两路数控斜坡电压发生器分别与比例加法放大器的三个输入端连接;所述比例加法放大器的输出端与所述压控电流源的输入端连接;其中电压型数模转换器、两路数控斜坡电压发生器和比例加法放大器构成了可数字调控、具有斜坡补偿的电压信号发生单元。The microcontroller and the voltage-type digital-to-analog converter are connected through a digital bus. The microcontroller is connected to the numerically controlled ramp voltage generator through a digital bus. The voltage-type digital-to-analog converter and the two numerically controlled ramps The voltage generator is respectively connected to the three input terminals of the proportional summing amplifier; the output terminal of the proportional summing amplifier is connected to the input terminal of the voltage-controlled current source; among them, a voltage type digital-to-analog converter and two digitally controlled slope voltage generators and a proportional adding amplifier constitute a voltage signal generating unit that can be digitally controlled and has slope compensation.
所述数控斜坡电压发生器用于产生斜坡波形与地电位相互交替的信号,且两路数控斜坡电压发生器产生的信号相反,包括数控电流源、充电电容、第一模拟开关、电压缓冲器、第二模拟开关和第三模拟开关,具体结构如下:The digitally controlled ramp voltage generator is used to generate a signal in which the ramp waveform and the ground potential alternate with each other, and the signals generated by the two digitally controlled ramp voltage generators are opposite, including a digitally controlled current source, a charging capacitor, a first analog switch, a voltage buffer, and a third digitally controlled ramp voltage generator. The second analog switch and the third analog switch have the following specific structures:
数控电流源的输出端与充电电容的第一端相连接,向充电电容注入电荷;The output end of the digitally controlled current source is connected to the first end of the charging capacitor to inject charge into the charging capacitor;
充电电容的第二端与参考点相连接,为充电电压提供参考电位;The second end of the charging capacitor is connected to the reference point to provide a reference potential for the charging voltage;
第一模拟开关的输入端与充电电容的第一端相连接,输出端连接至参考点,为充电电容提供电荷泄放途径;The input terminal of the first analog switch is connected to the first terminal of the charging capacitor, and the output terminal is connected to the reference point to provide a charge discharge path for the charging capacitor;
电压缓冲器的输入端与充电电容的第一端连接,将充电电压缓冲至电压缓冲器的输出端;The input terminal of the voltage buffer is connected to the first terminal of the charging capacitor, and the charging voltage is buffered to the output terminal of the voltage buffer;
第二模拟开关的输入端与电压缓冲器的输出端连接,将充电电压分时道导通至所述数控斜坡电压发生器的输出端;The input end of the second analog switch is connected to the output end of the voltage buffer, and the charging voltage is time-shared and channeled to the output end of the digitally controlled ramp voltage generator;
第三模拟开关的输入端与参考点连接,将参考电位分时导通至所述数控斜坡电压发生器的输出端;The input end of the third analog switch is connected to the reference point, and the reference potential is time-shared and conducted to the output end of the digitally controlled slope voltage generator;
所述第二模拟开关和第三模拟开关为控制逻辑相反的模拟开关,且受控于同一信号。The second analog switch and the third analog switch are analog switches with opposite control logics and are controlled by the same signal.
进一步说,所述数控电流源为乘法型数模转换器。Furthermore, the digitally controlled current source is a multiplicative digital-to-analog converter.
进一步说,所述第二模拟开关和第三模拟开关为单刀单掷型模拟开关。Furthermore, the second analog switch and the third analog switch are single-pole single-throw analog switches.
进一步说,所述电压缓冲器为运算放大器构成的电压跟随器。Furthermore, the voltage buffer is a voltage follower composed of an operational amplifier.
进一步说,所述第三模拟开关的输出端还配置有一阶RC滤波电路。Furthermore, the output end of the third analog switch is also equipped with a first-order RC filter circuit.
实施例:Example:
为便于理解本发明实施例的方案及其效果,以下给出一个具体应用示例。本领域技术人员应理解,该示例仅为了便于理解本发明,其任何具体细节并非意在以任何方式限制本发明。In order to facilitate understanding of the solutions and effects of the embodiments of the present invention, a specific application example is given below. Those skilled in the art will understand that this example is only to facilitate understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.
在该实施例中,基于数字调控斜坡补偿的精密电流源装置包括微控制器、电压型数模转换器、两路拓扑结构相同的数控斜坡电压发生器、比例加法放大器、压控电流源。其中,微控制器选型为GD32F103型号,配备多路SPI数字总线和数字IO,用于控制数模转换器和模拟开关器件。本发明中的压控电流源可采用各种拓扑原理的压控电流源电路,在本实施例中采用双运放构成的增强型Howland压控电流源,能够在电压信号的激励下生成与电压值成比例的电流信号。In this embodiment, the precision current source device based on digital control slope compensation includes a microcontroller, a voltage-type digital-to-analog converter, two digitally controlled slope voltage generators with the same topology, a proportional summing amplifier, and a voltage-controlled current source. Among them, the microcontroller model is GD32F103, which is equipped with multi-channel SPI digital bus and digital IO for controlling digital-to-analog converters and analog switching devices. The voltage-controlled current source in the present invention can adopt voltage-controlled current source circuits with various topological principles. In this embodiment, an enhanced Howland voltage-controlled current source composed of dual operational amplifiers is used, which can generate the same voltage under the excitation of a voltage signal. The value is proportional to the current signal.
本发明中,电压型数模转换器、两路拓扑结构相同的数控斜坡电压发生器和比例加法放大器构成了可数字调控、具有斜坡补偿的电压信号发生单元。图2给出了本实施例中电压型数模转换器、两路拓扑结构相同的数控斜坡电压发生器和比例加法放大器的具体电路形式。In the present invention, a voltage-type digital-to-analog converter, two numerically controlled slope voltage generators with the same topological structure, and a proportional summing amplifier constitute a digitally controllable voltage signal generating unit with slope compensation. Figure 2 shows the specific circuit form of the voltage-type digital-to-analog converter, the two-way digitally controlled ramp voltage generator with the same topology, and the proportional summing amplifier in this embodiment.
其中,电压型模数转换器可以选择乘法型、SAR型、sigma-delta型等各类DAC器件。在本实施例中,选用AD3552R乘法型DAC,并利用AD8065运算放大器构成外围电路实现I-V转换,即器件AD3552R与AD8065共同构成所述的电压型数模转换器DACH,其输出电压在图2和图3中标记为VH。Among them, voltage-type analog-to-digital converters can choose various DAC devices such as multiplicative type, SAR type, sigma-delta type, etc. In this embodiment, the AD3552R multiplicative DAC is selected, and the AD8065 operational amplifier is used to form a peripheral circuit to implement IV conversion. That is, the device AD3552R and AD8065 together form the voltage-type digital-to-analog converter DAC H. Its output voltage is shown in Figure 2 and Labeled V H in Figure 3.
两路数控斜坡电压发生器拓扑结构相同。以第一数控斜坡电压发生器为例,包含:The topology of the two digitally controlled ramp voltage generators is the same. Taking the first digitally controlled ramp voltage generator as an example, it includes:
乘法型DAC器件DACL1,型号为AD3552R,当乘法型DAC器件不加装外围电路时可直接输出电流,电流值与数字总线发送的码值成比例,即表现为数控电流源。需要注意的是,除乘法型以外的其它类型DAC器件不具有该特性。The multiplicative DAC device DAC L1 , model AD3552R, can directly output current when no external circuit is installed. The current value is proportional to the code value sent by the digital bus, that is, it behaves as a digitally controlled current source. It should be noted that other types of DAC devices other than multiplicative types do not have this feature.
充电电容CL1的其容值选为1nF,该电容一端与DACL1相连,另一端接电源参考地,以便DACL1的输出电流对其充电。CL1的充电端同时与第一模拟开关S1的输入端相连,S1型号为ADG1412,用途是对CL1上的电荷进行泄放。当控制信号CON1为高电平时,CL1处于充电状态;当控制信号CON1为低电平时,CL1处于放电状态。CL1的一端同时与电压缓冲器A1的输入相连,A1具体是由AD8510运算放大器构成的电压跟随器电路,该电路的作用是将CL1的端电压传递到后级,并且阻断后级电路输入阻抗对前级电路的影响。A1的输出连接第二模拟开关S3,其型号为ADG1412。电源参考地作为另一个输入连接第三模拟开关S5,其型号为ADG1411,并在S5输出端放置RL3和CL3构成的一阶RC滤波电路。ADG1412和ADG1411是控制逻辑相反的模拟开关器件,当两个器件用同一控制信号CON3进行控制时,在任一时刻,S3和S5合并的输出电压VL1为CL1的充电电压或地电位中的任意一个。The capacitance value of charging capacitor C L1 is selected as 1nF. One end of this capacitor is connected to DAC L1 , and the other end is connected to the power reference ground so that the output current of DAC L1 can charge it. The charging end of C L1 is also connected to the input end of the first analog switch S1. The model of S1 is ADG1412, which is used to discharge the charge on C L1 . When the control signal CON1 is high level, CL1 is in the charging state; when the control signal CON1 is low level, CL1 is in the discharging state. One end of C L1 is connected to the input of voltage buffer A 1 at the same time. A 1 is specifically a voltage follower circuit composed of an AD8510 operational amplifier. The function of this circuit is to transfer the terminal voltage of C L1 to the subsequent stage and block it. The influence of the input impedance of the stage circuit on the previous stage circuit. The output of A 1 is connected to the second analog switch S 3 , whose model is ADG1412. The power reference ground is used as another input to connect the third analog switch S 5 , whose model is ADG1411, and a first-order RC filter circuit composed of RL3 and CL3 is placed at the output of S 5 . ADG1412 and ADG1411 are analog switching devices with opposite control logic. When the two devices are controlled by the same control signal CON3, at any time, the combined output voltage V L1 of S 3 and S 5 is the charging voltage or ground potential of C L1 any one of.
第二数控斜坡电压发生器中,所用器件与第一数控斜坡电压发生器对应器件选型完全相同,但控制信号CON2的逻辑电平与CON1相反;控制信号CON4的逻辑电平与CON3相反。In the second digitally controlled ramp voltage generator, the components used are exactly the same as those in the first digitally controlled ramp voltage generator, but the logic level of the control signal CON2 is opposite to that of CON1; the logic level of the control signal CON4 is opposite to that of CON3.
在比例加法放大器中,运算放大器A3选型为AD8510;电阻RH为50Ω,电阻RL1和电路RL2为625kΩ,相当于补偿信号按照1:12500的比例与主信号相加;R1为10kΩ,R2为0Ω,即相加后整体按单位增益输出。In the proportional adding amplifier, the operational amplifier A3 is AD8510; the resistor R H is 50Ω, the resistor R L1 and the circuit R L2 are 625kΩ, which is equivalent to adding the compensation signal to the main signal in a ratio of 1:12500; R1 is 10kΩ, R2 is 0Ω, that is, the overall output is unit gain after addition.
在该实施例中,微控制器GD32F103通过SPI数字总线,以5μs为周期向DACH、DACL1、DACL1发送码值并刷新周期,同时通过数字IO发送CON1、CON2、CON3、CON4控制信号,控制时序如图3所示。所得到的两路补偿信号是所示斜坡波形与地电位相互交替的两路信号,该两路信号经比例缩放后与主信号VH相加,得到Vout所示电压信号。Vout作为控制电压连接至压控电流源,最终输出所需电流信号。In this embodiment, the microcontroller GD32F103 sends code values to DACH, DACL1, and DACL1 through the SPI digital bus with a 5 μs cycle and refreshes the cycle. At the same time, it sends CON1, CON2, CON3, and CON4 control signals through digital IO. The control timing is as follows As shown in Figure 3. The two compensation signals obtained are two signals in which the ramp waveform and the ground potential alternate as shown. These two signals are scaled and added to the main signal V H to obtain the voltage signal shown as V out . V out is connected to the voltage-controlled current source as the control voltage, and finally outputs the required current signal.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211028960.XA CN115309222B (en) | 2022-08-26 | 2022-08-26 | Precision current source device based on digital regulation and control slope compensation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211028960.XA CN115309222B (en) | 2022-08-26 | 2022-08-26 | Precision current source device based on digital regulation and control slope compensation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115309222A CN115309222A (en) | 2022-11-08 |
CN115309222B true CN115309222B (en) | 2024-01-16 |
Family
ID=83864203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211028960.XA Active CN115309222B (en) | 2022-08-26 | 2022-08-26 | Precision current source device based on digital regulation and control slope compensation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115309222B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117075021A (en) * | 2023-08-10 | 2023-11-17 | 武汉岸峰电子科技有限公司 | Automatic bridge balancing method and device for digital direct current comparator |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0427819D0 (en) * | 2004-12-17 | 2005-01-19 | Micron Europe Ltd | Programmable integrating ramp generator and method of operating the same |
CN202475254U (en) * | 2012-03-27 | 2012-10-03 | 成都芯源系统有限公司 | Switch converter and control circuit thereof |
CN103645763A (en) * | 2013-11-26 | 2014-03-19 | 苏州贝克微电子有限公司 | Circuit for controlling time sequence and slope compensation in switching regulator |
EP3110007A1 (en) * | 2015-06-22 | 2016-12-28 | NXP USA, Inc. | Ramp voltage generator and method for testing an analog-to-digital converter |
CN114157301A (en) * | 2021-12-11 | 2022-03-08 | 长春长光辰芯光电技术有限公司 | Double-slope double-edge count-down analog-to-digital conversion device and conversion method thereof |
-
2022
- 2022-08-26 CN CN202211028960.XA patent/CN115309222B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0427819D0 (en) * | 2004-12-17 | 2005-01-19 | Micron Europe Ltd | Programmable integrating ramp generator and method of operating the same |
CN202475254U (en) * | 2012-03-27 | 2012-10-03 | 成都芯源系统有限公司 | Switch converter and control circuit thereof |
CN103645763A (en) * | 2013-11-26 | 2014-03-19 | 苏州贝克微电子有限公司 | Circuit for controlling time sequence and slope compensation in switching regulator |
EP3110007A1 (en) * | 2015-06-22 | 2016-12-28 | NXP USA, Inc. | Ramp voltage generator and method for testing an analog-to-digital converter |
CN114157301A (en) * | 2021-12-11 | 2022-03-08 | 长春长光辰芯光电技术有限公司 | Double-slope double-edge count-down analog-to-digital conversion device and conversion method thereof |
Non-Patent Citations (2)
Title |
---|
《基于Inp DHBT工艺的6 bit DAC设计与实现》;王子青等;《半导体技术》;全文 * |
时间数字单斜模数转换器中斜坡发生器的研究;赵鹏;《数字技术与应用》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115309222A (en) | 2022-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103812507A (en) | String dac charge boost system and method | |
CN102111156B (en) | Successive approximation register analog-to-digital conversion circuit for realizing minimal dynamic range | |
CN104038222A (en) | System and method for calibrating a circuit | |
CN115309222B (en) | Precision current source device based on digital regulation and control slope compensation | |
TW201114191A (en) | Successive approximation analog to digital converter and method thereof | |
US20130050003A1 (en) | Sigma-delta analog to digital converter | |
CN109474278A (en) | An ultra-low power successive approximation analog-to-digital converter based on charge redistribution | |
CN114204942B (en) | Successive approximation type analog-to-digital converter and conversion method | |
CN106301376B (en) | Low-power-consumption successive approximation type analog-to-digital converter with adjustable comparator bias current | |
JPH03143027A (en) | Three-value output type D/A converter | |
CN110690901A (en) | High-speed low-power-consumption SAR ADC capacitance mismatch self-calibration method and circuit | |
CN112737582A (en) | DAC circuit with controllable differential output common-mode voltage in SAR-ADC and control method thereof | |
CN113612480B (en) | Successive approximation type analog-to-digital converter based on segmented differential capacitor array | |
US11075646B2 (en) | Σ-Δmodulator and method for reducing nonlinear error and gain error | |
US11342931B2 (en) | Reference voltage controlling circuit and analog-to-digital converter | |
CN111277270A (en) | A high-speed successive approximation analog-to-digital conversion circuit and DAC weight distribution method | |
CN112202449B (en) | Capacitance measuring circuit and measuring method based on analog-digital converter | |
CN109004919A (en) | A kind of high-precision current/freq converting circuit and conversion method based on triangular modulation | |
CN117895786A (en) | Control circuit and switching power supply using same | |
CN100442667C (en) | AD converter | |
CN207427126U (en) | A kind of circuit for improving analog-digital converter conversion speed | |
CN115642916A (en) | Sampling and converting method of SAR ADC capacitor array | |
CN113131941A (en) | Low-power-consumption switching method applied to successive approximation analog-to-digital converter | |
CN218099226U (en) | IEPE sensor analog circuit and detection device | |
CN218788732U (en) | Power supply device of accelerator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |