A peak detector, comprising: a first peak-hold circuit having a first input terminal and a second output terminal a second peak-hold circuit having a third input terminal coupled to the second output terminal, and a fourth output terminal, characterised by: the second peak-hold circuit including: a first operational amplifier having a fifth terminal, a sixth terminal and a seventh terminal, the fifth terminal coupled to the third input terminal; a first diode having an eighth terminal and a ninth terminal, the eighth terminal coupled to the seventh terminal, and the ninth terminal coupled to the fourth output terminal; a first switch having a tenth terminal, an eleventh terminal and a twelfth terminal, the tenth terminal coupled to the seventh terminal and the eighth terminal, the eleventh terminal coupled to the ninth terminal and the fourth output terminal, and the twelfth terminal coupled to a first reset signal; and a first capacitor having a thirteenth terminal and a fourteenth terminal, the thirteenth terminal coupled to the fourth output terminal, the sixth terminal, the ninth terminal and the eleventh terminal, and the fourteenth terminal coupled to ground. a first peak-hold circuit having a first input terminal and a second output terminal a second peak-hold circuit having a third input terminal coupled to the second output terminal, and a fourth output terminal, characterised by: the second peak-hold circuit including: a first operational amplifier having a fifth terminal, a sixth terminal and a seventh terminal, the fifth terminal coupled to the third input terminal; a first diode having an eighth terminal and a ninth terminal, the eighth terminal coupled to the seventh terminal, and the ninth terminal coupled to the fourth output terminal; a first switch having a tenth terminal, an eleventh terminal and a twelfth terminal, the tenth terminal coupled to the seventh terminal and the eighth terminal, the eleventh terminal coupled to the ninth terminal and the fourth output terminal, and the twelfth terminal coupled to a first reset signal; and a first capacitor having a thirteenth terminal and a fourteenth terminal, the thirteenth terminal coupled to the fourth output terminal, the sixth terminal, the ninth terminal and the eleventh terminal, and the fourteenth terminal coupled to ground. a first operational amplifier having a fifth terminal, a sixth terminal and a seventh terminal, the fifth terminal coupled to the third input terminal; a first diode having an eighth terminal and a ninth terminal, the eighth terminal coupled to the seventh terminal, and the ninth terminal coupled to the fourth output terminal; a first switch having a tenth terminal, an eleventh terminal and a twelfth terminal, the tenth terminal coupled to the seventh terminal and the eighth terminal, the eleventh terminal coupled to the ninth terminal and the fourth output terminal, and the twelfth terminal coupled to a first reset signal; and a first capacitor having a thirteenth terminal and a fourteenth terminal, the thirteenth terminal coupled to the fourth output terminal, the sixth terminal, the ninth terminal and the eleventh terminal, and the fourteenth terminal coupled to ground.