Circuit Function and Advantages
The circuit shown in Figure 1 is a single-supply, low power, window detector with programmable upper and lower limits. This type of circuit can be used to generate an alarm when a signal exceeds preset limits and is popular in sensing and monitoring applications. The AD5668-1 octal, low power, 16-bit, buffered voltage output DAC is used to set the window limits. The AD5668-1 contains an on-chip 1.25 V, 5 ppm/°C reference with a full-scale output range of 0 V to 2.5 V. The internal reference is enabled by a software write. An SPI interface is used to communicate with the AD5668-1.
The comparator used is the ADCMP370 general-purpose, low-power comparator (20 W at 5 V, typical) with 9 mV input offset voltage (maximum) and open-drain output.
Figure 1. Low-Power, Single-Supply Window Detector (Simplified Schematic; All Connections and Decoupling Not Shown)
Circuit Description
The circuit shown in Figure 1 is an upper and lower programmable window detector. The upper and lower limits are loaded into each DAC register individually. The main application of this circuit is to test whether an external signal falls within the programmed limits.
The AD5668-1 is an octal DAC with outputs on Channel A and Channel B setting the upper and lower limits, respectively.
For test purposes, DAC C provides the signal input. When the signal enters the region set by DACA and DAC B, the voltage on TP1 becomes a logic 1, LED1 turns off, and LED2 turns on. When the signal exceeds the window set by the upper and lower limits, LED1 turns on and LED2 turns off.
If you connect a pull-up resistor to the output of the ADCMP370, the output will be 5 V if the non-inverting input is greater than the inverting input; otherwise the output will be 0 V.
The ADCMP370 has open-drain outputs that allow the outputs of comparator C1 and comparator C2 to be wired-ANDed together. Table 1 shows the truth table for this circuit. In this example, VOUTA is the upper limit, VOUTB is the lower limit, and VOUTA > VOUTB.
The circuit operation is shown in Figure 2. DAC C generates a 0 V to 2.5 V triangle waveform that drives the VINC (TP2/TESTC) input to the comparator. The threshold levels are set by DAC A (VOUTA = 2 V) and DAC B (VOUTB = 1 V). When the VINC voltage is between the two thresholds, the voltage at TP1 becomes a logic 1.
Table 1. Truth table of the circuit
Figure 2. Output of the window comparator with VOUTA = 2V, VOUTB = 1V, and VINC = 0V to 2.5V ramp.
Common changes
The AD5668-2 and AD5668-3 contain an internal 2.5V, 5 ppm/°C reference, which allows a full-scale output range of 0V to 5V.
The AD5668-1 and AD5668-2 contain a power-on reset circuit that powers up to 0 V until a valid write occurs. The AD5668-3 powers up to midscale.
Circuit Evaluation and Testing
Equipment requirements (equivalent equipment may be substituted)
EVAL-SDP-CB1Z System Demonstration Platform
CN-0182 Circuit Evaluation Board (EVAL-CN0182-SDZ)
CN-0182 Evaluation Software
Tektronix TDS2024, 4-channel oscilloscope
HP-E3630A 0V to 6V, 2.55A ±20V, 0.5A Triple Output DC Power Supply
PC (Windows® 32-bit or 64-bit)
Get Started
Load the evaluation software by placing the CN-0182 Evaluation Software CD into the CD drive of the PC. Open My Computer, locate the drive that contains the evaluation software CD, and open the Readme file.
Follow the instructions in the Readme file to install and use the evaluation software.
Functional Block Diagram
Figure 3 shows a functional block diagram of the test setup.
set up
Connect the 120-pin connector on the EVAL-SDP-CB1Z circuit board to the CON A or CON B connector on the EVAL-SDP-CB1Z evaluation (SDP) board. Use screws to securely secure the two boards using the holes provided at the ends of the 120-pin connectors. After successfully setting the dc output power supply to 5 V and 3.3 V outputs, turn off the power supply.
With power off, connect a 5 V supply to the J1-1 pin (AVDD), GND to the J1-2 and J2-2 pins (AGND and DGND), and 3.3 V to the J2-1 pin (VLOGIC). Alternatively, place Link 2 in position B to power the digital circuitry from the USB port through the SDP board (default setting). VLOGIC is not required in this example.
Apply power and connect the USB cable that comes with the SDP board to a USB port on the PC. NOTE: Do not connect the USB cable to the micro-USB connector on the SDP board before applying dc power to the EVAL-CN0182-SDZ.
test
After setting up the test equipment, connect the oscilloscope probes to the test points labeled TP1, VOUTA, VOUTB, and TP2/TESTC.
The included software allows the VOUTA and VOUTB values to be set, thus defining the window. If the default settings are kept, press “triangle” in the main software window to create a triangle signal on VINC, as shown in Figure 2. The duration and amplitude of this signal can be varied. This signal can be observed at the TP2/TESTC test point. With a duration of 1 second, the two LEDs flash as the VINC value enters and exceeds the limits while VOUTA and VOUTB settle to 2000 mV and 1000 mV, respectively, as described in the Circuit Description section. The AD5668-1 DAC limits the maximum values of VOUTA, VOUTB, and VINC to 2.5 V.
Placing link 5 in position A allows an external signal, VINC, to be applied to the VIN pin. This signal can be observed at the TP2 test point. Additionally, the output can be observed at the TP1 test point.
When Link 1 is not inserted, the output varies according to the level of VINC relative to VOUTA.
Table 2. Jumper Settings (Bold text indicates default settings)
Previous article:Six types of audio interface full contact
Next article:Sharing experience on independent design of complex module interfaces
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Low-cost MCU options
- 5G millimeter wave antenna
- Design of Switching Power Supply Using MSP430 Microcontroller
- Analog Electronics Course Selection Test
- About SPI mode setting
- [Sipeed LicheeRV 86 Panel Review] 14. lvgl displays images and local time
- LCD screen problem
- Using 18f2550 as PWM sine generator
- TI CCS MAP File Description
- 【NXP i.MX8M】Mill MYD-JX8MX development board review