{'fraction_non_alphanumeric': 0.018867924528301886, 'fraction_numerical': 0.0, 'mean_word_length': 5.03960396039604, '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}}
Software-in-the-Loop System for Motor Control Algorithms

This paper examines the reliability of the Software-in-the-Loop (SiL) testing environment precisely to test embedded system algorithms. The integrated algorithms system was developed around a BLDC motor based on a real-time operating system. The main features and functions of the control algorithms developed and implemented in an embedded system is to control the BLDC motor speed. The integration of the control algorithms of a BLDC motor model from the Model-in-the-Loop (MiL) process into the SiL process comes precisely from the increasing need to reduce the amount of prototype testing and to check the resistance of control algorithms to conditions errors that are not practical to test on the hardware. To prove the efficiency of the SIL strategy, three types of algorithms have been developed and implemented for controlling such an electric motor by applying optimization techniques based on closed-loop regulators. The code generated after these models is tested and validated through different test scenarios according to the source model, creating a test report after which we can validate the correctness of the code generated in the SiL process.