Improving feedback current accuracy when using H-Bridges for closed loop motor control

Similar documents
Current sense chain accuracy

AN4269. Diagnostic and protection features in extreme switch family. Document information

NXP Repetitive short-circuit performances

Dead-Time Compensation Method for Vector-Controlled VSI Drives Based on Qorivva Family

Rework List for the WCT-15W1COILTX Rev.3 Board

Using a Linear Transistor Model for RF Amplifier Design

0.7 A 6.8 V Dual H-Bridge Motor Driver

0.7 A dual H-Bridge motor driver with 3.0 V/5.0 V compatible logic I/O

PF3000 layout guidelines

MMPF0100 and MMPF0200 layout guidelines. 1 Introduction. NXP Semiconductors Application Note. Document Number: AN4622 Rev. 5.0, 7/2016.

MPXM2051G, 0 to 50 kpa, Gauge Compensated Pressure Sensors

1.2 A 15 V H-Bridge Motor Driver IC

1.2 A 15 V H-Bridge Motor Driver IC

Reference Oscillator Crystal Requirements for MKW40 and MKW30 Device Series

Reference Circuit Design for a SAR ADC in SoC

Freescale Semiconductor Data Sheet: Technical Data

MC33816 vs. PT Introduction. NXP Semiconductors Application Note. Document Number: AN5203 Rev. 1.0, 7/2016. Contents

Using the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz

Driver or Pre -driver Amplifier for Doherty Power Amplifiers

Parallel Configuration of H-Bridges

Optimizing Magnetic Sensor Power Operations for Low Data Rates

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Characteristic Symbol Value (2) Unit R JC 57 C/W

Repetitive Short-circuit Performances

Enhancement Mode phemt

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Enhancement Mode phemt

2 W High Gain Power Amplifier for Cellular Infrastructure InGaP GaAs HBT

QWKS Ethernet Accessory Card, User's Guide

RF Power LDMOS Transistor High Ruggedness N--Channel Enhancement--Mode Lateral MOSFET

Built-in low voltage reset and thermal shutdown circuit Compact TSSOP-24 package

2 W High Gain Power Amplifier for Cellular Infrastructure InGaP GaAs HBT

How to Use GDU Module in MC9S08SU16

AN4999 Application note

Heterojunction Bipolar Transistor Technology (InGaP HBT) Broadband High Linearity Amplifier

3.8 GHz Linear Power Amplifier and BTS Driver High Efficiency/Linearity Amplifier

Single Phase Rectifier Bridge, 1.9 A

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

RF Power LDMOS Transistor High Ruggedness N--Channel Enhancement--Mode Lateral MOSFET

Two Channel Distributed System Interface (DSI) Physical Interface Device

LV8400V. Forward/Reverse Motor Driver. Bi-CMOS IC

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

Enhancement Mode phemt

Automated PMSM Parameter Identification

50 ma LED driver in SOT457

LV8402V. 2ch Forward/Reverse Motor Driver. Bi-CMOS IC

Software ISP Application Note

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

LB8503V. Monolithic Digital IC DC Fan Motor Speed Control IC. Ordering number : ENA

800 MHz Test Fixture Design

2 W High Gain Power Amplifier for Cellular Infrastructure InGaP GaAs HBT

Built-in low voltage reset and thermal shutdown circuit Output ON resistance (Upper and lower total 0.27Ω; Ts=25 C, IO=1.0A)

Freescale Semiconductor

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

Capacitive Sensing Interface of QN908x

AN4564 Application note

AN3134 Application note

Characteristic Symbol Value Unit Thermal Resistance, Junction-to-Case R θjc 6 C/W

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power GaN Transistor

LB11851FA. Monolithic Digital IC Microprocessor Fan Motor Interface Driver. Ordering number: ENA

Planar PIN diode in a SOD523 ultra small SMD plastic package.

DEMONSTRATION NOTE. Figure 1. CS51411/3 Demonstration Board. 1 Publication Order Number: CS51411DEMO/D

Driver or Pre -driver General Purpose Amplifier

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9236MN. Freescale Semiconductor. Technical Data

RF Power LDMOS Transistor High Ruggedness N--Channel Enhancement--Mode Lateral MOSFET

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9318. Freescale Semiconductor. Technical Data MHL9318. Rev.

75 MHz, 30 db gain reverse amplifier

ARCHIVE INFORMATION. Cellular Band RF Linear LDMOS Amplifier MHL9838. Freescale Semiconductor. Technical Data MHL9838. Rev.

RF LDMOS Wideband 2-Stage Power Amplifiers

STCS05A. 0.5 A max constant current LED driver. Features. Applications. Description

ST1S A, 1.5 MHz adjustable, step-down switching regulator. Description. Features

Maxim Integrated Products 1

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

RF LDMOS Wideband Integrated Power Amplifiers

Is Now Part of To learn more about ON Semiconductor, please visit our website at

IMPORTANT NOTICE. use

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

Advances in Freescale Airfast RFICs Setting New Benchmarks in LDMOS for Macrocells through Small Cells

RF Power LDMOS Transistor N--Channel Enhancement--Mode Lateral MOSFET

IMPORTANT NOTICE. use

Heterojunction Bipolar Transistor Technology (InGaP HBT) High Efficiency/Linearity Amplifier

ARCHIVE INFORMATION. PCS Band RF Linear LDMOS Amplifier MHL Freescale Semiconductor. Technical Data MHL Rev. 4, 1/2005

AN2333 Application note

IMPORTANT NOTICE. use

Overview The LA5735MC is a separately-excited step-down switching regulator (variable type).

LB1939T 2 Channel H Bridge Constant Voltage/Constant Current Driver

RF LDMOS Wideband Integrated Power Amplifier MHVIC2115R2. Freescale Semiconductor, I. The Wideband IC Line SEMICONDUCTOR TECHNICAL DATA

RF Power LDMOS Transistors High Ruggedness N--Channel Enhancement--Mode Lateral MOSFETs

Characteristic Symbol Value (2) Unit R JC 92.0 C/W

RF Power LDMOS Transistors N--Channel Enhancement--Mode Lateral MOSFETs

Heterojunction Bipolar Transistor Technology (InGaP HBT) Broadband High Linearity Amplifier

RF LDMOS Wideband Integrated Power Amplifiers

Is Now Part of To learn more about ON Semiconductor, please visit our website at

Transcription:

NXP Semiconductors Application Note Document Number: AN5212 Rev. 1.0, 7/2016 Improving feedback accuracy when using H-Bridges for closed loop motor control 1 Introduction Many applications use DC motors that require real-time feedback from the load. Real-time feedback enables the monitoring of consumption and provides a means of implementing diagnostics that detect abnormal loading conditions. In some applications, highly accurate measurement may be critical to implementing safety mechanisms in a system. This document presents a simplified system level method for improving the accuracy of feedback measurements when using NXP H-Bridge motor drivers, including the MC33926, MC33931, MC33932, MC34931S, and the MC34932S. Contents 1 Introduction..................................... 1 2 Feedback (FB).................................. 2 3 Specification.................................... 3 4 Improving accuracy in feedback measurement... 4 5 Mathematical model for 0 A to 6.0 A range...... 6 6 Mathematical model for 1.5 A to 6.0 A range..... 9 7 Measurement of feedback.................. 10 8 Conclusion.................................... 11 9 References.................................... 12 10 Revision history................................ 13 2016 NXP B.V.

Feedback (FB) 2 Feedback (FB) To facilitate closed-loop operation for motor speed and torque control, NXP's H-Bridge motor drivers (MC33926, MC33931, MC33932, MC34931S, and MC34932S) have feedback outputs (FB) for real time monitoring of H-Bridge high-side FET s. The FB pin provides sensing feedback of the H-Bridge high-side drivers. When running in the forward or reverse direction, a ground-referenced 0.24 % of load comes out of the FB pin. By using an external resistor to ground, the proportional feedback can be converted to a proportional voltage equivalent and the controlling microcontroller can read the proportional voltage with its analog-to-digital converter (ADC). This provides the user with only first-order motor feedback for motor torque control. The resistance range for the linear operation of the FB pin is 100 Ω < R FB resistor to ground for spike suppression. If Pulse Width Modulation (PWM) is implemented using the disable pin input (D1 only), a small filter capacitor (~1.0 µf) may be required in parallel with the R FB resistor to ground for spike suppression. The architecture diagram of the part is shown in Figure 1 with the shaded section showing the feedback circuit. TO ADC R FB 270 FB 1.0 F VSENSE ILIM PWM CURRENT MIRRORS AND CONSTANT OFF-TIME PWM CURRENT REGULATOR Figure 1. Architecture diagram with FB circuit highlighted The scaled down out of the FB pin is the summation of from both high-side FETs. This is important to know, because if the device is used as two separate high-side switches, the out of the FB pin represents the combined of both high-side switches when operating simultaneously. Figure 2 shows the configuration and the architecture of the feedback circuit. NXP Semiconductors 2

Specification VPWR SNSFET 0.24% of HS FET SNSFET 0.24% of HS FET LOAD Current M1 M2 LOAD Current Current Feedback Pin Shunt resistor Figure 2. Current feedback circuit configuration 3 Specification The feedback feature scales the load down to 0.24 % of the load which flows through the high-side FETs. The accuracy is higher for load above 1.5 A. This is because with higher load, the amplifier offset becomes a smaller portion of the total from the mirror circuit which comes out of the FB pin. (Most applications using these devices drive inductive loads in the 1.5 A to 6.0 A range.) Table 1. Load (I OUT ) vs. feedback (I FB ) Load flowing between Feedback (I FB ) the two outputs (I OUT ) (Notes) Min. Typ. Max. Unit 0 ma 0 50 μa 300 ma 0 270 750 μa 500 ma 0.35 0.775 1.56 ma 1.5 A 2.86 3.57 4.28 ma 3.0 A 5.71 7.14 8.57 ma 6.0 A 11.43 14.29 17.15 ma Notes 1.Accuracy is better than 20 % from 0.5 A to 6.0 A. Recommended terminating resistor value: R FB = 270 Ω NXP Semiconductors 3

Improving accuracy in feedback measurement 4 Improving accuracy in feedback measurement The following method describes how to improve feedback measurement accuracy using a simple linear model that incorporates data collected at different temperatures for all six data points in the specification. The method involves capturing FB for load values in the specification at hot, room and cold temperatures. These values are then used to create a linear model based on the measured versus the target value of the load. 4.1 Measurements at various ambient temperatures (T A ) This section shows the average of ten FB measurements taken at hot temperature, room temperature, and cold temperatures in the lab to compensate for variation in feedback over different temperatures. Feedback measurement for OUT1 and OUT2 is achieved by measuring both the load and the through the FB pin in forward and reverse directions respectively. This data was used to create a simple first and second order mathematical model to improve the FB measurement accuracy. Table 2. Target vs. measured FB on OUTx at T A = 105 C OUT1 FB, OUT2 FB, Target Measured Target Measured 0 0 0.02 0 0 0.02 300 0.72 0.20 300 0.72 0.20 500 1.2 0.70 500 1.2 0.70 1500 3.6 3.26 1500 3.6 3.26 3000 7.2 7.14 3000 7.2 7.14 6000 14.4 14.78 6000 14.4 14.78 Table 3. Target vs. measured FB on OUTx at T a = 85 C OUT1 FB, OUT2 FB, Target Measured Target Measured 0 0 0.02 0 0 0.03 300 0.72 0.21 300 0.72 0.21 500 1.2 0.71 500 1.2 0.71 1500 3.6 3.27 1500 3.6 3.27 3000 7.2 7.14 3000 7.2 7.14 6000 14.4 14.86 6000 14.4 14.86 Table 4. Target vs. measured FB on OUTx at T A = 25 C OUT1 FB, OUT2 FB, Target Measured Target Measured 0 0 0.03 0 0 0.04 300 0.72 0.24 300 0.72 0.24 500 1.2 0.74 500 1.2 0.75 1500 3.6 3.31 1500 3.6 3.31 3000 7.2 7.18 3000 7.2 7.17 6000 14.4 14.96 6000 14.4 14.95 NXP Semiconductors 4

Improving accuracy in feedback measurement Table 5. Target vs. measured FB on OUTx at T a = -40 C OUT1 FB, OUT2 FB, Target Measured Target Measured 0 0 0.03 0 0 0.04 300 0.72 0.28 300 0.72 0.28 500 1.2 0.79 500 1.2 0.79 1500 3.6 3.35 1500 3.6 3.35 3000 7.2 7.22 3000 7.2 7.22 6000 14.4 15.00 6000 14.4 14.99 NXP Semiconductors 5

Mathematical model for 0 A to 6.0 A range 5 Mathematical model for 0 A to 6.0 A range Figure 3 illustrates a linear model showing the calculated load with respect to the actual output. This model is based on the data in Section 4, Improving accuracy in feedback measurement, page 4, and provides a very good approximation of the load derived by measuring the out of the FB pin. This improves the feedback measurement accuracy when compared to direct conversion using the feedback ratio. 5.1 Linear model Output Current Average Measured Current from FB pin 7000 6000 5000 4000 3000 2000 1000 y = 0.9462x + 151.14 R² = 0.9986 6207.57, 6000 OUTX Current Linear (OUTX Current ) 0 0 1000 2000 3000 4000 5000 6000 7000 Actual OUTX Current The Linear Current Model Equation for the 0 A to 6.0 A range is: Linear: y(t) = 0.9462x(t) + 151.14 Figure 3. Linear model for 0 A to 6.0 A range where t is the value at an instant in time NXP Semiconductors 6

Mathematical model for 0 A to 6.0 A range Table 6. Linear model data for 0 A to 6.0 A range Actual OUTX Average measured from FB pin Implementing a second order model gives higher accuracy at load s higher than 1.5 A. However, at load s lower than 0.5 A, a slight increase in percentage error was observed. Table 7 clearly shows that, even with a better curve fit, the accuracy does not drastically increase at higher load data points when compared with the simpler linear model. Implementing a second order model may increase the accuracy of the feedback measurement at the expense of increasing the processing load on the MCU. Consider the trade-off between the computation demand on the MCU and the feedback measurement accuracy requirement when making such decisions. 5.2 Second order model Average estimated OUTX from FB pin Adjusted measured OUTX % error after modeling 0 0.03 12.52 162.99 300 0.23 95.72 241.71 9.43 500 0.74 306.62 441.26 11.75 1500 3.30 1374.21 1451.42 3.24 3000 7.17 2986.86 2977.30 0.76 6000 14.90 6207.57 6024.74 0.41 7000 Output Current 6000 y = -8E-06x 2 + 0.9961x + 127.64 R² = 0.9988 6207.57, 6000 Average Measured Current from FB pin 5000 4000 3000 2000 1000 OUTX Current Poly. (OUTX Current ) 0 0 2000 4000 6000 8000 Actual OUTX Current Figure 4. Second order model for 0 A to 6.0 A range NXP Semiconductors 7

Mathematical model for 0 A to 6.0 A range The Second Order Current Model Equation for the 0 A to 6.0 A range is: Second Order: y(t) = 8 10-6 x(t) 2 + 0.9961x(t) + 127.64 where t is the value at an instant in time Table 7. Second order model data for 0 A to 6.0 A range Actual OUTX Average measured from FB pin Average estimated OUTX from FB pin Adjusted measured OUTX % error after modeling 0 0.03 12.52 140.11 300 0.23 95.72 222.91 25.70 500 0.74 306.62 432.31 13.54 1500 3.30 1374.21 1481.39 1.24 3000 7.17 2986.86 3031.48 1.05 6000 14.90 6207.57 6002.73 0.05 NXP Semiconductors 8

Mathematical model for 1.5 A to 6.0 A range 6 Mathematical model for 1.5 A to 6.0 A range Many applications using MC33926, MC33931, MC33932, MC34931S, and MC34932S devices may operate in a continuous operating range of 1.5 A to 6.0 A. In such cases, more accuracy may be expected from these devices when compared with models for the 0 A to 6.0 A range. A simple linear model was formed from the data in Section 4, Improving accuracy in feedback measurement, page 4 giving an almost perfect linear curve fit for 1.5 A to 6.0 A load range. Figure 5 shows a simple linear (First Order) model for measuring load feedback using the FB pin. Output Current 6500 6000 y = 0.9311x + 219.87 R² = 1 6207.57, 6000 Average Measured Current from FB pin 5500 5000 4500 4000 3500 3000 2500 OUTX Current Linear (OUTX Current ) 2000 1500 0 1000 2000 3000 4000 5000 6000 7000 Actual OUTX Current Figure 5. First order model for 1.5 A to 6.0 A range Linear Current Model Equation for the 0 A to 6.0 A range: Linear: y(t) = 0.9311x(t) + 219.87 where t is the value at an instant in time Table 8. Linear model data for 1.5 A to 6.0 A range Actual OUTX Average measured from FB pin Average estimated OUTX from FB pin Adjusted measured OUTX % error after modeling 1500 3.30 1374.21 1499.40 0.04 3000 7.17 2986.86 3000.93 0.03 6000 14.90 6207.57 5999.74 0.00 Based on lab data from ten devices, Table 8 clearly shows the percentage of error in measured feedback using the linear model is very small. Operating in this range would give the best accuracy. NXP Semiconductors 9

Measurement of feedback 7 Measurement of feedback Feedback is measured by adding a shunt resistor on the FB pin to convert the from the FB pin to voltage within the detectable range of the ADC on the MCU. MCU ADC_in FB H-Bridge C FB + V FB R FB I FB - Figure 6. Measurement of feedback using the MCU Based on the R FB selected, the measured voltage using the ADC across the shunt resistor gives a good estimate of the load which can be used as feedback to implement safety mechanisms and diagnostics for the system. As an example, the linear models in Section 5, Mathematical model for 0 A to 6.0 A range, page 6 and Section 6, Mathematical model for 1.5 A to 6.0 A range, page 9 may be converted from a model to a voltage model and then converted back to a model to do the feedback estimation. 7.1 The modified linear voltage model and estimated feedback equations Modified Linear Voltage Model Equation for 0 A to 6.0 A Range: yt () = 0.9462x() t + 151.14 0.0024 R FB [ Ω] Estimated Feedback Current (Load Current): yt () ---------------------------------------------- 0.0024 R FB [ Ω] Modified Linear Voltage Model Equation for 1.5 A to 6.0 A Range: yt () = 0.9311x() t + 219.87 0.0024 R FB [ Ω] Estimated Feedback Current (Load Current): yt () ---------------------------------------------- 0.0024 R FB [ Ω] where t is the value at an instant in time A small capacitor (C FB ) may be added to filter out noise in the voltage signal across the shunt resistor (V FB ). Note that a large C FB may cause excessive averaging of the signal and could prevent the MCU s ADC from detecting small transients due to abnormal system operation. Hence, a small filter capacitor C FB 1.0 μf is recommended parallel to R FB. NXP Semiconductors 10

Conclusion 8 Conclusion The simple linear model demonstrated in Section 5, Mathematical model for 0 A to 6.0 A range, page 6 and Section 6, Mathematical model for 1.5 A to 6.0 A range, page 9 yields three to four times more accurate feedback measurements than a direct conversion of FB pin to feedback using the 0.24 % factor. This model is well suited for implementing diagnostics, monitoring power consumption, detecting open loads, etc. The models in this document are based on data from ten different devices. The models may need modification for some systems. Nonetheless, the methodology for increasing accuracy remains the same. Moreover, the 1.5 A to 6.0 A range model yields higher accuracy than the 0 A to 6.0 A range. Therefore, when making a decision on when and how to use these models, consider the system s operating range and application requirements. NXP Semiconductors 11

References 9 References Following are URLs where you can obtain information on related NXP products and application solutions: Support pages Description URL MC33926 Product Summary Page www.nxp.com/webapp/sps/site/prod_summary.jsp?code=mc33926 MC33931 Product Summary Page www.nxp.com/webapp/sps/site/prod_summary.jsp?code=mc33931 MC33932 Product Summary Page www.nxp.com/webapp/sps/site/prod_summary.jsp?code=mc33932 MC34931S Product Summary Page www.nxp.com/webapp/sps/site/prod_summary.jsp?code=mc34931 MC34932S Product Summary Page www.nxp.com/webapp/sps/site/prod_summary.jsp?code=mc34932 NXP Semiconductors 12

Revision history 10 Revision history Revision Date Description 1.0 11/2015 Initial release 7/2016 Updated to NXP document form and style NXP Semiconductors 13

How to Reach Us: Home Page: NXP.com Web Support: http://www.nxp.com/support Information in this document is provided solely to enable system and software implementers to use NXP products. There are no expressed or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. NXP reserves the right to make changes without further notice to any products herein. NXP makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does NXP assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation, consequential or incidental damages. "Typical" parameters that may be provided in NXP data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including "typicals," must be validated for each customer application by the customer's technical experts. NXP does not convey any license under its patent rights nor the rights of others. NXP sells products pursuant to standard terms and conditions of sale, which can be found at the following address: http://www.nxp.com/terms-of-use.html. NXP, the NXP logo, Freescale, the Freescale logo, and SMARTMOS are trademarks of NXP B.V. All other product or service names are the property of their respective owners. All rights reserved. 2016 NXP B.V. Document Number: AN5212 Rev. 1.0 7/2016