{'fraction_non_alphanumeric': 0.012322274881516588, 'fraction_numerical': 0.0009478672985781991, 'mean_word_length': 5.211764705882353, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Digitally Controlled AC Current Measurement and Protection Techniques

Abstract This paper describes a cost effective AC current measurement method that avoids complex AC to DC current measurements by converting an amplified and rectified AC voltage drop across a shunt resistor to a duty cycle of a PWM signal. The current measurement chain output is fed into a microcontroller unit (MCU) and into a short circuit protection block that inhibits AC load drivers in case of overcurrent or short circuit events, overriding the state set by the MCU control algorithm. The authors present a mathematical model, simulations and a practical evaluation of custom-developed circuits that are capable to reach a convincing level of measurement precision. By counting a given number of consecutive AC periods, the effect of inrush current generated by inductive AC loads is filtered. The proposed solution allows inrush currents up to 3A, fitting the consumption range of AC control elements met in household application circuits, such as relays or solenoid valves.