Basic Concepts of A/D and D/A

Publisher:cwk2003Latest update time:2015-03-19 Source: diangon Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
  A/D is the conversion from analog to digital, relying on the analog to digital converter (ADC); D/A is the conversion from digital to analog, relying on the digital to analog converter (DAC). Their principles are exactly the same, but the conversion directions are different, so we mainly use A/D as an example to explain the process.

  Many students feel that A/D is a difficult part when they learn it, and they don't have a clear grasp of the concept. I personally think the main reason is not the technical problem, but the lack of understanding of life. There are many examples of A/D in our lives, but they are not used in the field of single-chip microcomputers. Now I will take you to understand the concept of A/D.

  What is an analog quantity? It refers to the variable that changes continuously within a certain range, that is, it can take any value within a certain range. For example, our ruler can take any value from 0 to 1 meter. What is an arbitrary value? It can be 1cm, 1.001cm, and of course 10.000... with infinite decimals behind it. In short, there are infinite intermediate values ​​between any two numbers, so it is called a continuously changing quantity, that is, an analog quantity.

  The ruler we use is artificially marked with scale symbols, and the interval between each two scales is 1mm. This scale is actually the digitization of our analog quantity. Because there is a certain interval, it is not continuous, so in the professional field we call it discrete. Our ADC plays the role of expressing continuous signals with discrete numbers. Then we can use the ruler "ADC" to measure continuous analog quantities such as length or height. As shown in Figure 1, a simple schematic diagram of the ruler scale.

Schematic diagram of meter ruler scale

Figure 1 Schematic diagram of ruler scale

  When we pour water into a cup, the water level will change with the amount of water poured in. Now use this ruler to measure the height of the water level in our cup. The water level changes continuously, but we can only read the height of the water level through the scale on the ruler to obtain the digital information of the water level we want. This process can be simply understood as ADC sampling in our circuit.

Reference address:Basic Concepts of A/D and D/A

Previous article:Main technical indicators of A/D
Next article:Modbus multi-machine communication routine

Recommended ReadingLatest update time:2024-11-16 14:44

PIC microcontroller-AD conversion
Write a program to use the digital tube to display the voltage value measured by ADC. The voltage value consists of a 1-bit integer and a 1-bit decimal. For example, if the current voltage on the AN0 channel is 6V, the digital tube should display 3.6. #include htc.h #include math.h   #define uint8 unsigned char #de
[Microcontroller]
ADC Driver Based on the Multifunctional Dual-Channel Difference Amplifier AD8270
Introduction Discrete difference amplifiers   with op amps and external gain setting resistors have mediocre accuracy and significant temperature drift. Using 1%, 100ppm/°C standard resistors, an initial gain error of up to 2% can change by up to 200ppm/°C, and the monolithic resistor networks typically used for pre
[Analog Electronics]
ADC Driver Based on the Multifunctional Dual-Channel Difference Amplifier AD8270
Engineers say | AI performance optimization of SoC for AD/ADAS
Yuji Obayashi Principal Software Engineer This article describes Renesas’ work in the early design stages on the performance, circuit size, and power consumption of deep neural network (DNN) accelerators for AI processing in SoCs for autonomous driving (AD) and advanced driver assistance systems (ADAS). backgroun
[Automotive Electronics]
Engineers say | AI performance optimization of SoC for AD/ADAS
AD9959 simplifies the design of signal synchronization between multiple DDS in measurement and control communication system
introduction In recent years, in order to increase the information transmission rate and enhance the anti-interference ability of communication, the aircraft measurement and control communication system has developed from a unified carrier system to a spread spectrum unified measurement and control c
[Test Measurement]
AD9959 simplifies the design of signal synchronization between multiple DDS in measurement and control communication system
Design of multi-channel AD sampling controller based on MPC5634
  As the requirements and dependence of automobiles on control systems increase, the design module of AD sampling has become an important component of automobile controllers. The results of AD sampling are the basis for automobile controllers to control actuators, and its speed and accuracy play an important role in a
[Power Management]
Design of multi-channel AD sampling controller based on MPC5634
stc12c2052ad pwm program
#include reg52.h sfr CCON =0xD8; //PCA control register sfr CMOD =0xD9; sfr CL =0xe9; sfr CH =0xF9; sfr CCAP0L=0xea; sfr CCAP1L=0xeb; sfr CCAP0H=0xfa; sfr CCAP1H=0xfb; sfr CCAPM0=0xda; sfr CCAPM1=0xdb; sbit CR=0xde; //Bit addressing void main(void) {   CMOD=0x02; //Use system clock, clock input source frequency
[Microcontroller]
Design of radar broadband frequency modulation source based on DDS chip AD9858
Introduction With the rapid development of radar technology, people's requirements for radar signals are becoming higher and higher. High precision, high scanning rate, high anti-interference and low interception rate have become the goals pursued by people. To meet this demand, in addition to generating compl
[Power Management]
Read multi-channel AD sampling values ​​in STM32 non-DMA mode
After a few days of struggling, I still don't understand DMA. Now I'll record the dual-channel AD sampling I made, so as not to forget it too quickly. The previous article has already explained it in detail. For ADC sampling, several structures need to be initialized:       RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号