|
|
Several organizations within the Boeing Company are working together to define a standard interface that would allow a data acquisition system to record information from a large number of smart sensors at a bit rate of 12,800 sps. Lee H. Eccles, Boeing Commercial Airplane Co. As we were developing a data acquisition (DA) system for the Boeing 777, we determined that we needed several new sensors. Some of those we selected had digital outputs and internal compensation to correct for the effects of temperature and nonlinearity. Each type of sensor had a different output characteristic, so what we needed was a standard interface between the detectors and the DA system. Lacking the time to develop one, we had to tailor an interface for each sensor. Once we had completed the DA system and testing was under way, we decided to address the issue of defining a standard interface. The bus would thus be ready when we had to meet the next airplane development deadline. We contacted several other testing organizations within Boeing and discovered that others had the same problem. The team we subsequently created gathered the pertinent user requirements and is using them to define a standard interface that could be the basis for a distributed DA system. General ConceptOne requirement that came to light early was to simplify the wiring as much as possible. The reason is simple economicsit costs money to install a complex cable. For airplane installations it is often necessary to cut access holes in the structure and to restore the structure after the test is completed. So the fewer cables needed and the smaller, the better. In laboratories, the signal conditioning is often located in a control room that might be up to 1000 m from the transducers. For a system with several hundred sensors, this translates into a lot of expensive cables. With this in mind, we developed a concept calling for a single pair of wires carrying power to the detectors and returning digital information to the DA system for recording. (This idea is not newthe lighting in new commercial buildings is often controlled by signals transmitted over the power wires, simplifying the wiring scheme and reducing its costs, assuming that the electronics cost less than the wiring.) Motivating FactorsIn many conventional configurations, a sensor is installed remotely and its cable is run to a centralized signal conditioner whose output is then fed to a multiplexer that drives an analog-to-digital converter (ADC). The ADC's output goes to a computer or is output as a PCM bit stream to a recorder or telemetry system. In addition to the expense of building and installing long cables from the detector to the signal conditioner, there are other problems. The excitation voltage for the sensor needs to be precise since any variation will show up also in the sensor output. The voltage drop in the cables can be compensated for by running more wires, but that just drives up the cost. Long cables also pick up noise that creates measurement errors. The size and cost of signal conditioning components have until recently prohibited their installation near the sensor or inside its housing. Modern ICs, however, and especially ASICs, have reduced the size and cost of these components to the point where we now believe it will be less expensive to install the signal conditioning and the ADC inside the housing or very near the sensor itself. This arrangement will allow the signal conditioning to be optimized for the specific sensor. The elimination of long cables will permit us to measure not only the physical variable of interest but also other factors such as temperature or pressure that may cause measurement errors. The complex ICs and microprocessors will allow the detector output to be compensated for such variables. Digital filtering can be applied to the output of the ADC to remove any noise outside the band of interest. This all leads to a more accurate measurement for the same or less cost. Digital techniques and microprocessors will also allow the sensor to perform self-diagnostics in ways not possible with conventional methods. The greatest benefits, however, will be realized only if we work together to define the interfaces to these devices so that the cost advantages can be realized. Use of Existing TechnologyThe team wanted to take advantage of work going on in other industries. Fieldbus development efforts on the part of the process control industry have yet to produce a unified U.S. standard, but ProfiBus is widely used in Europe. The automotive industry has adopted the Controller Area Network (CAN), developed in Germany, for both automobiles and factories. CEBus is being used in the building industry and other protocols are known to exist as well. One of our goals was to try to determine which of these existing systems could be adopted as is or modified to meet our needs. We paid particular attention to work carried out by the IEEE and the National Institute of Standards and Technology (NIST) toward a standard definition of the elements that make up a smart sensor and the various device-level interfaces. "Smart sensor," as used in this article, refers to any sensor that produces a digital output. We decided to adopt a variation on the IEEE/NIST model for the sensors in our system. This model was later revised, and our version reflected those changes (see Figure 1). The primary difference between the IEEE/NIST models and the Boeing models is the presence of an analog output that some users wanted for troubleshooting problems with the system. In addition, some of the laboratory groups are considering attaching actuators to this DA tool.
System Concept
Data Sampling Requirements The same principle holds true for groups of sensors on a given bus. To satisfy the ±2 µs requirement, the data are held in the sensor until time to transmit the information to the host. The system requires some sort of common clock, which could take the form of the host's commanding each sensor to sample and transmit its data. Alternatively, the host can provide periodic time commands and allow each sensor to maintain the time interval between the host's commands. The command-response mode drives up the amount of traffic on the bus, but a higher degree of complexity is required of sensors that must maintain their own clocks that are synchronized by the host's time commands. Data Sampling RatesThe laboratory and airplane data systems users requested that the system be able to support 12,800 sps for each bus, and that the sensor output not be limited to a fixed number of bits. To closely define what would be required of the bus, however, we had to place some sort of limits on the sensors. We therefore defined the number of bits per data sample to include 16 data bits plus whatever overhead bits the bus would require. We were then able to define the bus's minimum bit rate requirement, which turned out to be only 204,800 bps just to support data transfer. Adding in overhead, error correcting codes, and dead time between transfers increases the minimum bit rate to somewhere on the order of 1 3 106 bps. A command-response type of system would probably need twice this rate. The number of sensors that a given bus can support is either increased or decreased, depending on whether the sensors connected to it are designed to transmit more or less than 16 bits. This number must still be taken into acount in figuring the total number of bits per second, and the rates for all the networked sensors on a bus will not necessarily be uniform. The rates may differ, for instance, as a result of a single pair of wires' being run into a particular area, such as an engine, and connected to temperature, pressure, and vibration sensors. If all the sensors had to respond at the same rate, the vibration sensor would drive the data rate and only two sensors would be able to share a pair of wires. Putting the Data into PacketsThe attainable data rate is inversely related to the overhead in the data transmission protocol. Collecting the data samples into groups or packets increases the number of data bits relative to the number of protocol bits and raises the data rate. There are two areas where this is not acceptable. When sensors are feeding data to actuators over the bus, the sample received by the actuator must be a real-time sensor output. The other case is the flight test data system, which requires that the real-time monitor receive data in the order of acquisition. This does not happen with a packetized data system; packets containing data that are being sampled slowly will contain information much older than that in packets being sampled at a higher rate. Put simply, packetizing data is a handy but not a universal tool.
Operational Requirements This is a natural way for the system to be used. During a test, the system runs in the DA mode and no one is permitted to request memory dumps or set up a sensor. When no test is in progress, the system will be used to set up for the next test and troubleshoot problems on the network. The assumption is that when the system is in the setup mode, the DA schedule will be running in the background without the timing guarantees. Failures on the BusWhat happens when the bus or one of the sensors on it fails? If the failure is of the type that allows the bus to keep running, the sensor's diagnostic feature should quickly identify it to the operator. If the failure disables the bus, however, the operator needs a way to locate the failure and take corrective action. Locating a failure when a number of devices are connected in parallel on the same bus is difficult at best, but bus design must address this problem. One common problem that could take the system down is a continuously
transmitting sensor. Each sensor should therefore have a built-in capability
If the bus is designed to run its DA schedule whenever it is powered up (unless shut down by the operator), what happens when a sensor is added or removed? Again, some contingencies have yet to be fully defined but the general concepts can nonetheless be discussed. Theoretically, a sensor is added or removed only when the bus is in setup mode. If a sensor is removed when the bus is operating, its data simply will not appear in the host. The system should have a way of detecting this event, but what happens next has not yet been determined. A sensor added to the bus should not start transmitting its data until it is integrated into the system's sampling schedule. This conflicts with the idea that it should come up running when it is powered up, so some interaction with the host will probably be required after powerup before any sensor starts transmitting data. The addition or removal of a sensor from an active bus should not cause more than a momentary interruption of bus operation. For example, a transmission in progress when a sensor is connected can be corrupted. That is acceptable, but after the transient on the bus is gone, the bus must continue in normal operation without any operator action. It is not acceptable to have to reset the bus or system to recover from this type of event. Physical RequirementsMany physical requirements must be addressed during system development. Some of the labs want the bus to operate outdoors where it will have to withstand rain, heat, mud, and other environmental assaults. Many of these pertain to an airplane as well, with the addition of vibration and temperature extremes. Stringent EMI/RFI requirements must also be satisfied before any system can be installed in an airplane. There are other criteria as well, but we would prefer to use a generally available standard that outside vendors can readily understand and follow in qualifying parts without working directly with us, at least at this stage. In some cases, the environmental requirements will be so specific for a given sensor that a general specification will not be useful, but we hope that this is the exception and not the rule. Analysis of Existing TechnologyWe are currently evaluating the commercially available buses. Among those we have already eliminated are CEBus and LONWorks, which appear to be too slow to support the desired data rates. CAN is marginal in that it can support the data rates but not with the desired cable lengths. It would also require a 4-wire cable. On the other hand, CAN is supported by widely available ICs. Perhaps it could work, with some modifications of our system concept. In the U.S., Fieldbus Foundation has joined forces with World FIP to complete the work begun by ISA. This effort has thus far resulted in a definition of the physical layers of a fieldbus, as laid out in ISA Standard S-50 Part 2. The total capabilities of this bus cannot be determined since the higher protocol layers have a significant effect on the data sampling rate. The only other fieldbuses under consideration are ProfiBus and World FIP. ProfiBus has several different speed ranges; ProfiBus-DP, with rates up to 12.5 Mbps, would appear fast enough but we are finding some features we do not like. For example, all devices on the bus must be sampled at the same rate. World FIP comes the closest to meeting all our requirements but cannot handle our requisite 12,800 sps per bus. We are also investigating Firewire and the Universal Serial Bus (USB). Because both are designed for use with PCs, they have the necessary bandwidth and the chip sets to support them will be widely available. The USB has a too-short physical limit of 5.5 m between active nodes on the network. Firewire has a similar limit, but we do not know what it would take to extend it. The final option under consideration is to take one of the existing field buses and modify it to add a different physical layer and any required protocol changes. This might be the only way to meet most of our requirements. We still have quite a bit of work to do toward determining which bus to use and how to implement it, but we expect to accomplish most of our goals. AcknowledgmentsI would like to acknowledge the efforts of R.L. Bubar, L.W. Catlin, M.J. Holland, R.A. Juelfs, and T.R. Marquis, who have spent many hours collecting and compiling the requirements submitted by the various user groups. This article would be quite different and less useful without their input. Adapted from a paper presented at the 1996 Summer Test and Measurements Conference, sponsored by the Western Regional Strain Gage Committee, Society for Experimental Mechanics, 67 August 1996, Bethel, Connecticut.
Lee H. Eccles is Senior Principal Engineer, Flight Test System Development Group, Boeing Commercial Airplane Co., PO Box 3707, M/S 14-ME, Seattle, Wa 98124-2207; 206-655-2824, fax 206-655-7724, lee.h.eccles@boeing.com |
|
|