资 源 简 介
在物联网设计中增加能量测量功能
如果单片机具有集成的模拟-数字转换器(ADC),那么在基于单片机的物联网设计中加入功率测量可以很简单。确保准确的结果,但是,可以是一个挑战。工程师可以满足这些挑战与一些额外的组件和一些额外的处理-甚至转向专用的能量测量设备来处理更复杂的要求。
能源测量已成为一个日益重要的功能连接产品,包括电网友好的设备,智能插头和家用电器,越来越多的名单。除了提供一个有竞争力的微分器,能源测量是一个关键因素,在复杂的自动化系统能够检测异常电源使用模式相关的维护问题。事实上,智能家电为消费者提供更多的方便接收警报时,衣服是准备从烘干机删除。通过提供整个家庭的能源使用模式的信息,这些产品不仅帮助消费者优化他们的能源使用,但也警告潜在的故障,允许用户采用预防性维护措施,以避免以后更高的成本-和更大的不便。
Leveraging integrated MCUs
Conceptually, building an energy-measurement feature in an MCU-based design is simple enough: By repeatedly sampling instantaneous voltage Vi and current li, instantaneous power is simply calculated as the sum of the product VIN x IIN x ?????? (??), where φ is the phase difference between the voltage and the current (Figure 1)。 (For the purposes of basic measurement of energy consumpTIon, some applicaTIons can even ignore phase differences, further simplifying requirements.)