摘要
为满足热控系统多点温度实时采集的需求,对多通道温度传感器的并行采集实现方案进行了深入研究。系统主控芯片采用FPGA,温度传感器选取单总线数字温度传感器,每个总线上分布有10个温度传感器,共计10组。详细分析了单总线温度传感器位操作时序及操作耗时,并给出了多通道并行操作代码设计。通过实体例化完成10通道100个温度传感器的数据采集。分析结果表明:采用该设计方案,可在873 491μs时间内完成100个温度传感器的数据采集,满足热控系统温度数据时序采集要求。最后给出了系统硬件实现电路及实际采集结果。利用该设计框架,可在FPGA资源满足条件下扩充温度传感器通道数,方案更具灵活性。
Considering the requirement of multi-point temperature sampling in real time, the parallel sampling method for multi-channel thermometer is researched deeply. The FPGA was adapted as core chip, and the 1-wire digital thermometer was used to sample the temperature. Those thermometers were divided into ten groups, and ten thermometers were connected to one bus. The bit-operation timing and related time-consumptions were analyzed in detail. Also, the code design of multi-channel operation was given. The one hundred thermometers that divided into ten groups could be sampled though entity instance. Analysis result showed that by use of this scheme, the temperature sampling of one hundred thermometers could be achieved in 873 491 ffs, which could meet the timing requirements of temperature sampling in heat controlling system. At last, the system hardware circuit and sampling result in operation were given. Using this framework, the 1-wire bus channels could be added as long as the resources in FPGA are enough. So this method is flexible.
出处
《电子测量技术》
2014年第12期93-98,共6页
Electronic Measurement Technology
关键词
温度采集
单总线
多通道
并行处理
temperature sampling
1-wire bus
multi-channel
parallel process