PT2399 Calculator

PT2399 Delay Time vs Resistance

Resistance (Pin 6):

Delay Time (ms):

Internal Clock Frequency (MHz):

THD (%):

As a member of the Reverb Partner Program and as an Amazon Associate, StompboxElectronics earns from, and is supported by, qualifying purchases.

Using the PT2399 Calculator

The PT2399 Echo Processor chip allows you to adjust the delay time via a simple resistor across pin 6 and ground. This calculator allows you to calculate the delay time from a resistance, or resistance from a desired delay time.

Calculating Resistance from Delay Time

Set the "Solve for" dropdown box to Resistance. Enter a delay time in milliseconds, then click Calculate.

If the resistance value exceeds 27.6k ohms, or if it falls below 5 ohms, the input box for Resistance will change from white to orange. This indicates that it falls outside of the range given in the datasheet of the PT2399.

Calculating Delay Time from Resistance

Set the "Solve for" dropdown box to Delay Time. Choose your desired resistance units (kOhms vs. Ohms) and enter the desired resistance value. Finally, click Calculate to see the resulting Delay Time in milliseconds.

Again, if the resistance value exceeds 27.6k ohms, or if it falls below 5 ohms, then the input box for Resistance will change from white to orange. This indicates that the resistance value is outside the range given in the datasheet of the PT2399.

Calculating Delay Time from Resistance

The datasheet for the PT2399 shows a table of resistance values (from pin 6 to ground), delay time, clock frequency, and THD values. That, along with the application circuits, are just about all the information you need to understand how to use the PT2399.

R (Ω)Clock Freq. (MHz)Delay Time (ms)THD (%)
0.5 Ω22 MHz31.3 ms0.13 %
288 Ω21 MHz32.6 ms0.13 %
519 Ω20 MHz34.4 ms0.13 %
723 Ω19 MHz36.6 ms0.14 %
894 Ω18 MHz38.5 ms0.14 %
1.08 kΩ17 MHz40.6 ms0.14 %
1.28 kΩ16 MHz43 ms0.15 %
1.47 kΩ15 MHz45.8 ms0.15 %
1.67 kΩ14 MHz48.1 ms0.15 %
2 kΩ13 MHz52.3 ms0.15 %
2.4 kΩ12 MHz56.6 ms0.16 %
2.8 kΩ11 MHz61.6 ms0.18 %
3.4 kΩ10 MHz68.1 ms0.19 %
4 kΩ9 MHz75.9 ms0.21 %
4.5 kΩ8.5 MHz81 ms0.22 %
4.9 kΩ8 MHz86.3 ms0.23 %
5.4 kΩ7.5 MHz92.2 ms0.25 %
5.8 kΩ7 MHz97.1 ms0.25 %
6.4 kΩ6.5 MHz104.3 ms0.27 %
7.2 kΩ6 MHz113.7 ms0.29 %
8.2 kΩ5.5 MHz124.1 ms0.33 %
9.2 kΩ5 MHz136.6 ms0.36 %
10.5 kΩ4.5 MHz151 ms0.41 %
12.1 kΩ4 MHz171 ms0.46 %
14.3 kΩ3.5 MHz196 ms0.53 %
17.2 kΩ3 MHz228 ms0.63 %
21.3 kΩ2.5 MHz273 ms0.8 %
27.6 kΩ2 MHz342 ms1.0 %

There's no equation given for the relationship between Delay Time and Resistance, but since the relationship between them is linear we can do a least squares approximation to find the line of best-fit:

PT2399 Delay Time vs Resistance
Delay Time (ms) vs. Resistance

The equation relating the resistance across pin 6 (in kΩ) to delay time (ms) is:

Equation relating resistance across pin 6 to delay time.
Equation relating resistance across pin 6 to delay time.

Calculating Required Resistance from Delay Time

By rearranging the equation found above, you can back-calculate and find the resistance required (kΩ) for a given delay time (ms).

Equation relating delay time to resistance across pin 6 of the PT2399
Equation relating delay time to resistance across pin 6.

PT2399 Internal Clock Frequency Calculation

The PT2399 is a digital chip. Being a digital chip, it relies on a system clock to access the internal memory registers. The clock's frequency vs. resistance is given in the table of values mentioned before.

The clock frequency has a 1/f relationship to the delay time. Well, 1/f is simple the period of the clock. So, the clock period is directly proportional to the delay time of the PT2399. Performing the same least squares approximation on that relationship yields the following equation:

Equation relating the delay time to the clock period (in microseconds).
Equation relating the delay time to the clock period (in microseconds).

Realizing that the clock period is the inverse of the clock frequency, the final equation relating delay time and clock frequency is:

An equation relating the delay time to the clock frequency (in MHz)
Equation relating the delay time to the clock frequency (in MHz)

PT2399 THD Calculation

The total harmonic distortion is relatively linear with the resistance on pin 6, as shown in the graph below:

PT2399 THD (%) vs. Resistance plot
PT2399 THD (%) vs. Resistance

A least-square approximation gives the following the equation for calculating the THD based on the resistance:

Equation relating the PT2399 THD (%) to the resistance (in Ohms)
Equation relating the THD (%) to the resistance (in Ohms)

Resources:

Meet the Author:


Other Calculators from Stompbox Electronics