环球电气之家-午夜精彩视频-中国专业电气电子产品行业服务网站!

產品分類

當前位置: 首頁 > 工業電氣產品 > 端子與連接器 > 線路板連接器 > FFC連接器

類型分類:
科普知識
數據分類:
FFC連接器

USB-Based Temperature Monitor

發布日期:2022-04-17 點擊率:39

Using an analog MCU, and LDO, an external thermistor, and a few discretes, you can construct a highly accurate temperature sensing application.

The circuit in Figure 1 shows how the Analog Devices ADuC7122 precision analog microcontroller can be used in an accurate thermistor temperature monitoring application. The ADuC7122 integrates a multichannel 12-bit SAR ADC, twelve 12-bit DACs, a 1.2 V internal reference, as well as an ARM7 core, 126 kB flash, 8 kB SRAM, and various digital peripherals, such as UART, timers, SPI, and two I2C interfaces. The ADuC7122 is connected to a 4.7 kΩ thermistor.

Figure 1: ADuC7122 used as a temperature mo<em></em>nitor interfaced to a thermistor.

Figure 1: ADuC7122 used as a temperature monitor interfaced to a thermistor (simplified schematic, all connections not shown).

Due to the small form factor of the ADuC7122 (7 mm × 7 mm, 108-ball BGA package) the entire circuit will fit on an extremely small PCB, thus further reducing cost.

Similar in function to an RTD, thermistors are low-cost, temperature-sensitive resistors and are constructed of solid semiconductor materials, which exhibit a positive or negative temperature coefficient. Thermistors are inexpensive and have high sensitivity. They detect small variations in temperature, which could not be observed with an RTD or a thermocouple. However, thermistors are highly nonlinear; thus, they are limited to applications with very narrow temperature ranges if linearization techniques are not applied. Circuit linearization techniques can be accomplished in software.

Despite the powerful ARM7 core and high-speed SAR ADCs, the ADuC7122 still provides a low-power solution. With the ARM7 core running at 326.4 kHz and the primary ADC active and measuring the external temperature sensor, the entire circuit typically consumes 7 mA. Between temperature measurements, the ADC and/or the microcontroller can be switched off to further minimize power consumption.

Circuit description

The circuit shown in Figure 1 is powered entirely from the USB interface. The 5 V supply from the USB is regulated to 3.3 V using the ADP3333 (3.3V) low-dropout linear regulator. The regulated 3.3 V supplies the DVDD voltage to the ADuC7122. The AVDD supply to the ADuC7122 has additional filtering as shown. A filter is also placed on the USB supply at the input of the linear regulator.

The following features of the ADuC7122 are used in this application:

  • 12-bit SAR ADC.

  • ARM7TDMI core: The powerful 16-/32-bit ARM7 core with integrated 126 kB flash and SRAM memory, runs the user code that configures and controls the ADC, processes the ADC conversions from the thermistor sensor, and controls the communications over the UART/USB interface.

  • UART: The UART is used as the communication interface to the host PC.

  • Two external switches/buttons (not shown) are used to force the part into its flash boot mode. By holding DOWNLOAD low and toggling the RESET switch, the ADuC7122 will enter boot mode instead of normal user mode. In boot mode, the internal flash may be reprogrammed through the I2CWSD tool utilizing the USB interface.

  • BUF_VREF: The band gap reference also connects through buffers to the BUF_VREF1 and the BUF_VREF2 pins, which can be used as a reference for other circuits in the system. A minimum of 0.1 μF capacitor should be connected to these pins to reduce noise.

The thermistor used in the circuit is a 4.7 kΩ resistor, model number NCP18XM472. It is available in a 0603 surface-mount package. The thermistor used in the circuit in Figure 2 has the following specifications at 25°C: ? = 3500 (the ? parameter describes resistance as a function of temperature) and resistance (R25) = 4.7 kΩ.

Figure 2: A simple temperature sensor circuit implemented with the ADuC7122.

Figure 2: A simple temperature sensor circuit implemented with the ADuC7122.

The USB interface to the ADuC7122 is implemented with an FT232R UART to USB transceiver, which converts USB signals directly to the UART protocol.

In addition to the decoupling shown in Figure 1, the USB cable itself should have a ferrite for added EMI/RFI protection. The ferrite beads used in the circuit are Taiyo Yuden, BK2125HS102-T, which have an impedance of 1,000 Ω at 100 MHz.

The circuit must be constructed on a multilayer PC board with a large area ground plane. Proper layout, grounding, and decoupling techniques must be used to achieve optimum performance.

The input thermistor circuit in Figure 2 is designed to produce accurate temperature measurements from 0°C to 90°C. Note that this system contains no temperature calibration. This circuit contains a simple thermistor circuit that does not contain circuit linearization. If this circuit employed linearization techniques, it could function over a broader range of temperatures; however, this would decrease the resolution of the sensor.

The circuit in Figure 2 is set up in a voltage divider configuration. This will allow us to transform the ADC result, D, into a measurement of the resistance of RTH (thermistor) using the following formulas:

Equation 1     Equation 1
Equation 2     Equation 2

Substitute Equation 1 in to Equation 2 and simplify:

Equation 3     Equation 3

Solve Equation 3 for RTH  and rearrange:

Equation 4     Equation 4

once the resistance of the thermistor is calculated, the Steinhart-Hart equation can be used to determine the current temperature of the sensor. The traditional form of the Simplified ? Parameter variation of the Steinhart-Hart equation would be:

Equation 5     Equation 5

Solve Equation 5 for T2 and rearrange:

Equation 6     Equation 6

Substituting Equation 4 into Equation 6 and simplifying, the ADuC7122 is able to determine the sensor temperature using the following formula:

Equation 7     Equation 7

Where:

 T2=unknown temperature
  V1=298K
  β=β parameter of the thermistor @ 298K or 25°C. β=3500
  R25=resistance of thermistor @ 298K or 25°C. R25=4.7kΩ
  RTH=resistance of thermistor @ unknown temperature as calculated by formula above

Figure 3 plots the response of the ADuC7122 to the thermistor sensor detailed in Figure 2 over temperature.

Figure 3: ADuC7122 thermistor sensor measured output (co<em></em>nverted to volts) with ADCO versus temperature.

Figure 3: ADuC7122 thermistor sensor measured output (converted to volts) with ADCO versus temperature.

Code description

The source code and a HyperTerminal configuration file used to test the attached circuit can be downloaded as a zip file at www.analog.com/CN0153_Source_Code.

The UART is configured for a baud rate of 9600, 8 data bits, no parity and no flow control. If the circuit is connected directly to a PC, a communication port viewing application such as HyperTerminal can be used to view the results sent by the program to the UART (Figure 4). The source code is commented to make it easier to understand and manipulate. The code was compiled and tested using the Keil μVision 3 application.

Figure 4: Output of HyperTerminal communication port viewing application.

Figure 4: Output of HyperTerminal communication port viewing application.

Common variations

The ADP3333 (3.3 V) can be replaced with the ADP120 (2.5 V), which has a wider operating temperature range (-40°C to +125°C) and consumes less power (typically 20 μA versus 70 μA) but has a lower maximum input voltage range (5.5 V versus 12 V). Note that the ADuC7122 can be programmed or debugged using a standard JTAG interface. For a standard UART to RS-232 interface, the FT232R transceiver can be replaced with a device such as the ADM3202, which requires a 3 V power supply.

The thermistor circuit described here can be adapted to operate with other precision analog microcontrollers, such as the ADuC7020 series, the ADuC7023, and the ADuC7061 series.

下一篇: PLC、DCS、FCS三大控

上一篇: Your MCU is Just Sta

推薦產品

更多
主站蜘蛛池模板: 【直乐】河北石家庄脊柱侧弯医院_治疗椎间盘突出哪家医院好_骨科脊柱外科专业医院_治疗抽动症/关节病骨伤权威医院|排行-直乐矫形中医医院 | 档案密集架_电动密集架_移动密集架_辽宁档案密集架-盛隆柜业厂家现货批发销售价格公道 | 液晶拼接屏厂家_拼接屏品牌_拼接屏价格_监控大屏—北京维康 | 合肥网络推广_合肥SEO网站优化-安徽沃龙First | 广州中央空调回收,二手中央空调回收,旧空调回收,制冷设备回收,冷气机组回收公司-广州益夫制冷设备回收公司 | 大巴租车平台承接包车,通勤班车,巴士租赁业务 - 鸿鸣巴士 | 深圳VI设计-画册设计-LOGO设计-包装设计-品牌策划公司-[智睿画册设计公司] | 舞台木地板厂家_体育运动木地板_室内篮球馆木地板_实木运动地板厂家_欧氏篮球地板推荐 | 骨灰存放架|骨灰盒寄存架|骨灰架厂家|智慧殡葬|公墓陵园管理系统|网上祭奠|告别厅智能化-厦门慈愿科技 | 求是网 - 思想建党 理论强党 | 济南ISO9000认证咨询代理公司,ISO9001认证,CMA实验室认证,ISO/TS16949认证,服务体系认证,资产管理体系认证,SC食品生产许可证- 济南创远企业管理咨询有限公司 郑州电线电缆厂家-防火|低压|低烟无卤电缆-河南明星电缆 | 冷库安装厂家_杭州冷库_保鲜库建设-浙江克冷制冷设备有限公司 | 气体热式流量计-定量控制流量计(空气流量计厂家)-湖北南控仪表科技有限公司 | 谈股票-今日股票行情走势分析-牛股推荐排行榜 | 粤丰硕水性环氧地坪漆-防静电自流平厂家-环保地坪涂料代理 | 广州印刷厂_广州彩印厂-广州艺彩印务有限公司 | 莱州网络公司|莱州网站建设|莱州网站优化|莱州阿里巴巴-莱州唯佳网络科技有限公司 | 电池挤压试验机-自行车喷淋-车辆碾压试验装置-深圳德迈盛测控设备有限公司 | 太原装修公司_山西整装家装设计_太原室内装潢软装_肖邦家居 | 便携式高压氧舱-微压氧舱-核生化洗消系统-公众洗消站-洗消帐篷-北京利盟救援 | 网站建设,北京网站建设,北京网站建设公司,网站系统开发,北京网站制作公司,响应式网站,做网站公司,海淀做网站,朝阳做网站,昌平做网站,建站公司 | 天津市能谱科技有限公司-专业的红外光谱仪_红外测油仪_紫外测油仪_红外制样附件_傅里叶红外光谱技术生产服务厂商 | 橡胶膜片,夹布膜片,橡胶隔膜密封,泵阀设备密封膜片-衡水汉丰橡塑科技公司网站 | 无硅导热垫片-碳纤维导热垫片-导热相变材料厂家-东莞市盛元新材料科技有限公司 | 耙式干燥机_真空耙式干燥机厂家-无锡鹏茂化工装备有限公司 | 防爆暖风机_防爆电暖器_防爆电暖风机_防爆电热油汀_南阳市中通智能科技集团有限公司 | 杭州公司变更法人-代理记账收费价格-公司注销代办_杭州福道财务管理咨询有限公司 | 老房子翻新装修,旧房墙面翻新,房屋防水补漏,厨房卫生间改造,室内装潢装修公司 - 一修房屋快修官网 | 混合反应量热仪-高温高压量热仪-微机差热分析仪DTA|凯璞百科 | CE认证_FCC认证_CCC认证_MFI认证_UN38.3认证-微测检测 CNAS实验室 | 综合管廊模具_生态,阶梯护坡模具_检查井模具制造-致宏模具厂家 | 学习安徽网| 热工多功能信号校验仪-热电阻热电偶校验仿真仪-金湖虹润仪表 | 耐高温风管_耐高温软管_食品级软管_吸尘管_钢丝软管_卫生级软管_塑料波纹管-东莞市鑫翔宇软管有限公司 | 苏商学院官网 - 江苏地区唯一一家企业家自办的前瞻型、实操型商学院 | 软文世界-软文推广-软文营销-新闻稿发布-一站式软文自助发稿平台 | 哲力实业_专注汽车涂料汽车漆研发生产_汽车漆|修补油漆品牌厂家 长沙一级消防工程公司_智能化弱电_机电安装_亮化工程专业施工承包_湖南公共安全工程有限公司 | 河南膏药贴牌-膏药代加工-膏药oem厂家-洛阳今世康医药科技有限公司 | 手术室净化厂家_成都实验室装修公司_无尘车间施工单位_洁净室工程建设团队-四川华锐16年行业经验 | 青岛球场围网,青岛车间隔离网,青岛机器人围栏,青岛水源地围网,青岛围网,青岛隔离栅-青岛晟腾金属制品有限公司 | 物流之家新闻网-最新物流新闻|物流资讯|物流政策|物流网-匡匡奈斯物流科技 |