当前位置:网站首页>关于模数转换的理解
关于模数转换的理解
2022-06-10 03:23:00 【opera321】
模拟量到我们要得到的业务数值之间有三个概念:电流,模拟量、工程量。其中电流就是物理意义上的电流,模拟量是电流值,工程量是电流值经过量程换算后得到的业务数值。
在这里要区别电流和模拟量的概念,板子上的模拟量接口或者独立的数模转换模块,我们从它们得到的是电流值。但需要注意,这个电流值虽然我们俗称它为模拟量,但“值”也就意味着它已经是一个数字概念了,也就是“模-数转换”里的那个“数”,也即,此处已经完成了模-数转换,也就是说,板子上的模拟量接口我们虽然叫做模拟量接口,但它实际上它就是模数转换模块。
模拟量如何换算工程量值? 模拟量的输入/输出都可以用下列的通用换算公式换算:
Ov=[(Osh-Osl)*(Iv-Isl)/(Ish-Isl)]+Osl
其中:Ov:换算结果;Iv:换算对象;Osh:换算结果的高限;Osl:换算结果的底限;Ish:换算对象的高限;Isl:换算对象的底限 。
以4-20mA,业务值量程500-1000为例:
业务值=[(1000-5000)*(电流值-4)/(20-4)] + 500;
边栏推荐
猜你喜欢

小功能实现(三)字符串分割中括号中的内容

Esp32 intrinsic function / variable cannot jump to definition
![[mui+flask+mongodb+hbuilderx] detailed explanation of the answer integration logic of app development](/img/17/c099b7b34560d2c8e6ff0637921168.png)
[mui+flask+mongodb+hbuilderx] detailed explanation of the answer integration logic of app development

Distributed data object: HyperTerminal 'global variable'

FPGA can perform binocular and monocular operations

Online salon | open source show -- Application Practice of database technology

Refactoring --introduce parameter object

使用责任链模式重构原有的一段代码

Refactoring de duplication of code

洛谷 P1902 刺杀大使(二分 | BFS)
随机推荐
剑指 Offer 30. 包含 min 函数的栈
In the new year of hybrid, does BYD really want to reverse its rating?
关键字auto
MySQL从0到1全部合集,强烈建议收藏
C Looooops(拓展欧几里得)
Refactoring -- bad code smell
Sword finger offer 09 Implementing queues with two stacks
Evolution of Architecture
Some problems of scanf formatting input
三個月GMV6000w+,盤點家紡行業打造爆款的關鍵
19 determinant formula, algebraic cofactor
Tidb experience sharing 01
重构--消除重复代码
架构的演变
一个通用的es聚合查询方法
Using the responsibility chain pattern to reconstruct the original code
Disgruntled Judge(扩欧+枚举)
纯js 实现图片压缩,并返回file图片信息
Is it the same thing to evaluate the network security level and the security of commercial password applications?
Determinant and its properties