Current Monitor

The current monitor in Fusion measures the differential voltage across a resistor between a pair of Voltage and Current Input channels to measure the current. This peripheral requires two channels, one of type V and one of type C and they must be on adjacent package pins.

The differential voltage is multiplied by 10x before it is applied to the ADC; there is no pre-scaling on the differential voltage measurement. The difference in voltages must be less than the value of Vref, external or internal. You must choose an external resistor that satisfies this condition.

The differential amp gain in the current monitor is 10X. SmartGen assumes a series resistor because it is being used to measure current. The differential amplifier measures the potential/voltage drop (256 mv max if the reference is 2.56v) across the resistor, which is proportional to the current flowing in the direction AV -> AC (I = (change in voltage)/resistance)).

The voltage channel in the pair can be used as a voltage monitor to measure the actual voltage that is connected to the Voltage channel.

See the Configuring Current, Voltage, and Temp peripherals for information on the Digital filtering factor, Acquisition time, and Comparison Flag Specifications.

Controls unique to this peripheral are the External resistor and Maximum voltage.

Configure Current Monitor Peripheral Dialog Box

External Resistor

The value of the resistor that is connected across the Current-Voltage pair, external to the device. SmartGen uses this value to convert the thresholds into voltages.

Maximum voltage

The maximum anticipated voltage measured by this Voltage Monitor peripheral pad. The range is -12V to +12V (the voltage range is NOT bipolar). The ADC is capable of measuring a voltage range of 0 - Vref. For the Internal voltage reference, this value is 2.56V. SmartGen automatically configures the Pre-scalar in the AB Analog Block for this peripheral based on the maximum voltage such that the input voltage is scaled up / down (if the voltage given to ADC is in the proper range). SmartGen also post-scales the digital result of ADC conversion so that it returns a result in your specified range.