microchip-pic-avr-tools / powersmart-dcld

MPLAB® PowerSmart™ SDK - Digital Control Library Designer Configuration Tool & Code Generator
https://microchip-pic-avr-tools.github.io/powersmart-dcld/
14 stars 4 forks source link

Input Data Gain Accuracy Improvement #4

Closed areiter128 closed 4 years ago

areiter128 commented 5 years ago

Effective input data ranges may be very different from the definition range supported by DCLD today. For example, DCLD defines a Total Input Data Length, which is used for data normalization (e.g. 12-bit wide data). This defined range is internally assumed to define the total dynamic 0-100% visibility range of the real signal. However, in real-world designs the effective input signal dynamic range can be very different, resulting in deviations of the estimated input gain.

To optimize this gain accuracy, additional text boxes have to be added allowing users to specify min/max thresholds of the incoming data. the ratio between the real signal range and the given data length in [bit] then can be incorporated as input gain correction factor.

areiter128 commented 4 years ago

Integrated in release v0.9.5.96