?
Solved

Measure a two megabit signal!!!

Posted on 2001-09-13
11
Medium Priority
?
382 Views
Last Modified: 2013-11-15
I want to build a simple construction for measure of a two-megabit clock pulse, the clock pulse is also differential. I want to measure that the signal toggles and maybe also check the frequency. I also want to check or measure that the amplitude is correct.  Can I do something with a PIC controller or with a PLD, a A/D-converter and so on??? I also have a 8kHz signal which I can use as a reference.
 
Best regards

Yes I can use an instrument to measure the signal, but the problem is that I want to measure this frequency on a several circuit boards and in several hours. It will be too expensive to buy hundreds of instruments. Yes it is important to know if the signal rises to a proper level. Example: If the signal rises to one (1) the level should be above for example 1,5 volt and a zero (0) should be under 0,5 volt. The frequency should also be around 2 MHz, not under 1,9 MHz and not over 2,1 MHz. To indicate that something is wrong it should be OK to light an LED.

Best regards.


I have looked at your proposal, but I have still the problem to measure the level of the signal. Do you have any solutions for that?

Best regards

0
Comment
Question by:eing9603
11 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6480006
You've left out VITAL information here.

HOW PRECICELY and ACCURATELY do you need this measurement to be made?
0
 
LVL 31

Expert Comment

by:rid
ID: 6480316
A 2 MHz clock pulse? Some kind of oscilloscope, provided it can handle differential input might work. There are a few thingys for attaching to a PC that also might do the job - look for Pico Technology (www.picotech.com possibly).
Regards
/RID
0
 
LVL 2

Expert Comment

by:alexstewart@beta
ID: 6481054
use a ttl counter to divide the signal down to a few hz and count the pulses in a know time with a pc. Or use a longer counter and read the msb of the counter bits on the parallel port, make sure to avoid glitches, you might want to read twice, or latch the data before reading

National Instruments have cards that do this.
0
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 

Author Comment

by:eing9603
ID: 6482150
Yes I can use an instrument to measure the signal, but the problem is that I want to measure this frequency on a several circuit boards and in several hours. It will be too expensive to buy hundreds of instruments. Yes it is important to know if the signal rises to a proper level. Example: If the signal rises to one (1) the level should be above for example 1,5 volt and a zero (0) should be under 0,5 volt. The frequency should also be around 2 MHz, not under 1,9 MHz and not over 2,1 MHz. To indicate that something is wrong it should be OK to light an LED.

Best regards.
0
 

Author Comment

by:eing9603
ID: 6482177
Yes I can use an instrument to measure the signal, but the problem is that I want to measure this frequency on a several circuit boards and in several hours. It will be too expensive to buy hundreds of instruments. Yes it is important to know if the signal rises to a proper level. Example: If the signal rises to one (1) the level should be above for example 1,5 volt and a zero (0) should be under 0,5 volt. The frequency should also be around 2 MHz, not under 1,9 MHz and not over 2,1 MHz. To indicate that something is wrong it should be OK to light an LED.

Best regards.
0
 
LVL 2

Expert Comment

by:alexstewart@beta
ID: 6482715
A pc is a good tool for automating testing.

You can get cards for a pc with multiple counters on a board. The simplest of these uses the 8254 counter timer chip, (the same chip that divides the 1.19 Mhz clock in a pc for interrupt zero). The 8254 has 3 counters on it, and costs about $4.

look at
http://www.boondog.com/%5Ctutorials%5C8254%5C8254.htm

to see how to build an isa card yourself.

You could add a multiplexer or relay box to select between mutiple inputs.

The cost per counter channel of the most expensive boards is about $100.

Since the accuracy required is 5% there is a very cheap solution, A retrigerable monostable set for 5% longer than the clock period will never return high, if it goes high you can catch that edge with a 7474 and light your led. That will tell you if the frequency ever drops below target. A high frequency can be detected by a 7474 latching the output of a second retriggerable monostable (set for a %5 short period) on the clock edge.

There are all sorts of ways to implement the monostables, digital and analog. A digital crystal controlled monostable could be very accurate. Also check out the line of factory trimmed monostables from Dallas Semiconductor, easy to use, I recomend them. You may have to cascade them to get the timings you want. The 74123 and the 555 are very popular analog monostable circuit blocks.

The cost per channel here is obviously less, but you might still want to use a pc as a 'smart led'

as
0
 
LVL 2

Expert Comment

by:alexstewart@beta
ID: 6482719
the 75176 is a good differential ttl line reciever.
as
0
 

Author Comment

by:eing9603
ID: 6482920
Thanks, I have to look at your answers during this weekend.
0
 

Author Comment

by:eing9603
ID: 6487167
I have looked at your proposal, but I have still the problem to measure the level of the signal. Do you have any solutions for that?

Best regards
0
 
LVL 2

Accepted Solution

by:
alexstewart@beta earned 900 total points
ID: 6487505
If the level is not correct then the monostables wont fire.
But to check the level directly, you could histogram the signal in a pc, or, since simple hardware is good,
you could use a thing called a 'window comparator'.

A window comparator uses opamps to compare the input with two reference voltages.

Since the voltage must go through 1V on each transition, the output has to be either filtered or latched to avoid false positives. If the latched comparator output goes high you catch it with a 7474 and light an LED.

the book
The Art of Electronics
by Horowitz and Hill

is good for cooking up this kind of circuit and is a very good read.

as
0
 

Author Comment

by:eing9603
ID: 6631390
Thank you!!
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension . This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
Want to create a VM?  Here's how you do it.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question