{'fraction_non_alphanumeric': 0.022031823745410038, 'fraction_numerical': 0.0, 'mean_word_length': 5.104477611940299, '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}}
Swing-up Control of a Double Inverted Pendulum by Combination of Q-Learning and PID Algorithms

The double inverted pendulum is a nonlinear system with unstable balance and rapid response. When two pendulums are allocated vertically, and there is no movement, the system is stable. In this article, we propose a control mechanism based on reinforcement learning. The system can improve its performance and balance by implementing the Q-Learning techniques besides the PID control scheme. The Q-Learning algorithm balances the pendulum to its inverted vertical position in the first step. In the second step, the Q-Learning algorithms are combined with classical PID to balance the double inverted pendulum and perform swing-up control. Eventually, simulation findings showed the efficiency of the proposed controller.