We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

ADC_SCALING


An analog to digital converter (ADC) converts a voltage signal as input to a digital signal in a number of bits that depends on ADC resolution. Signals that are not available in voltage form, such as currents, are converted to a voltage signal before conversion to digital data. The digital signal output of the ADC that is relative to its bit width must be scaled to a value that can be properly interpreted by the system that processes the signal.


Features and Benefits


  • Auto Offset Computation:
    • Automaticlly computes ADC offset at startup
      • Disables PWM signals temporarily
      • Triggers ADC 8192 times to capture samples
      • Computes the average offset from the collected samples
  • ADC Data Scaling :
    • Converts raw ADC readings to per-unit values
      • Subtracts computed offset from raw ADC data
      • Applies a scaling factor so that the rated current corresponds to 65536
  • Over-Current Fault Detection:
    • Detects over-current conditions after phase current is computed
      • Can be used to immediately stop motors for protection

Documentation


Title
ADC Scaling User Guide Download