Wireless servomotor control for remote actuation

The conclusions of our previous and other ongoing experiments to create a knowledge base on a given topic. Development of remote control system for home automation, forming a wireless connection for remote control of the position of the servomotor.

Рубрика Программирование, компьютеры и кибернетика
Вид статья
Язык английский
Дата добавления 26.08.2020
Размер файла 469,0 K

Отправить свою хорошую работу в базу знаний просто. Используйте форму, расположенную ниже

Студенты, аспиранты, молодые ученые, использующие базу знаний в своей учебе и работе, будут вам очень благодарны.

Размещено на http://www.allbest.ru/

Размещено на http://www.allbest.ru/

Wireless servomotor control for remote actuation

Robert Rвkay

Actual trends of home and hobby automation focus on implementation solutions to everyday life situations. The main goal is usually to simplify or remotely control a task with low cost devices.

When designing automation systems of different devices, developers are trying to find the most reliableand effective solution with fulfilling every base requirement.

To prepare this paper, different publicly available datasheets and experimental solutions were analyzed as well as conclusions of our previous and other ongoing experiments were used to create the knowledge base about this topic.

There are many different communication solutions and every manufacturer of communication device provides its own solution. This paper is insufficient to describe them all. But creates base for further result comparison with other future solutions of the same task. The proposed solution is not connected to any moving object. In a real application the requirements of torque and system power consumption has to be considered.

In this article a model of a remote control system is proposed for a home automation, in this article a wireless connection is created to remotely control position of servomotor.

To propose a future model of home appliance control system it is necessary to implement the newest communication technologies. Using the new communication protocols such BLE, LoRA or nRF provides good basis to solve this issue.

The proposed paper introduces a model wireless remote control system for simple tasks such controlling of lights or dimmers. The tested system provides a good basis forfuture real life application, however, it needs to be adapted to specific tasks.

The main task of remote control systems is to operate another devices from a distance. In the past these systems were realized as wired low range teleoperation systems. In current solutions this kind of remote operation is applied only for very hazardous task such as radioactive or explosive environments. The wired systems are replaced with wireless communication and nowadays automated systems are aimed to make everyday life easier and more comfortable for every person in society. This can be reached by creating of different automated microsystems which can replace or help with tasks such as appliance control or opening and closing of objects controlled by electrical devices. [1]

Not every automation task requires connection via Internet and people with temporary or permanet disabilties can use local wirelessly controlled devices. This type of remote control system can be built using wireless communication protocols as:

Bluetooth, BLE

• ESPNow

• LoRA

• ESPNow

• Other RF based protocols.

Each of these communication tools share the form low to medium range, lower transfer rates and connection limitations. Despite the limitations of the above mentioned protocols, they can be integrated to control lights, blinds and other simple devices. The transfered data doesn't contain any private information and in most of cases they are not time critical too [2-4].

By integrating of electrical actuators we can carry out different functions. For example a servo motor can replace the activity such as door or hatch opening and closing.

Minimal requirement to determine applicability of servo motor is to determine the torque. The torque is a force applied at a right angle to a lever multiplied by its distance from the lever's fulcrum (the length of the lever arm). It means that if we want to lift a 2 kg object, and the lever arm is 2 cm long, we need a 0,4 N-m torque. The SI unit for torque is N-m or kg-m2-s-2.

For the purpose of an experimental system testing there is no exact task to be controlled remotely, and the devices are tested only as laboratory example. The main goal is to control the position of the servomotor.

The proposed control system consists of a transmitter device and receiver device, which are networked via the nRF24 modules. The input of the system is a potentiometer of 10kOhm, which is directly connected to the analog input of the microcontroller. This voltage value is read and processed to a digital value by the 10-bit ADC integrated to the Arduino. The processed value is then sent to the receiver of the system. The receiver controller has an attached servomotor connected to one of its digital outputs.

Fig. 1. Proposed remote control system

nRF24L01 RF module. This device works as transceiver modules, so each module can send and receive data. The transmission is half-duplex, they can either send or receive data at a time. These modules operate at a frequency of 2.4 GHz (Industrial Science Medical ISM band) with a transfer rate from 250 kbps to 2 Mbps, which is legal in many countries and can be used in industrial and medical applications. With suitable antennas, they can transmit and receive information up to 100 meters between them [5, 6].

The modules work with power supply of 1.9 to 3.6 V and have a consumption of 12mA during a normal operation. This makes the devices very battery friendly for remote system. The module communicates with the controller via SPI protocol.

Most of the module pins are 5V tolerant and can be easily interfaced with the Arduino like microcontrollers. Each module can communicate through 6 «Pipelines», which means each module can communicate with 6 other modules to transmit or receive data. This makes the module suitable for star and mesh networks of IoT systems.

The module has to be configured within the control program of the connected microcontroller. There are available configurations defining the transfer speed, communication channel, power amplification, message size.

In our case the address was chosen 0, while the communication channel is 115 out of the available 125. The speed can variate from 250 kbps to 2Mbps. The power levels for the radio amplifier are adjustable to MIN, HIGH or MAX. For the maximum range the MAX is recommended but this creates an increased current consumption, so in case of battery powered systems this have to be considered while calculating the battery life.

Fig. 2. nRF24L01 Pipelines communication principle

Arduino UNO R3. Arduino Uno is a microprocessor board based on ATmega328P. It has 14 digital I / O pins (6 of which can be used as PWM outputs), 6 analog inputs, USB connection, power connector, ICSP header and reset button. It can easily be connected to a computer using a USB cable powered by an AC adapter or a battery [7].

Table 1. Technical details of ARDUINO UNO REV3

Microcontroller

ATmega328P

Operating voltage

5V

Input voltage (recommended)

7-12V

Maximum input voltage

6-20V

Number of digital inputs / outputs

14 (6PWM)

Analog inputs

6

Maximum current for Vs / Res

20 mA

Maximum current for 3.3 V input

50 mA

Flash memory

32 KB

SRAM

2 KB

EEPROM

1 KB

Operation cycle

16 MHz

Dimensions (Length x Width)

68.6 x 53.4 mm

weight

25g

To power the pins:

• Vin - input voltage for powering the board or powering peripherals.

• 5 V output pin for peripherals.

• 3V3 - reduced power supply.

• GND grounding pin.

• IOREF - reference voltage pin.

UART TTL (5V) serial communication is available to communicate with other devices. It uses RX and TX pins. In addition to UART, I2C or SPI communication can be used.

For communication with the computer it is possible to use the so-called serial monitor. Using it, we can transfer data to a PC.

Microservo. As an example output device the MG90S micro servo motor is used. This servo is suitable for task of remote control such as RC models. The movement of the servo is limited to 180°, or 90° in each direction. The technical characteristic of MG90S is described in the table below [8].

Table 2. Technical details MG90S

Weight

13.4 g

Operating voltage

4.8-6 V

Current

10 -250 mA (stall 700mA)

Torque (4.8 V)

0.1765197 Nm

Torque (6 V)

0.2157463 Nm

Operating speed (4.8 V)

0.1 s/60°

Operating speed (6 V)

0.08 s/60°

Dead band width

5 gs

Software. For programming and configuring the remote control system the Arduino IDE programming environment was used. It is a Java application, created to program different microcontrollers of Arduino and its clones. The main software includes the code editor, compiler, uploader and also tools for serial port monitoring. Every created control software includes the following parts:

- Declaration of variables, used libraries

- Configurations of I/O devices and communication

- Control loop, which will be conducted cyclically.

Figure below shows the programming The control software is described with control algorithms below. The control software starts with the declaration of used libraries, which integrates functionalities to work with the connected peripheries as the communication modules and the servomotor. After the needed libraries the variables of the control program are declared. These variables include voltage value from the potentiometer, control value for servo position, communication variables. The next step is to configure the used communication channels and pins on the microcontroller. Finally, the main part of the control software is created, which is cyclically repeated.

Fig. 3. Arduino IDE

Fig. 4. Control diagram - sender and receiver programs

Proposed system. The proposed system was tested in laboratory environment. The picture below shows the proposed connection of both sides and the physical realization of such connections. The main microcontrollers are Arduino UNO Rev3. For experiments the USB Power supply cables were used. Also, for programming and monitoring of this system, the serial monitor functionality of the Arduino IDE was used.

The communication between the PC and the microcontrollers is configured to 9600 bit/s. The RF communication proceeded on channel n. 115. The speed of the wireless data transfer was 250 Kbps. The power amplifier was chosen to be LOW because of the short distance between the communicating partners. The final wiring of the system is shown on the next figures.

The experimental testing was successful. The picture below shows part of the control software with a detail of the received messages.

Fig. 5. Wiring schemes - sender and receiver

Fig. 6. Wiring schemes - sender and receiver

In this paper, a proposal of model remote-control system is described. To fulfill a real-life task requirement, it's necessary to replace the servo motor to be able to manipulate with an object, also the power consumption has to be analyzed. In this case a model system can only represent the means of describing functioning not a concrete device for a specific application. The communication protocol nRF is lightweight transfer technology working in the range of standardized ISM band. With its characteristic it's well suitable for simple home automation systems, where one or more physical tasks are replaced with electrical devices. As a controlled device a servomotor is implemented on the receiver side. The position of the servomotor is determined by the received messages from the sender side. The input value of the system is created with a potentiometer and analog to digital conversion.

The carried-out experiment showed that to automate tasks as an appliance control (lighting and dimmer devices) a remotely controlled actuator is suitable solution. This type of automated system can help to older people and people with disabilities to make their everyday life easier or comfortable or more independent. By combining batteries with these systems, we can create simple powerful micro automated systems. Compared to commercially available systems the proposed solution offer advantages as reconfigurability with different peripheral devices, reusability in various tasks and provides good basis of knowledge in the education of students of automation and mechatronics.

References

servomotor remote control automation

1. KETSHABETSWE, Lucia Keleadile, et al. Communication protocols for wireless sensor networks: A survey and comparison. Heliyon, 2019, 5.5: e01591. Available from: https://www.sciencedirect.com/science/article/pii/S2405844018340192? via % 3Dihub.

2. KAR, Udit Narayana; SANYAL, Debarshi Kumar. An overview of device-to-device communication in cellular networks. ICT express, 2017. Available from: https://www.sciencedirect. com/science/article/pii/S2405959517301467.

3. SIMSK, D. - GALAJDOVА, A. - SEMINSKџ, J. - RАKAY, R. - VISNOVSKџ, M. Inovвcia studijnйho programu automatizвcia a riadenie strojov a procesov v reakcii na poziadavky priemyselnej praxe, ARaP 2016. - Praha: MM publishing, 2016 pp. 79-82. - ISBN 978-80-906310-1-4.

4. SEMINSKџ, J. - Near future manufacturing systems - present and future In: Interdisciplinarity in Theory and Practice. No. 8 (2015), p. 282-284. - ISSN 2344-2409 [online], Available from:https://docs.google.com/viewerng/viewer? url=http://itpb.eu/pdf/2015-4/8cislo52clanok.pdf& wmode=transparent.

5. nRF24L01 Datasheet [online], Available from: https://www.sparkfun.com/datasheets/Components/nRF24L01_prelim_prod_spec_1_2.pdf.

6. nRF24L01 Datasheet [online], Available from: https://www.electronics-lab.com/project/ communication-between-two-arduinos-using-nrf24l01.

7. Arduino UNO REV 3 Datasheet [online], Available from: https://store.arduino.cc/arduino - uno-rev3 http s://store. arduino. cc/arduino-uno-rev3.

8. MG90S Datasheet [online], Available from: https://protosupplies.com/product/servo-motor - micro-mg90s.

Размещено на Allbest.ru

...

Подобные документы

  • Выбор программного средства для клиентской и серверной части. Требования к программному обеспечению. Анализ приложений "Gmote", "Remote for VLC", "Пульт MPC&VLC", "The Remote Control". Схема функционирования клиентской части. Тестирование окна управления.

    дипломная работа [1,5 M], добавлен 31.03.2013

  • Разработка информационной системы Dentist control system для работы стоматологической клиники - ведения записей о клиентах и врачах. Использование средства автоматизированной разработки приложений Borland C++ Builder 6.0 для работы с базой данных.

    курсовая работа [2,3 M], добавлен 29.12.2012

  • Модель релейной системы регулирования и идентификации структуры отдельного характерного элемента ЭКС зубца Р в системе MatLab. Анализ линейных звеньев с применением Control System Toolbox и Simulink. Методы построения переходных и частотных характеристик.

    дипломная работа [1,1 M], добавлен 28.01.2015

  • SCADA (Supervisory Control And Date Acquisition) – диспетчерское управление и сбор данных. Формирование удобного человеко-машинного интерфейса. Разработка проекта WinCC: среда проектирования, конфигурирование. Пример отображения информации на экране.

    презентация [1023,1 K], добавлен 10.02.2014

  • Краткая история и основные цели создания Wireless Application Protocol (WAP) — беспроводного протокола передачи данных. Особенности работы WAP-броузеров. Адресация беспроводной сети. Поддержка протоколов Internet при использовании IP соединений.

    реферат [623,3 K], добавлен 11.04.2013

  • Мережне адміністрування. Програми для віддаленого адміністрування. Віддалене управління засобами Telnet. Можливості програми Remote Administrator 2.2. Безпека Radmin. Режим обміну файлами. Запит логіна і пароля перед початком роботи з File Manager.

    курсовая работа [1,5 M], добавлен 24.03.2009

  • Overview history of company and structure of organization. Characterization of complex tasks and necessity of automation. Database specifications and system security. The calculation of economic efficiency of the project. Safety measures during work.

    дипломная работа [1009,6 K], добавлен 09.03.2015

  • Программный комплекс MATLAB как мощное средство для высокоточного цифрового моделирования системы автоматического управления. Основные особенности построения временных характеристик с помощью пакета Control System и моделирования в системе Simulink.

    контрольная работа [2,3 M], добавлен 14.11.2012

  • Central Processing Unit. Controls timing of all computer operations. Types of adapter card. Provides quick access to data. Uses devices like printer. Random Access Memory. Directs and coordinates operations in computer. Control the speed of the operation.

    презентация [3,5 M], добавлен 04.05.2012

  • Розробка програмного забезпечення для перевірки матричних критеріїв керованості та спостережуваності лінійних динамічних систем з застосуванням програмного середовища MATLAB – модуль Control System ToolBox. Розробка алгоритму підготовки вихідних даних.

    дипломная работа [2,4 M], добавлен 20.06.2012

  • Technical and economic characteristics of medical institutions. Development of an automation project. Justification of the methods of calculating cost-effectiveness. General information about health and organization safety. Providing electrical safety.

    дипломная работа [3,7 M], добавлен 14.05.2014

  • Особенности подключения принтера по интерфейсу Centronics в PC. Назначение его сигналов. Расширения параллельного порта. Оконечные цепи линий интерфейса IEEE 1284. Запись и чтение данных в регистры Control, Status и Data. Внутреннее устройство LPT порта.

    реферат [220,7 K], добавлен 28.04.2010

  • Процессоры Intel Core 2 Duo, энергопотребление. Размер кристалла Core 2 Duo и число транзисторов. Технологии управления энергопотреблением Core 2 Duo. Ultra Fine Grained Power Control. Индикация энергопотребления процессора/PSI-2. Цифровые термодатчики.

    курсовая работа [5,4 M], добавлен 16.01.2009

  • Условия применения и технические требования для работы программно-аппаратной платформы. Система распознавания лиц VOCORD Face Control. Система распознавания текста ABBYY FineReader. Алгоритмы и методы, применяемые в программе. Алгоритм хеширования MD5.

    дипломная работа [1,8 M], добавлен 19.01.2017

  • Изучение программирования в MATLAB. Использование команд Save и Load, операторы ввода и вывода для работы в командном окне. Отладка собственных программ. Интерфейс MATLAB. Отличия поздней версии MATLAB от более ранних. Средство Source Control Interface.

    контрольная работа [43,0 K], добавлен 25.12.2011

  • Windows Vista как клиентская операционная система семейства Microsoft Windows NT, этапы разработки. История создания Windows Vista. Основные особенности технологии ReadyBoost. User Account Control как система контроля учетных записей пользователей.

    реферат [23,7 K], добавлен 13.10.2012

  • Системы управления базами данных. Состав СУБД. Языки программирования. Проектирование базы данных на СУБД MySQL. Работа с XAMPP Control Panel. База данных " Детский сад". Вывод данных из таблицы "Ребенок", "Группы", "Классы" и "Направление занятий".

    курсовая работа [1,9 M], добавлен 13.12.2016

  • Загальна характеристика методів проектування та документації додатків. Розробка інтерфейсу програми для медичного діагностичного центру. Вибір архітектури. Описання логічної структури програми. Розробка структури бази даних проекту, полів таблиць.

    курсовая работа [2,0 M], добавлен 21.08.2015

  • History of development. Building Automation System (BMS) and "smart house" systems. Multiroom: how it works and ways to establish. The price of smart house. Excursion to the most expensive smart house in the world. Smart House - friend of elders.

    контрольная работа [26,8 K], добавлен 18.10.2011

  • Проектирование и моделирование линейной вычислительной сети многоэтажного здания. Улучшение производительности LAN посредством VLAN. Настройка QoS в существующей сети. Проектирование Wireless Lan и управление доступом к среде передачи. Описание симуляции.

    дипломная работа [2,6 M], добавлен 10.07.2017

Работы в архивах красиво оформлены согласно требованиям ВУЗов и содержат рисунки, диаграммы, формулы и т.д.
PPT, PPTX и PDF-файлы представлены только в архивах.
Рекомендуем скачать работу.