Practical Data Acquisition using a Windows based Power Meter

24,673

Circuit Image

This application note outlines the design of a PC-based, 14-bit data acquisition system. It adopts a systematic approach, incorporating all essential components: analog, digital, hardware, and software. The document elaborates on each phase, emphasizing the testing of individual systems prior to integration and sharing lessons learned throughout the process. While numerous articles have been published regarding the components of a typical data acquisition system, few address the comprehensive system from analog input to PC display. A power meter's necessity becomes evident when measuring the input and output characteristics of a DC-DC converter using standard instruments. This design enables users to conduct load measurements on the device under test without the complication of numerous test leads. The completed power meter display is shown on a personal computer (PC) monitor. To accommodate boost, buck, and linear implementations, the measurement range was set to 30V for both input and output. Most quality DC-DC converters operate at frequencies of 100kHz or higher; hence, the system's frequency response should exceed 100kHz, though a slower response is acceptable due to the repetitive nature of switching waveforms. The system's 14-bit resolution is not critical during the design phase, as measurements within 0.1% (10 bits) are sufficient for most power meter applications. Once digitized, the results are transmitted via an RS-232 interface and displayed on a PC screen, with an update rate of once per second, similar to most multimeters. Upon arrival at the RS-232 port, the computational power of the PC can be applied to the data. The complete circuit diagram will be discussed in sections: A precision resistive divider facilitates accurate voltage measurements up to 30V. The ORNA10-1 from Vishay Thin Film is a trimmed resistor network consisting of two 1kΩ and two 10kΩ resistors, with a ratiometric accuracy of 0.05%, providing a precision fraction (1/11) of the applied voltage. The MAX125's fault-protected input has a range of ±5V, ensuring safety under fault conditions and ample headroom for input and output voltage measurements. Input and output currents are measured using the precision current amplifier MAX471, which measures the voltage across an internal 30mΩ resistor and produces an output current of 500µA per ampere of high-side current. An external resistor scales the output voltage, achieving suitable resolution by selecting a value of 4.7kΩ. The MAX125's broad input capability and fault-protection circuitry result in lower input impedance compared to similar devices, necessitating buffering of the four readings before they enter the ADC. Unity-gain buffer stages are derived from the MAX4254 quad precision op-amp, with input offset voltages (70µV) lower than the system resolution. The buffering of the MAX125 inputs primarily addresses their low input impedance, and driving an ADC from low impedance is advisable, even when the converter has high input impedance. Sample/hold circuitry is typically located directly at the ADC input; thus, the buffer provides the necessary drive for charging the sample/hold capacitor within an acceptable time frame. To understand the required low source impedance, a simple calculation of the RC time constant can be performed.

The design of the PC-based, 14-bit data acquisition system is an intricate amalgamation of various electronic components and methodologies aimed at achieving high precision and reliability in measurements. The system utilizes a precision resistive divider, specifically the ORNA10-1 resistor network, which is instrumental in ensuring accurate voltage measurements. This network's configuration allows for a high degree of ratiometric accuracy, critical for applications requiring precise voltage readings.

The choice of the MAX125 ADC is significant due to its fault-protected input, which is essential for safeguarding the system during operation. This feature not only enhances the safety of the device under test but also provides a robust framework for measuring both input and output voltages without compromising the integrity of the data. The integration of the MAX471 current amplifier further complements the design by enabling accurate current measurements, which are crucial for evaluating the performance of DC-DC converters.

The use of the RS-232 interface for data transmission is a practical choice, allowing for straightforward communication between the data acquisition system and the PC. This interface facilitates the transfer of digitized results to the PC, where they can be processed and displayed in real-time. The update rate of once per second aligns with standard multimeter operations, ensuring that users receive timely and relevant data.

Buffering the inputs with the MAX4254 op-amp is a strategic decision that mitigates the challenges associated with low input impedance. This buffering not only enhances the accuracy of the measurements but also improves the overall performance of the ADC by ensuring that the sample/hold capacitor is charged efficiently. The design's attention to detail, such as the consideration of RC time constants, reflects a thorough understanding of the requirements necessary for achieving high-performance data acquisition in various applications.

Overall, the application note provides a comprehensive overview of the design, implementation, and operational considerations of a PC-based, 14-bit data acquisition system, serving as a valuable resource for engineers and developers in the field.This application note describes the design of a PC-based, 14-bit data acquisition system. It takes a system approach, includes all the necessary building blocks: analog, digital, hardware, and software. It discusses each step, testing systems separately before integrating them, and detailing pitfalls learned along the way.

Many articles h ave been written about the building blocks in a typical data acquisition system, but few address the entire system, from analog input to PC display. To cover all the problems encountered in designing a complete data acquisition system, the engineer might have to amass ten articles.

The following application note describes the design of a PC-based, 14-bit data acquisition system. It takes a system approach, includes all the necessary building blocks: analog, digital, hardware, and software. It discusses each step, testing systems separately before integrating them, and detailing pitfalls learned along the way.

The need for a power meter is apparent to anyone who has tried measuring the input and output characteristics of a DC-DC converter using conventional instruments. The design allows users to perform load measurements on the device under test without connecting an endless spaghetti-mass of test leads.

Figure 1 shows the completed power meter display on a personal computer (PC) monitor. To cater for boost, buck, and linear implementations, the measurement range was chosen as 30V for both input and output. Most quality DC-DC converters operate at 100kHz or higher. The system`s frequency response should therefore be higher than 100kHz, but a slower response is also acceptable because the switching waveforms are reasonably repetitive.

The system`s 14-bit resolution was not of prime importance in the design stage, because measurements to within 0. 1% (10 bits) are perfectly adequate for most power-meter applications. Once digitized, the results are uploaded via an RS-232 interface and displayed on a PC screen, with an update rate of once per second (like most multimeters).

Once data arrives at the RS-232 port, the power of the PC can be unleashed upon it. The full circuit diagram (Figure 2) will be discussed in sections: A precision resistive divider allows accurate voltage measurements up to 30V. The ORNA10-1 from Vishay Thin Film is a trimmed resistor network comprising two 1k © and two 10k © values.

The ratiometric accuracy of these four resistors is 0. 05%, and so provides a precision fraction (1/11) of the applied voltage. The MAX125`s fault-protected input has a range of ±5V, which allows a degree of safety under fault conditions and plenty of headroom for input and output voltage measurements. Input and output currents are measured using the precision current amplifier MAX471. This device measures the voltage across an internal 30m © resistor, and delivers an output current whose amplitude equals 500uA per ampere of high-side current.

Thus, the value of an external resistor scales the output voltage, and suitable resolution is achieved in this case by selecting a value of 4. 7k ©. The MAX125`s wide input capability and fault-protection circuitry give it a lower input impedance than that of equivalent competitive devices, so the four readings are buffered before entering the ADC.

Unity-gain buffer stages are taken from the MAX4254 quad precision op amp, whose input offset voltages (70uV) are lower than the system resolution. The MAX125 inputs are buffered mainly to overcome their low input impedance, but driving an ADC from low impedance is always good practice even when the converter has a high input impedance.

Because sample/hold circuitry is normally placed right at the ADC input, the buffer provides the necessary drive for charging the sample/hold capacitor in an acceptable time. To get an idea of how low the source impedance has to be, consider a simple calculation of RC time constant.

The input capacitor charges 🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713