AND9034/D Use of an Averaged Behavior Model of NCP6334 in Pspice Simulation Prepared by: Gang Chen ON Semiconductor http://onsemi.com APPLICATION NOTE Overview the NCP6334B and the NCP6334C is the function of pin 6. The pin 6 of the NCP6334B is an output of power good signal, while the pin 6 of the NCP6334C is an input of mode selection. To provide very fast simulation results and initial design of system parameters before a real board design in applications, an averaged behavior model (ABM) of the NCP6334 in Pspice has been developed to simulate transient response and loop stability. Figure 1 shows a typical simulation circuit with the NCP6334 averaged behavior model in Pspice. The model is based on the NCP6334B, but it is still valid for a simulation of the NCP6334C close−loop behavior. This application note is to illustrate a simulation procedure with the NCP6334 ABM in Pspice. The NCP6334B/C, a family of synchronous buck converters, which is optimized to supply the different sub systems of portable applications powered by one cell Li−ion or three cell Alkaline/NiCd/NiMH batteries. The devices are able to deliver up to 2 A on an external adjustable voltage or a fixed output voltage range from 0.6 V to 3.3 V upon request. Operation with 3 MHz switching frequency allows employing small size inductor and capacitors. Input supply voltage feedforward control is employed to deal with wide input voltage range. Synchronous rectification and automatic PWM/PFM power save mode offer improved system efficiency. The NCP6334B/C is in a 2.0 x 2.0 x 0.75 mm WDFN−8 package. The only difference between C3 PARAMETERS: Cfb = 15pF Vout_FB {Cfb} R1 220k U1 EN MODE/PG R5 1000k R6 1000k AVIN PVIN V3 5 6 7 8 EN FB MODE/PG AGND AVIN SW PVIN PGND 4 0 SW L 1 1uH 1 NCP6334 5Vdc 10mVac 0Vdc 110k 3 2 V2 R2 2 Rdcr 30m Vout Resr 4m C1 10uF Load T1 = 0 T2 = 1.5e−4 T3 = 1.501e−4 T4 = 2.0e−4 T5 = 2.001e−4 T6 = 3.0e−4 I1 = 0.5 I2 = 0.5 I3 = 1.5 I4 = 1.5 I5 = 0.5 I6 = 0.5 0 Figure 1. Typical Simulation Circuit with NCP6334 Averaged Behavior Model © Semiconductor Components Industries, LLC, 2011 August, 2011 − Rev. 0 1 Publication Order Number: AND9034/D AND9034/D DETAILED DESCRIPTION Download Pspice Model Users can download the Pspice averaged behavior model of the NCP6334 from ON Semiconductor website, which is a zipped file “NCP6334_ABM.ZIP” including one Pspice model lib file “NCP6334_ABM.LIB”, one schematic symbol olb file “NCP6334_ABM.OLB”, and one design dsn file “NCP6334_ABM.DSN”. Save all the extracted files in a folder. Model Installation Create New Project Users need to run ORCAD Capture or Allegro Design Entry CIS first, and then create a new blank project in Capture as shown in Figure 2. Figure 2. Create New Blank Simulation Project Import Design File Add the design file “NCP6334_ABM.DSN” into the Design Resources to replace the blank design. Figure 3. Import Design File into Design Resources Import Symbol File Add the symbol file “NCP6334_ABM.OLB” into the Design Resources as shown in Figure 4. http://onsemi.com 2 AND9034/D Figure 4. Import Symbol File into Design Resources Open Schematic Open the schematic “Page 1” in the “Schematic1” under the design file as shown in Figure 5. Users can edit the schematic according to real applications. Figure 5. Open Schematic in Design File Create Simulation Profile and Run Simulations In order to run a new simulation, a simulation profile has to be created. In the simulation setting of the simulation profile, users need to use browser to add the Pspice lib file “NCP6334_ABM.LIB” into the design library of the simulation configuration files, as shown in Figure 7. The Pspice model of the NCP6334_ABM is able to support both time domain transient simulation and AC frequency domain simulation. Users can set both configurations in the simulation profile. http://onsemi.com 3 AND9034/D Figure 6. Create a New Simulation Profile Figure 7. Add Pspice lib File into the Library of the Configuration Files. Time Domain Transient Simulation Figure 8 shows a typical schematic for a time domain transient simulation. An AC source “V 2” is set to 0 V for its AC and DC components. Users can edit parameters of the pulse current source “Load” to simulate load transient in the output Vout. In order to reduce simulation time, a 100 ms internal soft start has been implemented in the model. A typical time−domain simulation profile setting is shown in Figure 9. Users can review simulation waveforms in Pspice A/D after running a simulation. Figure 10 shows an example of the simulation results regarding to a load transient event. C3 PARAMETERS: Cfb = 15pF Vout_FB {Cfb} R1 220k U1 EN R5 1000k MODE/PG 6 AVIN 7 R6 1000k PVIN V3 5Vdc 5 8 EN FB MODE/PG AGND AVIN SW PVIN PGND 4 0mVac 0Vdc 110k 3 2 V2 R2 0 SW L 1 2 1uH 1 NCP6334 Rdcr 30m Vout Resr 4m C1 10uF 0 Figure 8. Typical Schematic for Time Domain Transient Simulation http://onsemi.com 4 Load T1 = 0 T2 = 1.5e−4 T3 = 1.501e−4 T4 = 2.0e−4 T5 = 2.001e−4 T6 = 3.0e−4 I1 = 0.5 I2 = 0.5 I3 = 1.5 I4 = 1.5 I5 = 0.5 I6 = 0.5 AND9034/D Figure 9. Simulation Setting for Time Domain Simulation Figure 10. Typical Simulation Results of Time Domain Simulation Due to a benefit from the averaged behavior model, the total simulation time is just a few seconds and thus it is good for users to optimize the system by running a parameter sweep simulation. Before running a parameter sweep simulation, at least one “PARAM” part from the “SPECIAL.OLB” needs to be added in the schematic. As shown in the example schematic in Figure 8, users can run parameter sweep for the capacitor C3 in the compensation network. Users can program a pattern of the parameter sweep in the simulation profile as shown in Figure 11. Figure 12 shows multiple simulation results after the parameter sweep simulation. It is very easy for users to see parameter impact on transient response. http://onsemi.com 5 AND9034/D Figure 11. Simulation Setting for Parametric Sweep in Time Domain Simulation Cfb = 7 pF Cfb = 15 pF Cfb = 30 pF Cfb = 30 pF Cfb = 7 pF Cfb = 15 pF Figure 12. Typical Simulation Results of Parametric Sweep in Time Domain Simulation AC Frequency Domain Simulation With the NCP6334 averaged behavior model, users are able to use almost the same schematic to do AC frequency domain simulation as what is used in the time domain simulation. The main difference is in the setting of the AC voltage source “V2” shown in Figure 13. In the frequency domain simulation, usually a small AC voltage such as 1 0 mV ~ 100 mV is used. http://onsemi.com 6 AND9034/D C3 PARAMETERS: Cfb = 15pF Vout_FB {Cfb} R1 220k U1 EN MODE/PG R5 1000k R6 1000k AVIN PVIN V3 5Vdc 5 6 7 8 EN FB MODE/PG AGND AVIN SW PVIN PGND 4 10mVac 0Vdc 110k 3 2 V2 R2 0 SW L 1 2 1uH 1 NCP6334 Rdcr 30m Vout Resr 4m C1 10uF Load T1 = 0 T2 = 1.5e−4 T3 = 1.501e−4 T4 = 2.0e−4 T5 = 2.001e−4 T6 = 3.0e−4 I1 = 0.5 I2 = 0.5 I3 = 1.5 I4 = 1.5 I5 = 0.5 I6 = 0.5 0 Figure 13. Typical Schematic for AC Frequency Domain Transient Simulation Figure 14 shows a simulation setting for an AC frequency domain simulation and Figure 15 shows typical simulation results. Users can read close−loop bandwidth and phase margin from the bode plot. Figure 14. Simulation Setting for AC Frequency Domain Simulation http://onsemi.com 7 AND9034/D Figure 15. Typical Simulation Results of AC Frequency Domain Simulation Users also can run parametric sweep in an AC frequency domain simulation. Figure 16 shows a corresponding simulation setting, and Figure 17 shows typical simulation results. Users can see parameter impact on close−loop stability. Figure 16. Simulation Setting for Parametric Sweep in AC Frequency Domain Simulation http://onsemi.com 8 AND9034/D Cfb = 30 pF Cfb = 15 pF Cfb = 7 pF Cfb = 30 pF Cfb = 15 pF Cfb = 7 pF Figure 17. Typical Simulation Results of Parametric Sweep in AC Frequency Domain Simulation ON Semiconductor and are registered trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC 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 special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC 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 customer’s technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SCILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: Literature Distribution Center for ON Semiconductor P.O. Box 5163, Denver, Colorado 80217 USA Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada Fax: 303−675−2176 or 800−344−3867 Toll Free USA/Canada Email: [email protected] N. American Technical Support: 800−282−9855 Toll Free USA/Canada Europe, Middle East and Africa Technical Support: Phone: 421 33 790 2910 Japan Customer Focus Center Phone: 81−3−5773−3850 http://onsemi.com 9 ON Semiconductor Website: www.onsemi.com Order Literature: http://www.onsemi.com/orderlit For additional information, please contact your local Sales Representative AND9034/D