Está en la página 1de 16

Introduccin

En 1990, en Alemania, un consorcio de empresas exitosas crean un sistema de bus para redes de sensores y actuadores, denominado Actuator Sensor Interface (AS-Interface o en su forma abreviada AS-i). Este sistema surgi para atender algunos requisitos definidos a partir de la experiencia de sus miembros fundadores y para abastecer el mercado cuyo nivel jerrquico esta orientado a bit. Desta forma, la red AS-i fue desarrollada para complementar los dems sistemas y hacer ms simples y rpidas las conexiones entre sensores y actuadores asi como sus respectivos controladores. Figura 1.1: Escenario de la Tecnologa

El AS-International Association o AS-Interface UK Expert Alliance es un grupo de usuarios fundado en 1991 por empresas y usuarios de sistema AS-Interface. El objetivo del grupo fue hacer el AS-i un estndar a nivel mundial de campo orientado a bits de la automatizacin industrial, dentro de la categora Sensor Bus.

Beneficios
Un sistema industrial formado por redes AS-i es considerado como el ms econmico e ideal para la comunicacin entre actuadores y sensores. Los beneficios de la utilizacin de una red AS-i van desde ahorros de hardware hasta el comisionamiento de una red AS-i propiamente dicha. Simplicidad Una rede AS-i es muy simple, require apenas solo un nico cable para conectar los mdulos de entradas y salidas de cualquier fabricante. Los usuarios de una red AS-i no necesitan conocimientos a fondo en sistema industriales o protocolos de comunicacin. A diferencia de otras redes digitales, la red AS-i no necesita de terminadores y de archivos de descripcin (DDs) de equipos. La simplicidad es su principal importancia. Desempeo Los sistemas AS-i son eficientes y muy rpidos, haciendolos capaces de sustituir los sistemas grandes y con altos costos. Existen maestros AS-i, especialmente, desarrollados para comunicarse con los sistemas de control y proporcionan una integracin perfecta entre las tecnologas existentes. Lo mejor de todo es que se logra de una forma simple y sencilla. Flexibilidad La expansibilidade es muy fcil de conseguir solo tiene que conectar un mdulo, direccionar y, luego conecte el cable de la red. Verifique si el LED de la fuente de alimentacin est conectado y, luego, vea si est conectado al siguiente mdulo. La red AS-i soporta cualquier topologia de cableado: estrella, bus, rbol, anillo o cualquier otra configuracin con hasta 100 metros de cable. O

bien, mediante la adicin de repetidores es posible expandir el sistema hasta 300 metros. La red AS-i es de fcil instalacin, ya que no necesita de terminadores en los puntos extremos. Costo Las redes AS-i tipicamente reducen el costo de cableado e instalacin alrededor de un 50% en comparacin con otras redes convencionales (Figura 3.2). El uso de un solo cable para la conexin con los equipos discretos reduce la necesidade de gabinete, conduts y bandejas. Los ahorros generados en la utilizacin de la red pueden ser realmente significantes, ya que con el uso de pocos cables diminuye los costos de instalacin,comisionamiento y, por ser una red simple, las horas de ingeniera.

Figura 3.2: a)

Sistemas convencionais; b) Rede AS-i.

Especificacin Original (1994, Versin 2.04)


En las primeras redes, los mdulos (esclavos) de interconexin de los elementos finales permitan la conexin de cuatro entradas digitales y cuatro salidas digitales, resultando en un total de 124 entradas y 124 salidas en una sola red (especificacin AS-i 2.0 o AS-i 1). Sin embargo, en esta arquitectura, el nmero mximo de esclavos est limitado a 31. Sus principales caractersticas estn relacionadas con la sustituicin automtica de un mdulo en la red y el tiempo de actualizacin es fcilmente calculado por la multiplicacin del nmero de mdulos de entrada y salida por el tiempo determinado de actualizacin de la red para cada nodo (aproximadamente 150 s). Este clculo simplificado no incluye la fase de gerenciamiento el cual puede ser despreciado para instalaciones tpicas de la red.

Caractersticas
El nombre Actuator Sensor Interface representa a su propio concepto. Es una solucin simple y elegante para la integracin de sensores y actuadores discretos en un sistema de control de procesos. Esta red posee una serie de caractersticas que son representadas de la siguiente manera.

Compatibilidad: Sensores y Actuadores de diferentes fabricantes pueden ser conectados a una interfaz digital serial estandarizada; Control de acceso al medio: Sistema con solo un maestro y sondeo cclico; Direccionamiento: Esclavos reciben un direccionamiento permanente del maestro o a travs de hand-held; Topologa: Sin restricciones (lineal, anillo, estrella o rbol); Medio de transferencia: Dos cables no-trenzados y sin blindaje para datos y energia (24 VDC), tpicamente hasta 200 mA por esclavo, y hasta 8A por bus; Rpida instalacin: Por medio de conectores auto-perforantes

Longitud del cable: Mximo de 100 m o hasta 300 m con el uso de repetidores; Seales y alimentacin: Estn presentes en un mismo bus (24VDC); Nmero de esclavos: Hasta 62 esclavos por red (versin 2.1); Telegramas: Telegrama del maestro contenido el direccionamiento, respuesta directa del esclavo; Datos: 4 entradas y 4 salidas para cada esclavo y en el caso de ms de 31 esclavos tiene, solo 3 salidas; (mximo de 248 entradas y salidas binarias por red). Carga til: Transmite 4 bits/esclavo/mensaje. Todos los esclavos son llamados secuencialmente por el maestro y reciben 4 bits de datos. Cada esclavo responde inmediatamente con 4 bits de datos. Tiempo de ciclo: 10 ms para la versin 2.1; Deteccin de erros: Deteccin eficiente y retransmisin de telegramas incorrectos. Chip AS-Interface: 4 E/S configurables para datos, 4 parmetros de salidas y 2 salidas de control. Funciones del maestro: Barrido cclico en todos los esclavos, transmisiones de datos para esclavos y para la unidad de control (PLC o PC). Inicializacin de la red, identificacin de los esclavos, diagnstico de los esclavos y de datos transferidos. Adems, los informes de errores en el controlador y la direccin de esclavos sustitudos. Vlvulas: Son instaladas directamente en la aplicacin, reduciendo las tuberias y aumentando la velocidad de respuesta de los actuadores; Bajo costo: Bajo costo de conexin por esclavo y elimina mdulos de entradas y salidas en el PLC; Confiabilidad: Alto nvel de conabilidad operacional en ambientes industriales agresivos; Estandar abierto: Elaborado por diversos fabricantes, afiliados a la Asociacin Internacional AS-i, cuyo protocolo de transmisin es normalizado. Opcional: Cable de alimentacin para salidas y control de paro.

Conectividad
La red AS-i puede ser conectada al nivel de control principal de dos formas. La primera forma es la conexin directa (Figura 6.1 la izquierda). En este caso, el maestro es parte de un PLC o PC siendo ejecutado dentro de los tiempos de ciclos determinados por estos dispositivos. Un maestro AS-i puede ser construido por cualquier fabricante cuando se trata de un estndar abierto. La segunda manera de conectarse es a travs de un acoplador (gateway) entre una red de ms alto nvel y la red AS-i (Figura 6.1 la derecha). Existen otros acopladores para otras redes de campo, tales como: Profibus,Interbus, FIP, DeviceNet, CAN, etc.

Figura 6.1 Interconexin con otras redes digitales.

El Sistema Interfaz Actuador-Sensor (AS-i)


Las redes industriales AS-i fueron diseadas para ser aplicadas en ambientes automatizados, sustituyendo las conexiones tradicionales de actuadores y sensores del tipo "switch" (on/off) por un bus nico. Adems de eso es posible conectar al bus sensores/actuadores que realizan una conversin analgico/digital o viceversa. Tradicionalmente estas conexiones son echas por pares de hilos que conectan cada uno de los actuadores y sensores al controlador correspondiente, en general un Controlador Lgico Programable (PLC). El sistema AS-i es configurado y controlado por un maestro, el cual programa a la interfaz entre un controlador y el sistema AS-i. Este intercambia informacin continuamente con todos los sensores y actuadores conectados al bus AS-i de forma predeterminada y cclica. La Figura 7.1 ilustra el sistema AS-i como un todo, mostrando sus principales componentes: cable, fuente de alimentacin AS-i con su circuito de desacoplamiento, el maestro y el esclavo AS-i.

Interfaz 1: entre el esclavo y los sensores y actuadores; Interfaz 2: entre los equipos (fuente de alimentacin, maestro y esclavo) y el medio de transmisin; Interfaz 3: entre el maestro y el host, es decir, una entidad cualquiera que accesa a la red AS-i de un nivel superior.

Figura 7.1: Componentes e interfaces.

Medio de Transmisin
La red AS-i se caracteriza por ser solamente un par de hilos, que transmite los datos y alimenta a los sensores o actuadores en 24Vcc y la informacin del estado de los mismos. La configuracin mxima de la red es de 62 esclavos que son accesados ciclicamente por un maestro en el nivel de control superior. El tiempo de reaccin es pequeo, para todos los esclavos conectados, el tiempo de respuesta es de 10ms. Este cable flexible de alta tensin cumple con las normas CENELEC o DIN VDE 0281, designado por H05VV-F 2X1.5 es econmico y fcil de adquirir.

Figura 7.2: Cables estndares del bus AS-i

El cable no es necesario de cortarlo o "pelarlo" para ser conectado. Esto en general es la causa de cadas de tensin indispensables y son fuentes potenciales de mal contacto. Por otro lado, tiene una forma de deinstalacin bastante interesante, que contribuye en el ahorro de costos en sus implementaciones. El principio es simple: el contacto con los conductores internos es realizado por medio de lminas conductoras, que penetran los aislamientos plsticos para llegar a los hilos de cobre internos.

Figura 7.4: a) Acoplamiento del mdulo al bus; b) Pines de perforacin

Longitud del cable La longitud mxima del cable de un bus AS-i es de 100 m sin el uso de repetidores. En caso de utilizar los repetidores la longitud permitida como mximo es de 300 m.

Fuente de Alimentacin
La funte de alimentacin AS-i tiene cuatro funciones en el sistema como se describe a continuacin.

7.2.1 Fuente de Alimentacin La unidad de fuente de alimentacin trabaja con una tensin de 29,5V a 31,6V DC y en condiciones normales de operacin, suministra una corriente de 0A a 8A. La fuente suministra alimentacin a los esclavos y parcialmente al maestro a travs de dos hilos, y el mismo cable para transmisin de datos AS-i, y se puede conectar en la red en cualquier punto. En las lneas largas, las cadas de tensin deben ser consideradas y generalmente no debe ser mayor de 3V. La fuente posee internamente un circuito de proteccin de sobrecarga para limitar la corriente.

7.2.2 Balanceamiento La fuente tambin es responsable de balancear a la red AS-i. AS-i es operado como um sistema simtrico, no aterrizado. Para imunidad a los rudos el cable AS-i debe ser instalado de forma simtrica lo mas posible. Esto es posible a travs del circuito de balanceamiento mostrado en la Figura 7.8. La conexin de blindaje debe ser conectada en un punto apropiado de la mquina o sistema. Tambin ese punto debe ser conectado a tierra (GND) del sistema.

Figura 7.8: Diagrama Esquemtico Simplificado de la fuente de alimentacin AS-i Fuente: SANCHES, L.B. (2004)

7.2.3 Desacoplamiento de los Datos La tercera funcin de la fuente de alimentacin es proveer el desacoplamiento de los datos. La red de desacoplamiento, que en general se encuentra en el mismo mdulo de la fuente de alimentacin, consiste de dos inductores de 50H cada uno (L1 y L2) y dos resistores en paralelo de 39 cada uno. Los inductores realizan una operacin de diferenciacin sobre los pulsos de tensin para convertir los pulsos de corriente generados por los transmisores conectados a la red. Al mismo tiempo, previenen um corto circuito en el cable. El acoplamiento entre los inductores debe ser lo mas cercano posible de 1, lo que equivale a decir que la inductancia mtua debe ser de aproximadamente de 200H.

7.2.4 Seguridad La cuarta funcin es una consideracin de seguridad. El sistema AS-i fue diseado como un sistema para tensiones pequeas con aislamiento seguro (Protective Extra Low Voltage). Esto signica que de acuerdo con los estandares IEC relevantes, "aislante seguro" es requerida de la fuente entre la red de alimentacin y la red AS-i.

Sistemas de Transmisin (Interfaz 2)


La interfaz 2 incluye las especicaciones necesarias para el buen manejo de los datos entre los elementos conectados en el bus AS-i. Este dene la forma de acceso al medio fsico, el intercambio de datos sobre el nivel elctrico y el tratamiento de algunos errores de comunicacin, as como las solicitudes de tiempo en las transacciones. 7.5.1 Estructuras de la red La topologa de red del sistema AS-i se deja a eleccin del usuario, lo que simplica su proyecto. La restriccin no se observa si el limite mximo de 100m de la longitud del cable. Es importante notar tambin que no son necesarias las terminales de impedancias, lo que tambin simplica la instalacin. Las estruturas en rbol, lineal, estrella y hasta en anillo son permitidas (Figura 7.12). En caso de que las conexiones sean de longitudes mayores, pueden ser usados los repetidores, ampliando el alcance de la red, siempre y cuando se respete los lmites de 62 esclavos y un maestro.

7.5.2 Modulacin La seleccin de una modulacin adecuada para AS-i deberia atender un conjunto de requerimientos bastante exigentes, lo que llevo al desarrollo de un nuevo procedimiento de modulacin, conocido como Modulacin de Pulsos Alternados (APM Alternating Pulse Modulation la modulacin APM es un procedimiento para la transmisin serial en banda base como se muestra en la Figura 7.13. La secuencia de bits es inicialmente codificada de manera que un cambio de fase ocurre siempre que la seal se modifica (cdigo Manchester). El resultado es una corriente de envio que en conjunto con un solo inductor en el sistema usa la diferenciacin para generar la seal de tensin deseada en los conductores. Cada aumento en la corriente de envio resulta en un pulso de tensin negativa, y da como resultado un pulso positivo. De esta forma es muy simple generar seales en los esclavos, como tensin superior a la tensin de alimentacin. Esto signica que los indutores pueden ser eliminados en los esclavos, lo que mantiene la electrnica integrada pequea y barata. Del lado del receptor estas seales de tensin son detectadas en la lnea y convertirlos nuevamente en la secuencia de bits enviada. El receptor se sincroniza con la deteccin del primer pulso negativo, que es interpretado como un start bit. Si los pulsos de tensin se aproximan a los pulsos de tipo sen2 , entonces los requerimientos para limite de baja frecuencia y baja emisin de ruidos son atendidos al mismo tiempo. Esto se consigue por medio de una forma adecuada en los pulsos de corriente enviada o que el generado como la integral de un pulso sen2. Usando esta modulacin y las topologas permitidas en tiempos de bit de 6s son obtenidos. Esto permite una velocidad de transmisin 167kBit/s.

Figura 7.13: Modulacin APM. Fuente: SANCHES, L.B. (2004). Como los cables no tienen terminadores, los pulsos de los mensajes tienen una gran variacin de amplitud. Al ser capaz de afrontar el problema causado principalmente por reflexiones al final del cable, que atienden lasfrecuancias mayores, AS-i representa un sistema extremamente robusto.

Acesso al Medio El maestro enva un telegrama que es recibido por el esclavo en una direccin particular y el esclavo con esta direccin responde dentro del tiempo previsto. Esta operacin es designada como una transaccin. El sistema de transmisin permite la conexin al bus de un maestro y de hasta 62 esclavos. El procedimiento elejido permite la construccin de esclavos mucho mas simples y, por lo tanto, de costo efectivo, en cuanto a flexibilidad e integridad. En el caso de las pequeas perturbaciones en la red, el maestro puede, por ejemplo, repetir telegramas a la direccin del cual no recibe respuesta, o respuesta invalida. Los mensajes AS-i, por lo tanto, son de dos tipos: las que son enviadas por el maestro y las respuestas del esclavo. La Figura 7.14 ilustra una transaccin y el tiempo usado. Esta constituda de:

una solicitud del maestro, una pausa del maestro, una respuesta del esclavo y una pausa del esclavo.

Figura 7.14: Una transaccin AS-i. Fuente: SANCHES, L.B. (2004). La solicitud del maestro se extiende siempre a 14 tiempos de bit, y la respuesta del esclavo a 7. Un tiempo de bit corresponde a un intervalo de tiempo uniforme de 6s. La pausa del maestro debe estar en un intervalo de un minimo de 2 tiempos de bit y un mximo de 10 tiempos de bit. Si el esclavo est sincronizado, puede comenzar a transmitir su respuesta lo mas pronto despus de mas de 2 tiempos de bit, en caso contrario necesitara mas de dos tiempos, hasta que se pueda estar monitorendo la pausa del maestro en este periodo para cualquier informacin adicional antes de que pueda aceptarla como vlida. Sin embargo si el maestro no ha recibido respuesta dentro de un mximo de 10 tiempos de bit, puede asumir que no habr respuesta e iniciar la transaccin siguiente. La pausa entre el final de una respuesta del esclavo es la siguiente solicitud del maestro y debe estar entre 1,5 y 2 tiempos de bit. Una solicitud del maestro consiste de:

Start Bit (SB). Identica el inicio de una solicitud del maestro en el bus. Su valor siempre es "0". Control Bit (CB). Identica el tipo de solicitud: "0" para solicitudes de datos, parmetros o atribuciones de direccin y "1" para los de comando. Address (A4..A0). Direccin del esclavo solicitado. Informacin (I4..I0). Estos 5 bits componen, la solicitud realizada, los datos enviados al esclavo. Bit de Paridad (PB). El nmero de bits con valor "1" indicada que una solicitud se esta ejecutando y el ultimo bit sebe ser par. End Bit (EB). Identica el nal de una solicitud del maestro. Siempre tiene el valor "1".

Una respuesta de cualquier esclavo consiste de:

Start Bit (SB). Identica el inicio de una respuesta del esclavo. Siempre tiene el valor "0". Informacin (I3..I0). Estos bits componen la informacin propiamente enviada al maestro. Bit de Paridad (PB). As como una solicitud, tambin una respuesta debe tener paridad par. End Bit (EB). Siempre de valor "1", asignada al nal de una respuesta del esclavo.

La versin 2.1 AS-i (1998) tiene la posibilidad de direccionar el doble de escalvos. Con ella, hasta 62 esclavos pueden ser conectados. Para que esto fuera posible, un bit de campo de informacin es utilizado para seleccionar un bit llamado "select bit", o, bit de seleccin. De esta forma, los esclavos conectados al bus fueron divididos en dos grupos de 31 esclavos como mximo, cada grupo: A y B. Adems, un esclavo paso a tener una direccin y recibi distincin tipo - A o B. Esta modificacin fue intoducida para no perder la compatiblidad de esclavos de la versin anterior con los maestros de la nueva versin.

Los esclavos de la version anterior pueden ser direccionados normalmente, pero ocupan dos direcciones de cada uno. Para ellos no hay una distincin entre esclavo "A" o "B", y no reconocen el bit de seleccin como un bit normal de informacin. Los maestros conforme a la nueva versin tienen los medios de identificar el tipo de esclavo y enviar las solicitudes propiamente. Esto ser visto mas adelante.

Introduction In 1990, in Germany, a consortium of successful companies create a bus system for networks of sensors and actuators, Actuator Sensor Interface called (AS-Interface or for short AS-i). This system was created to meet certain requirements defined from the experience of its founding members and to serve the market which is oriented hierarchical level a bit.Desta way, the AS-i was developed to complement the other systems and make it simple and fast connections between sensors and actuators as well as their respective drivers. Figure 1.1: Scenario of Technology The AS-International Association or AS-Interface UK Expert Alliance is a user group founded in 1991 by companies and users of AS-Interface. The group's goal was to make the AS-i a worldwide standard bit-oriented field of industrial automation within the category Sensor Bus Benefits An industrial system composed of AS-i networks is considered as the most economical and ideal for communication between actuators and sensors. The benefits of using an AS-i ranging from hardware savings to the commissioning of an AS-i network itself. Simplicity An AS-i rede is very simple, just requires only a single cable to connect the input and output modules from any manufacturer. Users of an AS-i do not need in-depth knowledge in industrial system or communication protocols. Unlike other digital networks, the AS-i do not need terminators and description files (DD's) equipment. Simplicity is the main importance. Performance AS-i systems are efficient and very fast, making them capable of replacing large systems and high costs. AS-i masters are especially developed to communicate with control systems and provide seamless integration between existing technologies. Best of all is to be achieved in a simple and easy. Flexibility The expansibilidade is very easy to get - just plug a module address and then connect the network cable. Check if the LED on the power supply is connected and then see if you are connected to the next module. The AS-i cabling supports any topology: star, bus, tree, ring or any other configuration with up to 100 meters of cable. Or, by the addition of repeaters is possible to expand the system up to 300 meters. The AS-i network is easy to install, as it requires no terminator at the end points. Cost AS-i networks typically reduce wiring and installation cost about 50% compared to other networks (Figure 3.2). Using a single cable for connection to the discrete devices reduces cabinet NEEDS, conduits and trays. The savings generated in the network utilization can be really significant, because with the use of few cables decreases the cost of installation, commissioning and, as a simple network engineering hours.

Figure 3.2: a) Systems convencionais b) AS-i Rede. Original Specification (1994, Version 2.04) In the first networks, modules (slaves) interconnection of the final elements allow the connection of four digital inputs and four digital outputs, resulting in a total of 124 inputs and 124 outputs on a single network (AS-i specification 2.0 or AS i-1). However, in this architecture, the maximum

number of slaves is limited to 31. Its main features are related with the replacement of a module on the network and the update time is easily calculated by multiplying the number of input and output modules for the time given for updating the network for each node (approximately 150 ms .) This calculation excludes simplified management phase which can be neglected for facilities of the network. Features Actuator Sensor Interface The name represents his own concept. It is a simple and elegant solution for integrating sensors and actuators in a discrete process control system. This network has a number of features which are represented as follows. Compatibility: Sensors and actuators from different manufacturers can be connected to a serial digital interface standard; Medium Access Control: System with one teacher and cyclic polling; Addressing: Slaves receive a teacher's permanent address or through hand-held; Topology: No restrictions (linear, ring, star or tree); Means of Transfer: Two-twisted cables unshielded data and power (24 VDC), typically up to 200 mA for the slave, and even bus-8A; Installation: Through self-piercing connectors Cable length: Maximum of 100 m to 300 m with the use of repeaters; Signs and Supply: They are present in the same bus (24VDC); Number of slaves: Up to 62 slaves per network (version 2.1); Telegrams: Teacher Telegram content addressing, direct response from the slave; Data: 4 inputs and 4 outputs for each slave and in the case of more than 31 slaves has only 3 outputs; (maximum of 248 binary inputs and outputs per network). Payload: Sends 4 bits / slave / post. All slaves are called sequentially by the teacher and get 4 bits of data. Each slave responds immediately with 4 bits of data. Cycle time: 10 ms for version 2.1; Detection of erros: efficient detection and retransmission of incorrect telegrams. AS-Interface Chip: 4 E / S configurable data, 4 and 2 output parameters control outputs. Teacher Features: Sweep cyclic all slaves, slave data transmission and control unit (PLC or PC). Network initialization, identification of the slaves, slaves and diagnosis of data transferred. In addition, reports of errors in the controller and the slave address substituted. Valves are installed directly into the application, reducing piping and increasing the response speed of the actuators; Low cost: Low cost of connection and removes slave input and output modules in the PLC; Reliability: High level of operational reliability in harsh industrial environments; Open Standard: Made by various manufacturers, members of the International Association AS-i, which is standard transmission protocol. Optional: Power supply for control output and unemployment. Connectivity The AS-i may be connected to the main control level in two ways. The first way is the direct connection (Figure 6.1 left). In this case, the teacher is part of a PLC or PC being executed in cycle times determined by these devices. An AS-i master can be built by any manufacturer when it is an open standard. The second way is connected through a coupler (gateway) between a network of high level and ASi network (Figure 6.1 right). Other couplers for other field networks such as Profibus, Interbus, FIP, DeviceNet, CAN, etc..

Figure 6.1 - Interfacing with other digital networks. System Actuator-Sensor Interface (AS-i) The AS-i industrial networks were designed to be applied in automated environments, replacing the traditional connections of actuators and sensors such as "switch" (on / off) for a single bus. Besides that you can connect to the bus sensors / actuators that perform an analog / digital conversion or vice versa. Traditionally you miss these connections are pairs of wires that connect each of the actuators and sensors for the controller, usually a Programmable Logic Controller (PLC). AS-i system is configured and controlled by a master, which program to interface between a controller and the AS-i. This continuously exchanges information with all sensors and actuators connected to AS-i by default and cyclical. Figure 7.1 illustrates the AS-i system as a whole, showing its main components: cable, power supply, AS-i with decoupling circuit, the master and the AS-i slave. Interface 1: between the slave and the sensors and actuators; Interface 2: between equipment (power supply, master and slave) and the transmission medium; Interface 3: between the master and the host, ie, any entity that accesses the AS-i level. Figure 7.1: Components and interfaces. Means of Transmission The AS-i network is characterized by only one pair of wires that transmits the data and feeds the sensors or actuators 24Vdc and status information thereof. The maximum configuration of the network is 62 slaves are accessed cyclically by a teacher at the level of oversight. The reaction time is small, for all connected slaves, the response time is 10ms. This high voltage flexible cable meets or CENELEC DIN VDE 0281, appointed by H05VV-F 2x1.5 is inexpensive and readily available. Figure 7.2: Cables standard AS-i bus The cable is not necessary to cut or "peel" to be connected. This usually causes voltage drops essential and are potential sources of poor contact. On the other hand, has a rather interesting way InstallationInstructions, which contributes to cost savings in their implementations. The principle is simple: contact with the inner conductors is accomplished through conducting plates, which penetrate the plastic insulation to reach the internal copper wires.

Figure 7.4: a) coupling bus module, b) drilling Pines Cable length The maximum cable length of an AS-i bus is 100 m without the use of repeaters. When using repeaters the maximum allowed length is 300 m. Power Supply The Fnte of AS-i has four functions in the system as described below. 7.2.1 Power Supply The power supply unit has an operating voltage of 29.5 V to 31.6 V DC and in normal operation, delivers a current of 0A to 8A. The source supplies power to the slave master and partially through two threads, and the same cable for data transmission AS-i, and can connect to the network at any point. In long lines, the voltage drops must be considered and should generally not be greater than

3V. The source has an internal overload protection circuit to limit the current. 7.2.2 balancing The source is also responsible for balance to the AS-i. AS-i system is operated as um symmetrical, ungrounded. Immunity to noise for the AS-i should be installed symmetrically as much as possible. This is possible through the balancing circuit shown in Figure 7.8. The shield connection must be plugged into an appropriate point of the machine or system. Also that point must be connected to ground (GND) system.

Figure 7.8: Simplified Schematic Diagram Power Supply AS-i Source: SANCHES, L.B. (2004) 7.2.3 Decoupling of Data The third function of the power supply is to provide disengagement of the data.Decoupling network which generally is in the same module of the power source consists of two inductors of 50H each (L1 and L2) and two parallel resistors of 39 each.Inducers of differentiation perform an operation on the voltage pulses to convert the current pulses generated by transmitters connected to the network. At the same time, um prevent short circuit in the cable. The coupling between the inductors should be as close as possible to 1, which is to say that the mutual inductance should be approximately 200H. 7.2.4 Security The fourth function is a safety consideration. The AS-i system was designed as a low voltage system with safe isolation (Protective Extra Low Voltage). This means that according to relevant IEC standards, "safe insulation" is required from the source between the power supply and AS-i network. Transmission Systems Interface (2) 2 includes the interface specifications necessary for the proper handling of data between the elements connected to the AS-i bus. This defines how access to the physical, data sharing on the electrical level and the treatment of some communication errors and requests for time in transactions. 7.5.1 Network Structure The network topology of the AS-i is left to the discretion of the user, which simplifies your project. The restriction is not observed if the maximum limit of 100 m cable length. It is important to note also that the terminals are not necessary impedance, which also simplifies installation. The tree Estruturas, linear, star and ring up are allowed (Figure 7.12). If the connections are of longer lengths, repeaters can be used, extending the reach of the network, as long as they respect the limits of 62 slaves and a teacher.

7.5.2 Modulation The selection of appropriate modulation for AS-i should attend a fairly demanding set of requirements, which led to the development of a new modulation method, called Alternating Pulse

Modulation (APM - Alternating Pulse Modulation APM modulation is a method for serial transmission at baseband as shown in Figure 7.13. The bit sequence is initially coded so that a phase change occurs whenever the signal is modified (Manchester code). The result is a stream sent in conjunction with a single inductor in the system uses the differentiation to generate the desired voltage signal on the conductors. Each increase in current results in sending a negative voltage pulse, and results in a positive pulse. In this way is very simple to generate signals in the slaves, as voltage higher than the supply voltage. This means that indutores may be disposed of slaves, which keeps the integrated electronics small and cheap. Receiver-side these voltage signals are detected on the line and turning back into the bit sequence sent. The receiver is synchronized with the detection of the first negative pulse, which is interpreted as a start bit. If the voltage pulses approximate sin2 type pulses, then the requirements for low frequency limit and low noise are treated simultaneously. This is achieved by means of a suitable form in the current pulses sent or that generated as the integral of a pulse sin2.Using this modulation and topologies permitted 6s bit times are obtained. This allows a transmission speed 167kBit / s. Figure 7.13: Modulation APM. Source: SANCHES, L.B. (2004). As the cables have terminators, the pulses of the messages have a large amplitude variation. By being able to tackle the problem caused mainly by reflections at the end of the cable, they serve over lasfrecuancias, AS-i is an extremely robust system.

Accessible to the Middle The master sends a telegram is received by the slave in a particular direction and the slave address respond within the allotted time. This operation is designated as a transaction. The transmission system allows connection to a bus master and up to 62 slaves. The procedure allows the construction elected slave much simpler and, therefore, cost effective, in terms of flexibility and integrity. In the case of small perturbations in the network, the teacher may, for example, repeating telegram to the address of which no answer, or response invalid. AS-i messages, therefore, are of two types: those that are sent by the master and slave responses. Figure 7.14 illustrates a transaction and the time used. This constituted of: a request from the master, pause the teacher, a response from the slave and pause the slave.

Figure 7.14: A transaction AS-i. Source: SANCHES, L.B. (2004). The application of the teacher always extends to 14 bit times, and the slave response to 7. A bit time interval corresponds to a uniform time 6s. The pause of the teacher must be in a range from a minimum of 2 bit times and a maximum of 10 bit times. If the slave is synchronized, you can begin to transmit their response as soon after more than 2 bit times, otherwise it will need more than two times, until it can be monitorendo the break of the teacher in this period for any additional information before it can accept as valid.However, if the teacher has not received a response within a maximum of 10 bit times, you can assume there is no answer and start the next transaction. The pause between the end of a response from the slave is the next request of the teacher and should be between 1.5 and 2 bit times.

A teacher's application consists of: Start Bit (SB). Identifies the start of a request from the master on the bus. Its value is always "0". Control Bit (CB). Identifies the type of request: "0" to requests for data, parameters or terms of direction and "1" for the command. Address (A4.. A0). Slave address requested. Information (I4.. I0). These 5 bits make the request made, the data sent to the slave. Bit Parity (CP). The number of bits with value "1" indicated that an application is running and the last bit sebe be even. End Bit (EB). Identifies the end of a request from the master. Always has the value "1". A response of any slave consists of: Start Bit (SB). Identifies the start of a slave response. Always has the value "0". Information (I3.. I0). These bits make up the actual information sent to the teacher. Bit Parity (CP). As an application, also a response should have parity. End Bit (EB). Whenever the value "1", assigned at the end of a response from the slave. The AS-i version 2.1 (1998) has the potential to address escalvos twice. With it, up to 62 slaves can be connected. To make this possible, a bit of information field is used to select a bit called "select bit", or, bit selection. In this way, connected to the bus slaves were divided into two groups of at most 31 slaves, each group: A and B. In addition, a slave happened to have an address and received distinction type - A or B. This amendment was not to lose intoducida compatibility of slaves from the previous version with the teachers of the new version. The slaves of the previous version can be routed normally, but occupy two addresses each. For them there is a distinction between slave "A" or "B", and do not recognize the bit selection as a standard bit of information. Teachers under the new version have the means to identify the type of slave and send the applications properly. This will be seen later.

También podría gustarte