当前位置:网站首页>单片机:A/D 差分输入信号
单片机:A/D 差分输入信号
2022-06-13 03:38:00 【DC-STDIO】
文章目录
A/D 差分输入信号
在前面的文章已经提到过,控制字的第4位和第5位是用于控制 PCF8591 的模拟输入引脚是单端输入还是差分输入。差分输入是模拟电路常用的一个技巧,这里我们把相关知识做一些简单介绍。
从严格意义上来讲,其实所有的信号都是差分信号,因为所有的电压只能是相对于另外一个电压而言。但是大多数系统,我们都是把系统的 GND 作为基准点。而对于 A/D 来说的差分输入,通常情况下是除了 GND 以外,另外两路幅度相同,极性相反的输入信号,其实理解起来很简单,就如同跷跷板一样。如图所示。
差分输入的话,就不是单个输入,而是由2个输入端构成的一组输入。PCF8591 一共是4个模拟输入端,可以配置成4种模式,最典型的是4个输入端构造成的两路差分模式
当控制字的第4位和第5位都是1的时候,那么4路模拟被配置成2路差分模式输入 channel 0 和 channel 1。我们以 channel 0 为例,其中 AIN0 是正向输入端,AIN1 是反向输入端,它们之间的信号输入是幅度相同,极性相反的信号,通过减法器后,得到的是两个输入通道的差值

通常情况下,差分输入的中线是基准电压的一半,我们的基准电压是 2.5 V,假如 1.25 V 作为中线,V+ 是 AIN0 的输入波形,V- 是 AIN1 的输入波形,Signal Value 就是经过减法器后的波形。很多 A/D 都采用差分的方式输入,因为差分输入方式比单端输入来说,有更强的抗干扰能力。
单端输入信号时,如果一线上发生干扰变化,比如幅度增大 5 mv,GND 不变,测到的数据会有偏差;而差分信号输入时,当外界存在干扰信号时,只要布线合理,大都同时被耦合到两条线上,幅度增大 5 mv 会同时增大 5 mv,而接收端关心的只是两个信号的差值,所以外界的这种共模噪声可以被完全抵消掉。由于两根信号的极性相反,它们对外辐射的电磁场可以相互抵消,有效的抑制释放到外界的电磁能量。
边栏推荐
- 300W pieces of MySQL data were written in the test, and they were broken between 1.6 and 2W each time. Then the following problems occurred:
- 【youcans 的 OpenCV 例程200篇】201. 图像的颜色空间转换
- Simulink代码生成: 简单状态机及其代码
- UnionPay commerce - merchant statistics service platform
- 【测试开发】测试的相关基本概念
- 大疆无人机飞控系统的原理、组成及各传感器的作用
- An error is reported in the JDBC connection database: connection to 139.9.130.37:15400 referred
- Configuration and practice of shardingsphere JDBC sub database separation of read and write
- Data of all bank outlets in 356 cities nationwide (as of February 13, 2022)
- [test development] blog system - LoadRunner performance test (publish blog function benchmark test)
猜你喜欢

Summary of the latest rail transit (Subway + bus) stops and routes in key cities in China (II)

大疆无人机飞控系统的原理、组成及各传感器的作用

Watering artifact based on Huawei cloud Internet of things (stm32+esp8266)

swap()

An error is reported in the JDBC connection database: connection to 139.9.130.37:15400 referred

(9) Explain broadcasting mechanism in detail

Alibaba cloud keep on record

Prefecture level city - air flow coefficient data - updated to 2019 (including 10m wind speed, boundary height, etc.)

Jumpserver installation
![[test development] automated test selenium (III) -- unittest framework analysis](/img/d2/e03746b20b2b50172e566023f6c224.png)
[test development] automated test selenium (III) -- unittest framework analysis
随机推荐
Byte stream & buffer stream
Multi thread implementation of selling tickets and producers and consumers
LVS four - tier Load Balancing Cluster (5) LVS Overview
GoFrame第五天
单片机/嵌入式的实时性疑问解答
LVS四层负载均衡集群(3)集群功能分类 - HPC
【测试开发】测试的相关基本概念
(9) Explain broadcasting mechanism in detail
Lambda终结操作max&min
Lambda终结操作查找与匹配findAny
User and permission configuration in SQL Server database to ensure database security
Alibaba cloud keep on record
无人机避障四种常见技术中,为何大疆首选双目视觉
MapReduce internal execution principle
Two Chinese vector map data with map review number
Data of all bank outlets in 356 cities nationwide (as of February 13, 2022)
Meaning of different values of margin and padding
Doris' table creation and data division
Summary of the latest rail transit (Subway + bus) stops and routes in key cities in China (II)
Spark optimization - Performance (general performance, operator, shuffle, JVM) tuning