CN116760416B - A dual-configuration mode high-precision oversampling analog-to-digital converter control module - Google Patents
A dual-configuration mode high-precision oversampling analog-to-digital converter control module Download PDFInfo
- Publication number
- CN116760416B CN116760416B CN202311008543.3A CN202311008543A CN116760416B CN 116760416 B CN116760416 B CN 116760416B CN 202311008543 A CN202311008543 A CN 202311008543A CN 116760416 B CN116760416 B CN 116760416B
- Authority
- CN
- China
- Prior art keywords
- pin
- control
- function
- pinmod
- configuration mode
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
- H03M1/1245—Details of sampling arrangements or methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
技术领域Technical field
本发明属于模拟集成电路设计领域,具体涉及一种双配置模式高精度过采样模数转换器控制模块。The invention belongs to the field of analog integrated circuit design, and specifically relates to a dual configuration mode high-precision oversampling analog-to-digital converter control module.
背景技术Background technique
模数转换器(ADC)是模拟集成电路设计领域以模数混合处理领域不可缺少的关键单元,其中高精度过采样ADC是应用很广泛的一个分支。Analog-to-digital converter (ADC) is an indispensable key unit in the field of analog integrated circuit design and analog-to-digital mixed processing. Among them, high-precision oversampling ADC is a widely used branch.
传统的高精度过采样ADC都采用单一的模式来控制ADC的功能,比如只能使用管脚模式,如图1所示。管脚模式就是使用芯片的管脚直接配置芯片的功能。这样对简单的应用简单可靠。不需要有复杂的配置设计,芯片外围使用的PCB板也相对简化。但是这样做会带来一定的缺点,就是PCB设计确定以后没有调整和修改配置的可能,导致芯片使用环境不灵活。Traditional high-precision oversampling ADCs all use a single mode to control the function of the ADC. For example, only pin mode can be used, as shown in Figure 1. Pin mode is to use the pins of the chip to directly configure the functions of the chip. This is simple and reliable for simple applications. There is no need for complex configuration design, and the PCB boards used around the chip are relatively simplified. However, this will bring certain disadvantages, that is, there is no possibility to adjust and modify the configuration after the PCB design is determined, resulting in an inflexible chip usage environment.
后来,对于高精度过采样ADC又出现了内部寄存器来控制和配置芯片,例如TI公司的ADS1258芯片,用户可以使用芯片内部复杂的寄存器组合来灵活的配置高精度过采样ADC。这样做的好处是当ADC外围有FPGA或MCU等控制芯片来控制ADC,就可以通过改变FPGA或MCU的配置代码来现场修改ADC芯片的功能,使芯片使用条件显著改善。但是这样又带来相对应的缺点,就是配置代码一般都会存储在存储器芯片内,存储器芯片容易受到外界的干扰,如果不是使用非易失性存储器来存储代码,当整个系统掉电就会丢失配置信息。Later, for high-precision oversampling ADCs, internal registers appeared to control and configure the chip, such as TI's ADS1258 chip. Users can use the complex register combination inside the chip to flexibly configure high-precision oversampling ADCs. The advantage of this is that when there is a control chip such as FPGA or MCU outside the ADC to control the ADC, the function of the ADC chip can be modified on-site by changing the configuration code of the FPGA or MCU, significantly improving the chip usage conditions. However, this brings corresponding disadvantages, that is, the configuration code is generally stored in the memory chip. The memory chip is susceptible to external interference. If non-volatile memory is not used to store the code, the configuration will be lost when the entire system is powered off. information.
从系统设计复杂度来看,管脚模式使用的外围电路简单可靠,不要使用存储器来存储配置代码,但是设计确定以后不方便修改。使用内部寄存器来控制和配置ADC芯片的外围设计比较复杂,会使用到FPGA或MCU等控制芯片和存储芯片,设计难度大,但是更加灵活改变ADC的功能,比如采样通道的现场更换等更多的ADC外围功能。From the perspective of system design complexity, the peripheral circuits used in pin mode are simple and reliable. Do not use memory to store configuration codes, but it is inconvenient to modify after the design is finalized. The peripheral design of using internal registers to control and configure the ADC chip is more complicated, and will use control chips and memory chips such as FPGA or MCU. The design is difficult, but it is more flexible to change the functions of the ADC, such as on-site replacement of sampling channels and more. ADC peripheral functions.
发明内容Contents of the invention
为了优化高精度过采样ADC的模式控制方式,解决管脚模式和使用内部寄存器来控制的不足,本发明提出一种新型的高精度过采样ADC的内部设计结构,通过控制信号实现IO口的功能的选择和IO口输入输出的选择。In order to optimize the mode control method of high-precision over-sampling ADC and solve the shortcomings of pin mode and use of internal registers for control, the present invention proposes a new internal design structure of high-precision over-sampling ADC to realize the function of IO port through control signals The selection and the selection of IO port input and output.
工作原理如图2所示:The working principle is shown in Figure 2:
该控制模块包括电路信号选通器Mux1和电路信号选通器Mux2,输入缓冲器INBUF,输出缓冲器OUTBUF,一个反相器,一个数字模块;The control module includes circuit signal strobe Mux1 and circuit signal strobe Mux2, input buffer INBUF, output buffer OUTBUF, an inverter, and a digital module;
PINMOD经过数字模块产生控制信号PINMOD Control、PINM1和PINM2,IO Pin为ADC芯片引脚,PINMOD Control直接连接输入缓冲器INBUF的控制端,同时经过一个反相器后与输出缓冲器OUTBUF的控制端相连;输入缓冲器INBUF的输入端与IO Pin相连,输出端与电路信号选通器Mux1的输入端相连;输出缓冲器OUTBUF的输入端与电路信号选通器Mux2输出相连,输出端与IO Pin相连;电路信号选通器Mux1的输出连接ADC芯片内部的功能1和功能2,通过PINM1进行选择;电路信号选通器Mux2的输入连接ADC芯片内部的功能1和功能2,通过PINM2进行选择;PINMOD generates control signals PINMOD Control, PINM1 and PINM2 through the digital module. The IO Pin is the ADC chip pin. PINMOD Control is directly connected to the control end of the input buffer INBUF and is connected to the control end of the output buffer OUTBUF after passing through an inverter. ;The input terminal of the input buffer INBUF is connected to the IO Pin, and the output terminal is connected to the input terminal of the circuit signal strobe Mux1; the input terminal of the output buffer OUTBUF is connected to the output of the circuit signal strobe Mux2, and the output terminal is connected to the IO Pin ;The output of circuit signal strobe Mux1 is connected to function 1 and function 2 inside the ADC chip, and is selected through PINM1; the input of circuit signal strobe Mux2 is connected to function 1 and function 2 inside the ADC chip, and is selected through PINM2;
电路信号选通器Mux1和电路信号选通器Mux2由数字代码编写而成,通过PINMOD控制信号PINM1和PINM2来选择功能1或功能2;输入缓冲器INBUF和输出缓冲器OUTBUF结构相同,对信号起到缓冲的作用。The circuit signal strobe Mux1 and the circuit signal strobe Mux2 are written by digital codes, and function 1 or function 2 is selected through the PINMOD control signals PINM1 and PINM2; the input buffer INBUF and the output buffer OUTBUF have the same structure, and control the signal. to act as a buffer.
通过该模块实现对芯片端口的控制,以此来实现模式的切换。使得芯片的配置更加灵活。This module is used to control the chip port to achieve mode switching. Makes the chip configuration more flexible.
附图说明Description of the drawings
图1为传统的单一模式控制;Figure 1 shows the traditional single mode control;
图2 为PINMODE信号控制的IO PIN的原理图;Figure 2 is the schematic diagram of IO PIN controlled by PINMODE signal;
图3为使用PINMODE来控制芯片配置模式原理图。Figure 3 is a schematic diagram of using PINMODE to control the chip configuration mode.
实施方式Implementation
下面将结合附图对实施方式进行具体说明。The embodiments will be described in detail below with reference to the accompanying drawings.
图2为PINMODE信号控制的IO Pin的原理图。Figure 2 is the schematic diagram of the IO Pin controlled by the PINMODE signal.
PINMOD Control可以控制IO Pin是输入引脚还是输出引脚,当PINMOD Control为高电平时输入缓冲器INBUF开启,输出缓冲器OUTBUF关闭,IO Pin成为输入引脚,信号从外部输入;当PINMOD Control为低电平时输入缓冲器INBUF关闭,输出缓冲器OUTBUF开启,IOPin成为输出引脚,信号从内部输出;PINMOD Control can control whether the IO Pin is an input pin or an output pin. When PINMOD Control is high level, the input buffer INBUF is turned on, the output buffer OUTBUF is turned off, the IO Pin becomes an input pin, and the signal is input from the outside; when PINMOD Control is high, When the level is low, the input buffer INBUF is closed, the output buffer OUTBUF is opened, IOPin becomes the output pin, and the signal is output internally;
PINM1控制从IO Pin输入的信号是控制功能1还是功能2,PINM1为高电平时连接功能1,为低电平时连接功能2。PINM2控制从IO Pin输出的信号是来自功能1还是功能2,当PINM2为高电平时,IO PIN的信号来自功能1,为低电平时IO PIN的信号来自功能2。PINM1 controls whether the signal input from the IO Pin controls function 1 or function 2. When PINM1 is high level, it is connected to function 1, and when it is low level, it is connected to function 2. PINM2 controls whether the signal output from IO Pin comes from function 1 or function 2. When PINM2 is high level, the signal of IO PIN comes from function 1, and when it is low level, the signal of IO PIN comes from function 2.
当PINMODE管脚接电源的时候,经过数字模块产生的控制信号PINM1和PINM2为高电平,使的引脚连接功能1,PINMOD Control根据引脚是输入还是输出的需要产生,当该引脚是输入引脚时,产生的PINMOD Control为高电平,当该引脚是输出引脚时,产生的PINMODControl为低电平,此时芯片是管脚配置模式;When the PINMODE pin is connected to the power supply, the control signals PINM1 and PINM2 generated by the digital module are high level, making the pin connection function 1. PINMOD Control is generated according to whether the pin is input or output. When the pin is When the pin is input, the PINMOD Control generated is high level. When the pin is an output pin, the PINMODControl generated is low level. At this time, the chip is in pin configuration mode;
当PINMODE管脚接地的时候,经过数字模块产生的控制信号PINM1和PINM2为低电平,使的引脚连接功能2,PINMOD Control根据引脚是输入还是输出的需要产生,当该引脚是输入引脚时,产生的PINMOD Control为高电平,当该引脚是输出引脚时,产生的PINMODControl为低电平,此时ADC芯片是寄存器配置模式。When the PINMODE pin is grounded, the control signals PINM1 and PINM2 generated by the digital module are low level, causing the pin to connect to function 2. PINMOD Control is generated according to whether the pin is an input or an output. When the pin is an input When the pin is an output pin, the generated PINMOD Control is high level. When the pin is an output pin, the generated PINMODControl is low level. At this time, the ADC chip is in the register configuration mode.
图3为使用PINMODE来控制芯片配置模式原理图,图中左右两侧是芯片的典型IO,可以通过使用独立的PINMOD控制不同芯片IO Pin的配置状态。一般来说高精度过采样ADC中会包含模拟调制器和数字滤波器,同时在数字滤波器的外围会加入系列的控制逻辑构成ADC的数字控制模块。每一个需要复用的引脚都会使用图2所示的结构,来实现不同模式下引脚功能不同。Figure 3 is a schematic diagram of using PINMODE to control the chip configuration mode. The left and right sides of the figure are the typical IO of the chip. The configuration status of the IO Pin of different chips can be controlled by using independent PINMOD. Generally speaking, a high-precision oversampling ADC will contain an analog modulator and a digital filter. At the same time, a series of control logic will be added to the periphery of the digital filter to form the digital control module of the ADC. Each pin that needs to be multiplexed will use the structure shown in Figure 2 to achieve different pin functions in different modes.
左侧端口的SCLK是SPI的时钟,DIN/MOD共用一个IO Pin。当芯片是寄存器配置模式时,PINMODE管脚接地,在由PINMOD产生的控制信号的控制下,先将DIN/MOD引脚设置为输入端,然后对应的PINM1将功能设置为DIN,这时SPI数据可以从DIN端口进入。当芯片是管脚配置模式的时候,PINMODE管脚接电源,和上述类似的方式端口将被定义成MOD可以用来接0或1来配置ADC芯片。The SCLK on the left port is the SPI clock, and DIN/MOD share an IO Pin. When the chip is in register configuration mode, the PINMODE pin is connected to ground. Under the control of the control signal generated by PINMOD, the DIN/MOD pin is first set as the input terminal, and then the corresponding PINM1 sets the function to DIN. At this time, the SPI data Accessible via DIN port. When the chip is in pin configuration mode, the PINMODE pin is connected to the power supply. In a similar manner to the above, the port will be defined as MOD and can be used to connect 0 or 1 to configure the ADC chip.
右侧的M1和M0端口在芯片作为管脚配置模式时候输出ADC的SDM调制数据。当芯片是寄存器模式的时候作为DR1和DR0来配置芯片转换速度。The M1 and M0 ports on the right output the SDM modulation data of the ADC when the chip is in pin configuration mode. When the chip is in register mode, it is used as DR1 and DR0 to configure the chip conversion speed.
DOUT是芯片的数据串行输出端口,芯片最后的处理数据就从这里传输到外部的FPGA或者MCU芯片来收集ADC转换的结果。DOUT is the data serial output port of the chip. The final processing data of the chip is transmitted from here to the external FPGA or MCU chip to collect the ADC conversion results.
当芯片进入管脚配置模式时,由于芯片内部没有同步时钟,SYNC将提供同步的信号输入,这个同步的信号输入可以让ADC芯片每一次采样的结果在一个用户可以控制的模式下。芯片在寄存器配置模式时,SYNC不需要提供同步信号,原因是该模式下SCLK将成为同步时钟。寄存器配置模式该引脚的功能将从提供同步信号输入,变为一个可以控制芯片内部高通滤波器开启或关闭的控制信号。When the chip enters the pin configuration mode, since there is no synchronous clock inside the chip, SYNC will provide a synchronous signal input. This synchronous signal input can make the result of each sampling of the ADC chip in a user-controllable mode. When the chip is in register configuration mode, SYNC does not need to provide a synchronization signal because SCLK will become the synchronization clock in this mode. In register configuration mode, the function of this pin will change from providing a synchronization signal input to a control signal that can control the on or off of the chip's internal high-pass filter.
MCLK是ADC芯片在管脚配置模式下的芯片主时钟输出,用户可以在芯片使用的时候使用芯片的MCLK来驱动其它的芯片,让其它的芯片能被ADC芯片同步。PHS在芯片是寄存器配置模式的时候可以选择内部数字滤波器的规模。MCLK is the main clock output of the ADC chip in pin configuration mode. Users can use the MCLK of the chip to drive other chips when the chip is in use, so that other chips can be synchronized by the ADC chip. PHS can select the size of the internal digital filter when the chip is in register configuration mode.
通过控制PINMODE连接电源或地,结合不同功能的控制模块,实现了不同PINMODE下,管脚对应不同的管脚功能,实现了管脚配置模式和寄存器配置模式的灵活转换,解决只有一种单一模式的缺陷。By controlling PINMODE to connect to power or ground, and combining control modules with different functions, the pins correspond to different pin functions under different PINMODEs, realizing flexible conversion between pin configuration mode and register configuration mode, and solving the problem of having only one single mode. Defects.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311008543.3A CN116760416B (en) | 2023-08-11 | 2023-08-11 | A dual-configuration mode high-precision oversampling analog-to-digital converter control module |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311008543.3A CN116760416B (en) | 2023-08-11 | 2023-08-11 | A dual-configuration mode high-precision oversampling analog-to-digital converter control module |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116760416A CN116760416A (en) | 2023-09-15 |
| CN116760416B true CN116760416B (en) | 2023-10-20 |
Family
ID=87949953
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311008543.3A Active CN116760416B (en) | 2023-08-11 | 2023-08-11 | A dual-configuration mode high-precision oversampling analog-to-digital converter control module |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116760416B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118138043B (en) * | 2024-03-08 | 2025-02-07 | 广芯微电子(广州)股份有限公司 | ADC sampling data output method, device and chip |
| CN118018025B (en) * | 2024-04-08 | 2024-06-28 | 中国科学技术大学 | A multi-mode waveform digitization circuit and control method based on SCA chip |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102437852A (en) * | 2011-12-12 | 2012-05-02 | 江苏绿扬电子仪器集团有限公司 | Realization of 2.5 GSa/s data collection circuit by utilizing low speed ADC and method thereof |
| CN112748137A (en) * | 2020-12-30 | 2021-05-04 | 芯晟捷创光电科技(常州)有限公司 | Circuit for realizing time-sharing multiplexing of detector signal output channel and detector |
| CN113836933A (en) * | 2021-07-27 | 2021-12-24 | 腾讯科技(深圳)有限公司 | Method and device for generating graphic mark, electronic equipment and storage medium |
| CN114221657A (en) * | 2021-12-16 | 2022-03-22 | 杭州万高科技股份有限公司 | Multichannel ADC data transmission device with optimized pin |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6998871B2 (en) * | 2002-11-29 | 2006-02-14 | Sigmatel, Inc. | Configurable integrated circuit for use in a multi-function handheld device |
| US7369078B2 (en) * | 2004-08-16 | 2008-05-06 | National Instruments Corporation | Flexible converter interface for use in analog-to-digital and digital-to-analog systems |
| US8510073B2 (en) * | 2009-12-01 | 2013-08-13 | Qualcomm, Incorporated | Real-time adaptive hybrid BiST solution for low-cost and low-resource ate production testing of analog-to-digital converters |
-
2023
- 2023-08-11 CN CN202311008543.3A patent/CN116760416B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102437852A (en) * | 2011-12-12 | 2012-05-02 | 江苏绿扬电子仪器集团有限公司 | Realization of 2.5 GSa/s data collection circuit by utilizing low speed ADC and method thereof |
| CN112748137A (en) * | 2020-12-30 | 2021-05-04 | 芯晟捷创光电科技(常州)有限公司 | Circuit for realizing time-sharing multiplexing of detector signal output channel and detector |
| CN113836933A (en) * | 2021-07-27 | 2021-12-24 | 腾讯科技(深圳)有限公司 | Method and device for generating graphic mark, electronic equipment and storage medium |
| CN114221657A (en) * | 2021-12-16 | 2022-03-22 | 杭州万高科技股份有限公司 | Multichannel ADC data transmission device with optimized pin |
Non-Patent Citations (1)
| Title |
|---|
| 卫建华.基于MAX10的多通道数据采集系统设计.微处理机.2016,81-84. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116760416A (en) | 2023-09-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116760416B (en) | A dual-configuration mode high-precision oversampling analog-to-digital converter control module | |
| CN100570591C (en) | Terminal chip pin multiplexing device | |
| US6741193B2 (en) | Parallel in serial out circuit having flip-flop latching at multiple clock rates | |
| JPH0573697A (en) | Microcomputer | |
| US6754740B2 (en) | Interface apparatus for connecting devices operating at different clock rates, and a method of operating the interface | |
| CN117723826A (en) | Synchronous sampling method and system for harmonic standard table | |
| JPH04291827A (en) | Signal processing system | |
| US8458383B1 (en) | Flexible interface for stacked protocol in a programmable integrated circuit device | |
| KR100471145B1 (en) | Counter | |
| JPS58124325A (en) | Shift register with variable number of delay stages | |
| JP2011197981A (en) | I/o extension circuit | |
| US6904062B1 (en) | Method and apparatus for efficient and flexible routing between multiple high bit-width endpoints | |
| CN223808730U (en) | A communication system between an SPI master device and multiple different slave devices | |
| CN221993886U (en) | A memory data upgrade backup circuit and electronic device | |
| CN115757258A (en) | A multi-voltage signal output method and system | |
| JPS63298467A (en) | Inter-cpu interface control system | |
| CN119272697A (en) | A memory asynchronous interface module, parameterized design method, and chip | |
| CN115833821A (en) | High-speed multiplexing circuit applied to Serdes system sending end | |
| CN117650763A (en) | A phase shifter chip and phase shifting system | |
| CN118316458A (en) | A high-speed 10:1 parallel-to-serial conversion circuit | |
| JPS62233931A (en) | Parallel serial converter | |
| US20060013265A1 (en) | Bus architecture and data transmission method thereof | |
| JPH05252039A (en) | Multi-channel d/a converter of 3-line serial data transfer system | |
| JPH01209754A (en) | Data/control-signal identifying circuit | |
| Zhengbing | Design and implementation of signal generator based on software radio |
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 |