of operational amplifiers opamp 91 95 are connected to the output of opamp 71 the peak detectors are provided to measure the amplitude of the esd event in the case of positive esd event the positive pulse from operational amplifier 74 a voltage limiter resistor 78 and diode 79 to the input of the first peak value detector this detector includes the operational amplifiers opamp 82 and 84 diode 83 resistors 80 85 86 and capacitor 81 opamp 84 is connected to the adc analog to digital converter input 106 of the microcontroller 66 similarly in the case of negative esd the positive pulse from the output of low pass filter comes through the diode limiter comprising resistor 87 and diode 88 to the second peak value detector comprising operational amplifiers 91 and 95 diode 92 resistors 90 93 94 and capacitor 89 the output of the second peak value detector is connected to the adc input 107 of the microcontroller 66 the microcontroller 66 resets both the peak value detectors from its digital output 108 after the a d conversion is done and measurement completed which is determinable from the status of the setup conversion ready bit stored in an a d status register of the microcontroller 66 the microcontroller firmware algorithm is shown in fig1 the device is powered.