Re: [time-nuts] PLL Math Question

2014-03-13 Thread Daniel Mendes
Em 13/03/2014 01:35, Bob Stewart escreveu: Hi Daniel, re: FIR vs IIR I'm not a DSP professional, though I do have an old Smiths, and I've read some of it. So, could you give me some idea what the FIR vs IIR question means on a practical level for this application? I can see that the MA is

Re: [time-nuts] Mains frequency

2014-03-13 Thread Hal Murray
[Context is maybe(?) withdrawing the proposal to stop keeping time on the US power line.] wb4...@wb4gcs.org said: Since then, large amounts of generation (primarily coal) has been shut down, so I was not at all surprised by the request. I missed the announcement that the request was

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Hal Murray
albertson.ch...@gmail.com said: We have to define best. I'd define it as the error integrated over time is minimum. I think PiD gets you that and it is also easy to program and uses very little memory. Just three values (1) the error, (2) the total of all errors you've seen (in a perfect

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Jim Lux
On 3/12/14 10:06 PM, Chris Albertson wrote: On Wed, Mar 12, 2014 at 9:13 PM, Daniel Mendes dmend...@gmail.com wrote: This is a FIR x IIR question... moving average = FIR filter with all N coeficients equalling 1/N exponential average = using a simple rule to make an IIR filter Isn't his

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Bob Stewart
Hi Jim, Thanks for your thoughts.  Perhaps there are a few things that I know about my particular system that have been discounted.  I have mentioned them in passing, but haven't collected them coherently for this thread.  It's an 8-bit PIC, thus floating point calculations have to be

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Dennis Ferguson
On 12 Mar, 2014, at 23:08 , Hal Murray hmur...@megapathdsl.net wrote: b...@evoria.net said: In the moving averages I'm doing, I'm saving the last bit to be shifted out and if it's a 1 (i.e. 0.5) I increase the result by 1. That's just rounding up at an important place. It's probably a

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Bob Stewart
Dennis, I just realized that I could do the math in sixteenths.  So, for 7/16ths multiply by 7 before shifting(i.e. dividing) and rounding.  That would probably give enough granularity.  I'll have to think about it.  It does open new doors. thanks, Bob

[time-nuts] Unusual 10544A

2014-03-13 Thread Mark Kahrs
Jerry Johnson has the following question: Some of the documents that I have found show pins and feed throughs with SMB right angle connectors for RF and probably control voltage. This one doesn't have the SMB connecgtor, just pins. The case says 10544A part number (which I've not

Re: [time-nuts] Unusual 10544A

2014-03-13 Thread Tom Van Baak (lab)
Do you have a photo? I have a large collection of hp oscillators here and do not see a 10544 with SMB. Are you sure it's not 10811? Then again, there are 10544A s/n 1528Ax mounted on a 15-pin PCB (05238-20027) which has a SMB connector. /tvb (i5s) On Mar 13, 2014, at 12:44 PM, Mark

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Chris Albertson
You don't really shift so much as just change the way you think about it. The way to think about it is not that you have 16th but that you have the binary point force places over. It works just like a decimal point. If you multiply two numbers each that has four places to the right of the point

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Bob Stewart
OK, gotcha.  But, this is in assembler, and anything wider than 3 bytes becomes tedious.  Also, anything larger than 3 bytes starts using a lot of space in a hurry.  Three byte fields allow me to use 256ths for gain and take the result directly from the two high order bytes without any

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Bob Camp
Hi Either grab a math pack (there are several for the PIC) or go to C. Timing at the Time Nuts level is about precision. We need *lots* of digits past the binary point :) Bob On Mar 13, 2014, at 7:19 PM, Bob Stewart b...@evoria.net wrote: OK, gotcha. But, this is in assembler, and

[time-nuts] Specs for CMAC 2390C?

2014-03-13 Thread Chris Albertson
I see some C-MAC STP 2390C 10MHZ OCXOs for sale at the normal places for reasonable prices. However I am unable to find any data on them, I hate to buy parts and not have a data sheet for them. Does anyone either know the specs or have a link to the specs? Perhaps lack of data is the reason

Re: [time-nuts] PLL Math Question

2014-03-13 Thread Hal Murray
li...@rtty.us said: Timing at the Time Nuts level is about precision. What's the term for a time-nut that's trying to be not-very-nutty? -- b...@evoria.net said: includes a 10-bit PWM dithered to 14 bits When you get it all working, that's going to be one of the weak links, at