Solved

Measure a two megabit signal!!!

Posted on 2001-09-13
11
365 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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 300 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

770 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