-
2022-09-23 10:25:09
ADC12130/ADC12132/ADC12138 Self-Calibrating 12-Bit Plus Serial I/O, A/D Converter with Multiplexer and Sample/Hold
feature
Serial I/O (Microwire, SPI, and QSPI compatible); 2- or 8-channel differential or single-ended multiplexer; analog input sample/hold function; power-down mode; programmable acquisition time; variable digital output word long and format; no zero-scale or full-scale adjustment required; 0V to 5V analog input range, single 5V supply.
Main Specifications
Resolution: 12-bit Plus; 12-bit Plus Conversion Time: 8.8 µs (max); 12-bit Plus Throughput Time: 14 µs (max); Integral Linearity Error: ±2 LSB (max) ;Single power supply: 3.3V or 5V±10%; Power consumption -3.3V 15mW (max) -3.3V power drop 40µW (typ) -5V 33mW (max) -5V power drop 100µW (typ.).
application
Pen computer; digitizer; global positioning system.
General Instructions
The ADC12130 , ADC12132, and ADC12138 are 12+ bit serial I/O symbol successive approximation A/D converters and configurable input multiplexers. The ADC12132 and ADC12138 have 2-channel and 8-channel multiplexers, respectively. The differential multiplexer output and A/D input are provided on MUXOUT1, MUXOUT2, A/DIN1, and A/DIN2 pins. The ADC12130 has a dual-channel multiplexer with multiplex outputs and A/D inputs connected internally. The ADC12130 series was tested with a 5 MHz clock. On request, these A/Ds are adjusted through a self-calibration process with linear, zero, and full-scale errors typically less than ±1 per LSB.
The analog inputs can be configured in various single-ended, differential or pseudo-differential modes. A fully differential unipolar analog circuit input range (0V to +5V) can be used with a +5V supply. In differential mode, even the negative input is larger than the output data format precisely because of the 12-bit plus sign. Serial I/O is configured to comply with NSC MICROWIRE 8482 ;. See the LM4040 or LM4041 for a voltage reference.
ADC12138 simplified block diagram
Program Tips
1.0 digital interface
1.1 Interface Concept
The example in Figure 7 shows a typical sequence of events after powering up the ADC12130/2/8:
Auto-calibration is initiated by the first command of the DI input A/D. At that time, the data output on the DO was meaningless and completely random. The A/D will be sent to the A/D after it is determined whether the auto-calibration is complete. Also, the data output at the time is meaningless because the Auto-Cal process modifies the data in the output shift register. To retrieve status information, you also need to issue a read status command to the A/D. At this point the status data is available on the DO. Auto-calibration is complete if the calibration signal in the status word is low. So the next issued instruction can start the conversion. The data output at this time is again status information. Hold noise cannot read the state during conversion due to damage to the A/D conversion. If CS is brought down during a transition, the transition ends prematurely. The EOC can be used to determine the end of a conversion or the A/D controller can track in software when it is appropriate to communicate with the A/D again. Once it has determined that the A/D has completed the conversion, another command can be sent to the A/D. This converted data can be accessed when the next command is sent to the A/D.
Note that when CS is continuously low, the exact number of SCLK cycles is transmitted, as shown in the timing chart. The data output format sets the number of SCLK cycles required for the next I/O cycle. The 12-bit unsigned format requires 12 SCLKs to be transmitted; the 12-bit plus format will require 13 SCLKs to be transmitted, otherwise the A/D will be cancelled (see Section 1.3).
1.2 Change configuration
The ADC12130/2/8 are configured to 12-bit plus sign resolution by default, 12-bit or 13-bit MSB first, 10CCLK acquisition time, user mode, no auto-calibration, no auto-zero, power-up mode. Changing the acquisition time to turn the sign bit on and off requires an 8-bit instruction to the ADC. This command does not initiate a conversion. An instruction that selects the multiplexer address and formats the output data will initiate a conversion. Figure 8 depicts the modification to the ADC12130/2/8.
During I/O Sequence 1, an instruction on DI configures the ADC12130/2/8 to convert at 12-bit + sign resolution. Note that when the 6 CCLK acquisition and data outputs are not issued a symbolic command to the ADC, I/O sequences 2 and 3, no new conversions will be initiated. The data output during these instructions comes from Conversion N initiated during I/O Sequence 1. The configuration modification timing diagram details the events required for data output without flag, with sign, or 6/10/18/34 CCLK acquisition timing mode selection. Table 4 describes the ADCs that need to be input to accomplish this configuration modification. This next command, shown in Figure 8, is sent to the A/D to start converting N+1, 16-bit format, MSB first for 12-bit resolution. Outputting the data cycle again during this I/O is the data of transition N.
The number of SCLKs applied to the A/D in any conversion I/O sequence should vary depending on the data output word format selected in the previous conversion I/O sequence. The various formats and resolutions available are shown in Table 1. In Figure 8, the number of SCLKs required during I/O Sequence 5 selected in I/O Sequence 4 is 16 because the 16-bit unsigned MSB first format. In the I/O sequence below, the format is changed to 12-bit, unsigned MSB first; therefore in I/O sequence 6 is changed accordingly to 12.
1.3 Continuous consideration of low CS
When CS is consistently low, transmit the exact number of SCLK pulses expected by the ADC. Not doing this will enable serial communication with the ADC. Expect to see 13 SCLK pulses per I/O transfer when power is first applied to the ADC. The ADC expects to see the same number of SCLK pulses as the digital output word length. The digital output word length is controlled by the data out (DO) format. This DO format may change at the start of the conversion or when the sign bit is turned on or off. The following table details the different DO formats:
If an erroneous SCLK pulse breaks the synchronization of the communication, the easy way to recover is to cycle the power. supply equipment. Synchronization cannot be easily resumed when the device is left with low continuity for a brief period. The number of clock pulses required for the I/O swap may be different when CS is left-low continuous than when CS is cyclic. Take the I/O Sequence Figure 7 ("Typical Power Supply Sequence") as an example. The number of SCLK pulses is listed below the table. Required for each command:
1.4 Analog input channel selection
The data input on DI also selects the channel configuration for a specific A/D conversion (see Table 2, Table 3, and Table 4). In Figure 8, channel configurations 1, 4, 5, and 6 can only be modified during the I/O sequence. Reselect the input channel before starting each new transition. As shown below is the data bit stream required by DI during I/O sequence number 4 in Figure 8 with CH1 set to positive input and CH0 set to negative input for different versions of the ADC:
1.5 Power on/off
The ADC can be powered down at any time by either the PD pin high or through a command input on DI (see Table 4 and Table 5 and power-up/power-down timing diagrams). When the ADC is powered down in this way, the circuit necessary for A/D conversion is disabled. Required for the circuit's digital I/O to remain active. Hardware power up/down is controlled by the state of the PD pin. Software power up/down by ADC. If a software power-on command is issued to the ADC, the device will remain powered down while the hardware power-down is active (PD pin high). If a software issues a power down command to the ADC when hardware power up is active (PD pin low), the device will power down. When the device is turned off by software, it may be powered up by issuing a software power-up command or by pulling the PD pin high and then low. If a power-off command is issued during an A/D conversion, the conversion is interrupted. Therefore, the data output after power-on cannot be trusted.
1.6 User Mode and Test Mode
A command can be issued to the ADC to put it into test mode. Manufacturers use test patterns to verify the full functionality of the device. Becomes active output during test modes CH0–CH7. Serial communications may become out of sync if the device is inadvertently put into test mode with CS continuously low. Synchronization can be restored by cycling the device's supply voltage. Cycling the supply voltage also sets the device to user mode. If CS is used in the serial interface, the ADC can ask what mode it is in. This is done by issuing the ADC's "Read Status Register" instruction. When bit 9 of the status register is high, the ADC is in test mode; when bit 9 is low, the ADC is in user mode. As an alternative to cycling power, a sequence of instructions can be used to return the device to user mode. This command sequence must be sent to the ADC using CS. The following table lists the instructions required to return the device to user mode:
After returning to user mode using a user mode command, the power-on, signed or unsigned data and acquisition time commands need to be resent to ensure that the ADC is in the desired state before starting a conversion.
1.7 Reading data without initiating conversion
By ensuring that the CONV line is high during the I/O sequence, data from a specific conversion can be accessed without starting a new conversion. See the read data timing diagram. Table 5 describes the operation of the switch pins.
2.0 Analog Multiplexer Description
For the ADC12138, the analog input multiplexer can be configured with 4 differential channels or 8 single-ended channels with the COM input as the zero reference or any combination thereof (see Figure 9). The voltage difference on the VREF+ and VREF- pins determines the input voltage range (VREF). The analog input voltage range is 0 to VA+. When VIN->VIN+, a negative numeric output code is generated. The actual voltage at VIN- or VIN+ cannot be lower than the active range.
CH0, CH2, CH4, and CH6 can be assigned to the OUT1 pins in a MUX-differential configuration, while CH1, CH3, CH5, and CH7 can be assigned to the MUXOUT2 pins. In a differential configuration, the analog inputs are paired as follows: CH0 and CH1, CH2 and CH3, CH4 and CH5, and CH6 and CH7. The A/DIN1 and A/DIN2 pins can be assigned positive and negative polarities.
For single-ended multiplexer configuration, CH0 to CH7 can be assigned to MUXOUT1 pins. The COM pin is always assigned to the MUXOUT2 pin. A/DIN1 is designated as the positive input; A/DIN2 is designated as the negative input. (See Figure 10).
The multiplexer assignment tables for the ADC12130/2/8 (Tables 2 and 3) summarize the above features of the different versions of the A/Ds.
2.1 Bias for Various Multiplexer Configurations
Figure 11 is an example of a biased single-ended operating device. The flag bit is always low. The digital output ranges from 0 0000 0000 to 0 1111 1111 1111. One LSB equals 1 mV (4.1V/4096 LSB).
For pseudo-differential symbol operation, the bias circuit shown in Figure 12 shows the signal AC coupled to the ADC. This makes the digital output range from -4096 to +4095. As shown, when the reference voltage is 2.5V, 1LSB equals 610µV. Although the ADC is not production tested with a 2.5V reference, the linearity error typically does not vary by more than 0.1LSB when VA+ and VD+ are +5.0V (see the curves in the Typical Electrical Characteristics section). When the ADC is set to an acquisition time of 10 clock cycles, the input bias resistor needs to be less than or equal to 600Ω. Note though that the input coupling capacitor needs to be quite large to reduce the high pass angle. Increasing the acquisition time to 34 clock cycles (at 5mhz CCLK frequency) will allow the 600Ω to increase to 6k, while using a 1µF coupling capacitor sets the high pass angle to 26hz. Increasing R to 6k will allow R2 to be 2k.
Another way to bias pseudo-differential operation is to use the +2.5V bias from the LM4040 to drive any amplifier circuit of the ADC, as shown in Figure 13. The size of the value resistor pull-up bias depends on the current required by the LM4040-2.5 op amp bias circuit. In the circuit of Figure 13, since the amplifier will not be able to operate on a single +5V supply. Using an adjustable version of the LM4041 to set the full-scale voltage precisely to 2.048V and a lower-grade LM4040D-2.5, biasing everything to 2.5V as shown in Figure 14, will allow the use of all ADCs with a digital output range of -4096 to +4095 while leaving enough head to put the amplifier. Fully differential operation is shown in Figure 15. One LSB is equal to (4.1V/4096) = 1 mV for this case.
3.0 Reference Voltage
The difference in the voltages applied to VREF+ and VREF defines the analog input span (the difference between the voltage applied between the two multiplexer inputs or the voltage applied to one of the multiplexer inputs and analog ground) value), where there are 4095 positive and 4096 negative codes. The voltage source driving VREF+ or VREF- must have very low output impedance and noise. The circuit in Figure 16 is an example of a very stable reference suitable for use with the device.
The ADC12130/2/8 can be used for ratiometric measurements or absolute reference applications. In a ratiometric measurement system, the analog input voltage is proportional to the analog-to-digital converter reference voltage. When this voltage is the system power supply, the VREF+ pin is connected to VA+ and VREF- is connected to ground. This technique relaxes the system reference stability requirements as the analog input voltage and ADC reference voltage move simultaneously. This will maintain the same output code for a given input condition. For absolute accuracy, a time and temperature stable voltage source can be connected to the reference input when the analog input voltage varies between very specific voltage limits. Typically, the magnitude of the reference voltage requires an initial adjustment for the full-scale error due to a zero reference voltage.
Below are recommended references along with some key specifications.
The reference voltage input is not fully differential. If VREF+ is lower than VREF-, the ADC12130/2/8 will not generate correct conversions or comparisons. Correct transitions occur when VREF+ and VREF- are 1V apart and remain between ground and VA+ at all times. The VREF common mode range (VREF++VREF-)/2 is limited to (0.1 x VA+) to (0.6 x VA+). Therefore, when VA+=5V, the center of the reference ladder should not be lower than 0.5V or higher than 3.0V. Figure 17 is a graphical representation of the voltage limits on VREF+ and VREF-.
4.0 Analog Input Voltage Range
The fully differential ADC of the ADC12130/2/8 produces a 2's complement output, which is obtained by using the equation shown below: For (12-bit) resolution, the output code =
If the result of the above formula is not an integer, round to the nearest integer value between −4096 and 4095.
Examples are shown in the following table:
5.0 Input Current
At the beginning of the acquisition window (tA), depending on the input voltage polarity, charging current flows into or out of the analog input pins (a/DIN1 and a/DIN2). When A/DIN1 is tied to MUXOUT1 and A/DIN2 is tied to MUXOUT2, the analog input pins are CH0–CH7 and COM. The peak value of this input current will depend on the actual input voltage, source impedance, and internal multiplexer on-resistance. When MUXOUT1 is connected to A/DIN1 and MUXOUT2 is connected to A/DIN2, the on-resistance of the internal multiplexer is typically 1.6 kΩ. The A/DIN1 and A/DIN2 mux on-resistance is typically 750Ω.
6.0 Input Source Resistance
For low-impedance voltage sources (<600Ω), the input charging current will decay to a value that does not introduce any conversion error before the end of the 2µS (10 CCLK period of fCK = 5MHz) acquisition time of S/H. For high source impedance, the acquisition time for S/H can be - increased to 18 or 34 CCLK cycles. For lower ADC accuracy and/or slower CCLK frequency, the capture time of S/H can be reduced to 6 CCLK cycles. To determine the number of clock cycles (Nc) required for acquisition time with a specific source impedance at different resolutions, the following equation can be used: 12 Bit + Sign NC = [RS + 2.3] x fCKx0.824 where fCK is the conversion clock ( CCLK) frequency in MHz, RS is the external source resistance in kΩ. As an example, with a resolution of 12 bits+sign, a clock frequency of 5 MHz, and a maximum conversion time of 34 conversion clock cycles, the analog input to the ADC can handle source impedances up to 6 K. The acquisition time can also be extended to compensate for the settling or response time of external circuits connected between the MUXOUT and A/DIN pins.
The acquisition time tA begins with the falling edge of SCLK and ends with the rising edge of CCLK (see timing diagram). If SCLK and CCLK are asynchronous, an extra CCLK clock cycle can be inserted into the programmed synchronous capture time. Therefore, for asynchronous SCLKs and CCLKs, the acquisition time will change from transition to transition.
7.0 Input Bypass Capacitor
External capacitors (0.01µF–0.1µF) can be connected between the analog input pins CH0–CH7 and analog ground to filter any noise caused by inductive pickup associated with long input leads. These capacitors do not degrade conversion accuracy.
8.0 Noise
The traces for each analog multiplexer input pin should be as short as possible. This will minimize input noise and clock frequency coupling, which can lead to conversion errors. Input filtering can be used to reduce the effects of noise sources.
9.0 Power
Noise spikes on the VA+ and VD+ supply lines can cause conversion errors; the comparator will respond to the noise. ADCs are particularly sensitive to any power supply spikes that occur during auto-zero or linearity correction. The recommended minimum supply bypass capacitor is a 10µF or larger low inductance tantalum capacitor in parallel with a 0.1µF monolithic ceramic capacitor. Depending on the overall system requirements, more or different bypasses may be required. Separate bypass capacitors should be used for the VA+ and VD+ supplies and placed as close to these pins as possible.
10.0 Ground
With proper grounding techniques, the performance of the ADC12130/2/8 can be maximized. This includes the use of separate analog and digital grounds. The digital ground plane is placed under all components that process digital signals, while the analog ground plane is placed under all components that handle analog signals. The digital and analog ground planes are connected together at only one point, the power ground or the pins of the ADC. This greatly reduces the occurrence of ground loops and noise.
Figure 18 shows the ideal ground plane layout for the ADC12138 and the ideal layout for the bypass capacitors. The board layout shown in Figure 18 uses three bypass capacitors: 0.01µF (C1) and 0.1µF (C2) surface mount capacitors and 10µF (C3) tantalum capacitors.
11.0 Clock Signal Line Isolation
The performance of the ADC12130/2/8 is optimized by routing the analog input/output and reference signal conductors as far as possible from the conductors carrying the clock signal to the CCLK and SCLK pins. A ground trace parallel to the clock signal trace can be used on the printed circuit board to reduce clock signal interference on the analog input/output pins.
12.0 Calibration Cycle
After the power supply, reference and clock are given enough time to stabilize after the initial turn-on, the calibration cycle needs to begin. During the calibration cycle, the offset voltage of the sampled data comparator and correction values for any linearity and gain errors are determined. These values are stored in internal RAM and used during analog-to-digital conversions to reduce overall full-scale, offset, and linearity errors to specified limits. Full-scale error typically varies by ±0.4lsb with temperature, and linearity error varies less; therefore, if supply voltage and ambient temperature do not change significantly (see curves in Typical Performance Characteristics), only one calibration cycle is required after power-up.
13.0 Auto-Zero Cycle
To correct for any changes in the A/D's zero (offset) error, an auto-zero cycle can be used. An auto-zero cycle may be required when the ambient temperature or supply voltage varies significantly. (See the curves titled "Zero Error Variation vs. Ambient Temperature" and "Zero Error Variation vs. Supply Voltage" in Typical Performance Characteristics.)
14.0 Dynamic Performance
Many applications require A/D converters to digitize AC signals, but standard DC integral and differential nonlinear specifications cannot accurately predict A/D converter performance with AC input signals. An important specification for AC applications reflects the converter's ability to digitize AC signals without significant spectral errors and without adding noise to the digitized signal. Dynamic characteristics of signal-to-noise ratio (S/N), signal-to-noise ratio + distortion ratio (S/(N+D)), effective number of bits, full power bandwidth, aperture time and aperture jitter are characteristic of A/D converter performance Quantitative indicators.
The AC performance of an A/D converter can be measured using the Fast Fourier Transform (FFT) method. A sinusoidal waveform is applied to the input of the A/D converter, and the digitized waveform is transformed. Calculate S/(N+D) and S/N from the obtained FFT data, and also get the spectrogram. The typical value of S/N is shown in the electrical characteristics table, and the spectrum diagram of S/(N+D) is shown in the typical performance curve.
The noise and distortion levels of an A/D converter will vary with the frequency of the input signal, with more distortion and noise appearing at higher signal frequencies. This can be seen in the S/(N+D) vs frequency plot. These curves will also indicate the full power bandwidth (S/(N+D) or the frequency at which S/N drops by 3db).
The effective number of bits can also be used to describe the noise performance of the A/D. An ideal A/D converter will have some amount of quantization noise, determined by its resolution, that will yield the best signal-to-noise ratio given by the equation:
where n is the resolution of the A/D in bits. Therefore, the significant bits of the actual A/D converter can be found by:
As an example, this device with a differentially signed 5V, 10khz sine wave input signal typically has an S/N of 78db, which equates to 12.6 significant bits.
15.0 RS232 Serial Interface
The following page shows a schematic diagram of the RS232 interface for any IBM and compatible PC. The DTR, RTS, and CTS RS232 signal lines are buffered by level shifters and connected to the DI, SCLK, and DO pins of the ADC12138, respectively. D flip-flops are used to generate the CS signal.
Note: V, V and Von ADC12138 have 0.01µF and 0.1µF chip caps, and 10µF tantalum caps. All logic devices are bypassed with 0.1µF capacitors.
The assignment of the RS232 port is as follows
The next page shows a sample program written in Microsoft QuickBasic. The program prompts to send a data mode selection command to the A/D. This can be found from the pattern programming table shown earlier. Data should be entered with "1" and "0" as shown in the table, with DI0 first. Next, the program prompts for the number of SCLKs required for the programming mode selection command. For example, to send all '0's to the A/D, select CH0 as + input, CH1 as - input, select 12-bit conversion, select 13-bit MSB first data output format (if the sign bit was not turned off by the previous instruction ). This will take 13 SCLK cycles because the output data format is 13 bits. No auto-calibration, no auto-zero, 10 CCLK acquisition time, 12-bit conversion, signed data output, power-up, 12- or 13-bit MSB first, and user mode on part power-up. Auto-calibration, auto-zero, power-up, and power-down commands do not change these default settings.
Since there is no CS signal for the synchronous serial interface, the following power-up sequence should be followed:
1. Run the program;
2. Power on the ADC12138 before responding to the prompt;
3. Respond to the program prompts; it is recommended that the first command issued to the ADC12138 is automatic calibration (see Section 1.1).
Physical Dimensions in inches (mm) unless otherwise noted