<?xml version="1.0" encoding="ISO-8859-1"?><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<front>
<journal-meta>
<journal-id>1665-6423</journal-id>
<journal-title><![CDATA[Journal of applied research and technology]]></journal-title>
<abbrev-journal-title><![CDATA[J. appl. res. technol]]></abbrev-journal-title>
<issn>1665-6423</issn>
<publisher>
<publisher-name><![CDATA[Universidad Nacional Autónoma de México, Instituto de Ciencias Aplicadas y Tecnología]]></publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id>S1665-64232003000200004</article-id>
<title-group>
<article-title xml:lang="en"><![CDATA[Minimal fuzzy microcontroller implementation for didactic applications]]></article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname><![CDATA[Lara-Rojo]]></surname>
<given-names><![CDATA[F.]]></given-names>
</name>
<xref ref-type="aff" rid="A01"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname><![CDATA[Sánchez]]></surname>
<given-names><![CDATA[E. N.]]></given-names>
</name>
<xref ref-type="aff" rid="A02"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname><![CDATA[Zaldívar-Navarro]]></surname>
<given-names><![CDATA[D.]]></given-names>
</name>
<xref ref-type="aff" rid="A03"/>
</contrib>
</contrib-group>
<aff id="A01">
<institution><![CDATA[,Instituto Tecnológico y de Estudios Superiores de Occidente  ]]></institution>
<addr-line><![CDATA[Guadalajara Jalisco]]></addr-line>
<country>México</country>
</aff>
<aff id="A02">
<institution><![CDATA[,Instituto Politécnico Nacional Centro de Investigación y de Estudios Avanzados ]]></institution>
<addr-line><![CDATA[Guadalajara Jalisco]]></addr-line>
<country>México</country>
</aff>
<aff id="A03">
<institution><![CDATA[,Universidad de Guadalajara División de Electrónica y Computación ]]></institution>
<addr-line><![CDATA[Guadalajara Jalisco]]></addr-line>
<country>México</country>
</aff>
<pub-date pub-type="pub">
<day>00</day>
<month>00</month>
<year>2003</year>
</pub-date>
<pub-date pub-type="epub">
<day>00</day>
<month>00</month>
<year>2003</year>
</pub-date>
<volume>1</volume>
<numero>2</numero>
<fpage>137</fpage>
<lpage>147</lpage>
<copyright-statement/>
<copyright-year/>
<self-uri xlink:href="http://www.scielo.org.mx/scielo.php?script=sci_arttext&amp;pid=S1665-64232003000200004&amp;lng=en&amp;nrm=iso"></self-uri><self-uri xlink:href="http://www.scielo.org.mx/scielo.php?script=sci_abstract&amp;pid=S1665-64232003000200004&amp;lng=en&amp;nrm=iso"></self-uri><self-uri xlink:href="http://www.scielo.org.mx/scielo.php?script=sci_pdf&amp;pid=S1665-64232003000200004&amp;lng=en&amp;nrm=iso"></self-uri><abstract abstract-type="short" xml:lang="en"><p><![CDATA[Fuzzy techniques have been successfully used in control in several fields, and engineers and researchers are today considering fuzzy logic algorithms in order to implement intelligent functions in embedded systems. We have started to develop a set of teaching tools to support our courses on intelligent control. Low cost implementations of didactic systems are particularly important in developing countries. In this paper we present the implementation of a minimal PD fuzzy four-rule algorithm in a low-cost 8-bit microcontroller, using a fuzzy logic software development system. On this ground we constructed a stand-alone fuzzy controller for a didactic liquid level system. We describe the methodology we followed, and present simulation and real time results of this controller.]]></p></abstract>
<abstract abstract-type="short" xml:lang="es"><p><![CDATA[Las técnicas borrosas han sido utilizadas exitosamente en problemas de control en varios campos, y tanto ingenieros como investigadores están dirigiendo su atención a los algoritmos de lógica borrosa con miras a la implementación de funciones inteligentes en sistemas anidados. Nosotros hemos iniciado el desarrollo de un conjunto de herramientas didácticas para apoyar nuestros cursos en control inteligente. La implementación de sistemas didácticos de bajo costo es particularmente importante para los países en desarrollo. En este artículo presentamos la implementación de un algoritmo PD borroso de cuatro reglas mínimo en un microcontrolador de 8 bits de bajo costo, usando un sistema de desarrollo de software de lógica borrosa. En base a este desarrollo construimos un controlador borroso autónomo para un sistema de nivel de líquido didáctico. Describimos la metodología que empleamos, y presentamos los resultados de simulación y tiempo real para este controlador.]]></p></abstract>
<kwd-group>
<kwd lng="en"><![CDATA[Fuzzy control]]></kwd>
<kwd lng="en"><![CDATA[level control]]></kwd>
<kwd lng="en"><![CDATA[didactic workbench]]></kwd>
<kwd lng="en"><![CDATA[minimal rule number]]></kwd>
<kwd lng="en"><![CDATA[real-time implementation]]></kwd>
</kwd-group>
</article-meta>
</front><body><![CDATA[  	    <p align="center"><font face="verdana" size="4"><b>Minimal fuzzy microcontroller implementation for didactic applications</b></font></p>  	    <p>&nbsp;</p>  	    <p align="center"><font face="verdana" size="2"><b>F. Lara&#45;Rojo<sup>1</sup>, E. N. S&aacute;nchez<sup>2</sup> &amp; D. Zald&iacute;var&#45;Navarro<sup>3</sup></b></font></p>  	    <p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2"><sup>1</sup> <i>ITESO University. A.P. 31&#45;175. 45051 Guadalajara, Jal., M&eacute;xico.</i> Tel. 52&#45;3669.3517, Fax. 52&#45;3669.3511, E&#45;mail <a href="mailto:flara@iteso.mx">flara@iteso.mx</a></font></p>  	    <p align="justify"><font face="verdana" size="2"><sup>2</sup><i>&nbsp;CINVESTAV. Unidad Guadalajara. A. P. 31&#45;438. 45091 Guadalajara, Jal., M&eacute;xico.</i> Tel. 52&#45;3684.1580, Fax. 52&#45;3684.1708. E&#45;mail <a href="mailto:sanchez@gdl.cinvestav.mx">sanchez@gdl.cinvestav.mx</a></font></p>  	    <p align="justify"><font face="verdana" size="2"><sup>3</sup> U<i>niversidad de Guadalajara . Divisi&oacute;n de Electr&oacute;nica y Computaci&oacute;n. 44860 Guadalajara, Jal. M&eacute;xico.</i> Tel. y Fax 52&#45;3619 8471, E&#45;mail <a href="mailto:zaldivar@cucs.udg.mx">zaldivar@cucs.udg.mx</a></font></p>  	    <p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2">Received: May 29<sup>th</sup> 2001.    ]]></body>
<body><![CDATA[<br> 	Accepted: March 7<sup>th</sup> 2002.</font></p>  	    <p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2"><b>ABSTRACT</b></font></p>      <p align="justify"><font face="verdana" size="2">Fuzzy techniques have been successfully used in control in several fields, and engineers and researchers are today considering fuzzy logic algorithms in order to implement intelligent functions in embedded systems. We have started to develop a set of teaching tools to support our courses on intelligent control. Low cost implementations of didactic systems are particularly important in developing countries. In this paper we present the implementation of a minimal PD fuzzy four&#45;rule algorithm in a low&#45;cost 8&#45;bit microcontroller, using a fuzzy logic software development system. On this ground we constructed a stand&#45;alone fuzzy controller for a didactic liquid level system. We describe the methodology we followed, and present simulation and real time results of this controller.</font></p>  	    <p align="justify"><font face="verdana" size="2"><b>Keywords:</b> Fuzzy control, level control, didactic workbench, minimal rule number, real&#45;time implementation.</font></p>  	    <p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2"><b>RESUMEN</b></font></p>      <p align="justify"><font face="verdana" size="2">Las t&eacute;cnicas borrosas han sido utilizadas exitosamente en problemas de control en varios campos, y tanto ingenieros como investigadores est&aacute;n dirigiendo su atenci&oacute;n a los algoritmos de l&oacute;gica borrosa con miras a la implementaci&oacute;n de funciones inteligentes en sistemas anidados. Nosotros hemos iniciado el desarrollo de un conjunto de herramientas did&aacute;cticas para apoyar nuestros cursos en control inteligente. La implementaci&oacute;n de sistemas did&aacute;cticos de bajo costo es particularmente importante para los pa&iacute;ses en desarrollo. En este art&iacute;culo presentamos la implementaci&oacute;n de un algoritmo PD borroso de cuatro reglas m&iacute;nimo en un microcontrolador de 8 bits de bajo costo, usando un sistema de desarrollo de software de l&oacute;gica borrosa. En base a este desarrollo construimos un controlador borroso aut&oacute;nomo para un sistema de nivel de l&iacute;quido did&aacute;ctico. Describimos la metodolog&iacute;a que empleamos, y presentamos los resultados de simulaci&oacute;n y tiempo real para este controlador.</font></p>  	    <p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2"><a href="/pdf/jart/v1n2/v1n2a4.pdf" target="_blank">DESCARGAR ART&Iacute;CULO EN FORMATO PDF</a></font></p>  	    ]]></body>
<body><![CDATA[<p>&nbsp;</p>  	    <p align="justify"><font face="verdana" size="2"><b>References</b></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;1&#93; Zadeh, L.A. "Fuzzy sets", Information and Control, vol. 8, 1965, pp. 338&#45;353.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813906&pid=S1665-6423200300020000400001&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;2&#93; Takagi, H. "Survey of Fuzzy Logic Applications in Image&#45;Processing Equipment", in Industrial Applications of Fuzzy Logic and Intelligent Systems, Yen J., Langari R., and Zadeh L.A., (ed) , IEEE press, USA, 1995, pp. 69&#45;92.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813908&pid=S1665-6423200300020000400002&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;3&#93; Takagi, H. "Applications of Neural Networks and Fuzzy Logic to Consumer Products ", in Industrial Applications of Fuzzy Logic and Intelligent Systems, Yen J., Langari R., and Zadeh L.A., (ed) , IEEE press, USA,1995, pp. 93&#45;105.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813910&pid=S1665-6423200300020000400003&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;4&#93; Ying H., and Siler W., "Fuzzy Control Theory: A Nonlinear Case", Automatica, Vol.26, No.3, 1990, pp. 513&#45;520.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813912&pid=S1665-6423200300020000400004&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    ]]></body>
<body><![CDATA[<!-- ref --><p align="justify"><font face="verdana" size="2">&#91;5&#93; S&aacute;nchez E., Nu&ntilde;o L.A., Hsu Y.&#45;C., and Chen G., "Real Time Fuzzy Control for an Underactuated Robot", IV Joint Conference on Information Systems, Research Triangle Park, N.C., U.S.A., 1998.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813914&pid=S1665-6423200300020000400005&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;6&#93; Costa A., De Gloria A., Faraboschi P., Pagni A., Rizzotto G., "Hardware Solutions for Fuzzy Control", Proc. IEEE, Vol. 83, No. 3, 1995, pp. 422&#45;434.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813916&pid=S1665-6423200300020000400006&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;7&#93; FuzzyTECH&#45;MP, User's Guide, Microchip Technology Incorporated, USA, 1994.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813918&pid=S1665-6423200300020000400007&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;8&#93; PICmicro Mid&#45;Range MCU Family Reference Manual , Microchip Technology Incorporated, USA, 1997.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813920&pid=S1665-6423200300020000400008&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    <!-- ref --><p align="justify"><font face="verdana" size="2">&#91;9&#93; "MPLAB IDE, Simulator, Editor. USER'S GUIDE", Microchip Technology Incorporated, USA, 1996.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813922&pid=S1665-6423200300020000400009&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>  	    ]]></body>
<body><![CDATA[<!-- ref --><p align="justify"><font face="verdana" size="2">&#91;10&#93; Hsu Y., Chen G., Sanchez E.N., "A fuzzy PD analysis for multi&#45;link robot control: Stability analysis", Proc. 1997 IEEE Intl. Conference in Robotics and Automation, Albuquerque, New Mexico, USA, April 1997, pp. 1412&#45;1317.    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#160;<a href="javascript:void(0);" onclick="javascript: window.open('/scielo.php?script=sci_nlinks&ref=4813924&pid=S1665-6423200300020000400010&lng=','','width=640,height=500,resizable=yes,scrollbars=1,menubar=yes,');">Links</a>&#160;]<!-- end-ref --></font></p>      ]]></body><back>
<ref-list>
<ref id="B1">
<label>1</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Zadeh]]></surname>
<given-names><![CDATA[L.A.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Fuzzy sets]]></article-title>
<source><![CDATA[Information and Control]]></source>
<year>1965</year>
<volume>8</volume>
<page-range>338-353</page-range></nlm-citation>
</ref>
<ref id="B2">
<label>2</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Takagi]]></surname>
<given-names><![CDATA[H.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Survey of Fuzzy Logic Applications in Image-Processing Equipment]]></article-title>
<person-group person-group-type="editor">
<name>
<surname><![CDATA[Yen]]></surname>
<given-names><![CDATA[J.]]></given-names>
</name>
<name>
<surname><![CDATA[Langari]]></surname>
<given-names><![CDATA[R.]]></given-names>
</name>
<name>
<surname><![CDATA[Zadeh]]></surname>
<given-names><![CDATA[L.A.]]></given-names>
</name>
</person-group>
<source><![CDATA[Industrial Applications of Fuzzy Logic and Intelligent Systems]]></source>
<year>1995</year>
<page-range>69-92</page-range><publisher-name><![CDATA[IEEE press]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B3">
<label>3</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Takagi]]></surname>
<given-names><![CDATA[H.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Applications of Neural Networks and Fuzzy Logic to Consumer Products]]></article-title>
<person-group person-group-type="editor">
<name>
<surname><![CDATA[Yen]]></surname>
<given-names><![CDATA[J.]]></given-names>
</name>
<name>
<surname><![CDATA[Langari]]></surname>
<given-names><![CDATA[R.]]></given-names>
</name>
<name>
<surname><![CDATA[Zadeh]]></surname>
<given-names><![CDATA[L.A.]]></given-names>
</name>
</person-group>
<source><![CDATA[Industrial Applications of Fuzzy Logic and Intelligent Systems]]></source>
<year>1995</year>
<page-range>93-105</page-range><publisher-name><![CDATA[IEEE press]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B4">
<label>4</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Ying]]></surname>
<given-names><![CDATA[H.]]></given-names>
</name>
<name>
<surname><![CDATA[Siler]]></surname>
<given-names><![CDATA[W.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Fuzzy Control Theory: A Nonlinear Case]]></article-title>
<source><![CDATA[Automatica]]></source>
<year>1990</year>
<volume>26</volume>
<numero>3</numero>
<issue>3</issue>
<page-range>513-520</page-range></nlm-citation>
</ref>
<ref id="B5">
<label>5</label><nlm-citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Sánchez]]></surname>
<given-names><![CDATA[E.]]></given-names>
</name>
<name>
<surname><![CDATA[Nuño]]></surname>
<given-names><![CDATA[L.A.]]></given-names>
</name>
<name>
<surname><![CDATA[Hsu]]></surname>
<given-names><![CDATA[Y.-C.]]></given-names>
</name>
<name>
<surname><![CDATA[Chen]]></surname>
<given-names><![CDATA[G.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Real Time Fuzzy Control for an Underactuated Robot]]></article-title>
<source><![CDATA[IV Joint Conference on Information Systems]]></source>
<year>1998</year>
<publisher-loc><![CDATA[^eN.C. N.C.]]></publisher-loc>
<publisher-name><![CDATA[Research Triangle Park]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B6">
<label>6</label><nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Costa]]></surname>
<given-names><![CDATA[A.]]></given-names>
</name>
<name>
<surname><![CDATA[De Gloria]]></surname>
<given-names><![CDATA[A.]]></given-names>
</name>
<name>
<surname><![CDATA[Faraboschi]]></surname>
<given-names><![CDATA[P.]]></given-names>
</name>
<name>
<surname><![CDATA[Pagni]]></surname>
<given-names><![CDATA[A.]]></given-names>
</name>
<name>
<surname><![CDATA[Rizzotto]]></surname>
<given-names><![CDATA[G.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[Hardware Solutions for Fuzzy Control]]></article-title>
<source><![CDATA[Proc. IEEE]]></source>
<year>1995</year>
<volume>83</volume>
<numero>3</numero>
<issue>3</issue>
<page-range>422-434</page-range></nlm-citation>
</ref>
<ref id="B7">
<label>7</label><nlm-citation citation-type="book">
<collab>FuzzyTECH-MP</collab>
<source><![CDATA[User's Guide]]></source>
<year>1994</year>
<publisher-name><![CDATA[Microchip Technology Incorporated]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B8">
<label>8</label><nlm-citation citation-type="book">
<source><![CDATA[PICmicro Mid-Range MCU Family Reference Manual]]></source>
<year>1997</year>
<publisher-name><![CDATA[Microchip Technology Incorporated]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B9">
<label>9</label><nlm-citation citation-type="book">
<source><![CDATA[MPLAB IDE, Simulator, Editor. USER'S GUIDE]]></source>
<year>1996</year>
<publisher-name><![CDATA[Microchip Technology Incorporated]]></publisher-name>
</nlm-citation>
</ref>
<ref id="B10">
<label>10</label><nlm-citation citation-type="">
<person-group person-group-type="author">
<name>
<surname><![CDATA[Hsu]]></surname>
<given-names><![CDATA[Y.]]></given-names>
</name>
<name>
<surname><![CDATA[Chen]]></surname>
<given-names><![CDATA[G.]]></given-names>
</name>
<name>
<surname><![CDATA[Sanchez]]></surname>
<given-names><![CDATA[E.N.]]></given-names>
</name>
</person-group>
<article-title xml:lang="en"><![CDATA[A fuzzy PD analysis for multi-link robot control: Stability analysis]]></article-title>
<source><![CDATA[Proc. 1997 IEEE Intl. Conference in Robotics and Automation]]></source>
<year>Apri</year>
<month>l </month>
<day>19</day>
<page-range>1412-1317</page-range><publisher-loc><![CDATA[Albuquerque^eNew Mexico New Mexico]]></publisher-loc>
</nlm-citation>
</ref>
</ref-list>
</back>
</article>
