Other Parts Discussed in Thread: TPS54620
I wrote a C++ Program to try to calculate the equation 47 the data sheet
Can't paste the data sheet equation in but I will give you the C++ code and Output to show what the computer calculates.
Below are inputs to the equation:
// set RLOAD to 10 ohms
R_LOAD = 3.3 / .33; // tenth the current
cout << "R_LOAD = " << R_LOAD << endl;
cout << "fc = " << fc << endl;
cout << "COUT = " << COUT << endl;
cout << "pi = " << pi << endl;
COUT_Resr = 10.0e-3;
cout << "COUT_Resr = " << COUT_Resr << endl;
values printed out by the C Program:
COUT = 4.7e-05 after derating
fp_MOD = 1539.22
pi = 3.14159
COUT = 4.7e-05
fz_MOD = 338628
fc_max = 45353.6
fc_min = 7696.08
fc = 45000
R_LOAD = 10
fc = 45000
COUT = 4.7e-05
pi = 3.14159
COUT_Resr = 0.01
G_MOD_fc = 67.773 value come back
C++ Equation
G_MOD_fc_numerator = gm_ps * R_LOAD * ( (2.0 * pi * fc * COUT * COUT_Resr ) + 1.0);
G_MOD_fc_denominator = ( 2.0 * pi * COUT * (R_LOAD + COUT_Resr ) ) + 1.0;
G_MOD_fc = G_MOD_fc_numerator / G_MOD_fc_denominator;
//
cout << "G_MOD_fc = " << G_MOD_fc << endl;
G_MOD_fc = 67.773 // Calculated output from C++ Program
Expected answer in the data sheet is
For the example problem, the gain of the modulator at the crossover frequency is 0.542. Next
This is on page 37 of the data sheet.
Thanks for any help on this