SM72445 Programmable Maximum Power Point Tracking Controller With Adjustable PWM Frequency General Description Features The SM72445 is a programmable MPPT controller capable of controlling four PWM gate drive signals for a 4-switch buckboost converter. The SM72445 also features a proprietary algorithm called Panel Mode (PM) which allows for the panel to be connected directly to the output of the power optimizer circuit when the input to output voltage ratio is close to 1. This provides an opportunity to optimize the efficiency of the power optimizer when the load is naturally matching the maximum power point of the panel. Along with the SM72295 (Photovoltaic Full Bridge Driver), it creates a solution for an MPPT configured DC-DC converter with efficiencies up to 99.5% (when operating with dedicated PM switches). Integrated into the chip is an 8-channel, 10 bit A/D converter used to sense input and output voltages and currents, as well as IC configuration. Externally programmable values include maximum output voltage and current as well as different settings for slew rate, soft-start and Panel Mode. ■ ■ ■ ■ ■ ■ ■ ■ ■ Renewable Energy Grade 110kHz,135kHz or 215kHz PWM operating frequency Panel Mode pin for optional bypass switch control Programmable maximum power point tracking Photovoltaic solar panel voltage and current diagnostic Single inductor four switch buck-boost converter control I2C interface for communication Output overvoltage protection Over-current protection Package ■ TSSOP-28 Block Diagram 30176102 FIGURE 1. Block Diagram © 2012 Texas Instruments Incorporated 301761 SNVS795 www.ti.com SM72445 Programmable Maximum Power Point Tracking With Adjustable PWM Frequency March 7, 2012 www.ti.com 2 FIGURE 2. Typical Application Circuit 30176101 SM72445 SM72445 Connection Diagram 30176103 FIGURE 3. Top View TSSOP-28 Ordering Information Order Number Description NSC Package Drawing Supplied As Package Top Marking SM72445 SM72445MTX TSSOP-28 MTC28 2500 Units in Tape and Reel SM72445MTE TSSOP-28 MTC28 250 Units in Tape and Reel SM72445 SM72445MT TSSOP-28 MTC28 48 Units in Rail SM72445 3 www.ti.com SM72445 Pin Descriptions Pin Name 1 RST Active low signal. External reset input signal to the digital circuit. 2 NC1 Reserved for test only. This pin should be grounded. 3 VDDD Digital supply voltage. This pin should be connected to a 5V supply, and bypassed to VSSD with a 0.1 µF monolithic ceramic capacitor. 4 VSSD Digital ground. The ground return for the digital supply and signals. 5 NC2 This pin should be pulled up to the 5V supply using a 10k resistor. 6 I2C0 Addressing for I2C communication. 7 I2C1 Addressing for I2C communication. 8 SCL I2C clock. 9 SDA I2C data. 10 NC3 Reserved for test only. This pin should be grounded. 11 PM_OUT When Panel Mode is active, this pin will output a 440 kHz square wave signal with amplitude of 5V. Otherwise, it stays low. 12 VDDA Analog supply voltage. This voltage is also used as the reference voltage. This pin should be connected to a 5V supply, and bypassed to VSSA with a 1 µF and 0.1 µF monolithic ceramic capacitor. 13 VSSA Analog ground. The ground return for the analog supply and signals. 14 A0 15 AVIN 16 A2 17 AVOUT 18 A4 19 AIIN 20 A6 21 AIOUT 22 I2C2 Addressing for I2C communication. 23 NC4 This pin should be connected with a 60.4k pull-up resistor to 5V. 24 LIB Low side boost PWM output. 25 HIB High side boost PWM output. 26 HIA High side buck PWM output. 27 LIA Low side buck PWM output. 28 PM Panel Mode Pin. Active low. Pulling this pin low will force the chip into Panel Mode. www.ti.com Description A/D Input Channel 0. Connect a resistor divider to 5V supply to set the maximum output voltage. Please refer to the application section for more information on setting the resistor value. Input voltage sensing pin. A/D Input Channel 2. Connect a resistor divider to a 5V supply to set the condition to enter and exit Panel Mode (PM). Refer to the “Configurable Settings” section. Output voltage sensing pin. A/D Input Channel 4. Connect a resistor divider to a 5V supply to set the maximum output current. Please refer to the application section for more information on setting the resistor value. Input current sensing pin. A/D Input Channel 6. Connect a resistor divider to a 5V supply to set the output voltage slew rate and various PM configurations. Refer to the “Configurable Settings” section. Output current sensing pin. 4 Recommended Operating Conditions If Military/Aerospace specified devices are required, please contact the Texas Instruments Sales Office/ Distributors for availability and specifications. Analog Supply Voltage VA (VDDA - VSSA) Digital Supply Voltage VD (VDDD - VSSD) Voltage on Any Pin to GND Input Current at Any Pin (Note 3) Package Input Current (Note 3) Storage Temperature Range ESD Rating Human Body Model SM72445 Absolute Maximum Ratings (Note 1) Operating Temperature VA Supply Voltage VD Supply Voltage Digital Input Voltage Analog Input Voltage Junction Temperature -0.3 to 6.0V -0.3 to VA +0.3V max 6.0V -0.3 to VA +0.3V ±10 mA ±20 mA -65°C to +150°C (Note 2) 2 kV -40°C to 105°C +4.75V to +5.25V +4.75V to VA 0 to VA 0 to VA -40°C to 125°C Electrical Characteristics Specifications in standard typeface are for TJ = 25°C, and those in boldface type apply over the full operating junction temperature range.(Note 3). Typical values represent the most likely parametric norm at TJ = 25°C, and are provided for reference purposes only. Unless otherwise stated the following conditions apply: VD=VA=5V. Symbol Parameter Conditions Min Typ Max Units ANALOG INPUT CHARACTERISTICS AVin, AIin AVout, AIout Input Range - 0 to VA - V IDCL DC Leakage Current - - ±1 µA CINA Input Capacitance (Note 4) Track Mode - 33 - pF Hold Mode - 3 - pF DIGITAL INPUT CHARACTERISTICS VIL Input Low Voltage - - 0.8 V VIH Input High Voltage 2.8 - - V CIND Digital Input Capacitance (Note 4) - 2 IIN Input Current - ±0.01 ±1 µA VD - 0.5 - - V - - 0.4 V ±1 µA pF DIGITAL OUTPUT CHARACTERISTICS VOH Output High Voltage ISOURCE = 200 µA VOL Output Low Voltage ISINK = 200 µA to 1.0 mA IOZH , IOZL Hi-Impedance Output Leakage Current COUT Hi-Impedance Output Capacitance (Note 4) 2 pF POWER SUPPLY CHARACTERISTICS (CL = 10 pF) VA ,VD Analog and Digital Supply Voltages IA + ID Total Supply Current VA ≥ VD 4.75 5 5.25 V - 11.5 16.5 mA 170 215 250 kHz PWM OUTPUT CHARACTERISTICS A2 High Frequency Setting: fPWM PWM switching frequency tDEAD Dead time (for Buck switch node and for Boost switch node) 54 ns A2 MediumFrequency Setting: fPWM PWM switching frequency tDEAD Dead time 105 135 87 5 155 kHz ns www.ti.com Parameter Conditions Min Typ Max Units 85 110 125 kHz A2 Low Frequency Setting: fPWM PWM switching frequency tDEAD Dead time 106 ns Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the component may occur. Operating Ratings are conditions under which operation of the device is guaranteed. Operating Ratings do not imply guaranteed performance limits. For guaranteed performance limits and associated test conditions, see the Electrical Characteristics tables. Note 2: The human body model is a 100 pF capacitor discharged through a 1.5 kΩ resistor into each pin. Note 3: Min and Max limits are production tested at 25°C. Limits over the operating temperature range are guaranteed through correlation using Statistical Quality Control (SQC) methods. Note 4: Not tested. Guaranteed by design. Typical Performance Characteristics Typical performance curves reflect the performance of the SM72445 as designed into the SM3320–1A1 reference design, and are provided for reference purposes only. Unless otherwise stated the following conditions apply: TJ = 25°C. Typical Efficiency, Vmp 33V Peak Efficiency vs Vmp 30176154 30176152 Peak Efficiency vs Temperature Frequency Temperature Dependence 1.025 NORMALIZED FREQUENCY SM72445 Symbol PWM OUTPUT CHARACTERISTICS (Continued) 1.020 1.015 1.010 1.005 1.000 0.995 0.990 0.985 0.980 0.975 -40 -20 0 20 40 60 80 100 120 140 TEMPERATURE (°C) 30176153 30176151 www.ti.com 6 the PWM duty cycle to maximize energy harvested from the photovoltaic module. MPPT performance is very fast. Convergence to the maximum power point of the module typically occurs within 0.01s. This enables the controller to maintain optimum performance under fast-changing irradiance conditions. Transitions between buck, boost, and Panel Mode are smoothed. Output voltage and current limiting functionality are integrated into the digital control logic. The controller is capable of handling both shorted and no-load conditions and will recover smoothly from both conditions. OVERVIEW The SM72445 is a programmable MPPT controller capable of outputting four PWM gate drive signals for a 4 switch buckboost converter with an independent Panel Mode. The typical application circuit is shown in Figure 2. The SM72445 does not require a dedicated switch to implement Panel Mode. The four buck-boost switches can be controlled to implement PM. A dedicated switch may be used for higher efficiency. Setting the voltage on pin A2 selects between the options. The SM72445 uses an advanced digital controller to generate its PWM signals. A maximum power point tracking (MPPT) algorithm monitors the input current and voltage and controls 30176104 FIGURE 4. High Level State Diagram for Startup 7 www.ti.com SM72445 Operation Description SM72445 put connected to the reset pin of the SM72445 is one possible implementation. The maximum output voltage is always enforced during MPPT operation of the IC. The following equation sets the maximum output voltage: STARTUP SM72445 has a soft start feature that will ramp its output voltage for a time of 250ms if the bridge is configured to run at 215kHz and up to 500ms if the bridge is configured for 110kHz. If no output current is detected during soft-start time, the device will then enter Panel Mode for 60 seconds. A counter will start once the minimum output current threshold is met (set by ADC input channel 4, pin A4). During these 60 seconds, any variation on the output power will not cause the chip to enter MPPT mode. Once 60 seconds have elapsed, the unit will enter operational PM mode and the pre-determined power level variation at the output will engage the chip in MPPT mode. If the output current is greater than the current threshold set at A/D Channel 6 (A6) during soft-start, the chip will then engage in MPPT mode and will not be subject to the start-up delay. Where RT1 and RB1 are the resistor divider on the ADC pin A0 and RFB1 and RFB2 are the output voltage sense resistors. A typical value for RFB2 is about 2 kΩ CURRENT LIMIT SETTING Maximum output current can be set by changing the resistor divider on A4 (pin 18). Refer to Figure 2. Overcurrent at the output is detected when the voltage on AIOUT (pin 21) equals the voltage on A4 (pin 18). The voltage on A4 can be set by a resistor divider connected to 5V whereas the voltage on AIOUT can be set by a current sense amplifier. AVIN PIN AVIN is an A/D input to sense the input voltage of the SM72445. A resistor divider can be used to scale max voltage to about 4V, which is 80% of the full scale of the A/D input. CONFIGURABLE SETTINGS A/D pins A0, A2, A4, and A6 are used to configure the behavior of the SM72445 by adjusting the voltage applied to them through resistor dividers as shown in Figure 2, where RT1 to RT4 should be in the range of 20 kΩ. The voltages of the configuration pins are read and the operating mode is then set at start-up and after each reset of the device. Three different frequencies for the PWM operation of the Hbridge as well as two different implementations of the Panel Mode switch can be set on the ADC input channel 2 (pin A2). The table below lists the different conditions that a user can select on pin A2. Each frequency has a different associated dead time for the operation of the synchronous switches. When dedicated PM switch modes are used, the unit will stop switching the converter upon entering PM mode and the PM_OUT pin will switch at a high frequency to provide activation of a dedicated Panel Mode switch. When the H-bridge modes are used, the unit will keep the H-bridge switching at half the operating frequency (to reduce switching losses) and with a total input to output ratio of 1. The dead times are unchanged during this phase. 30176105 FIGURE 5. Startup Sequence MAXIMUM OUTPUT VOLTAGE The maximum output voltage on the SM72445 is set by the resistor divider ratio on pin A0. (Please refer to Figure 2 Typical Application Circuit). The value of the voltage on pin A0 is sampled and stored by the ADC of the SM72445 at start-up and after reset events. While voltage on pin AVOUT is above the voltage set at pin A0, the duty cycle of the converter will be reduced every MPPT cycle (1ms-2ms depending on the set switching frequency). This is true when the converter is running in MPPT state or during Soft-Start. When the unit is in Panel Mode (PM) or in Startup Panel Mode (PM_Startup) there is no control on the output voltage and the device will not react to the presence of a voltage on AVOUT higher than the A0 setpoint. See Figure 4 for more details on the different states of operation. This means that the voltage limit setting cannot be used to ensure overall maximum output voltage for the system: there will be times during Panel Mode operation and Stand-by mode operation when the output will increase above the programmed output voltage if the input (solar panel) gets over that voltage limit. Therefore, the maximum output voltage threshold set by programming A0 is only valid if its value is higher than the maximum input voltage (solar panel in open circuit at coldest operating point). If over-voltage protection needs to be implemented, it must be done using external components. For exampe, a voltage comparator with its outwww.ti.com TABLE 1 Programmable Settings on Pin A2 8 A2 PWM Frequency setting Panel Mode Operation 4.69 V HIGH Uses dedicated PM switch 4.06 V HIGH Uses dedicated PM switch 3.44 V LOW Uses H-bridge for PM operation 2.81 V MED. Uses H-bridge for PM operation 2.19 V HIGH Uses H-bridge for PM operation PWM Frequency setting Panel Mode Operation 1.56 V LOW Uses dedicated PM switch 0.94 V MED. Uses dedicated PM switch 0.31 V HIGH Uses dedicated PM switch soft-start period has finished, by changing the voltage level on pin A6 which is the input of ADC channel 6. The slew rate limiter takes control of the duty cycle if the output voltage rises faster than the programmed limit while the unit is running in Boost mode (output voltage higher than input voltage). The device will control the duty cycle so that the output voltage stays within the allowed slew rate. The slew rate is never limited in Buck mode (output voltage lower than input voltage). The user can also select the output voltage slew rate, minimum current threshold and duration of Panel Mode after the TABLE 2 Programmable Settings on Pin A6 A6 Output Voltage Slew Rate Limit Starting Panel Mode Time 4.69 V 10V/1.2s Not applicable 4.06 V 10V/1.2s 60s 3.44 V 10V/1.2s 0s 2.81 V 10V/1.2s 120s 2.19 V 10V/1.2s 1.56 V 0.94 V 0.31 V MPPT Exit Threshold (on AIOUT or AIIN) MPPT Start Threshold (on AIOUT) Starting boost ratio 0V 0V N/A 0.006xVDDA 0.010xVDDA 1:1 0.023xVDDA 0.039xVDDA 1:1 0.023xVDDA 0.039xVDDA 1:1 Not applicable 0.006xVDDA 0.010xVDDA 1:1.2 10V/1.2s 60s 0.023xVDDA 0.039xVDDA 1:1 10V/0.6s 60s 0.023xVDDA 0.039xVDDA 1:1 No slew rate limit 60s 0.023xVDDA 0.039xVDDA 1:1 means it stops when Vout = Vin, whereas a 1:1.2 ratio means it stops when Vout = 1.2 x Vin. PARAMETER DEFINITIONS Output Voltage Slew Rate Limit Settling Time: Time constant of the internal filter used to limit output voltage change. At the fast slew rate, the output voltage will be held for 60 ms for every 1V increase, whereas in the slow slew rate, the output voltage will be held for 120ms for every 1V increase. (See Figure 6). Starting PM Time: After initial power-up or reset, the output soft-starts and then enters Panel Mode for this amount of time. MPPT Exit Threshold and MPPT Start Threshold: These are the hysteretic thresholds for Iout_th read on pin AIOUT. The values are expressed as a fraction of the voltage at pin VDDA. AIOUT is the output current sensing pin and should be connected to the output of a current sense amplifier. For example, with a current sense amplification of 0.5V/A provided by an external current sense resistor and amplifier and assuming VDDA=5V and A6=0.94V, the output current threshold to bring the device out of stand-by mode will be 0.39A. Starting Boost Ratio: This is the end-point of the soft-start voltage ramp expressed as a ratio of VOUT/VIN. 1:1 ratio DEAD-TIME The dead time of the switches to avoid cross conduction of the buck FETs and boost FETs depends on the switching frequency set: it is equal to (3/256) x 1/fSWITCH. When the IC is programmed for 215 kHz operation, the dead time between HIA and LOA and between HIB and LOB will be 55ns. PANEL MODE PIN (PM) The SM72445 can be forced into Panel Mode by pulling the PM pin low. One sample application is to connect this pin to the output of an external temperature sensor; therefore whenever an over-temperature condition is detected the chip will enter Panel Mode. Once Panel Mode is enabled, either when the unit is running in MPPT mode with a 1:1 conversion ratio or when PM is pulled low, the PM_OUT pin will output a 440 kHz square wave signal. Using a gate driver and transformer, this square wave signal can then be used to drive a Panel Mode FET as shown in Figure 7. 9 www.ti.com SM72445 A2 SM72445 30176113 FIGURE 6. Slew Rate Limitation Circuit 30176107 FIGURE 7. Sample Application for Panel Mode Operation As seen in Figure 8, the initial value for output voltage and load current are 28V and 1A respectively. After the reset pin is grounded both the output voltage and load current decreases immediately. MOSFET switching on the buck-boost converter also stops immediately. VLOB indicates the low side boost output from the SM72295. RESET PIN When the reset pin is pulled low, the chip will cease its normal operation and turn-off all of its PWM outputs including the output of PM_OUT pin. Below is an oscilloscope capture of a forced reset condition. ANALOG INPUT An equivalent circuit for one of the ADC input channels is shown in Figure 9. Diode D1 and D2 provide ESD protection for the analog inputs. The operating range for the analog inputs is 0V to VA. Going beyond this range will cause the ESD diodes to conduct and result in erratic operation. The capacitor C1 in Figure 9 has a typical value of 3 pF and is mainly the package pin capacitance. Resistor R1 is the on resistance of the multiplexer and track / hold switch; it is typically 500Ω. Capacitor C2 is the ADC sampling capacitor; it is typically 30 pF. The ADC will deliver best performance when driven by a low-impedance source (less than 100Ω). This is especially important when sampling dynamic signals. Also important when sampling dynamic signals is a band-pass or low-pass filter which reduces harmonic and noise in the input. These filters are often referred to as anti-aliasing filters. 30176108 FIGURE 8. Forced Reset Condition www.ti.com 10 SCL and SDA SCL is an input, and SDA is bidirectional with an open-drain output. SCL and SDA do not have internal pull-ups. A “high” level will not be observed on this pin until pull-up current is provided by some external source, typically a pull-up resistor. The choice of resistor value depends on many system factors such as load capacitance and trace length. A typical value of pull-up resistor for SM72445 ranges from 2 kΩ to 10 kΩ. For more information, refer to the I2C Bus specification for selecting the pull-up resistor value. The SCL and SDA outputs can operate while being pulled up to 5V and 3.3V. 30176109 FIGURE 9. Equivalent Input Circuit DIGITAL INPUTS and OUTPUTS The digital input signals have an operating range of 0V to VA, where VA = VDDA – VSSA. They are not prone to latchup and may be asserted before the digital supply VD, where VD = VDDD – VSSD, without any risk. The digital output sig- I2C CONFIGURATION REGISTERS The operation of the SM72445 can be configured through its I2C interface. Complete register settings for I2C lines are shown below. 11 www.ti.com SM72445 nals operating range is controlled by VD. The output high voltage is VD – 0.5V (min) while the output low voltage is 0.4V (max). SM72445 reg0 Register Description Bits Field Reset Value R/W Bit Field Description 55:40 RSVD 16'h0 R Reserved for future use. 39:30 ADC6 10'h0 R Analog Channel 6 (slew rate detection time constant, see adc config worksheet) 29:20 ADC4 10'h0 R Analog Channel 4 (iout_max: maximum allowed output current) 19:10 ADC2 10'h0 R Analog Channel 2 (operating mode, see adc_config worksheet) 9:0 ADC0 10'h0 R Analog Channel 0 (vout_max: maximum allowed output voltage) reg1 Register Description Bits Field Reset Value R/W Bit Field Description 55:41 RSVD 15'h0 R Reserved for future use. 40 mppt_ok 1'h0 R Internal mppt_start signal (test only) 39:30 Vout 10'h0 R Voltage out 29:20 Iout 10'h0 R Current out 19:10 Vin 10'h0 R Voltage in 9:0 Iin 10'h0 R Current in reg3 Register Description Bits Field Reset Value R/W Bit Field Description 55:47 RSVD 9'd0 R/W Reserved 46 overide_adcprog 1'b0 R/W When set to 1'b1,the below overide registers used instead of ADC 45 RSVD 1'b0 R/W Reserved 44:43 RSVD 2'd1 R/W Reserved 42:40 A2_override 3'd0 R/W Register override alternative for the three MSBs of ADC2 (bits [9–7]) when reg3[46] is set. This allows frequency and panel mode configuration to be set through I2C 39:30 iout_max 10'd1023 R/W Register override alternative when reg3[46] is set for maximum current threshold instead of ADC ch4 29:20 vout_max 10'd1023 R/W Register override alternative when reg3[46] is set for maximum voltage threshold instead of ADC ch0 19:17 tdoff 3'h3 R/W Dead time Off Time 16:14 tdon 3'h3 R/W Dead time On time 13:5 dc_open 9'hFF R/W Open loop duty cycle (test only) 4 pass_through_s el 1'b0 R/W Overrides PM pin 28 and use reg3[3] 3 pass_through_m anual 1'b0 R/W Control Panel Mode when pass_through_sel bit is 1'b1 2 bb_reset 1'b0 R/W Soft reset 1 clk_oe_manual 1'b0 R/W Enable the PLL clock to appear on pin 5 0 Open Loop operation 1'b0 R/W Open Loop operation (MPPT disabled, receives duty cycle command from reg 3b13:5); set to 1 and then assert & deassert bb_reset to put the device in openloop (test only) www.ti.com 12 SM72445 reg4 Register Description Bits Field Reset Value R/W 55:32 RSVD 24'd0 R/W Bit Field Description Reserved 31:24 Vout offset 8'h0 R/W Voltage out offset 23:16 Iout offset 8'h0 R/W Current out offset 15:8 Vin offset 8'h0 R/W Voltage in offset 7:0 Iin offset 8'h0 R/W Current in offset Bit Field Description reg5 Register Description Bits Field Reset Value R/W 55:40 RSVD 15'd0 R/W Reserved 39:30 iin_hi_th 10'd40 R/W Current in high threshold for start 29:20 iin_lo_th 10'd24 R/W Current in low threshold for start 19:10 iout_hi_th 10'd40 R/W Current out high threshold for start 9:0 iout_lo_th 10'd24 R/W Current out low threshold for start The open loop operation allows the user to set a fixed operating duty cycle (buck or boost) on the converter. The unit will not sense current or voltage in this mode and will perform an internal reset when exiting open loop mode. The bb_reset bit performs a limited reset of the IC. While this bit is set high, the unit will not output any driving signal and will not sense any input. When this bit is transited back to zero, the unit will go through its initialization phase according to the programming mode set and possible I2C overrides. The IC will NOT perform a sample of the A0–A6 input when the bb_reset bit is cleared. To change the PWM frequency options the first time after power up, the following programming sequence must be used : • set bb_reset bit (reg3[2]), set over-ride bit (reg3[46]), set to the desired PWM code (reg3[42:40]) • reset bb_reset bit, keep over-ride bit, keep the desired PWM code To change PWM options subsequent to an earlier programming : • set bb_reset bit, reset over-ride bit, set to the desired PWM code • reset bb_reset bit, reset over-ride bit, keep the desired PWM code • set bb_reset bit, set over-ride bit, keep the desired PWM code • reset bb_reset bit, keep over-ride bit, keep the desired PWM code The switching frequency will be returned to the default external resistor setting after each hard reset of the IC. The “tdoff” and” tdon” (REG3[14:19]) parameters allow modification of the dead time. the dead time for the turning on of the synchronous rectifier (affecting buck and boost mode) will be set by (td_on/256)*(1/f_switch). The default parameter for td_on is 3. The dead time for the turning on of the main switch after the synchronous rectifier as turned off (affecting buck and boost mode) will be set by (td_off/256)*(1/f_switch). The default parameter for td_off is 3. The dead time parameters are returned to their default value after each hard reset of the IC. The offsets are 8 bit signed numbers which are added or substracted to the results of the A/D converter and affect the sensed values displayed in Register 0 as well as the thresholds. Using the I2C port, the user will be able to control the duty cycle of the PWM signal. Input and output voltage and current offsets can also be controlled using I2C on register 4. Control registers are available for additional flexibility. The thresholds iin_hi_th, iin_lo_th, iout_hi_th, iout_lo_th, in reg5 are compared to the values read in by the ADC on the AIIN and AIOUT pins. Scaling is set by the scaling of the analog signal fed into AIIN and AIOUT. These 10–bit values determine the entry and exit conditions for MPPT. The startup high thresholds set the voltages at pin AIIN and AIOUT above which the unit will begin transition from PM_Startup state to MPPT state. The low thresholds set the voltage below which the unit will transition back to PM_Startup (stand-by). The initial thresholds are a function of the value programmed in A6. As determined by , if A6 was between 0 and 1.56V at startup, the thresholds will be 0.023*VDDA and 0.039*VDDA. To run the system in Open Loop configuration, the Soft Reset bit must be set then cleared. The ADC channels are inactive when the device is used in Open Loop configuration. COMMUNICATING WITH THE SM72445 The SCL line is an input, the SDA line is bidirectional, and the device address can be set by the I2C0, I2C1 and I2C2 pins. Three device address pins allow connection of up to 7 SM72445s to the same I2C master. A pull-up resistor (10kΩ) to a 5V supply is used to set a bit 1 on the device address. Device addressing for slaves are as follows: 13 I2C0 I2C1 I2C2 Hex 0 0 1 0x1 0 1 0 0x2 0 1 1 0x3 1 0 0 0x4 1 0 1 0x5 1 1 0 0x6 1 1 1 0x7 www.ti.com SM72445 The data registers in the SM72445 are selected by the Command Register. The Command Register is offset from base address 0xE0. Each data register in the SM72445 falls into one of two types of user accessibility: 1) Read only (Reg0, Reg1) 2) Write/Read same address (Reg3, Reg4, Reg5) There are 7 bytes in each register (56 bits), and data must be read and written in blocks of 7 bytes. Figure 10 depicts the ordering of the bytes transmitted in each frame and the bits within each byte. In the read sequence depicted in Figure 11 the data bytes are transmitted in Frames 5 through 11, starting from the LSByte, DATA1, and ending with MSByte, DATA7. In the write sequence depicted in Figure 12, the data bytes are transmitted in Frames 4 through 11. Only the 100kHz data rate is supported. Please refer to “The I2C Bus Specification” version 2.1 (Doc#: 939839340011) for more documentation on the I2C bus. 30176116 FIGURE 10. Endianness Diagram 30176112 FIGURE 11. I2C Read Sequence www.ti.com 14 SM72445 30176114 FIGURE 12. I2C Write Sequence Noise coupling into digital lines greater than 400 mVp-p (typical hysteresis) and undershoot less than 500 mV below GND, may prevent successful I2C communication with SM72445. I2C no acknowledge is the most common symptom, causing unnecessary traffic on the bus. Although the I2C maximum frequency of communication is rather low (400 kHz max), care still needs to be taken to ensure proper termination within a system with multiple parts on the bus and long printed board traces. Additional resistance can be added in series with the SDA and SCL lines to further help filter noise and ringing. Minimize noise coupling by keeping digital traces out of switching power supply areas as well as ensuring that digital lines containing high speed data communications cross at right angles to the SDA and SCL lines. 15 www.ti.com SM72445 Physical Dimensions 30176150 NS Package Drawing MTC28 www.ti.com 16 SM72445 Notes 17 www.ti.com SM72445 Programmable Maximum Power Point Tracking With Adjustable PWM Frequency Notes www.ti.com IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap Wireless Connectivity www.ti.com/wirelessconnectivity TI E2E Community Home Page e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2012, Texas Instruments Incorporated