SciELO - Scientific Electronic Library Online

 
vol.30 número2Relación salinidad-cultivo de caña de azúcar determinada por teledetección en el Central Azucarero Urbano Noris índice de autoresíndice de assuntospesquisa de artigos
Home Pagelista alfabética de periódicos  

Serviços Personalizados

Journal

Artigo

Indicadores

  • Não possue artigos citadosCitado por SciELO

Links relacionados

  • Não possue artigos similaresSimilares em SciELO

Compartilhar


Revista Ciencias Técnicas Agropecuarias

versão On-line ISSN 2071-0054

Rev Cie Téc Agr vol.30 no.2 San José de las Lajas abr.-jun. 2021  Epub 01-Abr-2021

 

ORIGINAL ARTICLE

Evaluation of a Remote Piloted Aircraft System (RPAS) for Agricultural Use (Part II)

Ing. Juan J. Pérez-Paredes1 
http://orcid.org/0000-0001-5124-7781

Dr. Gilberto J. López-Canteñs1  * 
http://orcid.org/0000-0002-7789-5880

Dr. Noé Velázquez-López1 
http://orcid.org/0000-0001-5128-4929

Dr. Irineo L. López-Cruz1 
http://orcid.org/0000-0003-0630-6257

1Universidad Autónoma Chapingo, Posgrado en Ingeniería Agrícola y Uso Integral del Agua, Chapingo, Edo. México, México

ABSTRACT

A prototype of a remote piloted aircraft system RPAS was evaluated. It was a quadcopter type, with a system that allows autonomous and stable flights to obtain georeferenced images, through the instrumentation of a RGB sensor (Sony IMX117) and a GPS. The RPAS was built and equipped with a Pixhawk controller with GPS, 1400kv race star engines, eight-inch propellers (8045) and 30A ESC. The "ArduCopter V3.611" firmware was installed in the flight controller (specific for quadcopters) and the accelerometer, compass, radio, flight modes (loiter, stabilize and RTL) and 20 mA telemetry were calibrated. In addition, the flight and control parameters of the RPAS were adjusted, with a horizontal and vertical forward speed of 1 m/s, maximum flight height of 30m, minimum flight voltage of 10.5v and an adjustment in the PID control of P=0.046, I=0.047 and D=0.0036 in the roll and pitch axes and values of P=0.1, I=0.025 and D=0.5 in the yaw axis. Flight tests were performed in autonomous missions with a constant speed of 1 m/s, at a height of 20m and with winds not higher than 5 Km/h. An average consumption of 1520 mAh was obtained for 7 minutes of flight, vibrations less than 18 ms2 and movements in the "yaw", "pitch" and "roll" axes smaller than 6 degrees.

Keywords: Drone; Design; Telemetry; Flight Scheduling. Georeferencing

INTRODUCTION

Different designs have been proposed for RPAS platforms, showing a strong development for flight, control, and landing in an autonomous way, with global positioning devices (GPS) (Galimov et al., 2020). However, the challenge is to correctly select the components in an RPAS platform, so that it meets the desired needs and objectives (Christiansen et al., 2017).

The adequate selection of the elements for prototypes allows the implementation of different control strategies, for the stabilization of the quadcopter axes (Lara et al., 2017). To use this resource efficiently, it is necessary to establish coordination between the controller and monitoring systems for the RPAS, to determine its route based on the environment and to program it in a safe, collision-free, and time-efficient manner (Thibbotuwawa et al., 2020).

Pixhawk 4, a navigation and flight control system hardware, consists of an inertial measurement unit (IMU) (gyros and accelerometers), magnetometer (compass), barometer and global positioning system (GPS) module (Pei et al., 2019). The system must be calibrated for safety and performance (Vargas, 2015; Gyujin et al., 2020), in addition to the configuration of flight parameters and a correct adjustment in the PID control (proportional, integral and derivative), which regulates the corrections of errors due to disturbances caused by wind or differences in the engines and propellers (Bonney et al., 2020). The PID controller is widely used in UAV flight control due to its high control accuracy and simple structure (Dávila et al., 2017; Zhang et al., 2018, 2019)

Considering the necessary characteristics that aircraft must have to be used in precision agriculture, the objective of this work was to evaluate a RPAS type quadcopter, according to an established flight configuration and PID control, with a system that allows autonomous and stable flights to obtain georeferenced images in a sequential way, through the instrumentation of an RGB sensor.

MATERIALS AND METHODS

RPAS Prototype

A quadcopter type RPAS prototype was used (Figure 1) which was developed at the facilities of the Universidad Autónoma Chapingo, equipped with a Hawkeye Firefly 8SE RGB camera with the IMX117 Sony sensor. The flight controller model pixhawk, which it uses, is open source and supervises the RPAS operation in the different flight modes, controls the camera and the gimbal turns and georefers the images that are captured.

FIGURE 1 RPAS Prototype 

Pixhawk Configuration

The "ArduCopter V3.611" firmware was installed in the flight controller and it was configured with the "Mission Planner" program, a tool that provides, in a simple and graphic way, aircraft configurations based on the communication and control protocol "MAVLINK" (Reyes, 2017). The firmware, "ArduCopter V3.611" (specific for quadcopters) was loaded; the accelerometer, compass, radio, flight modes (loiter, stabilize and RTL) were calibrated and so was the telemetry to 20 mA. In addition, the flight and control parameters of the RPAS were adjusted, in the "Full Parameter List", with a horizontal and vertical forward speed of 1 m/s, maximum flight height of 30m, and minimum flight voltage of 10.5v (activating the autonomous return home, RTL).

An important adjustment is the PID control (Proportional, Integral and Derivative), which regulates the corrections of errors due to disturbances caused by wind or differences in the motors and propellers (Nistal, 2017; Zhang et al., 2019). PID control is a feedback control mechanism that calculates the deviation or error between the desired and the measured values (Serrano, & Pérez, 2016).

The PID controller generates an output signal to counteract the error between the controlled variable and a reference value of the system (Berra, 2016). The control law is based on Equation 1.

PID=kpet+ ki0tetdt +kd de t dt ( 1 )

Where t : Time, e : Error, kp,ki,kd : Constants, kp ·e(t) : Proportional action, ki0te(t)dt  : Integral action, kd de t dt : Derivative action.

In autonomous missions, the pixhawk flight controller, incorporates a PID control, which corrects the altitude and stability (Figure 2). The control is based on the values calculated by the IMU and the barometer, which measure the angle of the vehicle and the height, respectively. These values are compared with those desired, to calculate the error, and thus, apply it to the control system (Bonney et al., 2020).

In Figure 2, the PID control diagram of the pixhawk flight controller, used to correct stability and height, is developed. The value "Roll" is the rotation on the X axis, allowing the displacement to the right or left. The value "Pitch", is the rotation on the Y axis, allowing the displacement forward or backward. The value "Yaw", is the rotation on the Z axis, allowing the rotation on its vertical axis (Vargas, 2015; Dávila et al., 2017; Nistal, 2017).

FIGURE 2 Diagram of the PID control, used to correct height and angles, of the pixhawk flight controller 

In Table 1, the PID control settings of the RPAS, which were used in the flight missions for the speed P and height PID values, are shown.

TABLE 1 Adjusting PID Control 

Extended parameters of tuning for PID control (Mission Planner)
P values for stabilizing speed error
Roll Pitch Yaw Position X,Y
P=4.0 P=4.0 P=4.0 P=1
PID values for stabilizing angle errors
Roll value Pitch value Yaw value XY speed
P=0.046 P=0.046 P=0.10 P=2
I= 0.047 I=0.047 I=0.025 I=1
D=0.0036 D= 0.0036 D=0 D=0.5
PID values to stabilize heigh error (Throttle Accel)
P=0.5
I=1.0
D=0.0

Prototype RPAS Evaluation

The evaluation was carried out in the experimental field "Tlapeaxco", of the Autonomous University Chapingo, in Texcoco, State of Mexico, North Latitude 19°28'57.41", West Longitude -99°6'33.69 (Figure 3). It was developed by means of autonomous flight missions, which were carried out at an altitude of 20m, with a horizontal advance speed of 1m/s and with winds no greater than 5km/h, covering an area of 2258 𝑚2 (0.23 ha).

To plan the flight (in the field), a mobile device (cell phone) was used with the "Qground Contol" application, in addition, the cell phone was linked to the RPAS via telemetry (Figure 4).

FIGURE 3 Flight of the PAS. 

FIGURE 4 RPAS, radio control and telemetry. 

In the Qground Control application, the flight area was defined and the overlap parameters of the photographs were adjusted with 75% front and 65% side (Figure 5) as recommended by Ortega (2018). The parameters of the sensor Sony IMX117 of the camera Hawkeye Firefly 8SE, that was used in the RPAS, were adjusted with a width of 6.17 mm and a length of 4.55 mm, a resolution of 4608 pixels in the width and 3456 in the height and a focal distance of 3mm (Figure 5).

FIGURE 5 Flight planning in "Qground Control". 

Other values that were adjusted were the departure and return points in the flight mission. These values were defined in the point where the RPAS was at the time of setting up the mission (positioned on a flat surface and without weeds).

After setting the mentioned values, the application calculates the number of photos to take and in which location (waypoints), according to the configured overlap and the characteristics of the camera (Navarro, 2019). In Figure 6, green points indicate where the pictures were taken.

FIGURE 6 Flight Plan Waypoints 

The flight plan (configured) was uploaded to the RPAS (via telemetry) and the flights were performed. The application showed the progress of the vehicle in real time and the characteristics of the flight as time of flight, battery status and satellite reception.

Processing

The information generated by the different sensors that the vehicle has, such as speed, height, battery voltage, current consumption, geographic position, vibrations and position angle (X, Y and Z), was stored by the flight controller.

The flight records were downloaded using Mission Planner, in a Matlab (.mat) read file, so, it was necessary to convert the information into a (.xlsx) file, using a developed programming code. With the information in a file (.xlsx), Microsoft Excel spreadsheet reading format, the desired values were plotted.

Analysis of the RPAS Prototype Functioning

Three flight missions were performed and the parameters of voltage, power consumption, current, spin, vibration and flight altitude were measured and used for the evaluation of the RPAS performance, which were then plotted and analyzed.

In Figure 7, the behavior of the battery voltage during the three flight missions is shown. The flight controller detects the battery voltage (actual voltage) and makes a correction (corrected voltage), because the actual voltage drops quickly, caused by the current supplied to the ESC.

In this study, the real voltage was used to evaluate the state of the battery and to configure the safe return home (RTL), which is configured to activate, when detecting minimum voltages of 10.5v in the battery. Bonney et al. (2020), mention that the value of the corrected battery voltage can be used to extend the duration of the flight, but it reduces the battery life.

In Figure 7, it is observed that in the first 30s, negative peaks appear in the real voltage; this is because, at that time, the RPAS began its ascent to 20 m high, causing a sudden drop in voltage. As the time elapses, the voltage decreases from 12.5v (full load) to 10.4v, limiting the flight to approximately 7 minutes (because the return home RTL is configured with a minimum voltage of 10.5v.

FIGURE 7 Voltage of the RPAS during the flight. 

The average consumption of the battery in the three flights was 1520mAh, for 7 minutes of flight (approximately) (Figure 8), a 38% of the total capacity of the battery (4,000mAh), so, the battery can support the double of flight time (theoretically), if the minimum voltage safety factor is configured according to the corrected voltage and not to the real voltage, increasing considerably the flight time.

As mentioned in the power calculation section, the battery can supply a continuous current of 200A, to power all electronic components. In Figure 8, it is observed that the maximum current, which was required during the flights, was not greater than 23A.

FIGURE 8 Consumption (A) and current (A) of the RPAS. 

One of the important points to evaluate the stability of a RPAS is the rotation in the axes "Roll", "Pitch" and "Yaw. These values represent the inclination of the vehicle in its 3 axes of movement (Fernandez et al., 2016). To evaluate this factor, two flight missions were performed, which are shown in Figures 9 and 10 where the rotation for "Roll" and "Pitch" in the autonomous flights of the RPAS, vary from -6° to 5°, these values did not exceed the limits recommended by Bonney et al. (2020))  +6° for "Roll" and "Pitch".

The "Yaw" turn has values of 0-360° because the changes of the trajectory are represented (turn on its own axis). In addition, the origin is oriented to the north, so any takeoff with the front of the RPAS that is not oriented to the north will have values of 0-360°.

FIGURE 9 Roll, Pitch and Yaw of the RPAS (flight 1). 

FIGURE 10 Roll, Pitch and Yaw of the RPAS (flight 2) 

Another parameter that was used to evaluate the stability of the RPAS was vibration, which is the propagation of waves that produce deformations and stresses on the chassis (repetitive movements around the position of equilibrium) (Bonney et al., 2020). In Figure 11, it is observed that the average vibration (of the three flights), is between 6 and 16 m s2 , therefore, the values obtained are within the parameters recommended by Bonney et al. (2020) of 0-30 m s2

In the first 30 seconds of flight, the vibration ranged from 3 to 18 m s2 , this is because an air bubble is generated between the soil and the RPAS, as the lift disappears the bubble and the vibrations are reduced. It is not possible to decrease this vibration with the PID control settings, only with flight heights greater than 5m the vibration disappears (Bonney et al., 2020).

FIGURE 11 Average Vibration in "X", "Y" and "Z". 

The average values of height (m) and altitude (m.a.s.l), of the three flights were obtained (Figure 12). These values are generated by the barometer, which measures the atmospheric pressure, and corrected by the accelerometer (Bonney et al., 2020). The PID control performed the correction of the flight height, maintaining the height at 20 m with an error of ±0.5m, an accepted error in photogrammetry.

FIGURE 12 Average height of the RPAS on flights 

It was obtained the graph of the behavior of PID control values, which correct the flight height (Figure 13). In the first three seconds the value of the proportional action "P", ranges from ±200 and the integral action from -150 to 15, this is because the RPAS has initiated the flight and the parameters seek to reduce the height error according to time. After three seconds, the PID control, stabilizes the height that the system requires and the error tends to zero.

FIGURE 13 Altitude PID Control Values. 

The behavior of the PID control values of the pitch (Y-axis) and roll (X-axis) axes was plotted in Figures 14 and 15. The RPAS, when starting the flight is on a flat surface, so the PID control detects that the error is close to zero, in the second three, the RPAS starts the climbing and that is when the PID control decreases the errors quickly, with a stabilization time of two seconds, obtaining a robust behavior.

FIGURE 14 Pitch and roll P and I control values. 

FIGURE 15 Pitch and roll D control values 

CONCLUSIONS

The operation of the RPAS was evaluated in terms of its electrical consumption, obtaining a 7-minute flight with a total consumption of 1520 mAh, using 38% of the total battery capacity and a final voltage of 10.3v, in flights with a height of 20m and a horizontal speed of 1 m/s.

The PID control adjustments were made, with values of P=0.046, I=0.047 and D=0.0036 in the roll and pitch axes and values of P=0.1, I=0.025 and D=0.5 in the yaw axis, obtaining a robust behavior of the system, with a stabilization time of two seconds, average vibrations of 9 𝑚 𝑠2which range from 6 to 18𝑚 𝑠2and an average rotation of 3 degrees on the X and Y axes. Therefore, it can be concluded that stability is among the appropriate parameters to be able to use RPAS in photogrammetry.

REFERENCES

BERRA, E.V.: “Cálculo de variables de control PID para Drones Cuadcopter”, Reaxión, Revista de Divulgación Tecnológica, 1(9), 2016, ISSN: 2007-7750. [ Links ]

BONNEY, B.; SIDDHARTH, B.P.; SHAMAEV, E.; WALSER, J.; GONÇALVES, L.V.; OLSON, C.O.; QUILTER, S.: Ardupilot.org/ardupilot/index, [en línea], Ardupilot, 2020, Disponible en:https://ardupilot.org/ardupilot/index.html, [Consulta: 19 de agosto de 2020]. [ Links ]

CHRISTIANSEN, M.P.; STIGAARD, M.; NYHOLM, J.R.; SKOVSEN, S.; GISLUM, R.: “Designing and Testing a UAV Mapping System for Agricultural Field Surveying”, Sensors, 17(12), 2017, DOI: https://dx.doi.org/10.3390/s17122703. [ Links ]

DÁVILA, P.; ORNA, J.; ROSALES, A.; ÁVALOS, E.: “Diseño, Construcción de la Estructura Mecánica y Pruebas de Vuelo de un Hexacóptero de Monitoreo para Aplicaciones Militares”, Revista Politécnica, 39(1): 37-39, 2017, ISSN: 1390-0129. [ Links ]

FERNÁNDEZ, B.H.A.; TORRES, I.J.; RAMÍREZ, U.: Diseño, Construcción y Control de una Aeronave Tipo Dron, [en línea], Universidad Nacional Autónoma De México, Tesis de Licenciatura, Mexico, 248 p., 2016, Disponible en:http://www.ptolomeo.unam.mx. [ Links ]

GALIMOV, M.; FEDORENKO, R.; KLIMCHIK, A.: “UAV Positioning Mechanisms in Landing Stations: Classification and Engineering Design Review”, Sensors, 13(20), 2020, DOI: https://dx.doi.org/ 10.3390/s20133648. [ Links ]

GYUJIN, J.; JAEYOUNG, K.; JU, Y.; HAK, J.K.; YOONHA, K.; DONG, K.; YONG, S.C.: “Review: Cost-Effective Unmanned Aerial Vehicle (UAV) Platform for Field Plant Breeding Application”, Remote Sens., 12(6): 2-20, 2020, DOI: https://dx.doi.org/10.3390/rs12060998. [ Links ]

LARA, S.B.M.; FAGUA, P.E.Y.; SALAMANCA, J.M.; HIGUERA, M.O.I.: “Diseño e implementación de un sistema de control de vuelo para un vehículo aéreo no tripulado tipo cuadricóptero”, Revista Tecnología y Cultura, afirmando el conocimiento (TECNURA), 21(53), 2017, DOI: https://dx.doi.org/ 10.14483/22487638.10256. ISSN: 0123-921X. [ Links ]

NAVARRO, R.D.: Análisis de un Sistema de Vuelo de Rpas con Controladora Px4 y Subsitema de Visión, [en línea], Universidad Carlos III de Madrid, Tesis de Licenciatura, Madrid, España, 111 p., 2019, Disponible en:https://e-archivo.uc3m.es/handle/10016/30300. [ Links ]

NISTAL, L.J.: Diseño de un Drone Programable de Bajo Coste, [en línea], Escuela Técnica Superior de Ingenieros Industriales y de Telecomunicaciones, Tesis de maestría, España, 132 p., 2017, Disponible en:https://repositorio.unican.es. [ Links ]

ORTEGA, C.V.E.: Procedimiento para la captura de datos fotogramétricos con la ayuda de aparatos controlados remotamente, como herramienta para la evaluación en estabilidad de taludes y difusión con realidad aumentada, [en línea], Universidad Nacional de Colombia, Tesis de Maestría, Colombia, 130 p., 2018, Disponible en:http://bdigital.unal.edu.co/69667/. [ Links ]

PEI, H.C.; DER, M.M.; JAW, K.S.E.: “Design, Manufacturing, and Flight Testing of an Experimental Flying Wing UAV"”, Applied Sciences, 9(15), 2019, DOI: https://dx.doi.org/10.3390/app9153043. [ Links ]

REYES, P.P.: Diseño de un Multicóptero para Investigación Controlado Vía Terminal Android, [en línea], Universitat Politécnica de Valéncia, Tesis de Licenciatura, Valencia, España, 84 p., 2017, Disponible en:https://riunet.upv.es/handle/10251/86467. [ Links ]

SERRANO, C.C.; PÉREZ, O.: Análisis, Diseño Estructural y Construcción de un Dron para la Detección de Minas Antipersona, [en línea], Inst. Universidad Politécnica de Catalunya, Informe Técnico, España, 306 p., 2016, Disponible en:https://upcommons. upc.edu/handle/2117/102000?show=full. [ Links ]

THIBBOTUWAWA, A.; BOCEWICZ, G.; BOCEWICZ, G.; NIELSEN, P.; BANASZAK, Z.: “Unmanned Aerial Vehicle Routing Problems: A Literature Review”, Applied Sciences, 10(13), 2020, DOI: https://dx.doi.org/10.3390/app10134504. [ Links ]

VARGAS, F.L.M.: Desarrollo de algoritmos para el seguimiento de trayectorias de un quadrotor utilizando técnicas modernas de control con álgebra lineal, [en línea], Escuela Politécnica Nacional, Tesis de Licenciatura, Ecuador, 101 p., 2015, Disponible en:http://bibdigital.epn.edu.ec/handle/15000/11668. [ Links ]

ZHANG, H.; YANG, J.; JANTIENE, E.M.B.; SHUQIN, L.; BEI, J.; WENTING, H.; XIAOMEI, Y.: “Quality of terrestrial data derived from UAV photogrammetry: A case study of Hetao irrigation district in northern China"”, International Journal of 2018Agricultural and Biological Engineering, 11(3), 2018, DOI: https://dx.doi.org/10.25165/j.ijabe.20181103.3012. [ Links ]

ZHANG, K.; HONG, B.F.; LI, L.K.; LIANG, Y.; YANG, J.: “Design and Implementation of a Dual-IP Core UAV Flight Control" System Based on Qsys”, En: 3rd International Conference on Mechatronics and Intelligent Robotics (ICMIR-2019), 3rd International Conference on Mechatronics and Intelligent Robotics (ICMIR-2019), pp. 180-186, 2019, DOI: https://dx.doi.org10.1016/j.procs.2020.02.045. [ Links ]

The mention of trademarks of specific equipment, instruments or materials is for identification purposes, there being no promotional commitment in relation to them, neither by the authors nor by the publisher.

Received: December 03, 2020; Accepted: March 01, 2021

*Author for correspondence: Gilberto J. López-Canteñs, e-mail: alelopez10@hotmail.com

Juan J. Pérez Paredes, Estudiante Programa de Maestría en de Ingeniería Agrícola y Uso Integral del Agua, Posgrado IAUIA. Universidad Autónoma Chapingo. Carretera México-Texcoco km 38.5, Chapingo, México, C. P. 56230, México, e-mail: josjan_@hotmail.com

Gilberto J. López-Canteñs, Profesor Titular, Universidad Autónoma Chapingo, Posgrado en Ingeniería Agrícola y Uso Integral del Agua. Carretera México-Texcoco km 38.5, Chapingo, México, C. P. 56230, México, e-mail: alelopez10@hotmail.com

Noé Velázquez-López, Profesor Titular, Universidad Autónoma Chapingo, Posgrado en Ingeniería Agrícola y Uso Integral del Agua. Carretera México-Texcoco km 38.5, Chapingo, México, C. P. 56230, México, e-mail: nvelazquez@taurus.chapingo.mx

Irineo L. López-Cruz, Profesor Titular, Universidad Autónoma Chapingo, Posgrado en Ingeniería Agrícola y Uso Integral del Agua. Carretera México-Texcoco km 38.5, Chapingo, México, C. P. 56230, México, e-mail: ilopez@correo.chapingo.mx

The authors of this work declare no conflict of interests.

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License