CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - ydbshujucaiji
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - ydbshujucaiji - List
[
Software Engineering
]
ydbshujucaiji
DL : 0
数据采集系统: (1)采用定时中断和软件控制的方法,实现每隔N秒(N可设置)实现对模拟量的采集。 (2)根据预先设置的数值和采集的模拟量决定控制输出。如假设控制中心值为2.0V,当输入值超过2.0±0.2(V)时,模拟控制步进电机转:正偏差时反转,负偏差时正转;当输入值超过2.0±0.5(V)时,进行上、下限报警。 (3)对采集的值应进行数字滤波,如可一次采集10个值,去掉最大值、最小值,然后取平均值。 (4)实现8路采集,不同路的中心值及上、下限等参数可灵活设置。 -Data acquisition system: (1) Use timer interrupt and software control, to achieve every N seconds (N can be set) of analogue collection. (2) According to the pre-set values and the decision to control the analog output. Assuming control center value of 2.0V, when the input exceeds 2.0 ± 0.2 (V), the analog control stepper motor turn: deviation is reversed, the negative deviation is transferred when the input exceeds 2.0 ± 0.5 (V) When carried out, the lower limit alarm. (3) the value of the collection should be digital filter, such as a collection of 10 value can, remove the maximum, minimum, and then averaged. (4) to achieve 8 collection, the center of value and different way, the lower limit and other parameters can be flexibly set.
Date
: 2025-07-13
Size
: 508kb
User
:
杨冬波
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.