Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
university:courses:electronics:electronics-lab-adc [30 Oct 2018 17:14] – Antoniu Miclaus | university:courses:electronics:electronics-lab-adc [15 Jul 2019 15:41] – Circuit schematics have been replaced Pop Andreea |
---|
Consider the circuit presented in Figure 6. | Consider the circuit presented in Figure 6. |
| |
<WRAP centeralign> {{:university:courses:electronics:flash_adc-sch.png|}} </WRAP> | <WRAP centeralign> {{ :university:courses:electronics:flash_adc.png?400 |}} </WRAP> |
| |
<WRAP centeralign> Figure 6. Flash ADC - analog side circuit </WRAP> | <WRAP centeralign> Figure 6. Flash ADC - analog side circuit </WRAP> |
For this particular application AD654 Voltage-to-Frequency converter is used as an analog-to-digital converter. | For this particular application AD654 Voltage-to-Frequency converter is used as an analog-to-digital converter. |
| |
<WRAP centeralign> {{:university:courses:electronics:vf_adc-sch.png|}} </WRAP> | <WRAP centeralign> {{ :university:courses:electronics:voltagetofrequencyconverteradc.png?400 |}} </WRAP> |
| |
<WRAP centeralign> Figure 9. Voltage-to-Frequency Converter as ADC </WRAP> | <WRAP centeralign> Figure 9. Voltage-to-Frequency Converter as ADC </WRAP> |
In order to emphasize the operation principle of the SAR ADC with ADALM2000, we will use for the DAC part the circuit sudied in the [[university:courses:electronics:electronics-lab-14|Resistor Ladder Digital to Analog Converter]] lab, but for this setup we will use a 4-bit DAC (instead of 8-bit). The output of the DAC will be connected to a comparator, while the SAR will be simulated via a script that performs the binary search based on the comparator's output and generates the proper binary value. | In order to emphasize the operation principle of the SAR ADC with ADALM2000, we will use for the DAC part the circuit sudied in the [[university:courses:electronics:electronics-lab-14|Resistor Ladder Digital to Analog Converter]] lab, but for this setup we will use a 4-bit DAC (instead of 8-bit). The output of the DAC will be connected to a comparator, while the SAR will be simulated via a script that performs the binary search based on the comparator's output and generates the proper binary value. |
| |
<WRAP centeralign> {{:university:courses:electronics:sar_adc-sch.png|}} </WRAP> | <WRAP centeralign> {{ :university:courses:electronics:sar_adc.png?400 |}} </WRAP> |
| |
<WRAP centeralign> Figure 14. SAR ADC schematic </WRAP> | <WRAP centeralign> Figure 14. SAR ADC schematic </WRAP> |
==== Procedure ==== | ==== Procedure ==== |
| |
Open Scopy. A Scopy initialization file is included to aid in setup, Dual_slope_scopy_setup.ini | Open Scopy. A Scopy initialization file is included to aid in setup,[[https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/blob/master/m2k/other_resources/dual_slope_adc/Dual_slope_scopy_setup.ini|Dual_slope_scopy_setup.ini]] |
| |
Power Supply: Tracking enabled, set to +/-5V | Power Supply: Tracking enabled, set to +/-5V |
Digitial IO: DIO2 set to OUT, set to 1 | Digitial IO: DIO2 set to OUT, set to 1 |
| |
Pattern Generator: Group DIO0, DIO1, Pattern: Import (load file dual_slope_pattern.csv) Frequency set to 5Hz. | Pattern Generator: Group DIO0, DIO1, Pattern: Import (load file [[https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/blob/master/m2k/other_resources/dual_slope_adc/dual_slope_pattern.csv|dual_slope_pattern.csv]] ) Frequency set to 5Hz. |
| |
Signal Generator: Channel 1 initally set to constant +2.5V | Signal Generator: Channel 1 initally set to constant +2.5V |
===== Further Reading ===== | ===== Further Reading ===== |
| |
| <WRAP round download> |
**Lab Resources:** | **Lab Resources:** |
* Fritzing files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/fritzing/adc_lab_bb | adc_lab_bb]] | * Fritzing files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/fritzing/adc_lab_bb | adc_lab_bb]] |
* LTSpice files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/ltspice/adc_ltspice | adc_ltspice]] | * LTSpice files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/ltspice/adc_ltspice | adc_ltspice]] |
* JavaScript files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/javascript/sar_adc_script | sar_adc_script]] | * JavaScript files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/javascript/sar_adc_script | sar_adc_script]] |
| </WRAP> |
| |
Some additional resources: | Some additional resources: |