Application Note AN-1127

Similar documents
Performance of Revised TVC Circuit. PSD8C Version 2.0. Dr. George L. Engel

MAS.836 HOW TO BIAS AN OP-AMP

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

Fig 1: The symbol for a comparator

P a g e 1. Introduction

Sensor Interfacing and Operational Amplifiers Lab 3

Differential Amplifier : input. resistance. Differential amplifiers are widely used in engineering instrumentation

Using the Peak Detector Voltage to Compensate Output Voltage Change over Temperature

LINEAR IC APPLICATIONS

Department of Mechanical Engineering

Chapter 2. Operational Amplifiers

Operational Amplifiers

Homework Assignment 01

What is the Kicker F.I.T. input circuit and why is it better?

AN-177 HI-8190/HI-8191/HI-8192 Analog Switch Application Note

High-side Current Sensing Techniques for the isppac-powr1208

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

Designing High Power Parallel Arrays with PRMs

A Digital Multimeter Using the ADD3501

Instrumentation Amplifiers

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

While the Riso circuit is both simple to implement and design it has a big disadvantage in precision circuits. The voltage drop from Riso is

Lecture #2 Operational Amplifiers

Chapter 9: Operational Amplifiers

ADC Bit High-Speed µp-compatible A/D Converter with Track/Hold Function

Differential Amp DC Analysis by Robert L Rauck

Part A: Inverting Amplifier Case. Amplifier DC Analysis by Robert L Rauck

Analog front-end electronics

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.

Unit 3: Introduction to Op- amps and Diodes

Automotive Surge Suppression Devices Can Be Replaced with High Voltage IC

APPLICATION NOTE 695 New ICs Revolutionize The Sensor Interface

ELT 215 Operational Amplifiers (LECTURE) Chapter 5

Practical RTD Interface Solutions

New Current-Sense Amplifiers Aid Measurement and Control

LM340 Series Three Terminal Positive Regulators

using dc inputs. You will verify circuit operation with a multimeter.

Input Limiter for ADCs

Digital Potentiometers Selection Guides Don t Tell the Whole Story

Lab 2: Discrete BJT Op-Amps (Part I)

Laboratory 8 Operational Amplifiers and Analog Computers

Lecture 01 Operational Amplifiers Op-Amps Introduction

Laboratory Project 1: Design of a Myogram Circuit

PowerAmp Design. PowerAmp Design PAD112 HIGH VOLTAGE OPERATIONAL AMPLIFIER

LM675 Power Operational Amplifier

IMPLEMENTING THE 10-BIT, 50MS/SEC PIPELINED ADC

New Techniques for Testing Power Factor Correction Circuits

Application Note. I C s f o r M o t o r C o n t r o l. Current Limiter for the Motor Control ICs of the TDA514x-family. Report No: EIE/AN93008

MASTERFLEX L/S ECONOMY 200 RPM DRIVE 115 VOLT MASTERFLEX L/S ECONOMY 200 RPM DRIVE 230 VOLT

The New England Radio Discussion Society electronics course (Phase 4, cont d) The versatile op-amp

L02 Operational Amplifiers Applications 1

Op-Amp Simulation Part II

PowerAmp Design. PowerAmp Design PAD117A RAIL TO RAIL OPERATIONAL AMPLIFIER

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

Selecting and Using High-Precision Digital-to-Analog Converters

Lecture #4 Basic Op-Amp Circuits


Fast IC Power Transistor with Thermal Protection

Principles of Analog In-Circuit Testing

Silicon-Gate Switching Functions Optimize Data Acquisition Front Ends

INDIANA UNIVERSITY, DEPT. OF PHYSICS, P400/540 LABORATORY FALL Laboratory #6: Operational Amplifiers

LM675 Power Operational Amplifier

C H A P T E R 02. Operational Amplifiers

OPERATIONAL AMPLIFIER PREPARED BY, PROF. CHIRAG H. RAVAL ASSISTANT PROFESSOR NIRMA UNIVRSITY

Current Mirrors. Basic BJT Current Mirror. Current mirrors are basic building blocks of analog design. Figure shows the basic NPN current mirror.

Tel: Fax:

Signal Conditioning Systems

Lab #6: Op Amps, Part 1

Precision INSTRUMENTATION AMPLIFIER

Analysis and Design of Analog Integrated Circuits Lecture 20. Advanced Opamp Topologies (Part II)

Low Cost 100 g Single Axis Accelerometer with Analog Output ADXL190*

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

PowerAmp Design. PowerAmp Design PAD541 COMPACT POWER OP AMP

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

Ametek, Inc. Rotron Technical Products Division. 100 East Erie St., Suite 200 Kent, Ohio User's Guide. Number Revision F

Basic electronics Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras Lecture- 24

User Guide Introduction. IRMCS3043 System Overview/Guide. International Rectifier s imotion Team. Table of Contents

Chapter 13: Comparators

EE 435 Switched Capacitor Amplifiers and Filters. Lab 7 Spring 2014 R 2 V OUT V IN. (a) (b)

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

Application Information

Linear Current Sensor with differential outputs

Data acquisition and instrumentation. Data acquisition

120 khz Bandwidth, Low Distortion, Isolation Amplifier AD215

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Description. Output Stage. 5k (10k) - + 5k (10k)

FDD spindle motor driver

DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION. 500KHz, 18V, 2A Synchronous Step-Down Converter

An Analog Phase-Locked Loop

Part I - Amplitude Modulation

Homework Assignment 06

Thermocouple Conditioner and Setpoint Controller AD596*/AD597*

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning

Experiments #7. Operational Amplifier part 1

Simple Sigma-Delta ADC Reference Design

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

Fluxgate Magnetometer

CHAPTER 3. Instrumentation Amplifier (IA) Background. 3.1 Introduction. 3.2 Instrumentation Amplifier Architecture and Configurations

Improving the Light Load Efficiency of a VI Chip Bus Converter Array

Transcription:

Application Note AN-1127 DC Bus and ADC Offset Compensation for IRMCF/K300 Series Motor Control IC By Benjamin Poiesz, International Rectifier April 2, 2007 Version 1.1 Table of Contents INTRODUCTION... 2 POTENTIAL HAZARDS... 2 ADC OFFSET COMPENSATION... 3 EXTERNAL REFERENCE FOR IFBK OP-AMPS... 4 EXTERNAL REFERENCE FOR AINX... 3 PERFORMING COMPENSATION CALCULATIONS... 4 EXTERNAL VOLTAGE PROTECTION... 5 This application note describes how to properly and safely use the IRMCF/K300 series to measure and regulate the DC Bus voltage. Two compensation methods are outlined to improve measurement accuracy involving the Analog-to-Digital converter. By following these methods the ADC will allow DC Bus measurements to be accurate within a few volts, rather than tens of volts. These same techniques can also be applied to non-dc Bus voltage measurements for more accurate results across all of the ADC inputs. 1

Introduction The IRMCF/K300 series motor controllers utilize an internal Analog-to-Digital converter for numerous important system parameters. This ADC, like all others, experiences offset in its measurements. These offsets can be amplified in measurement situations such as the DC Bus Voltage. With a small input range of 0-1.2V being potentially amplified into the 300-400V range, a small 10mV offset could result in DC Bus measurement errors of 10V. Having such an offset may not only affect ADC performance, but rotor angle estimation, PFC, and field-weakening capability as well. These effects can be minimized through the use of an external reference for offset compensation. IRMCF/K300 series controllers have a single Analog-to-Digital converter, which is multiplexed for motor current feedback, as well as DC Bus measurements. A second multiplexer is employed to provide customer configurable ADC measurements. One of these configurable AINx pins can be used for offset compensation through an external reference. A separate technique employs the differential amplifiers used for current feedback to reference an external source to compensate ADC measurements. Because these inputs route to the same ADC, an offset measurement made on one channel can be applied across the system. It is preferable to use the first technique with AINx input instead of the current feedback scheme. Using an AINx pin instead of current feedback ensures that no noise it inadvertently coupled into current feedback measurements. A decision diagram is shown below. Compensation Type Advantage Disadvantage AINx input Low cost, no performance Requires one AINx pin (Recommended Method) degradation, can use already Current Feedback (Ifbck Op-Amps) Potential Hazards present 1.8V supply Does not require an AINx pin Table 1. Compensation Comparison Higher cost for external non-switch mode reference, possible noise coupling to Ifbck with switch mode reference In the case of non-pfc equipped models there is no real danger created by incorrect DC Bus measurements. The worst-case situation would be the controller detecting an under or over-voltage condition on the DC Bus and turning off. In the case of PFC equipped controllers, an offset in DC Bus measurement will cause the system to regulate improperly. This regulation offset, if left unchecked, could breach the limits of the bus capacitors and cause a catastrophic failure. It is also important to note that the techniques 2

outlined in the application note will directly control the PFC regulation (in PFC equipped systems), and if improper compensation is applied the bus voltage may be significantly different than expected. ADC Offset Compensation This technique utilizes an external reference to compensate for any offset present in the ADC. This offset can be realized by sampling an accurately known reference source with the ADC. The difference between the measured and actual voltages will result in the offset of the ADC. This value can be then subtracted from the DC Bus to yield a considerably more accurate measurement and regulation point for PFC equipped systems. Two methods are described to use an external reference as compensation. The first utilizes a differential op-amp used for current feedback, where an external reference is supplied by a dedicated source. The second uses an available AINx pin to use the 1.8V voltage supply rail as a reference. The benefit of using the already present 1.8V supply is that a dedicated external reference is not required, but the accuracy will not be a good as with an external reference chip. External Reference for AINx A good place to acquire a moderately accurate voltage reference is directly from the output of a switch-mode power supply. The IRMCF/K300 series controllers require a 1.8V supply, and this can be used as a reference for DC Bus measurements. This compensation will rely on the accuracy of the chosen power supply, but any 2% regulator will be sufficient. An external reference should be used if even greater accuracy is required. In its simplest form a voltage divider can be implemented to bring the 1.8V supply within the 1.2V measurement range (Figure 2). This voltage reference point is important in achieving an accurate DC Bus measurement. The reference point should be equivalent to the voltage the ADC will receive when the DC Bus is at its target operating point, although a 0.6V generic reference is also acceptable. For example, the gain between the DC Bus voltage and ADC is 0.00243 (as it is in IRMCF/K Development Kits). If the nominal DC Bus voltage were 350V, then a voltage reference of 0.851V should be used (Equation 1). The algorithm to implement this compensation method is covered in the next section. Figure 2. Nominal Bus * Bus to ADC Gain = Target Reference 350V * 0.00243 = 0.851V Equation 1. 3

External Reference for Ifbk Op-Amps This voltage source can then be used for the differential op-amp reference already in place for motor current feedback (Figure 1). Using an external reference connected to R2 will allow for the output voltage of the differential op-amp to be 0.6V when no current is present. The ADC would then measure this output, where an offset from the ideal reference (0.6V) can be calculated. This offset can then be applied as compensation to DC Bus measurements. The algorithm to provide this offset calculation can be implemented in the MCE. Figure 1. Performing Compensation Calculations Now that a reference voltage is supplied to the ADC, the controller must calculate the real DC Bus voltage. This process can be implemented in either the MCE or in the 8051 side of the controller. This application note covers implementing these offset calculations in the MCE. Figure 3 illustrates how the entire solution can be realized within the MCE for the AINx based compensation method. In this example ADC channel 6 is used as the compensation input. Its value will first go through a low-pass filter to remove any system noise. Next a compensation value will be subtracted from this measurement. The compensation value is the ADC reference target value in digital counts (Equation 2). This subtraction will yield the offset value of the ADC. Then by subtracting this offset from the raw DC Bus voltage measurement the compensated bus voltage is created. This compensated voltage can then be connected to anywhere the raw bus voltage would be. ( Reference Voltage / 1.2V ) * 4095 = Compensation ( 0.851 / 1.2 ) * 4095 = 2904 Equation 2. 4

Figure 2. AINx based MCE Compensation External Voltage Protection If a variable DC Bus voltage is not an issue in a particular application, or you do not have an available ADC input for compensation, an external over-voltage protection should be employed instead. Because the OVP in the controller relies on the ADC for accuracy, the system may not properly shut down in the event of an over voltage. By designing an external comparator to signal the controller when an over voltage has occurred (either through general digital input or interrupt) potential safety issues can be mitigated. The same can be implemented for under-voltage protection if necessary. This method though will only prevent system damage and does not improve the ability to read DC Bus voltages. 5