{'fraction_non_alphanumeric': 0.011270491803278689, 'fraction_numerical': 0.0, 'mean_word_length': 5.10625, '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}}
Design of a Fuzzy Logic Controller by Ant Colony Algorithm with Application to an Inverted Pendulum System

Fuzzy logic controller is one of the most important applications of fuzzy-rule-based system that models the human decision processing with a collection of fuzzy rules. Choosing appropriate fuzzy rules and sets is essential for a fuzzy Logic controller to perform at the desired level. In this paper, an adaptive ant colony algorithm is proposed based on dynamically adjusting the strategy of selection of the paths and the strategy of the trail information updating. The algorithm is used to design a fuzzy logic controller automatically for real-time control of an inverted pendulum. In order to avoid the combinatorial explosion of fuzzy rules due to multivariable inputs, state variable synthesis scheme is employed to reduce the number of fuzzy rules greatly. The simulation results show that the designed controller can control the inverted pendulum successfully.