Author Topic: XR2206 timing current formula  (Read 1334 times)

0 Members and 1 Guest are viewing this topic.

Offline marekpasekTopic starter

  • Contributor
  • Posts: 34
  • Country: cz
XR2206 timing current formula
« on: June 25, 2018, 07:37:39 pm »
Hello, I have a problem deriving the formula which would descripe the relationship between Vin and output frequency on xr2206.
The datasheet says that f =1/RC, where C mean the timing capacity and R means the resistance between pins 3 and 12. Therefore I derived that f = dVin/3RC, where dVin means the voltage difference across resistor with given resistance R and C mean timing capacity.
Nevertheless the datasheet also says that f = 320000I/C.
Certainly both formulae cannot be correct therefore... where is the mistake
Thanks
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3036
  • Country: us
Re: XR2206 timing current formula
« Reply #1 on: June 26, 2018, 06:37:05 pm »
Well, dVin/R = I, right?

So the only difference is in the constant - you have 1/3 and the datasheet has 3200000.

How are you deriving your 1/3? Could it just be you are using different units? Note that 1/3 = .333333... which is close to 320000 if you multiply by 10^6.
 

Offline marekpasekTopic starter

  • Contributor
  • Posts: 34
  • Country: cz
Re: XR2206 timing current formula
« Reply #2 on: June 27, 2018, 07:57:44 pm »
Correct. The voltage on pin 7 (sorry, I was misled and I thought it was pin 3) with reference to pin 12 equals 3v and is constant. Therefore 1/V equals 0.33333. There is a difference only in that. Nevertheless it makes a serious variance in the output frequency. I want to construct a device on whose precision I could rely, so I need to be capable of predicting the output frequency accurately.
« Last Edit: June 27, 2018, 08:18:03 pm by marekpasek »
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3036
  • Country: us
Re: XR2206 timing current formula
« Reply #3 on: June 28, 2018, 01:38:45 pm »
Two things...

1. If you want to have an RC timing circuit produce a specific fixed frequency you need to make one of the components adjustable (i.e. either a variable resistor or variable capacitor) and use a frequency counter to tune that component to the desired frequency.

2. Below is the formula I found in the XR2206 datasheet. Note that "I measured in mA" is I*1000 and "C measured in microfarads" is C*1000000, so the frequency formula is:

Code: [Select]
      f = 320 * (I*1000) / (C * 1000000) = 0.320 * I / C

XR2206 datasheet: https://www.sparkfun.com/datasheets/Kits/XR2206_104_020808.pdf
 

Online schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2223
  • Country: mx
Re: XR2206 timing current formula
« Reply #4 on: June 28, 2018, 01:51:44 pm »
If you are building your own XR2206 based generator, I would suggest to watch this very informative video:

 
The following users thanked this post: marekpasek


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf