Signal Conditioning: Buy vs. Do-it-Yourself


We have been asked whether we feel do-it-yourself (aka “In-House”)  Signal Conditioning is a better option than buying signal-conditioning solutions from a vendor. The table below summarizes our opinion – in summary ... you or your organization are almost always better off buying a canned solution. Fewer headaches!

Canned (pre-built) Solutions

In-house design

1. Scalable – One can simply add or remove channels and cost on a per channel basis

2. Flexible – One can change functions on a per channel basis; that is: add thermocouples or RTDs to a voltage-input system

3. Serviceable – One gets the shortest MTTR (mean-time-to-repair) since I/O is replaceable on a per channel basis

4. Easy to apply – Instrument such as I/O impedances interface to broadest types of electronic components and systems

5. Vendor Item – Complete subassembly that's designed from input to output for the following:

1-Input Protection (wiring errors + transients)

2-Input to output and power supply Isolation

3-Signal filtering (Up to 6 poles of filters)

4-High Accuracy and Linearity

5-Amplify or attenuate signal

6-Very Low output noise

7-Linearization done in hardware

8-Excitation voltage also isolated

6. Agency Certifications – CSA, FM, CE and other certifications are part of each sub-assembly (part number)

7. Test Reports – Vendor ships test reports (serialized) with each signal conditioner

- accuracy traceable to NIST

8. Lowest Lifetime Costs, Controllable – Vendor purchases for high-volume production. Also, as with any vendor item, you have simple part numbers, quantities, and costs to negotiate on fixed period of time contract

9. DAQ vendor always has parts Inventory – Vendor keeps thousands of parts/modules on the shelf to support your emergency needs

10. Simple Upgrade Path – Quick and easy drop-in design improvements; e.g. a dash 1 or dash B part number.

 

 

1. Fixed (not scalable) – No. of channels are created at design time and that number can’t be changed

2. Fixed – Functions are designed in as a step in the design process and not changeable.

3. Difficult-to-repair – Troubleshooting can be very difficult! To trace and repair problems can take a lot of time and consume your resources + $.

4. System Interaction is where many analog circuits fail due to mismatched impedances, bandwidths and grounds.

5. Analog Design Expertise is Rare Today: It’s very hard to find a knowledgeable analog engineer and just as difficult to pass expertise on from engineer to engineer. Signal conditioners require multi-faceted analog design capabilities – one must consider all facets to create a solid design.

6. Agencies will need to be revisited for (re-)certification on any product upgrades and submitted for all new OEM products

7. Testing Expense – One will need to add the cost of test equipment and technician time to your own product cost

8. Engineering Change Orders – These are the hidden costs associated with each circuit board revision, documentation controls, raw material costs and other MRP overhead costs.

9. Customer Support + Field Service need investment in renewal parts inventory –- increases costs in raw materials and work-in-process as well.

10. Complex Up-Grade Path – One must re-address issues 4, 5, 6, 7, and 8 above

= = = Wiki DAQ: Mechatronics = = =

<< | Related | >>

7: Signal Conditioning and Real-Time Interfacing (cont. from prev.)

3. Transducers and Signal Conditioning

Transducers sense physical phenomena and produce electrical signals that the DAQ system measures. e.g., thermocouples, resistance temperature detectors (RTDs), thermistors, and IC sensors convert temperature into an analog signal that an analog-to-digital converter (ADC) can measure. Other examples include strain gauges, flow transducers, and pressure transducers, which measure force, rate of flow, and pressure, respectively. In each case, the electrical signals produced are proportional to the physical parameters they monitor.

The electrical signals generated by the transducers must be optimized for the input range of the DAQ device. Signal conditioning accessories amplify low-level signals and then isolate and filter them for more accurate measurements. In addition, some transducers use voltage or current excitation to generate a voltage output. The analog input specifications give you information on both the capabilities and accuracy of the DAQ product. Basic specifications, which are available on most DAQ products, tell you the number of channels, the sampling rate, the resolution, and the input range.

Amplification

The most common type of conditioning is amplification. e.g., the low level thermocouple signals should be amplified to increase the resolution and reduce noise. The signal should be amplified so that the maximum voltage range of the conditioned signal equals the maximum input range of the ADC.

Isolation

Another common signal-conditioning application is isolating the transducer signals from the computer for safety purposes. The system being monitored may contain high-voltage transients that could damage the computer without signal conditioning. Isolation ensures that the readings from the plug-in DAQ device are unaffected by differences in ground potentials or common-mode voltages. When the DAQ device input and the signal being acquired are each referenced to "ground," problems occur if there is a potential difference in the two grounds. This difference can lead to ground loop, which may cause inaccurate representation of the acquired signal. If the difference is too large, it may damage the measurement system. Using isolated signal-conditioning modules eliminates ground loops and ensures that the signals are accurately acquired.

Multiplexing

A common technique for measuring several signals with a single measuring device is multiplexing. Signal-conditioning hardware for analog signals often provides multiplexing for use with slowly changing signals like temperature. The ADC samples one channel, switches to the next channel, samples it, switches to the next channel, and so on. Because the same ADC samples many channels instead of one, the effective sampling rate of each individual channel is inversely proportional to the number of channels sampled.

Filtering

The purpose of a filter is to remove unwanted signals from the signal that you are trying to measure. A noise filter is used on DC-class signals, such as temperature, to attenuate higher frequency signals that can reduce the measurement accuracy. If the noise signals were not removed, they would erroneously appear as signals within the input bandwidth of the device. AC-class signals, such as vibration, often require a different type of filter known as an anti-aliasing filter. Like the noise filter, the anti-aliasing filter is also a low-pass filter; however, it requires a very steep cut off rate, so it almost completely removes all signal frequencies that are higher than the input band width of the device.

Excitation

Signal conditioning also generates excitation for some transducers. Strain gauges, thermistors, and RTDs (e.g.,) require external voltage or current excitation signals. Signal conditioning modules for these transducers usually provide these signals. RTD measurements are usually made with a current source that converts the variation in resistance to a measurable voltage.

Strain gauges, which are very low-resistance devices, typically are used in a Wheatstone bridge con figuration with a voltage excitation source.

Linearization

Another common signal-conditioning function is linearization. Many transducers, such as thermocouples, have a nonlinear response to changes in the phenomena being measured.

Several software systems are available, including linearization routines for thermocouples, strain gauges, and RTDs.

Number of Channels

The number of analog channel inputs is specified for both single-ended and differential inputs for devices with both input types. Single-ended inputs are all referenced to a common ground reference. These inputs typically are used when the input signals are high level (greater than 1 V), the leads from the signal source to the analog input hardware are short (less than 15 ft), and all input signals share a common ground reference. If the signals don't meet these criteria, you should use differential inputs. With differential inputs, each input has its own ground reference; noise errors are reduced because the common-mode noise is canceled out.

Digital I/O

Digital I/O interfaces are often used on PC DAQ systems to control processes, generate patterns for testing, and communicate with peripheral equipment. In each case, the important parameters include the number of digital lines available, the rate at which you can accept and process digital data on these lines, and the drive capability of the lines. If the digital lines are used for controlling events (such as turning on and off heaters, motors, or lights), a high data rate is usually not required because the equipment can't respond very quickly. The number of digital lines, of course, should match the number of processes to be controlled. In each of these examples, the amount of current required to turn the devices ON and OFF must be less than the available drive current from the device.

A common digital I/O application is to transfer data between a computer and equipment sum as data loggers, data processors, and printers. Because this equipment usually transfers data in one byte (8-bit) increments, the digital lines on a plug-in DIO device are arranged in groups of eight. In addition, some boards with digital capabilities will have handshaking circuitry for communication synchronization purposes. The number of channels, data rate, and handshaking capabilities are all important specifications that should be understood and matched to the application needs.

4. Devices for Data Conversion

In this section, the basic principles of the operational amplifiers are discussed followed by some of the basic circuits that are used in signal conditioning. Major components reviewed in this section are amplifiers, zero and span circuits, and A/D and D/A converters.

Let us consider an example of a real-time mechatronic system. it's assumed that the output power to be controlled is of a continuous nature and measured with an analog-type transducer. This information is passed to the analog-to-digital (A/D) component. The analog signal is converted into a binary format in order to be compatible with the data acquisition system. The output is determined based on the model of the process and the control algorithm. If an electro-hydraulic actuator does the final actuation, an electro-hydraulic servo valve at the interface modulates the fluid power variable and produces the desired output at the fluid power actuator-load interface. In this case, integration of electronic, mechanical, and fluid power components are necessary for successful implementation of a computer-controlled system.

Operational and Instrumentation Amplifiers

Operational Amplifiers

An amplifier is an electronic device which increases the size of volt age or current signal without altering the signal's basic characteristics. Operational amplifiers (op-amps) are termed operational because of their early growth in a computing area-mainly to perform mathematical operations. The operational amplifier has emerged as a basic building block in electronic circuits and is made up of many transistors fabricated on a processor chip.

Its use arises from its ability to provide accurate and stable results under a wide range of operational conditions. Ill. 3 is the schematic symbol for an operational amplifier showing its principle terminals. it's also characterized by very high gain, high input impedance, and very low output impedance. Without feedback, the amplifier would be unstable because of its excessive gain.

ILL. 3 OPERATIONAL AMPLIFIER SCHEMATIC SYMBOL

The operational amplifier has three terminals known as the inverting input, non-inverting input, and the output. Depending on the magnitude of the components and the configuration used, different characteristics are obtained.

Referring to Ill. 3, the terminal identification is

Thus, V+ and V2 = input voltages Vo = output voltage terminal

+ Vcc and - Vcc = power supply usually with magnitudes in the range of 10 to 15 V

Basic characteristics of operational amplifier are:

• Inverting input terminal; A voltage applied to this terminal is amplified with an 180° phase shift.

• Non-inverting terminal; A voltage applied to this terminal is amplified without a phase shift.

• The voltage gain is so great that the voltage difference between the inputs is zero

• The input impedance is so great that the inputs draw no current.

• Zero output impedance.

R_i = input resistance (Lq) Ro = output resistance (L0)

ILL. 4 TEST CIRCUIT FOR OP-AMP

From these parameters, the operating characteristics of the device are determined. e.g., the infinite input resistance implies a zero input current at either input terminals:

Also, the zero output resistance implies that, regardless of the load on the output terminal, there will not be any loss in the output signal.

To study the effect of the infinite gain on operational amplifier, consider the circuit shown in Ill. 4. Here the input voltage, Vin is actually equal to the difference between V_ and V_, between the input terminals. If Vin is varied over a wide range, the output voltage changes, as in Ill. 4.

ILL. 5 OP-AMP OUTPUT CHARACTERISTICS

In this example, a supply of ;15 V and an op-amp with a voltage gain equal to 200,000 is assumed. From the output characteristics in Ill. 5, we see the output voltage never exceeds the power supply; 15 V. When operating in this region, the device is saturated. However, in the region between the two horizontal lines in the figure, the characteristics are very linear and have a slope equal to the gain (in this case 200,000 ). The main consideration here is the magnitude of input

voltage required to drive the operational amplifier into saturation, namely, either _75 or _75 _V.

In other words, a voltage difference of 0.000075 V at the input terminals will cause the device to saturate. A very useful fact about operational amplifiers operating in their linear region is that the difference in potential across the input terminals approaches zero (due to the higher gain).

Basic op-amp circuits for signal conditioning purposes are discussed next.

(V+ - V-) = 0; ‹ V+ = V-

ILL. 6 NON-INVERTING AMPLIFIER

ILL. 7 INVERTING AMPLIFIER

Basic Op-Amp Circuits

As an example of a basic op-amp circuit, let us consider the non-inverting amplifier shown in Ill. 6. It should be noted that the amplifier is non-inverting, because the sign of the output voltage relative to the ground is the same as the input voltage.

The output is considered to be taken from across a potential divider circuit consisting of R1 and R2 in series. The voltage Vx is a fraction of the output voltage.

Since there is no current through the operational amplifier between the two inputs, there is no potential difference between them. Therefore,

Equating Equations 1 and 2 and solving for the output voltage yields Vx = Vin

It can be noted that the closed-loop gain of the non-inverting amplifier depends only on the external resistors R1 and R2. Introducing the negative feedback through the resistors has reduced the overall closed-loop gain. While this feedback has reduced the gain, it has made the amplifier independent from the operation amplifier itself.

Another basic op-amp circuit is the inverting amplifier, as shown in Ill. 7. The signal is applied to the inverting terminal through a resistor R1 with the non-inverting input connected to the ground. This results in an output that is out of phase with the input. A feedback path is provided from the output, through the resistor RF, and to the inverting input. it's to be noted that, since the _ input terminal is at ground potential, then the _ input terminal also must be at the ground; therefore,

Since the voltage at the junction of the resistors R1 and RF = 0 and the input current to the op amp is also 0, the currents in the resistors must be equal; therefore,

Solving Equation 6 for the output voltage gives

It can be noted that the closed-loop gain of the inverting amplifier depends only on the external resistors R1 and RF. Furthermore, the gain is negative (180° phase shift). This is an important difference between the inverting and non-inverting amplifiers. In the non-inverting configuration, the signal is applied to the op-amp input terminal, which has an infinite input resistance, and there fore, no current is drawn from the signal source. On the other hand, in the inverting amplifier, the signal is applied through the resistor combination, and as indicated above, a current is drawn from the source. For best results, it should be driven by a low output resistance source.

This current is:

From this, we may state:

R_in_inverting = R1 Rin_non-inverting =q

This difference in the input resistance plays an important part in instrumentation amplifiers.

ILL. 8 (A) TRANSDUCER OUTPUT (B) A/D INPUT

Zero and Span Circuits Depending on specific applications, the output signals of transducers may need to be raised to the level needed. e.g., consider a pressure sensor that has a sensitivity of 0.001 V/kPa over a range of 0 to 5000 kPa (abs.) and has an output of 1.2 V at 0 kPa (abs.). If this sensor were used to measure a pressure of 0 to 1000 kPa (abs.) and energize an A/D converter at voltage levels of 0-5 V, then some modification to the signal would be required.

This situation is shown in Ill. 8. In order to provide the desired signal for the A/D converter, the y-axis intercept and the slope of the sensor output are modified. For considering the slope, the output equation of the inverting amplifier is considered. From Equation 7…

Equation 7 is in the form y _ mx _ b, (the equation for a straight line), where the slope is the coefficient of the term on the right side is shown as

The b or y-intercept term can be obtained by adding a second input to the inverting amplifier as shown in Ill. 9. Here VR is a constant reference voltage equal in magnitude to the y-intercept. The output is obtained by considering each input separately and adding them. The result of this calculation is

ILL. 9 MULTIPLE INPUT INVERTING AMPLIFIER

The addition of the inverting amplifier with a gain of _1 will get rid of the negative output.

The output expression for this amplifier is:

As an example of a zero/span design, a pressure sensor and A/D converter are shown next. Let VT be pressure sensor output and Vo _ amplifier output. The sensor output is Consider the slope as per Equation 11, At p = 1000 kPa (abs.) VT = 1.2 + (0.001)1000 = 2.2 V and Vo = 5 V At p = 0, VT = 1.2 V and Vo = 0 V

We select RF _ 10 k , then R1 _ 2 k for the amplifier, the zero may be set by applying Equation 13:

At p _ 0 Equation 15 becomes 0 _ (5)(1.2) _ VR and VR __6 V, which completes the design of the amplifier.

Instrumentation Amplifier

The output signals of transducers are rarely at the levels required for the job at hand. The desired signal is often achieved using a versatile amplifier known as an instrumentation amplifier. The gain of this amplifier can be precisely set by the addition of a single external resistor, and it has a very high input resistance. It also has the ability to amplify small signals in the presence of noise. Ill. 10 shows the schematic of an instrumentation amplifier.

ILL. 10 INSTRUMENTATION AMPLIFIER

Referring to Ill. 10, op-amp1 and op-amp2 are the input sections of the amplifier. OP-amp3 is a unity gain amplifier in the output section, which converts the output to the single end. The instrumentation amplifier shown in the figure has two inputs, which is useful for applications (such as strain gauge bridge circuits). The resistor RG is the external gain setting resistor. Letting V1 _ V2 __ Vin and VA _ VB __ Vo we can proceed with the following analysis:

Since the basic relation V_ _ V_ holds, the current through the gain setting resistor, RG, is …

The input currents to the op-amps are zero; IG must flow through both resistors R and RG; therefore, …

This expression may be solved for the gain:

In practice, the designer selects the value for R and the external resistor RG to suit the gain requirement. In addition to providing the gain necessary for a given application, most commercial instrumentation amplifiers also allow for zero setting. The characteristics of the instrumentation amplifier are high input resistance and their ability to amplify small signals in the presence of noise.

Amplifiers are susceptible to errors, such as nonlinearity errors, hysteresis errors and thermal stability errors. The three-op-amp configuration for instrumentation amplifiers is a popular design.

Commercial units with these characteristics are available in the form of monolithic, modular single IC chips. Some models of instrumentation amplifiers are provided with power supply and digitally programmable resistor network units representing RG.

Since the gain of these units can be changed in conjunction with data acquisition systems, they are known as programmable gain instrumentation amplifiers.

5. Data Conversion Process

Data acquisition systems in the real-time environment, especially using microcomputers, has become an important need in many automated manufacturing situations. If it's required to monitor several pieces of data at precisely the same time, sample and hold devices are necessary. A sample and hold device is used to hold each sampled value of the signal until the next pulse occurs.

In many mechatronic applications, the sensor signal is a complex, time-varying voltage that is considered a combination of many sine and cosine waves of different frequencies and amplitudes. A process of filtering eliminates some of the frequencies. Some of the sources of noise are the following.

  • • Noises from the actuator motion, example being commutator brushes and relay contacts.
  • • Noise due to electromagnetic interference of transmission lines.
  • • Cross talk.

ILL. 11 MULTIPLEXER IN AN ANALOG-TO-DIGITAL CONVERSION ENVIRONMENT

Filtering is used to remove certain band of frequencies from a signal, permitting others to be transmitted. A low-pass filter has a band, which allows all frequencies from zero to a certain level frequencies to be transmitted. A high-pass filter has a pass band, which allows all frequencies from a certain level up to infinity. A bandpass filter attenuates signals at both high and low frequencies and allows a range of frequencies to pass without attenuation.

In several cases, the computer reads the information from several channels one at a time using a device called multiplexer. The multiplexer is a switching device which enables each of the inputs to be sampled in turn. it's a data selector that allows only one of the inputs to get through to the output. If it's necessary to control the experiment, the computer must supply the outputs in digital or analog form. Data acquisition systems require the use of analog-to-digital converters to input the sensed information coming from analog transducers and sensors to computer system. Ill. 11 shows a diagram of analog-to-digital conversion using multiplexer, sample-and-hold circuits.

If the needed control signal is analog (mainly for control valves and motors), digital output from the computer has to be processed through a digital-to-analog converter. In a computer-aided process control system, the process control actions are recommended to the operator and displayed on the operator terminal. Automatic closed-loop process control systems require that the sensed data be manipulated to decide the control action, which should be subsequently and automatically implemented by means of suitable actuators. The majority of the actuators (other than stepping motors and relays) require analog voltages and currents for their operation. it's therefore necessary to convert the digital binary output from the microcomputer into an analog format.

The real-time interface handles the required digital data from the A/D or D/A converters. The control program is designed upon an overall analysis of the closed-loop control system. This control algorithm is executed during each sampling interval. If the bandwidth of the system is relatively high and multiple signals are sampled and converted, then efficient interface software is necessary.

Typical control programs can be generated in higher-level languages, in assembly level languages and in visual simulation languages. Assembly languages are useful in some instances where execution time is small and critical. Visual simulation procedures are used for situations where real time data acquisition and control are done simultaneously using process models and sensor data. In these cases, block diagram-based models of manufacturing or industrial process are constructed and used in an atmosphere of hardware and software in one loop.

The Analog-to-Digital Converter

Although most of the sensors provide a direct signal output, a large number of transducers convert a dynamic variable into an analog electric signal. it's necessary to use an analog-to-digital converter (ADC) to transform an analog voltage into a binary number through a process called quantization.

Quantization

Quantization is a process of taking continuous analog signals and breaking it into a number of discrete steps. The conversion is discrete and takes place one at a time. The A/D converter has two sides: one is the analog side and the other is the digital side. The analog-side specification includes a full-scale reference voltage range (VR). The A/D converter will operate under this range. The digital side is specified in terms of the number of bits of its register. A n-bit A/D converter will output n-bit binary numbers. The three functions of sampling, quantizing, and encoding are involved in this process, which are shown in Ill. 12.

ILL. 12 FUNCTIONS OF ANALOG-TO-DIGITAL CONVERSION: Digital out, Analog in, Sampling Quantizing Encoding

The conversion process involves:

  • • Sampling the continuous signal.
  • • Storing this voltage, and , before the next sample is taken.
  • • Converting the stored number to the binary number, which typically consists of an n-bit binary output word length.

The quantization of a sampled analog signal involves the assignment of a finite number of amplitude levels corresponding to discrete values of input signals VX between the range of 0 and the full-scale value of VR. If the A/D converter has a range of 10 bits, 1024 (210) different values of the input voltage can be represented. A typical voltage range for these systems is 10 V. Therefore, the resolution would be 10/1024 or about 10 mV, which yields about 0.1% accuracy.

Sampling Rate

This parameter determines how often conversions can take place. A faster sampling rate acquires more data in a given time and therefore often can form a better representation of the original signal.

Resolution

The number of bits that the ADC uses to represent the analog signal is the resolution.

The higher the resolution, the larger the number of divisions the range is broken into and , therefore, the smaller the detectable voltage change.

Ill. 13 shows a sine wave and its corresponding digital image as obtained by an ideal 3-bit ADC. A 3-bit converter (as a simple example) divides the analog range into 23, or eight divisions.

Each division is represented by a binary code between 000 and 111. The resolution of the A/D converter is the number of bits used to digitally approximate the analog value of the input. The number of possible states is equal to the number of bit combinations that results from the converter (which is equal to 2n, where n is the number of bits). Clearly, the digital representation is not a good representation of the original analog signal, because information has been lost in the conversion. By increasing the resolution to 16 bits, however, the number of codes from the ADC increases from 8 to 65536 to obtain an extremely accurate digital representation of the analog signal.

ILL. 13 DIGITIZED SINE WAVE WITH A RESOLUTION OF THREE BITS

The error that results from the quantization process is called the quantization error. The quantization error can be as large as one-half the quantization level spacing.

Quantization error _ ; 1/2

EXAMPLE: Find the binary equivalent word that results from a 6.424 V input to a 5-bit A/D converter with a 10 V reference.

Solution: Using the successive approximation method, the results of each multiplication will have a fractional part and whole number part (0 or 1). This determines whether the digit is 0 or 1. The first multiplication gives the most significant digit (MSB) and the last multiplication gives the least significant digit (LSB).

0.3024(2) = 0.6048, b5 = 0

0.1512(2) = 0.3024, b4 = 0 Output = 101002 0.5756(2) = 1.1512, b3 = 1

0.2868(2) = 0.5756, b2 = 0

0.6434(2) = 1.2868, b1 = 1

EXAMPLE : Determine how many bits a converter must have to provide output increments of 0.02 volts or less. The reference is 10 V.

¢V = 0.02 = 10(2)^-n

EXAMPLE: A motor to be driven by a digital signal has a speed variation of 200 rev/min per volt with minimum rpm at 5 V and maximum at 10 V. Find the minimum speed word, maximum speed word, and speed change for change of 1 bit. Use a 5-bit, 15 V reference, D/A converter, as shown in Ill. 14.

Solution: The minimum speed is at 5V.

By using the successive approximation method, Code Width The range, resolution, and gain available on a DAQ device determine the smallest detectable change in voltage. This change in voltage represents one least significant bit (LSB) of the digital value and is often called the code width. The ideal code width is found by dividing the voltage range by the gain times two raised to the order of bits in the resolution.

Critical Considerations of Analog Inputs Although the basic specifications may show that a DAQ device has a 16-bit resolution ADC and a 100 kHz sampling rate, one may not sample at full speed on all 16 channels and get full 16-bit accuracy. e.g., some products on the market today with 16-bit ADCs get less than 12 bits of useful data. While evaluating DAQ products, also consider the differential nonlinearity, relative accuracy, settling time of the instrumentation amplifier, and noise.

Settling Time: Settling time is the time required for an amplifier, relays, or other circuits to reach a stable mode of operation. The instrumentation amplifier most likely will not settle when you are sampling several channels at high gains and high rates. Under such conditions, the instrumentation amplifier has difficulty tracking large voltage differences that can occur as the multiplexer switches between input signals. Typically, the higher the gain and the faster the channel switching time, the less likely the instrumentation amplifier is to settle.

Noise: Any unwanted signal that appears in the digitized signal of the DAQ device is noise.

Because the PC is a noisy digital environment, acquiring data on a plug-in device takes a careful layout on multiple-layer DAQ devices by skilled analog designers. Simply placing an ADC, instrumentation amplifier, and bus interface circuitry on a one or two-layer board will likely result in a very noisy device. Designers can use metal shielding on a DAQ device to help reduce noise. Proper shielding not only should be added around sensitive analog sections on a DAQ device but also must be built into the layers of the device with ground planes.

Triggers:

Many DAQ applications need to start or stop a DAQ operation based on an external event.

Digital triggers synchronize the acquisition and voltage generation to an external digital pulse.

Analog triggers, used primarily in analog input operations, start or stop the DAQ operation when an input signal reaches a specified analog voltage level and slope polarity.

Another important consideration is the number of analog input channels. In a multichannel A/D system, the processor is programmed to determine which analog channel to convert next in sequence. When several analog input channels are to be converted, the A/D converter is shared, or multiplexed, by sequentially sampling and converting the voltage on each of the channels.

Successive Approximation Type of A/D Converter

The successive approximation type of A/D converter (as displayed in Ill. 15) is a popular type of A/D converter. It uses a trial-and-error approach to estimate the input voltage to the A/D, which needs conversion. The pulses generated by the output of the clock are counted in a binary manner. A D/A converter changes it to analog voltage. A voltage comparator compares the clock-generated voltage to the input analog voltage of the sensor. In this type of A/D converter, a series of known analog voltages are generated and compared to the input voltage. When the analog input from the sensor equals the clock-generated voltage, the pulses from the clock are stopped. The counter output represents the digital equivalent of the analog input from the sensor.

The sampling interval, _T, is determined primarily by the bandwidth of the system being controlled. In typical industrial actuation systems where inertial loads are relatively large, typical bandwidths of 10 to 100 Hz are common. Using a sampling theorem, a sample time, T, of the order of 0.01 to 0.001 s is required.

Commercially available A/D converters today have sampling rates up to several hundred megahertz.

Range

Range refers to the minimum and maximum voltage levels that the ADC can quantize.

DAQ devices offer selectable ranges, so the device is configurable to handle a variety of voltage levels. With this flexibility, you can match the signal range to that of the ADC to take advantage of the available measurement resolution.

Speed change for change of 1 bit =¢S = (0.469 V)(200 rpm/V) = 93.8 rpm

Voltage change for change of 1 bit =¢V = V_ref (2)

ILL. 15 A/D CONVERSION (SUCCESSIVE APPROXIMATION CONVERSION)

Flash type analog-to-digital converters (as shown in Ill. 16) are fast. The converter consists of a set of input comparators that act in parallel with each having an analog input voltage as one input. The output of the latches is in digital form. The code converter consists of combinational logic circuits. For analog input voltage, all of those comparators for which the analog voltage is greater than the reference voltage will provide high output, and those for which it's less will pro vide low output.

ILL. 16 A/D CONVERSION (FLASH CONVERTER)

Digital-to-analog converters reconstruct the digital signals into continuous-time analog signals for the purpose of actuation and display. Some of the devices used in the mechatronic hardware area are analog devices (such as solenoids or valves). To actuate these devices from a computer, the computer output signals have to be converted to analog signals. A digital-to-analog converter is similar to a digitally controlled potentiometer that is calibrated in the range of operation. The digital to-analog converters typically consist of a precise reference voltage, a weighed resistor network comprised of switches that can be closed or opened in response to changes in the digital code for the word, and an operational amplifier.

Digital-to-analog conversion using software techniques involves the generation of a series of pulses by the microcomputer, which represents the digital information. The pulses are then applied to a resistor-capacitor network, which converts the digital data into an averaged DC signal. This software digital-to-analog conversion technique has to be specially designed for high-speed applications. Monolithic single-chip digital-to-analog converters, which use hardware to carry out high speed conversion, are also used in mechatronic devices.

<< | Related | >>

= = =