Sign in

username:

password:



Not a member?

Search Sci.Electronics.Basics



Search tips

basics by Keywords

ADC | Antenna | CAD | Coil | Generator | IDE | LCD | Modulator | MOSFET | NiMH | Opamp | Oscilloscope | PID | RS232 | Telephone | Transformers | TTL | USB

Ads

See Also

DSPEmbedded SystemsFPGA

basics | Check frequency


There are 40 messages in this thread.

You are currently looking at messages 0 to 10.

Check frequency - ClueLess - 2009-12-16 09:21:00

Hi all

I have a requirement to exactly adjust the frequency of a
microcontroller system (8051) that works with the 32768 Hz watch
crystal. 

I am not an electronics engineer but a hobby type. I will thank you to
please let me know how the system can made to work exactly at the
above frequency. Trimmers are provided. my understanding is that you
need an oscilloscope to do this. In that case what kind should I go
for? Os is there a simpler methods?

-- 
Thank you very much for your time

ClueLess



Re: Check frequency - John Fields - 2009-12-16 10:25:00


Re: Check frequency - whit3rd - 2009-12-16 16:55:00

On Dec 16, 6:21=A0am, ClueLess <cluel...@wilderness.org.invalid> wrote:

> I have a requirement to exactly adjust the frequency of a
> microcontroller system (8051) that works with the 32768 Hz watch
> crystal.

> I am not an electronics engineer but a hobby type. I will thank you to
> please let me know how the system can made to work exactly at the
> above frequency. Trimmers are provided. my understanding is that you
> need an oscilloscope to do this.

Define 'exactly'.  You will need a very accurate standard to
compare your oscillator with, and the crystal won't allow
much alteration of frequency, regardless of 'trimmers'.

An oscilloscope and Lissajous techniques can do part of the
job, but frequency accuracy can be a challenging task; some
clocks reach ten significant figures, it matters a LOT what your
accuracy requirement is.

Re: Check frequency - Phil Allison - 2009-12-16 20:58:00

"John Fields"

> For this application an oscilloscope will be useless and you should use
> a frequency counter.


** Shame how even the cheapest  DSOs  have built in frequency measurement to 
5 decimal places.


...   Phil



Re: Check frequency - Phil Allison - 2009-12-16 21:26:00

"ClueLess
>
> I have a requirement to exactly adjust the frequency of a
> microcontroller system (8051) that works with the 32768 Hz watch
> crystal.
>
> I am not an electronics engineer but a hobby type. I will thank you to
> please let me know how the system can made to work exactly at the
> above frequency. Trimmers are provided. my understanding is that you
> need an oscilloscope to do this. In that case what kind should I go
> for? Os is there a simpler methods?


** To get the frequency exact, you need resolution better than 1 Hz  - one 
way is to use a frequency counter that can be set to count for 10 seconds  - 
giving you 327 thousand odd counts on the display.

Picking up a signal voltage from the crystal without disturbing it is a 
problem too  -  most counters would stop the oscillations if directly 
connected.

Time for a Reality check:

Just how " exact " do you really need it  ??

A watch crystal will be within about 30ppm  (or 1 Hz ) with no adjustment.

To get better accuracy, you will need at a dual trace scope and a quartz 
clock that keeps good time.

Dunno why you are playing with uPs when you have no scope.


....  Phil




Re: Check frequency - Jasen Betts - 2009-12-17 02:29:00

On 2009-12-16, ClueLess <c...@wilderness.org.invalid> wrote:
> Hi all
>
> I have a requirement to exactly adjust the frequency of a
> microcontroller system (8051) that works with the 32768 Hz watch
> crystal. 
>
> I am not an electronics engineer but a hobby type. I will thank you to
> please let me know how the system can made to work exactly at the
> above frequency. Trimmers are provided. my understanding is that you
> need an oscilloscope to do this. In that case what kind should I go
> for? Os is there a simpler methods?

Set the device up to count cycles between input pulses and feed it the
1 Hz pulse train from a GPS, trim until you get close enough to 32768



Re: Check frequency - Phil Allison - 2009-12-17 03:21:00

"Jasen Betts" <j...@xnet.co.nz>

**  Sheep shagger extraordinaire.


> Set the device up to count cycles between input pulses and feed it the
> 1 Hz pulse train from a GPS, trim until you get close enough to 32768


** The crystal will be 32.768 kHz out of the box.

     Idiot.



....  Phil




Re: Check frequency - John Fields - 2009-12-17 14:41:00

On Thu, 17 Dec 2009 12:58:38 +1100, "Phil Allison" <p...@tpg.com.au>
wrote:

>
>"John Fields"
>
>> For this application an oscilloscope will be useless and you should use
>> a frequency counter.
>
>
>** Shame how even the cheapest  DSOs  have built in frequency measurement to 
>5 decimal places.
>

---
Shame how analog scopes, which is (since he didn't say "DSO") what he
was talking about, don't.

JF 

Re: Check frequency - John Fields - 2009-12-17 14:52:00

On Thu, 17 Dec 2009 19:21:12 +1100, "Phil Allison" <p...@tpg.com.au>
wrote:

>
>"Jasen Betts" <j...@xnet.co.nz>
>
>**  Sheep shagger extraordinaire.
>
>
>> Set the device up to count cycles between input pulses and feed it the
>> 1 Hz pulse train from a GPS, trim until you get close enough to 32768
>
>
>** The crystal will be 32.768 kHz out of the box.

---
Actually, out of the box it'll be a little high.
---

>     Idiot.

---
A dog smells his own farts first, yes?

JF 

Re: Check frequency - John Fields - 2009-12-17 15:09:00

On Thu, 17 Dec 2009 13:26:31 +1100, "Phil Allison" <p...@tpg.com.au>
wrote:

>
>"ClueLess
>>
>> I have a requirement to exactly adjust the frequency of a
>> microcontroller system (8051) that works with the 32768 Hz watch
>> crystal.
>>
>> I am not an electronics engineer but a hobby type. I will thank you to
>> please let me know how the system can made to work exactly at the
>> above frequency. Trimmers are provided. my understanding is that you
>> need an oscilloscope to do this. In that case what kind should I go
>> for? Os is there a simpler methods?
>
>
>** To get the frequency exact, you need resolution better than 1 Hz

---
I don't think so.

If you've got a 32768 Hz crystal in an oscillator and you want to
measure the output frequency to an accuracy of, say, +/- one part in
32768, then if you use a 1 second timebase to accumulate cycles it has
to have a resolution of +/- 30.51757... µs  
---

> -one 
>way is to use a frequency counter that can be set to count for 10 seconds  - 
>giving you 327 thousand odd counts on the display.

---
True.
---

>Picking up a signal voltage from the crystal without disturbing it is a 
>problem too  -  most counters would stop the oscillations if directly 
>connected.

---
Using a 10 megohm scope probe to connect the counter to the driven side
of the crystal, IME, won't stop it, but it will pull it.
---
 
>Time for a Reality check:
>
>Just how " exact " do you really need it  ??
>
>A watch crystal will be within about 30ppm  (or 1 Hz ) with no adjustment.
>
>To get better accuracy, you will need at a dual trace scope and a quartz 
>clock that keeps good time.
>
>Dunno why you are playing with uPs when you have no scope.
>
>
>....  Phil
>
>
JF 

| 1 | 2 | 3 | 4 | next