crutschow
Advanced Member level 6
- Joined
- Feb 22, 2012
- Messages
- 4,519
- Helped
- 1,003
- Reputation
- 2,004
- Reaction score
- 1,146
- Trophy points
- 1,393
- Location
- Colorado USA Zulu -7
- Activity points
- 25,712
The MCP3901 is a two channel A/D converter so you just use one channel to measure instantaneous current and the other to measure instantaneous voltage. You then multiply these two digital values together with a microprocessor to get the instantaneous real power. You take enough samples per second (10 times or more of the line frequency) to resolve any higher frequency components of line voltage and current (as possibly caused by non-linear loads such as from lamp dimmers or rectified power supplies), and perform this multiplication operation for each set of samples. You then calculate the average of these samples over an integral number of mains waveforms to get the real power.
The MCP3901 is not a simple chip to use so I suggest you thoroughly read its data sheet and try to understand everything in it to do a proper design. Note that the chip has a variable gain analog front end amplifier so you may not need any extra external amplification for the current measurement signal (which is typically a small voltage).
To isolate the load you can use optocouplers to transmit the digital signals from the MCP3901 to the microprocessor. That way there's no concern about the analog accuracy of the optocoupler since it's only transmitting digital signals. You will need a small line powered supply to provide the power for the MCP3901 and any other circuitry you may need to process the voltage and current signals before going to the MCP3901.
The MCP3901 is not a simple chip to use so I suggest you thoroughly read its data sheet and try to understand everything in it to do a proper design. Note that the chip has a variable gain analog front end amplifier so you may not need any extra external amplification for the current measurement signal (which is typically a small voltage).
To isolate the load you can use optocouplers to transmit the digital signals from the MCP3901 to the microprocessor. That way there's no concern about the analog accuracy of the optocoupler since it's only transmitting digital signals. You will need a small line powered supply to provide the power for the MCP3901 and any other circuitry you may need to process the voltage and current signals before going to the MCP3901.
Last edited: