INA138是什么IC?作用是什么?
INA138是Burr-Brown公司设计的专用电流检测芯片(文中提到"a design of Burr-Brown in its glorious days")。它的主要作用是:
实现电平转换(level shifting)的电流检测功能
避免破坏接地回路("To avoid breaking the ground circuit")
具体应用:将电流检测电阻连接到正极线(positive wire),通过INA138进行信号处理
文中明确描述:"To avoid breaking the ground circuit, we'll attach the current sensing resistor to the positive wire and implement level shifting using the special-purpose INA138 chip, a design of Burr-Brown in its glorious days."
PA0:接收HF发生器输出级的供电电压信号
"One of the inputs of the A/D converter will measure the supply voltage of the output stage in the HF generator"
PA1:接收通过INA138转换后的电流信号
"the other input will measure the current" (通过INA138实现)
微控制器的工作流程是:
每300ms,主循环从这两个ADC通道读取数据
将电压值和电流值相乘,计算出功率
将功率值发送到OLED显示屏显示
文中描述:"At the tick of the system timer, once in 300ms, the main loop reads data from the two channels of the A/D converter, multiplies them and sends to the display as the power reading."
这种设计使设备能够实时监测并显示高频焊接站的输出功率,是整个系统监控功能的核心部分。