1. D, digital; A, anolog. Numbers: 0 and 1.
2. T-type resistor network D/A converter:
D/A working principle: The current is shunted through internal resistors to generate changing analog quantities.
3. Main performance indicators of D/A conversion:
① Resolution
Resolution refers to the change in the output analog quantity (voltage or current) corresponding to the change in the least significant bit (LSB) of the input digital quantity. It reflects the minimum change value of the output analog quantity.
The resolution has a definite relationship with the number of bits of the input digital quantity, which can be expressed as FS / . FS represents the full-scale input value, and n is the number of binary bits. For a full-scale of 5V, when an 8-bit DAC is used, the resolution is 5V/256=19.5mV; when a 12-bit DAC is used, the resolution is 5V/4096=1.22mV. Obviously, the more bits there are, the higher the resolution.
②Linearity
Linearity (also called nonlinear error) is the maximum deviation between the actual conversion characteristic curve and the ideal straight line characteristic. It is usually expressed as a percentage relative to the full scale. For example, ±1% means that the difference between the actual output value and the theoretical value is within ±1% of the full scale.
③Absolute accuracy and relative accuracy
Absolute accuracy (accuracy for short) refers to the maximum error between the actual output value and the theoretical value of the analog quantity corresponding to any input digital number within the entire scale range. Absolute accuracy is caused by the DAC's gain error (the difference between the actual output value and the ideal output value when the input digital number is all 1), zero error (the non-zero output value of the DAC when the digital input is all 0), nonlinear error and noise. Absolute accuracy (i.e. maximum error) should be less than 1 LSB.
Relative accuracy has the same meaning as absolute accuracy and is expressed as the percentage of the maximum error relative to the full scale.
④ Establishment time
The settling time refers to the time required for the output analog signal to reach ±1/2LSB of the full-scale value when the input digital quantity changes to full scale. It is a dynamic indicator that describes the D/A conversion rate.
The settling time of current output DAC is short. The settling time of voltage output DAC is mainly determined by the response time of the operational amplifier. According to the length of the settling time, DAC can be divided into ultra-high speed (<1μS), high speed (10~1μS), medium speed (100~10μS), and low speed (≥100μS).
It should be noted that accuracy and resolution are related to each other, but they are different concepts. When the number of bits of a DAC is large, the resolution will be improved, and the quantization error that affects the accuracy will be reduced. However, the influence of other errors (such as temperature drift, poor linearity, etc.) will still make the accuracy of the DAC worse.
4. Symbols: CS, chip select. Pin description, pin description. Typical operating circuit, typical design circuit. Valid data, valid data; PWM, pulse width modulation, pulse width modulation. Intr, interrupt.
5. Circuit symbols:
6. Timing: The grid means it doesn’t matter; SCLK, data clock; DIN, data input; DOUT, data output; high level, low level.
7. Main technical indicators of A/D converter
① Resolution
The resolution of an ADC refers to the change in the input analog voltage required to change the output digital value by one adjacent digital number. It is usually expressed in binary bits. For example, the resolution of a 12-bit ADC is 12 bits, or the resolution is 1/ of the full scale FS. A 12-bit ADC with a full scale of 10V can distinguish a minimum input voltage change of 10V×1/ =2.4mV.
②Quantization error
ADC converts analog quantity into digital quantity and approximates analog quantity with digital quantity. This process is called quantization. Quantization error is the error caused by quantizing analog quantity with limited number of bits of ADC. In fact, to accurately represent analog quantity, the number of bits of ADC needs to be very large or even infinite. The maximum deviation between the step-shaped conversion characteristic curve of an ADC with limited resolution and the conversion characteristic curve (straight line) of an ADC with infinite resolution is the quantization error.
③Offset error
Offset error refers to the value of the output signal that is not zero when the input signal is zero, so it is sometimes called zero value error. Assuming that the ADC has no nonlinear error, the line connecting the midpoints of each step of its conversion characteristic curve must be a straight line, and the input voltage value corresponding to the intersection of this straight line and the horizontal axis is the offset error.
④Full scale error
Full-scale error is also called gain error. The full-scale error of an ADC refers to the difference between the actual input voltage corresponding to the full-scale output digital and the ideal input voltage.
⑤Linearity
Linearity is sometimes called nonlinearity, which refers to the maximum deviation of the actual conversion characteristics of the converter from the ideal straight line.
⑥Absolute accuracy
In a converter, the maximum value of the difference between the actual analog input and the theoretical analog input corresponding to any digital number is called absolute accuracy. For ADC, it can be measured at the horizontal midpoint of each step, which includes all errors.
⑦Conversion rate
The conversion rate of an ADC is the speed at which data conversion can be repeated, that is, the number of conversions per second. The time required to complete an A/D conversion (including stabilization time) is the reciprocal of the conversion rate.
8. Commonly used: Successive approximation ADC conversion principle:
Conversion principle of dual-integral ADC:
9. Capacitor 104: 10*10 to the fourth power; 4k7, 4.7k;
10. Bridge circuit, deformation resistor.
Previous article:Lesson5 Keyboard application
Next article:Lesson7 Serial Communication
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- Forum member long521's niece is sick, please help her!
- EEWORLD University ---- Application of Weidmuller products in the semiconductor industry
- How to minimize the cost of low-power AC/DC circuits?
- The water hydrogen engine has officially rolled off the production line. The vehicle can run just by adding water???
- Linear thyristor power supply dimming and EMC issues
- Synopsys IP Resources: A look at the complete Ethernet PHY IP for high-performance computing SoCs
- [National Technology N32 MCU Development Package] --N32G4FR Series
- CC3220 Wireless MCU LaunchPad Development Kit Design
- 422 Driver Output Level
- "Operational Amplifier Parameter Analysis and LTspice Application Simulation" 2. Chapter 2 Bias Current