commit | 386a24d24591aafe16ff7726d3cb6e2fe49e9ddb | [log] [tgz] |
---|---|---|
author | Malay Das <malaydasat@gmail.com> | Sun May 16 02:50:51 2021 -0700 |
committer | Malay Das <malaydasat@gmail.com> | Sun May 16 02:50:51 2021 -0700 |
tree | a383b3c4bd2780b9aa52f9a4e195ac5759a720dd | |
parent | 67640ef400d8df3cfb0a49c79a3b7e14136869b5 [diff] |
Added initial comparator design
A comparator is a device that compares two analog inputs and outputs a digital signal indicating which input is larger. So it has two analog input terminals and one binary digital output. When the difference between two analog input signals approach zero, noise on the inputs will cause spurious switching of digital output. This rapid change in output due to noise can be prevented by hysteresis. Hysteresis is switching the output high or low at different input signal levels. In place of one switching point, hysteresis introduces two: one for rising edge, and one for falling edge of voltage or current. The difference between the higher-level trip value (VH) and the lower-level trip value (VL) equals the hysteresis voltage (HYST).
A comparator can be divided into three distinctive pieces β a frontend differential amplifier, amplifier stage and output stage.
This comparator consists of
This is very similar to set-up on [2] but I have added some modifications to incorporate ENable pin and improve the performance on SKY130 PDK.