Вы находитесь на странице: 1из 14

Revista Mexicana de Ciencias Agrcolas Vol.2 Nm. 5 1 de septiembre - 31 de octubre, 2011 p.

659-672

PROTOTIPO PARA AUTOMATIZAR UN SISTEMA DE RIEGO MULTICULTIVO*

PROTOTYPE FOR AUTOMATING A MULTICROPPING IRRIGATION SYSTEM

Oziel Lugo Espinosa1, Abel Quevedo Nolasco1, Juan R. Bauer Mengelberg1, David Hebert del Valle Paniagua1, Enrique Palacios
Vlez1 y Miguel guila Marn1
1
Posgrado de Hidrociencias. Colegio de Postgraduados. Carretera Mxico-Texcoco, km 36.5. Montecillo, Texcoco, Estado de Mxico. C. P. 56230. Tel. 01 595 9523488,
58045900. Ext. 1072, 1383, 1462, 1465 y 1174. (anolasco@colpos.mx), (jbauer@colpos.mx), (dhvallep@colpos.mx), (epalacios@colpos.mx), (fmaguila@yahoo.com).

Autor para correspondencia: oziel@colpos.mx.

RESUMEN ABSTRACT

El riego proporciona a la planta el agua imprescindible Irrigation provides to the plant the water essential to
para su crecimiento y desarrollo; para garantizar el riego its growth and development; in order to ensure proper
adecuado, pero aprovechando al mximo los caudales irrigation and maximizing the flow of available water,
de agua disponibles, se pueden utilizar sistemas de riego the irrigation systems with automatic programming can
con programacin de control automtico, para asegurar el be used, for the purpose of ensuring supply when the
suministro cuando y en la cantidad que la planta necesite, plant needs it and in the proper amount, avoiding wasting
para evitar el desperdicio de agua. El presente trabajo se water. This paper was carried out in 2008 and aims to
llev a cabo en 2008 y tiene el propsito de mostrar un show a working prototype, based on the integration of
prototipo funcional, con base en la integracin de tres three technologies, computing, communications and
tecnologas, computacin, comunicaciones y electrnica electronics in order to automate the irrigations control
para automatizar el control del riego para sistemas cerrados for closed or open systems. Soil information was provided
o abiertos. Se proporcion informacin del suelo (porcentaje (sand content percentage, clay, organic matter and bulk
contenido de arena, arcilla, materia orgnica y densidad density) and crops as well (type, duration, root growth
aparente): y de los cultivos (tipo, duracin, funciones de functions and Kc). With this information a water balance
crecimiento radicular y Kc). Con esta informacin se elabora is developed, which results in the decision to irrigate or
un balance hdrico, el cual resulta en la decisin de regar o no not, any of the crops. When, as a result of the abatement
alguno de los cultivos. Cuando, como resultado de la funcin of water in the soil function in conjunction with water
de abatimiento del agua en el suelo en conjuncin con el balance, is determined to be watering, the software
balance hdrico, se determina que se debe regar, el software sends output digital signals by the RS232 serial port of a
enva seales digitales de salida por el puerto serial RS232 computer to an electronic device to operate the irrigation
de una computadora hacia un dispositivo electrnico, para physical devices and supplementary (e. g. electrovalves,
accionar los dispositivos fsicos de riego y complementarios fans, lamps.) A bi-directional communication subsystem
(v. gr. electrovlvulas, ventiladores, lmparas.) Se integr PC-GSM-cell Modem was integrated, which allows
un subsistema de comunicacin bidireccional PC-Modem turning on/off a device, using remote commands from a
GSM-Celular, que permite encender/apagar un dispositivo cell phone, as well as sending alarms and warnings that

* Recibido: enero de 2011


Aceptado: septiembre 2011
660 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

mediante comandos remotos desde un telfono celular, indicate the system status through text messages and
como tambin el envo de alarmas y avisos que indican el emails via mobile phone. The automation system was
estado actual del sistema, por medio de mensajes de texto va designed in modules, which allows it to adapt to various
celular y correos electrnicos. El sistema de automatizacin applications amenable to automation and control. Devices
se dise en mdulos, que permite se adapte a diversas and programs that make up the system, inputs, outputs
aplicaciones que sean susceptibles de automatizacin y and processes that control automated irrigation are
control. Se describen los dispositivos y programas que described.
componen el sistema, entradas, salidas y proceso que
controlan el riego automatizado. Key words: automation, irrigation, multicropping, water
balance.
Palabras clave: automatizacin, balance hdrico,
multicultivo, riego.
INTRODUCTION

INTRODUCCIN
Irrigation provides to the plant the water needed for its
growth and development. Given the scarcity of water, it is
El riego proporciona a la planta el agua necesaria para suitable for the plant and for the environment protection,
su crecimiento y desarrollo. Dada la escasez de agua, es that irrigation is applied with the greatest efficiency. One
conveniente para la planta pero tambin para la proteccin alternative to achieve this objective is the use of irrigation
del medio ambiente, que el riego se aplique con la mayor systems with programmable automation controller:
eficiencia. Una de las alternativas para lograr este objetivo those are systems that provide automatic execution of
es la utilizacin de sistemas de riego con programacin de irrigation through ongoing assessment of one or more
autocontrol: se trata de sistemas que establecen la ejecucin control parameters. The control factors may be edaphics
automtica de riegos mediante la valoracin continua de (e. g. moisture), composite indicators that relate weather
uno o varios parmetros de control. Los factores de control variables and the crop (such as evapotranspiration
pueden ser edficos (como la humedad), indicadores demand), and in general, variables that allow to determine
compuestos que relacionan variables meteorolgicas y el continuously, the timing and water amount needed for a
cultivo (como la demanda evapotranspirativa), y en general, crop, so that the system makes decisions with the support
variables que permitan determinar, en forma continua el of these indicators in real time. It is important, that water
momento y cantidad de agua necesaria para un cultivo, de application in terms of quantity and timing, must be
tal forma que el sistema tome decisiones con el apoyo en performed accurately in real time.
estos indicadores en tiempo real. Es importante resaltar que
la aplicacin del agua en trminos de cantidad y oportunidad, The objective of this research is to describe the development
se debe realizar con precisin en tiempo real. of a prototype-system of automatic irrigation, which
includes: the input component, consisting of weather
El objetivo de la presente investigacin, es describir el information obtained from a commercial weather station
desarrollo de un sistema-prototipo de riego automtico, (Campbell Scientific Inc.); the control component (software
que integra: el componente de entrada, consistente en la for decision-making) and the output component, consisting
informacin meteorolgica que se obtiene de una estacin of electronic devices that turn on/turn off peripherals. A
meteorolgica comercial (Campbell Scientific Inc.); power interface is added, for which the devices can be
el componente de control (de software, para la toma de electrovalves for irrigation application, among others.
decisiones); y el componente de salida, compuesto por The control is carried out through a water balance from
dispositivos electrnicos que encienden/apagan perifricos. meteorological variables and information of crops and
A esto se agrega una interface de potencia, para la cual los soils. As part of the system a bidirectional communication
dispositivos pueden ser electrovlvulas para la aplicacin subsystem was coupled via modem-cellphone, allowing
del riego, entre otros. El control se lleva a cabo por medio de both turning on/off any device such as sending messages
un balance hdrico a partir de las variables meteorolgicas, to any cell or email account, to report any action taken by
adems de la informacin de los cultivos y suelos. Como the system.
Prototipo para automatizar un sistema de riego multicultivo 661

parte del sistema se acopl un subsistema de comunicacin The presentation is done sequentially; i. e., it is demonstrated
bidireccional por medio de un modem-celular, que permite how the control system under development was started
tanto activar/desactivar algn dispositivo como el envo and the communication technologies that were used to
de mensajes hacia algn celular, o una cuenta de correo accomplish the purpose. An introduction about existing
electrnico, para informar alguna accin que realiza el systems of irrigation control precedes the description.
sistema.
Some models of irrigation control
La presentacin se hace en forma secuencial; es decir, se
indica cmo se inicio el desarrollo el sistema de control y In the search for efficiency in water use, Bralts et al. (1986),
las tecnologas de comunicacin que se usaron para cumplir developed a computer program (SCS-Scheduler) for
el propsito. Una introduccin sobre los sistemas existentes irrigation management. The input data are programmed in
de control de riego precede a dicha descripcin. a datalogger. The program includes system state, irrigation
sections, control and turning on-off of devices. Likewise,
Algunos modelos sobre el control del riego Wessels et al. (1995), developed an automatic irrigation
system controlled by computer, which uses weather data to
En la bsqueda de la eficiencia en el uso de agua, Bralts calculate evapotranspiration. Xin et al. (1995), developed
et al. (1986) desarrollaron un programa de cmputo a prototype of expert system (CIMS) for irrigation
(SCS-Scheduler) para el manejo del riego. Los datos de management in real time, frost protection and control of
entrada se programaron en un datalogger. El programa fertigation on citrus. As input data they used information
contempla estados del sistema, secciones de riego, control of soil moisture content, as well as data from an automated
y encendido y apagado de dispositivos. En el mismo weather station.
sentido, Wessels et al. (1995) desarrollaron un sistema
automtico para el riego controlado por computadora, Moreno et al. (1996), developed a computer program
el cual usa informacin meteorolgica para calcular la (AUTRIA Version 1.0) for the automation of a drip irrigation
evapotranspiracin. Xin et al. (1995) desarrollaron un system. The program implements strategies to determine
prototipo de sistema experto (CIMS) para el manejo del the time of irrigation by water balance, which is calculated
riego en tiempo real, la proteccin de heladas y el control from meteorological variables, soil and crop data and by
de la fertirrigacin en ctricos. Usaron como datos de monitoring soil moisture through an electro-tensiometer. For
entrada, informacin del contenido de humedad del suelo, the same purpose, Carrillo (1999), developed a computer
adems de datos obtenidos de una estacin meteorolgica program for control purposes, as well as programming and
automatizada. implementation of fertigation in real time and temperature
control inside the greenhouse.
Moreno et al. (1996) desarrollaron un programa de cmputo
(AUTRI Versin 1.0) para la automatizacin de un sistema guila (2003), developed an automated system for
de riego localizado. El programa implementa estrategias irrigation management in real time. The program uses
para determinar el momento del riego mediante el balance several algorithms that process weather, soil and crop
hdrico, calculado a partir de variables meteorolgicas, information and result in different irrigation strategies.
datos de suelo y cultivo y mediante el monitoreo de la All these data are processed by a datalogger of Campbell
humedad del suelo a travs de un electrotensimetro. Con Scientific Inc. company, which through its control ports,
el mismo propsito, Carrillo (1999) desarroll un programa activates the water distribution system, until the crops
de cmputo con fines de control, programacin y aplicacin needs are covered.
del fertirriego en tiempo real y control de temperatura al
interior del invernadero. Castro (2008) implemented an automation system in real
time, with verification of irrigation by using information
guila (2003) desarroll un sistema automatizado para technologies (internet and mobile devices). He compared
el manejo del riego en tiempo real. En el programa se different irrigation managements strategies (water balance,
utilizan varios algoritmos que procesan la informacin micro lysimeter and direct sensor of soil moisture by a TDR).
meteorolgica, del suelo y cultivo, y resultan en diferentes Based on these data, the datalogger automates the process
estrategias de riego. Todos estos datos se procesan por medio of reading data and the device controls action.
662 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

de un datalogger de la compaa Campbell Scientific Inc., Computer and electronic communication systems
que a travs de sus puertos de control, activa el sistema de
distribucin del agua, hasta que se cubren los requerimientos The electronic computers that allow complex mathematical
del cultivo. calculations required to make decisions, operate with low
energy levels, because of this, they do not have the ability
Castro (2008) implement un sistema de automatizacin en to directly activate an interface that turns on/off a control
tiempo real, con la verificacin del riego por medio de las device. That is why it is necessary an interface (power
tecnologas de informacin (internet y dispositivos mviles). electronics), which raises energy levels to those necessary
Compar diferentes estrategias de control de riego (balance to operate those devices. The different parts of the control
hdrico, micro lismetro y el sensor directo de la humedad systems, required to transmit information (which may be
del suelo mediante un TDR). A partir de los datos obtenidos, sensor measurements, benchmarks, output activation signals
el datalogger automatiza el proceso de lectura de datos y and communication) between the internal elements of the
accin del control de dispositivos. system (Morais and Boaventura, 2000).

La computadora y los sistemas de comunicacin Here, the data communication implies that the information
electrnica is digital in both the source and destination, although the
transmission may be digital or analog. This means that
Las computadoras electrnicas, que permiten realizar los analog channels can be used (such as amplitude or frequency
clculos matemticos complejos que se requieren para modulation) in order to transmit digital information
tomar decisiones, funcionan con bajos niveles de energa (Tomasi, 2003). Noergaard (2005), reports that all electronic
elctrica, esto hace que no tengan la capacidad para activar communications systems have to deal with problems of
directamente alguna interface que encienda o apague un electrical noise (any undesirable electrical energy that falls
dispositivo de control. Es por ello que se necesita una within the useful signal band of interest), so the isolation for
interface (electrnica de potencia), que eleve los niveles the circuit should be considered, which will avoid strange
de energa a los necesarios para accionar los mencionados behavior of the system.
dispositivos. Las diferentes partes de los sistemas de
control deben transmitir informacin (que puede ser Communication cellphone-computer-modem
mediciones de sensores, valores de referencia, seales de
activacin de salidas y comunicacin) entre los elementos For the development, a cell-modem-PC communication
internos del sistema (Morais y Boaventura, 2000). was used, where a GSM modem is a device that connects
to the GSM network to send/receive information. The GSM
Aqu la comunicacin de datos implica que la informacin is a digital network, so an analog modem is not needed
es digital tanto en la fuente como en el destino, aunque la (analog modem is an adapter that performs an analog-
transmisin puede ser en forma digital o analgica. Esto digital conversion MOdulator-DEModulator): it is enough
quiere decir que se pueden utilizar canales analgicos to use an adapter that fits the data flow from the PC, the
(como la modulacin en amplitud o frecuencia) para data flow used in digital link between the cellphone and
transmitir informacin digital (Tomasi, 2003). Noergaard the GSM network.
(2005) refiere que todos los sistemas de comunicaciones
electrnicas tienen que lidiar con problemas de ruido The PC to MODEM communication model was established
elctrico (cualquier energa elctrica indeseable que cae through the serial port of the PC. The modem works through
dentro de la banda til de la seal de inters), por lo que se a set of instructions that are called AT commands, where the
debe considerar el aislamiento para el circuito, que evitar main software controls the sending and receiving of these
comportamientos extraos del sistema. commands and the subsequent treatment of responses.

Comunicacin celular-mdem-computadora Short Message Service (SMS)

Para el desarrollo se us la comunicacin celular-modem- Its a system for sending and receiving text messages from
PC, donde un mdem GSM es un dispositivo que se conecta mobile phones. The SMS was created as part of the GSM
a la red GSM para enviar/recibir informacin. La red GSM es standard mobile telephony phase 1 in 1992. Within the
Prototipo para automatizar un sistema de riego multicultivo 663

una red digital, por lo que no se necesita un mdem analgico SMS, there are several features that are attached to the
(adaptador que realiza una conversin analgico-digital referred standard: a) a short message can have a length
MOdulador-DEModulador): basta usar un adaptador que of 160 characters that consist of words, numbers or an
se ajusta al flujo de datos provenientes del PC, al flujo de alphanumeric combination, although short messages
datos que se utiliza en el enlace digital entre el telfono y based on Non-text can also be used (for example, in binary
la red GSM. format); b) short messages are not sent directly from sender
to receiver, they are transmitted through an SMS center; and
El modelo de comunicacin PC a MODEM se estableci c) short messages can be sent and received simultaneously
mediante el puerto serial de la PC. El mdem funciona with voice, data and fax calls. This is because of the use of
mediante un conjunto de instrucciones que se denominan a dedicated radio channel during the call: short messages
comandos AT, donde el software principal controla el envo travel over a channel dedicated to signaling which is
y recepcin de estos comandos y posterior tratamiento de independent from those of traffic.
las respuestas.
Cell Phone with Windows Mobile OS
Servicio de mensajes cortos (SMS)
For some development phases Windows Mobile was used,
Es un sistema para enviar mensajes de texto y recibir which is a compact operating system with a suite of basic
mensajes de telfonos mviles. El SMS fue creado como una applications for mobile devices, based on the programming
parte del estndar de telefona mvil GSM fase 1 en 1992. library (API) Win32 of Microsoft. Devices that have
Dentro del SMS hay varias caractersticas que adhieren Windows Mobile are Pocket PC, Smartphones and Portable
al estndar referido: a) un mensaje corto puede tener una Media Center, which are designed to be similar to desktop
longitud de hasta 160 caracteres, que consisten de palabras, versions of Windows. An operating system in a mobile
nmeros o una combinacin alfanumrica, aunque tambin allows carrying out users interfaces in the cellphone itself,
se pueden utilizar mensajes cortos basados en No-texto (por simplifying the action processes to the user. For example, a
ejemplo, en formato binario); b) los mensajes cortos no se text message can be done with the push of a button, or display
envan directamente del remitente al receptor, sino que se information graphically.
transmiten a travs de un centro de SMS; y c) los mensajes
cortos se pueden enviar y recibir simultneamente con voz,
datos y llamadas del fax. Esto se debe por el uso de un canal MATERIALS AND METHODS
de radio dedicado durante la llamada: los mensajes cortos
viajan sobre un canal dedicado a sealizacin independiente
de los de trfico. The irrigation prototype development, involved the use of
software, electronic devices (for the control of output devices
Celular con sistema operativo windows mobile and two-way communication), weather information (input),
and soil(s) and crops(s) information.
Para algunas fases del desarrollo se us Windows Mobile
que es un sistema operativo compacto, con una suite de The software development tool, was the NetBeans IDE
aplicaciones bsicas para dispositivos mviles con base en 6.7.1 (Java application development platform, trademark of
la librera de programacin (API) Win32 de Microsoft. Sun Microsystems), which allowed the creation of intelligent
Los dispositivos que llevan Windows Mobile son Pocket automatic irrigation software (IAI) for communication and
PC, Smartphones y Media Center porttil, que se han irrigations control. In addition the suite Visual Studio 2008
diseado para ser similares a las versiones de escritorio was used (Microsoft Corporation), for the development of
de Windows. Un sistema operativo en un celular permite the mobile devices software (cellphone), plus a laptop for
realizar interfaces de usuario en el propio celular, lo que the IAIs development and installation. For the bidirectional
simplifica al usuario los procesos de accin. Por ejemplo, output communication, an electronic device was developed
se puede construir un mensaje de texto con apretar un slo which uses the RS232 serial port of a computer) and a modem-
botn, o mostrar informacin de forma grfica. cellphone (commercial use) that was installed via USB.
664 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

MATERIALES Y MTODOS The following describes the integration of all components,


after presenting the parts of the prototype control system.
The control section was made based on the water balance
El desarrollo del prototipo de riego implic el uso de from the weather, soil and crop information. The balance
software, dispositivos electrnicos (para el control de los is made between inputs and outputs of water to the system,
dispositivos de salida y de comunicacin bidireccional), where water losses in the system are efficiently compensated
informacin meteorolgica (de entrada), e informacin del from a function of abatement water in the soil. Water balance
suelo (s) y cultivo (s). was the tool for decision-making in the verification of the
availability of water in the crop-soil system.
La herramienta de desarrollo de software fue el entorno
NetBeans IDE 6.7.1 (plataforma de desarrollo de It is a widely used method in studies of agricultural zoning,
aplicaciones Java, Marca registrada de Sun Microsystems), the influence of water deficiency on crops productivity
que permiti la creacin del software riego inteligente (Calvache et al., 1997) and in design, implementation and
automtico (RAI) para la comunicacin y el control monitoring of irrigation and drainage systems. Silva (2001),
del riego. Adems se us la suite Visual Studio 2008 points out that the water balance can be used to establish
(Microsoft Corporation) para desarrollar el software del comparisons between the water conditions of different
dispositivo mvil (celular), adems de una computadora localities. It is also applied to different time scales depending
porttil para el desarrollo e instalacin del RAI. Para la on the information availability. The balance of soil moisture
comunicacin bidireccional de salida, se desarroll un content is determined by the equation:
dispositivo electrnico que usa el puerto serial RS232 de
una computadora) y un modem-celular (de uso comercial) Wi= Wi-1 +Pei - ETri 1)
que se instal por USB.
Where: wi= soil moisture at the time i, (mm); wi-1= soil moist
A continuacin se describe la integracin de todos los ure at the time i-1, (mm); Pei= effective rainfall, (mm); ETri=
componentes, tras presentar las partes del prototipo del actual crop evapotranspiration, (mm).
sistema de control. La parte de control se realiz con base en
el balance hdrico a partir de la informacin meteorolgica, The actual crop evapotranspiration is estimated with the
suelo y cultivo. El balance se realiza entre las salidas y following equation.
entradas de agua al sistema, donde se compensan de una
forma eficiente las prdidas de agua en el sistema a partir de ETr= ET0 Kc 2)
una funcin de abatimiento de agua en el suelo. El balance
hdrico fue la herramienta para la toma de decisiones en Where: ETr= actual crop evapotranspiration, (mm h-1); ET0=
la verificacin de la disponibilidad de agua en el sistema reference evapotranspiration, (mm h-1); Kc = coefficient of
cultivo-suelo. crops development.

Es un mtodo ampliamente usado en los estudios de In order to estimate the ET0, the method of Penman-Monteith
zonificacin agrcola, influencia de la deficiencia hdrica (1990) was used and it is described by the equation:
en la productividad de los cultivos (Calvache et al., 1997),
(Rn - G) Mw(ea-ed)
y en diseo e implementacin y monitoreo de sistemas de ET0= + 3)
(+) R rv (+)
riego y drenaje. Silva (2001) seala que el balance hdrico
se puede utilizar para establecer las comparaciones Where: ET0= reference evapotranspiration (mm h-1); =
entre las condiciones hdricas de localidades distintas. saturation vapor pressure gradient (Pa oC-1); Rn= Net radiation
Incluso, se aplica a diferentes escalas de tiempo en (kW m-2); = latent heat of vaporization of water (2450 kJ
funcin de la disponibilidad de informacin. El balance kg-1); G= soil heat flux (kW m-2); = apparent psychometric
del contenido de humedad del suelo se determina con la constant (Pa oC-1); Mw= molecular mass of water (0.018 kg
ecuacin: mol-1); ea-ed= vapor pressure deficit (kPa); R= ideal gas
constant (8.3110-3 kJ mol-1 K-1); = temperature in Kelvin
Wi= Wi-1 +Pei - ETri 1) degrees (293 K ); rv= resistance of the crops leaf area (s m-1).
Prototipo para automatizar un sistema de riego multicultivo 665

Donde: wi= humedad del suelo en la hora i, (mm); wi-1= Effective precipitation was adjusted with the following
humedad del suelo en la hora i-1, (mm); Pei= precipitacin model (Palacios and Exebio, 1989):
efectiva, (mm); ETri= evapotranspiracin real del cultivo, (mm).
Pe= Rain total - (0.05 Rain total)2. 4)
La evapotranspiracin real del cultivo se estima con la
siguiente ecuacin. Where: Pe= effective rainfall (mm).

ETr= ET0 Kc 2) In order to determine soil properties, estimation of field


capacity (FC) and permanent wilting point (PWP), the
Donde: ETr= evapotranspiracin real del cultivo, (mm following equations were used (Rawls et al., 1983):
h-1); ET0= evapotranspiracin de referencia, mm h-1); Kc=
coeficiente de desarrollo del cultivo. PWP= 0.0854 - 0.0004X + 0.0044 (Y) + 0.0122 (Z)
- 0.0182 (D) 5)
Para estimar la ET0 se us el mtodo de Penman-Monteith
(1990) que se describe con la ecuacin: FC= 0.3486 - 0.0018 (X) + 0.0039 (Y) + 0.0228 (Z)
- 0.0738 (D) 6)
(Rn - G) Mw(ea-ed)
ET0= + 3)
(+) R rv (+)
Where: X, Y, Z = percentages of sand, clay and organic
Donde: ET0= evapotranspiracin de referencia (mm h-1); = matter respectively; D = soil bulk density (g cm-3).
gradiente de saturacin de presin de vapor (Pa oC-1); Rn=
radiacin neta (kW m-2); = calor latente de vaporizacin The calculation of the total moisture readily available in
del agua (2450 kJ kg-1); G= flujo de calor del suelo (kW the root zone (HuFaAp, equation 7), requires the rooting
m-2); = constante psicomtrica aparente (Pa oC-1); Mw= depth (ProRaz, equation 8) and an abatement factor of
masa molecular del agua (0.018 Kg mol-1); ea-ed= dficit de allowable moisture (FaAbHuPer, equation 9). The models
presin de vapor del aire (kPa); R= constante de gas ideal of rooting depth and the abatement factor for the zucchini
(8.3110-3 kJ mol-1 K-1); = temperatura en grados Kelvin grey summer squash crop (Cucurbita spp.), were proposed
(293 K ); rv= resistencia del rea foliar del cultivo (s m-1). by Castro (2008).

La precipitacin efectiva se ajust con el siguiente modelo HuFaAp = HAProRazFaAbHuPer 7)


(Palacios y Exebio, 1989):
Where: HuFaAp= readily available total moisture in the
Pe= Lluvia total - (0.05 Lluvia total)2. 4) root zone (scalar); HA = available moisture; ProRaiz =
rooting depth; FaAbHuPer = abatement factor of allowable
Donde: Pe= precipitacin efectiva (mm) moisture.

Para determinar las propiedades del suelo, estimacin de Role of roots development
capacidad de campo (CC) y punto de marchitez permanente
(PMP), se usaron las siguientes ecuaciones (Rawls et al., Allen et al. (1998), mentioned for zucchini grey summer
1983): squash (Cucurbita spp.), a maximum rooting depth of 0.6
to 1 m. However, for the planning of irrigation a depth of
PMP= 0.0854 - 0.0004(X) + 0.0044(Y) + 0.0122 (Z) 0.6 m is suggested. As an initial value of rooting depth, it
- 0.0182 (D) 5) was taken a 0.1 m value, which corresponds to the length of
seedling roots when planting; the subsequent values are
CC= 0.3486 - 0.0018(X) + 0.0039(Y) + 0.0228 (Z) calculated with a curve similar to the plants development
- 0.0738 (D) 6) represented by Kc curve (equation 10).

Donde: X, Y, Z= porcentajes de arena, arcilla y materia ProRaz= 0.020395275 + 0.0027690429X +


orgnica respectivamente; D= densidad aparente del suelo 0.00020960909X2 - 0.0000034621581X3 + 0.000000014
(g cm-3). 608712X4 8)
666 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

El clculo de la humedad total fcilmente aprovechable Where: X = Julian day of the total crops time in days
dentro de la zona radicular (HuFaAp, ecuacin 7), necesita (zero - last day).
la profundidad de las races (ProRaz, ecuacin 8) y un factor
de abatimiento de la humedad permisible (FaAbHuPer, The abatement factor is given by the equation:
ecuacin 9). Los modelos de profundidad radicular y del
factor de abatimiento para el cultivo de calabaza zucchini FaAbHuPer= 0.350546158672458 - 0.001495941458749X
grey (cucurbita spp.), fueron propuestos por Castro (2008). + 0.000165169025107X 2 - 0.000006529893935X 3 +
0.000000075165292X4 - 0.000000000266580X5 9)
HuFaAp = HAProRazFaAbHuPer 7)
Where: X = Julian day of the total crops time in days
Donde: HuFaAp= humedad fcilmente aprovechable (zero - last day).
total dentro de la zona radicular (escalar); HA= humedad
aprovechable; ProRaz= profundidad de la raz; FaAbHuPer= The FAO-paper No. 56 CropEvapotranspiration,
factor de abatimiento de la humedad permisible. Kc values are given for three stages of development,
designated as Kcini, Kcmed and Kcfin. For grey zucchini
Funcin de desarrollo radicular summer squash (Cucurbita spp.), there were taken values
of 0.52, 0.9, 0.9 and 0.7 for stages B, C, D and E shown in
Allen et al. (1998) mencionan para calabaza zucchini Figure 1. For estimating Kc, the model proposed by Castro
grey (cucurbita spp.) una profundidad mxima de races (2008) was used, as:
de 0.6 a 1 m. Sin embargo, sugiere para la planeacin
del riego una profundidad de 0.6 m. Como valor inicial Kc= 0.41470218 - 0.00034576721X + 0.00065725214X2 -
de profundidad de races se tom un valor de 0.1 m, que 0.000011333138X3 + 0.000000049443828X4 10)
corresponde a la longitud de las races de las plntulas a la
hora de la plantacin; los valores subsecuentes se calculan Where: X= crops time in days (90 days were considered for
con una curva semejante al desarrollo vegetativo de la planta the duration of the entire crops cycle) and Kc is the crops
representado por la curva Kc (ecuacin 10). coefficient.

ProRaz= 0.020395275 + 0.0027690429X + Entrada Control Salida

0.00020960909X2 - 0.0000034621581X3 +
0.000000014608712 X4 8)
Informacin Meteorolgica Software Modem-celular del usuario
Temperatura Riego automtico Aviso de un evento (GSM)
Donde: X= da juliano del total de la duracin del cultivo en Humedad relativa inteligente (RAI)
Celular del usuario-RAI
Radiacin global
das (cero - ltimo da de duracin). Precipitacin
Activa/desactiva dispositivos

Velocidad del viento RAI-Correo electrnico


El factor de abatimiento est dado por la ecuacin: De cultivos
Mensaje de texto

Fecha de siembra Comunicacin


Fucin de crecimiento radicular Balance hdrico
FaAbHuPer= 0.350546158672458 - 0.001495941458749 Fucin de Kc
X + 0.000165169025107X2 - 0.000006529893935X3 +
De suelos
0.000000075165292X4 - 0.000000000266580X5 9) % arcilla
% arena
% materia orgnica Dispositivos electrnicos
Donde: X= da juliano del total de la duracin del cultivo en Densidad aparente No Si
Comunicacin
(modem-celular)
das (cero - ltimo da de duracin). Humedad inicial
Fucin de humedad permisible
Falta agua?

Base de datos en internet Activa/desactiva perifricos


En el FAO-paper No 56 CropEvapotranspiration se presentan
valores Kc para tres etapas de desarrollo, designadas como
Kcini, Kcmed y Kcfin. Para calabaza zucchini grey (cucurbita Figura 1. Diagrama general del sistema de riego automtico
spp.), se tomaron valores de 0.52, 0.9, 0.9 y 0.7 para las etapas inteligente.
B, C, D, y E que se muestran en la Figura 1. Para estimar Figure 1. General diagram of intelligent automatic irrigation
Kc se us el modelo propuesto por Castro (2008), como: system.
Prototipo para automatizar un sistema de riego multicultivo 667

Kc= 0.41470218 - 0.00034576721X + 0.00065725214X2 RESULTS AND DISCUSSION


- 0.000011333138X3 + 0.000000049443828X4 10)

Donde: X= duracin del cultivo en das (se consideraron The irrigation automation system is first described,
90 das para la duracin de todo el ciclo del cultivo) y Kc which is integrated into the software called intelligent
representa el coeficiente del cultivo. automatic irrigation (IAI). The system was subdivided
into three parts: input, control and output. These are
complemented by the communication. Figure 1, indicates
RESULTADOS Y DISCUSIN the integration of these elements and the interaction
between them. Figure 2, shows the main dialog of the
software.
Se describe primero el sistema de automatizacin de
riego, que se integra en el software que se denomin riego
automtico inteligente (RAI). El sistema de subdividi
en tres partes: la entrada, el control, y la salida. stas se
complementan con la comunicacin. En la Figura 1, se
indica la integracin de estos elementos y la interaccin entre
los mismos. En la Figura 2 se indica el cuadro de dilogo
principal del software.

Informacin de entrada

El sistema usa la informacin meteorolgica que se genera


de una estacin meteorolgica Campbell con los siguientes
sensores: temperatura del ambiente, radiacin global,
precipitacin, velocidad del viento y humedad relativa, en
intervalos de cada hora. Figura 2. Dilogo principal de riego automtico inteligente
(RAI).
Apartir de esta informacin se determina la evapotranspiracin. Figure 2. Main dialogue intelligent automatic irrigation
Por parte de los cultivos se obtiene el tipo de cultivo, y tres (IAI).
funciones: el coeficiente del cultivo Kc, de desarrollo
radicular y la duracin del cultivo en das. En cuanto a las Input information
caractersticas del suelo, se necesitan conocer los porcentajes
de arcilla, arena, materia orgnica y densidad aparente. The system uses weather data that is generated from a
Todos estos datos (meteorolgicos, propiedades del suelo Campbell weather station with the following sensors: air
e informacin de los cultivos) se almacenan en una base de temperature, global radiation, precipitation, wind speed
datos. En la Figura 3 se indica el cuadro dilogo con el que and relative humidity at hourly intervals.
se introducen todos los datos que necesita el sistema.
From this information, evapotranspiration is determined.
Sistema de control: riego automtico inteligente (RAI) From the crops, the type of crop and three functions
are obtained: the Kc crops coeff icient, roots
A partir de la informacin meteorolgica, de los development and growth duration in days. From the soils
cultivos y de los suelos, se hace un balance hdrico. characteristics its necessary to know: the percentages
Para un cultivo, se parte de la informacin del suelo: se of clay, sand, organic matter and bulk density. All
calculan la capacidad de campo y el punto de marchitez these data (meteorological, soils properties and crops
permanente, a partir de los cuales se determina la information) are stored in a database. Figure 3 shows
humedad aprovechable, usando la densidad aparente y la the dialog box with which is enter all data needed by
profundidad (como una funcin del crecimiento radicular the system.
668 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

del cultivo). Para el clculo del balance hdrico se parte de


la humedad inicial del suelo, haciendo uso de la ecuacin
(1). Se activa el riego si el contenido de humedad resulta
menor que un nivel de humedad definido previamente por
el usuario (que dentro del software se define por la funcin
de abatimiento permisible). Peridicamente, en intervalos
definidos en el sistema, se realiza la recuperacin de datos,
almacenamiento, clculos necesarios para cada cultivo y la
toma de decisiones para regar.

Los datos almacenados en la base de datos de informacin


meteorolgica permiten revisar los datos actuales
(Figura 4a), los histricos (Figura 4b) o bien hacer una Figura 3. Dilogo de captura de informacin de cultivo y suelo.
consulta de alguna variable meteorolgica (Figura 4c). Figure 3. Capture dialogue of crop and soil information.
La consulta comienza por la seleccin de una variable y
a continuacin se especifican los criterios de bsqueda Control system: intelligent automatic irrigation (IAI)
(con los operadores mayor, menor, o igual que un valor),
en un periodo determinado. A water balance is made from the information obtained
from the weather, the crops and the soils. For a crop, it all
Sistemas de salida (acciones de los sistemas de control) starts from the soil information: field capacity and wilting
point are calculated, from which the available moisture is
Este componente consiste de tres partes: una interface de determined using bulk density and depth (as a crops root
comunicacin electrnica que se vincula con una interface de growth function). The water balance calculation starts with
potencia, y un mdem celular. En forma conjunta activan los the initial soil moisture, using the equation 1. Irrigation
dispositivos, que pueden ser electrovlvulas, ventiladores, is activated if the moisture content falls below a level of
calefactores, entre otros. humidity defined by the user (which inside the software is

a) b)

c)
Figura 4. Dilogos para mostrar la informacin meteorolgica. a) datos actuales; b) datos histricos; y c) consulta de variables
meteorolgicas.
Figure 4. Dialogs to display weather information. a) current data; b) historic data; and c) meteorological variables query.
Prototipo para automatizar un sistema de riego multicultivo 669

Comunicacin de salida (PC-SERIAL) defined by the abatement allowable function). Periodically


at intervals defined in the system, there are performed: data
La comunicacin de salida se realiza con un dispositivo recovery, storage, calculations required for each crop and
electrnico integrado por circuitos electrnicos, cuya the decision to irrigate.
funcin es enviar informacin digital (bits) por medio
de la comunicacin serial. Para la comunicacin entre The data stored in the database of meteorological
la computadora y el circuito electrnico, se utiliz el information, allow reviewing the current data (Figure 4a),
microcontrolador PIC18F88 de Microchip, que se program historic data (Figure 4b) or query for any weather variable
con el compilador CCS-C, que permiti codificar en lenguaje (Figure 4c). The consultation begins by selecting a variable
C el problema, y que gener los archivos en cdigo mquina and then the searching criteria are specified (with operators
que se graban fsicamente en el dispositivo (Figura 5a). Dado more, less, or equal to a value) in a given period.
que la seal que se trasmite no puede encender/apagar un
dispositivo, se utiliz una interfaz electrnica de potencia. Output systems (actions of control systems)

Dispositivo de potencia This component consists of three parts: an electronic


communication interface that is linked to a power interface
La funcin de las interfaces de potencia es proporcionar and a cellphone modem. Together they activate devices,
la corriente elctrica necesaria para que las seales which may be electrovalves, fans, and heaters, among others.
lgicas generadas por el controlador puedan actuar sobre
los elementos fsicos. Es decir, se usan para transportar Communication output (PC-SERIAL)
energa, integrada por optoacopladores y rels, quedando a
disposicin del usuario la eleccin de estos ltimos, ya que The output communication is done with an electronic device
depende del voltaje de los dispositivos que se tengan que comprising electronic circuits, whose function is to send
controlar (Figura 5b). digital information (bits) using serial communication. For

Figura 5. Dispositivos. a) interface de comunicacin de salida de la PC; y b) Interface de potencia.


Figure 5. Devices. a) communication interface of the PC output; and b) power interface.

Comunicacin RAI, modem-celular y celular communication between the computer and the electronic
circuit a PIC18F88 microcontroller from Microchip
El software RAI se puede configurar para encender/apagar was used, which was programmed with the CCS-C
dispositivos a partir del celular. Se parte de configurar el compiler, allowing codifying in C language the problem
mdem-celular que se instala en la computadora. Hecho and generated files in machine code which are recorded
esto, se pueden activar o desactivar los dispositivos que se physically on the device (Figure 5a). Since the transmitted
conectan a algn puerto. La aplicacin que proporciona signal cannot turn on/off a device, a power electronics
esta funcionalidad se desarroll para Windows Mvil. En interface was used.
670 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

laFigura 6a se indica el cuadro de dilogo principal, con el que Power device


se puede hacer una consulta, enviar comandos para activar los
dispositivos, definir alarmas y avisos va correo electrnico, The role of the power interfaces is to provide the necessary
mensajes SMS y llevar a cabo la configuracin del software. electrical power for the logic signals generated by the
controller, so that it can act on physical elements. That is,
Para configurar la aplicacin, se especifica el nmero telefnico they are used to transport energy, composed by optocouplers
del mdem celular, y se indica si se desea que se confirme - o and relays, being available to the user to choose the latter
no - el mensaje SMS (Figura 6b). La opcin de consulta ofrece ones, as it depends on the voltage of devices that need to be
un campo en el que se pueden pedir las condiciones actuales controlled (Figure 5b).
para un cultivo establecido o bien de un puerto; es decir, el
estado (encendido o apagado) de algn dispositivo de riego de IAI communication, modem-cell phone and cell phone
los que controlan el sistema (Figura 6c). La interfaz que permite
el envo de comandos para encender/apagar un dispositivo IAIs software can be configured to turn on/off devices from
asociado a un puerto, se ilustra en la Figura 6d. Con las alarmas cell phones. It starts with configuring the modem-cell phone,
(Figura 6e) se visualizan los datos enviados por la computadora installed on the computer. Once this is done, the devices
a travs del mdem GSM, dando los informes de la situacin that are connected to a port can be enabled or disabled. The
actual del cultivo en particular, y con los correos electrnicos application that provides this functionality was developed for
e-mail y mensajes SMS, se puede a partir del celular, enviar Windows Mobile. Figure 6a, shows the main dialog box with
un mensaje a alguna cuenta de correo electrnico (Figura 6f). which a query can be made, commands to activate the devices
can be send, setting the alarms and warnings via email, SMS
messages and perform the software configuration.

For configuring the application, the number of the cell phone


modem has to be specified and it has to be indicated if the
confirmation of the SMS message is wished (Figure 6b). The
query option provides a field where the actual conditions of
a) b) an established crop or a port can be asked for, i.e., the state
(on or off) of a watering device controlled by the system
(Figure 6c). The interface for sending commands to turn
on/off a device associated with a port is illustrated in Figure
6d. With alarms (Figure 6e), data sent by the computer are
displayed through the GSM modem, giving the reports of
the current situation of a particular crop and with emails and
c) d)
SMS messages, messages to any email account can be sent
from the cell phone as well (Figure 6f).

CONCLUSIONS

e) f) There was achieved to turn on/off any device through the


mobile phone, enabling the automation of irrigation in real
Figura 6. Dilogo principal de RAI en el celular, bajo Windows time, based on variables of soil, climate and cultivation, in
Mvil. a) configuracin de RAI; b) consultas de campos
order to achieve greater efficiency in the implementation of
o de puertos; c) envi de comandos; d) alarmas; y e)
water, a limited resource.
avisos del celular a una cuenta de correo electrnico (f).
Figure 6. IAIs main dialog in the Windows Mobile phone. a)
Setting of IAI; b) fields or ports queries; c) sending The use of communication technologies such as mobile
commands; d) alarms; and e) notices from the phone phones provides tracking and even the systems control
to an email account (f). in real time, obtaining system status information
Prototipo para automatizar un sistema de riego multicultivo 671

CONCLUSIONES and sending commands or orders of execution, which


results in immediate benefits in terms of irrigation
implementation.
Se logr encender/apagar algn dispositivo por medio de
telfonos celulares, que a su vez posibilita la automatizacin In order that prototype performs the appropriate
del riego, en tiempo real, a partir de variables de suelo, clima calculations (water quantity and timing) for each crop, is
y cultivo, con el fin de de alcanzar una mayor eficiencia en needed to introduce in the systems parameters of the soil
la aplicacin del limitado recurso agua. where each crop is established and characteristic data for
each crop (Kc).
La utilizacin de tecnologas de comunicacin como
telfonos celulares, facilita un seguimiento e incluso el End of the English version
control del sistema en tiempo real, al obtener informacin
del estado del sistema y enviar comandos u rdenes de
ejecucin, lo que se traduce en beneficios inmediatos en
cuanto a la aplicacin del riego. Carrillo, F. G. 1999. Sistema automtico de fertirriego
para cultivos ornamentales bajo condiciones
Para que el prototipo realice los clculos adecuados (cantidad de invernadero. Tesis de maestra. Colegio de
de agua y momento adecuado) para cada cultivo, es necesario Postgraduados. Montecillo, Texcoco, Estado de
introducir en el sistema los parmetros del suelo donde se Mxico. 75 p.
establece cada cultivo y los datos caractersticos de cada Castro, P. M. 2008. Sistema de riego automatizado en
cultivo (Kc). tiempo real con balance hdrico, medicin de
humedad del suelo y lismetro. Agric. Tc. Mx.
34(4):459-470.
AGRADECIMIENTOS Calvache, M.; Reichard, K. y Bacchi, O. 1997. Efecto de
pocas de deficiencia hdrica en evapotranspiracin
actual de cultivo. Congreso brasileiro de
El autor principal agradece a las siguientes personas agrometeorologa. 668-670 p.
su apoyo para el desarrollo del prototipo: Luis Carlos Instituto Mexicano de Tecnologa del Agua (IMTA).
Miranda Trujillo, Ricardo Luna, Pedro Ros Gonzlez, 2009. Morelos, Mxico. URL: http://www.imta.
Ricardo Campos, Arturo Gamalier, Gilberto Lugo, entre gob.mx/.
otros. Monteith, J. L. and Unsworth, M. H. 1990. Principles of
environmental physics. 2nd Ed. Edward Arnold.
London, UK. 291 p.
LITERATURA CITADA Morais, R. and Boaventura, J. 2000. Agritronics: a
distributed data acquisition and control network
for agriculture environments. Acta Hortic.
guila, M. F. 2003. Entwicklungeinesvollautomatischen 534:319-325.
Bewsserungsregelungssystemsfr den Moreno, A. S.; Tijerina. Ch. L.; Acosta, H. R.; Ruiz, C.
Freilandgemsebau. Verlag Grauer, Beuren. V. M.; Zazueta, R. F. S. y Crespo, P. G. 1996.
Stuttgart, Alemania. Automatizacin de un sistema de riego localizado
Allen, R. G.; Pereira, L. S.; Raes, D. and Smith, M. 1998. aplicado a una plantacin de durazno. Agrociencia.
Crop evapotranspiration. Guidelines for computing 33(2):191-197.
crop water requirements. Food and Agriculture Noergaard, T. 2005. Embedded systems architecture.
Organization FAO, Irrigation and Drainage. Paper A comprehensive guide for engineers and
Nm. 56. 300 p. programmers. Elsevier. USA. 642 p.
Bralts, V. F.; Driscoll, M. A. and Kelly, S. F. 1986. Palacios, V. E. y Excebio, A. 1989. Introduccin a la teora
Microcomputer based irrigation management and de la operacin de distritos de riego. Segunda
control system. ASAE, St Joseph, MI. USA. Paper reimpresin corregida. Centro de Hidrociencias.
Nm. 86. 1223 p. Colegio de Postgraduados. D. F., Mxico.
672 Rev. Mex. Cienc. Agrc. Vol. 2 Nm. 5 1 de septiembre - 31 de octubre, 2011 Oziel Lugo Espinosa et al.

Rawls, W. J.; Brakenseik, D. L. and Sony, B. 1983. Wessels, W. P. J.; Steyn, W. H. and Moolman, J. H. 1995.
Agricultural management of soil water Automatic microirrigation and salt injection
properties, part I: soil water retention and green- system for research and commercial applications.
ampt infiltration parameters. Trans. ASAE. Proceeding of the fifth international microirrigation
26(6):1751-1754. Congress. Orlando Fl., USA. ASAE. 116-122 pp.
Silva, V. M. A. 2001. Meteorologa e climatologa. Xin, J. N.; Zazueta, F. S.; Smajstrla, A. G. and Wheaton,
Brasilia: INMET, Grfica y Editora Pax. 532 p. T. A. 1995. Real time expert system for citrus
Tomasi, W. 2003. Sistemas de comunicaciones microirrigation management. Procededing of
electrnicas. Pearson Educacin. Mxico. the Fifth International Microirrigation Congress.
976 p. Orlando, Florida, USA. ASAE. 787-791 pp.

Вам также может понравиться