MODASC: ASIC for mobile data acquisition systems using satellite communications
Abstract
MODASC is an ASIC that performs wide area mobile data acquisition using satellite communication to provide global coverage. This circuit provides two operation modes: an autonomous mode, that periodically establishes connection with the control center, and a slave mode, working as a peripheral connected to a general purpose micro controller. This experiment has been realized under FUSE special action in collaboration with SAINSEL.
Full text
MODASC: ASIC for Mobile Data Acquisition Systems using Satellite Communications J.M. Quero, L.G. Franquelo, C.L. Janer, J.G. Ortega and S. Toral Dpto. de Ingenier´ıaElectr´ onica EscuelaSuperior de Ingenieros, Avda. ReinaMercedes s/n, Sevilla–41012(SPAIN) Tel.: +34(9)5 45568 57 Fax: +34 (9)5 455 6849 e–mail: [email protected] F. Mar´ınand J. L´ opez SAINSEL Manuel VelascoPando s/n, Sevilla(SPAIN) Tel.: +34(9)5 45736 91 Fax: +34 (9)5 457 9362 Abstract— MODASC is anASIC thatperforms wideareamobiledata acquisitionusingsatellitecommunicationto provideglobalcoverage. This circuit provides two operation modes: an autonomous mode, that periodicallyestablishesconnectionwiththecontrolcenter,andaslave mode, working as a peripheral connected to a general purpose micro controller. This experiment has been realized under FUSE special actionin collaborationwithSAINSEL. I. INTRODUCTION Most data acquisition systems make use of communication channels to send captured data to the control center. These communication channels are usually radio links, local computer networks or dedicated telephone lines. The selection of themostsuitablecommunication channel is determined by taking into account application parameters,suchasdistance,installationandtransmission costs, liability, ::: All previously mentioned communication channel alternatives are used for fixed installations or mobile stationsin a local area. But when wide area dataacquisition is required, satellite communication is the most valid alternative because it provides global coverage. In this paper we present an ASIC designed to acquire data and send it to a control center via Inmarsat. This circuit provides two operation modes: an autonomous mode, that periodically establishes connection with the control center, and a slave mode, working as a peripheral connected toa general purpose microcontroller. II. FUNCTIONAL DESCRIPTION Thefunctionalityofthiscircuitcanbesummarized asremotedataacquisitionand communicationusing satellitelinks. Asithasbeenmentionedabove,thiscircuitpresent two different operation modes: an autonomous mode and a slave mode. In the first mode, the circuit uses the Data Communication Equipment (DTE) GALAXY-C/GPS fromTRIMBLE [1]. This transceiver usesInmarsat Standard-C satellite communication protocol and also receives signal according to GPS standard. The DTE/ASIC physical interface is over an RS- 232 link. In the second mode, this connection and its protocol are no longer needed, although they can be easily implemented using one of the 5 available serial channels implemented in MODASC. The mode selection is determined by pin named CONFIG,where0and1indicatesautonomousand slave modes respectively. As both modes are independent, bellow they are explained in different sections. A. AutonomousMode In this mode MODASC captures environmental data and also determines its position using GPS. According to a predetermined schedule, MODASCwaitsuntilthecontrolcenterestablishes a connection, sending queries to determine ASIC present status. In figure 1 a block diagram of autonomous mode is shown. In this mode, the most critical issue is to ensure power supply to guarantee proper operation and location of the system. Therefore, energy consumption minimization should be taken. MODASCinternallystoressensorinformationand receivesGPSpositionfromthetransceiver. Allthis data is periodically sent tothe control center. The functionality of the circuit is completed with
TRANSCEPTOR CAD CONTROL CAD CAD NBAT RS-232-C LD1 LD2 SETTTRA1 SETTRA2 MAE BUZ SETFLSH CONFIG=0 SNAP . . . . NBAT POSITION SPEED COURSE REAL TIME CLOCK TRANSCEPTOR CRC DES COMMUNICATION FREQUENCY DIVIDER POWER SUPPLY CONTROL PROTOCOL ARITMETIC UNIT MEMORY SENSOR SENSOR MEASURE MEASURE EPROM MEMORY RAM ADDRESS BUS DATA BUS BLOCK SURVEILLANCE ANTENNA Figure 1: ASICfunctional diagram in autonomousmode violation sensors, optical and acoustical signals to indicatefunctionalstatus,controlblock,arithmetic unit, frequency divider and internal configuration registers. MODASC is connected to the GALAXY transceiver using RS- 232-C. In order to achieve maximum compatibilitywithother transceivers, thecommunicationbetweenASIC and GALAXY utilizesSTANDARD-C Inmarsat Protocol when possible. The Communication Module is devoted to this communication protocol. To achieve data privacy, standard encryption algorithm (DES)[2] is implementedin MODASC. To verify dataintegrity, CRC code is added attheend of every message. The Power Supply Module deals with power consumption, activating peripherals only when it is needed. The activation schedule can be determined using programmable timers. This module also supervises battery voltage level. When this voltage level is bellow a predefined reference (50%), MODASC begins working in energy saving mode. When in this mode, its functionality is reduced to provide communicationwith the control center. The Analog Signal Acquisition Module captures environmentalanalogdata. Eightten-bitanalogto digital stochastic converters [3] are implemented. The main advantageof theseconverters isthatuse purely digital technology, thus decreasing manufacturing costs. Areal-timeclockisincluded todeterminecommunication periods. This clock is update whenever ASIC receives GPS time. The Global Control Module determines the global functionalityofthesystem,includingaccesstosystem buses. The kind of messages used in INMARSAT-C protocolisthe’Store&Forward’class,chosenbecause of its high reliability and acceptable transmission cost. For debugging facilities, an auxiliary serial port is connected to the serial port devoted to transceiver communication, as it is shown in figure 2. This way, when CONFIG is equal to 0 (autonomous mode), the auxiliary serial port receives all messages that are transmitted between transceiver and ASIC, and it can directly send data to the transceivertobeconfigured. Inslavemode(CONUART 2 UART 1 GALAXY (TRIMBLE) TERMINAL CONFIG CONFIG 0 1 0 1 ASIC 0 RS-232-C RS-232-C ADAPTER ADAPTER Figure 2: ASIC-Transceiver protocol monitoring in autonomousmode FIG=1) serial ports are working independently. B. SlaveMode In thismode MODASC works as a peripheral to a standard microprocessor. In figure 3 a block diagram corresponding to the slave mode is shown. An 8-bit data bus, 6-bit address bus, R= W and CS are microcontroller’s signals to access ASIC data. In this mode, MODASC provides 5 serialcommu-
C A/D C A/D C A/D C A/D Canal 0 Canal 1 Canal 2 Canal 4 Canal 3 RxD0 TxD0 RxD1 TxD1 RxD2 TxD2 RxD3 TxD3 TxD4 RxD4 Rec. Buffer Transm. Buffer Rec. Buffer Transm. Buffer Rec. Buffer Transm. Buffer Rec. Buffer Transm. Buffer Rec. Buffer Transm. Buffer Watch - Dog WD C A/D C A/D C A/D C A/D reloj Programacion R/W ED7 ED5 ED6 ED4 ED3 ED2 ED1 ED0 SD7 SD5 SD6 SD4 SD3 SD1 SD0 WDRESET SD2 ECA7SE7 SE6 ECA6 SE5 ECA5 ECA4 ECA3SE4 SE3 SE2 ECA2 ECA1SE1 SE0 ECA0 ADB 5:0 DB 7:0 CS INT SCL SDA I2C RDD RDI clave DES DATA BUS ADDRESS BUS REGISTERS STATUS AND MASK CONFIGURATION REGISTERS STATUS MASKS REAL TIME CLOCK BAUD RATE GENERATOR IRQ INTERRUPT CONTROLLER Figure 3: ASIC functional diagram in slave mode nication ports. They manage 8 data, one start and one stop bits. Whenever an UART receives one data byte, it generates an external interruption. Similarly, when one data byte is written in the transmission register, it is automatically transmitted. When this buffer empties, the corresponding state flag is activated. There exist a mask register todeactivateinterruptions,andanerror register to indicate frame errors. Another communication block implements a simplified version of an I 2 C bus [4]. This is a synchronous serial communication channel, that utilizes only two lines: a bidirectional data line and a synchronization clock line. In our approach, this mode isconsidered to be masterrespect to peripheralcircuits thatworkasslaveswhentheyare connected to this port. Communication frames are composed of 7-bit address,aR/Wbit,onebyteofdata,andanreception acknowledge bit (see figure 4). The synchronization clock frequency is 100 K bits/s. SDA SCL 12 789 ACK Acknoeledgement 123 789 Acknoeledgement STOPSTART Figure 4: I 2 C bus datatransfer Signal timing and electrical features comply specifications given in [4]. External control of I 2 C bus is realized by writing and reading operations of corresponding output and input data registers. Available status register allowsforcontrol ofthisblock. Both interrupt and polling management of this port is possible. A Watch-Dog circuit has been included in ASIC functionality to prevent microcontroller from being blocked. ASIC functionality is completed with 8 input and 8 output digital signals, 8 Analog to digital converters based on stochastic logic [3] as it is drawn in figure 5, a real time clock, and DES block Vo Vi ASIC SUCESIVE REGISTER APPROXIMATION DIGITAL VALUE RANDOM NUMBER GENERATOR CDE Figure 5: Block Diagram of an analog to digital converter based on stochastic logic III. IMPLEMENTATION Critical blocks, such as Inmarsat-C protocol, have been simulated in C language. Now, the hole system its being described in behavioral language (VERILOG [5]). The ASIC will be designed using CADENCE DESIGN FRAMEWORK II. The ASIC has a estimated area of 50 mm 2using ES2 ECPD07 StandarCelltechnologyandPLCC-84packagehas been selected. REFERENCES [1] GALAXY-C/GPSUsers Manual. TRIMBLE. 1995 [2] A.S. Tannenbaum Computer Networks. Prentice-Hall International. 1989. [3] J.G. Ortega, C.L. Janer, J.M. Quero and L.G. Franquelo. “Analog to Digital and Digital to Analog Conversion Based on Stochastic Logic” . Proceedings IECON’95. [4] Philips Semiconductors 80C51-Based8-Bit Microcontrollers [5] Verilog-XL.ReferenceManual,vol1,2,3 .CadenceDesignSystems, Inc.