sample & hold circuit....urgent

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
I wan2 design a circuit that measures the time difference between two pulses in terms of voltage. I need a period 2 voltage converter.
I hav a concept. When the first pulse appear, a ramp signal starts generating. When the second pulse initiates, a sample & hold circuit samples the ramp voltage. So ican use this voltage for further analysis.
Can any body help me in this topic? Plz send me a link.
I hav searched on the net. I need the sample & hold ckt using general purpose opamps like 741 or 328 ....etc.
 

Bernard

Joined Aug 7, 2008
5,784
Are the pulses on the same line ? What resets the ramp generator ? What is the approximate time periods between pulses, micro seconds or minutes? A short pulse ,a small capacitor and a CD4066 makes a simple sample and hold.
 

Ron H

Joined Apr 14, 2005
7,063
I wan2 design a circuit that measures the time difference between two pulses in terms of voltage. I need a period 2 voltage converter.
I hav a concept. When the first pulse appear, a ramp signal starts generating. When the second pulse initiates, a sample & hold circuit samples the ramp voltage. So ican use this voltage for further analysis.
Can any body help me in this topic? Plz send me a link.
I hav searched on the net. I need the sample & hold ckt using general purpose opamps like 741 or 328 ....etc.
An enhancement is to stop the ramp by turning off the current source before you sample it. This avoids the ramp showing up on your output during sample time.
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
thanx for all.
The period range is (0.3sec ~ 6 sec). Can i use HA-2420/2425? How much time it can hold the sampled value?
And u people asked me about the reset of the circuit. I didnt get it.
Can u make this a little bit clear plz.
 

beenthere

Joined Apr 20, 2004
15,819
If you read up on sample and hold amps you find the concept of droop. The charge on the sample capacitor pushes current through the input resistance of the op amp buffering the cap. No matter what you do, the sampled voltage will decrease over time. Using larger capacitors will increase the time, but there are practical limits to how fast the charging can take place. If the capacitor does not have enough time to fully charge during the sample period, then your results are inaccurate to begin with.

Converting the voltage to a digital value immediately after the sample time is about the only practical means of being able to work with the voltage value after some time has passed.
 

Ron H

Joined Apr 14, 2005
7,063
Another problem with sample and holds is hold capacitor dielectric absorption (Google). The best dielectrics are air (low capacitance), teflon (expensive), polystyrene (low melting point - difficult but not impossible to solder), NPO ceramic, and polypropylene.
CMOS op amps generally have the lowest input bias currents.
Ramp reset (to zero volts) needs to occur before you start a cycle. If your first pulse is long enough, that can do it.

BTW, if this is so urgent (see thread title), why did you wait 5 days to come back?
 
Last edited:

KL7AJ

Joined Nov 4, 2008
2,229
Another problem with sample and holds is hold capacitor dielectric absorption (Google). The best dielectrics are air (low capacitance), teflon (expensive), polystyrene (low melting point - difficult but not impossible to solder), and polypropylene.
CMOS op amps generally have the lowest input bias currents.
Ramp reset (to zero volts) needs to occur before you start a cycle. If your first pulse is long enough, that can do it.

BTW, if this is so urgent (see thread title), why did you wait 5 days to come back?
At such a low sampling rate, dielectric absorption may not be a problem. But you are correct....the choice of capacitor is worth consideration
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
Actually, the pulses are generated from a speed sensor where the gap between two successive pulses gives one revolution. I want to compare this gap with a preset value to form a closed loop to run an induction motor at constant required speed. I dont want to usen any micro controller here. Im using a comparator. As the comparator compares voltages, I need this sample and hold circuit. The speed of the motor is 200 rpm maximum. So the time gap is 0.3sec. If i set the preset to 0.6sec, the motor must run at 100rpm.
So By calibration, i'll use a pot & i'll set the preset(in voltage - reference to comparator). I need a voltage to compare with the preset value. That volatage must be in proportion with the running rpm. From comparator, i'll connect a pulse generator for triac.
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
Hey RON, sorry yar,
I went to my home town in an emergency case where i dont have any network for my laptop. Anyways, I got the permission for a week days from my college.
 

Ron H

Joined Apr 14, 2005
7,063
At such a low sampling rate, dielectric absorption may not be a problem. But you are correct....the choice of capacitor is worth consideration
I know I'm correct. I discovered dielectric absorption the hard way about 40 years ago, while designing a sample and hold.:D
 

Bernard

Joined Aug 7, 2008
5,784
Welcome back. Sorry for more questions: Does the code wheel have just one gap ? Does it have more than one track and more than one senaor ? Is it acceptable to use alternate revolutions for measurements ? What is the line frequency ?
 

Ron H

Joined Apr 14, 2005
7,063
Actually, the pulses are generated from a speed sensor where the gap between two successive pulses gives one revolution. I want to compare this gap with a preset value to form a closed loop to run an induction motor at constant required speed. I dont want to usen any micro controller here. Im using a comparator. As the comparator compares voltages, I need this sample and hold circuit. The speed of the motor is 200 rpm maximum. So the time gap is 0.3sec. If i set the preset to 0.6sec, the motor must run at 100rpm.
So By calibration, i'll use a pot & i'll set the preset(in voltage - reference to comparator). I need a voltage to compare with the preset value. That volatage must be in proportion with the running rpm. From comparator, i'll connect a pulse generator for triac.
With your method, the voltage will be inversely proportional to RPM. Is that OK? It seems like it would be.
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
The wheel is having only one slot. It generates one pulse for one revolution. The line frequency is 50Hz. I had another idea. If i keep a small DC motor made 2 work like a generator, I can fed the terminal voltage of this small dc genrtr to comparator.

But can u help with this speed sensor(1 pulse / 1 revolution)
 

Ron H

Joined Apr 14, 2005
7,063
The wheel is having only one slot. It generates one pulse for one revolution. The line frequency is 50Hz. I had another idea. If i keep a small DC motor made 2 work like a generator, I can fed the terminal voltage of this small dc genrtr to comparator.

But can u help with this speed sensor(1 pulse / 1 revolution)
I'm guessing your speed sensor pulse width is a percentage of the period. Do you know how wide it is when the period is 300ms?
 

Thread Starter

onlyvinod56

Joined Oct 14, 2008
369
it is very less. on period will be in milli sec. I dont know exactly. I didnt bother about the ON period pulse width. I want to convert the OFF period value. Ofcourse considering ON period will give the accurate result. Let me get success with this. later we can go for the accurate analysis.
 

Bernard

Joined Aug 7, 2008
5,784
Try this one. The output is updated every other rotation. IT USES CMOS ICs 4027 [1/2], 4528[2/2], un specified NAND, 4066[2/4]; constant current generator LM334, OP amps of your choice. All values approx.
 

Attachments

Top