A Temperature-to-Digital Converter Based on an Optimized Electrothermal Filter