Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 2nd June 2007, 10:39 PM   (permalink)
Default Analog Function

Is there any circuit system where the voltage vs. time function is 1/x; at least after the first few milliseconds(I don't need the part of the function that goes to infinity). The only function close to this that I can think of is that of a discharging capacitor which is k*e^(-t/RC).
MrJammin is offline  
Old 3rd June 2007, 12:03 AM   (permalink)
Default

An integrator?

I don't really understand what you're talking about.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 3rd June 2007, 12:05 AM   (permalink)
Default

A capacitor discharging through a constant current circuit will give a voltage across the capacitor which varies as 1/t (within appropriate limits).

JimB
__________________
Experience is directly proportional to the value of the equipment ruined.
JimB is offline  
Old 3rd June 2007, 01:22 AM   (permalink)
Default

Use an op amp log generator, then a differentiator. So basically you'd be taking the derivative of ln(x), which is 1/x. There are log generator op amp ckts out there, very old-school stuff. Differentiators very basic and common. X would be a voltage that you would ramp from 0 to Vmax that would correspond to time. If I've got my thinking hat on straight.
speakerguy79 is offline  
Old 3rd June 2007, 03:29 AM   (permalink)
Default

Thanks for the replies, I think I will take speakerguy's advice and try and find a op-amp circuit that generates a logarithmic function and then differentiate it.
While I'm at it, I might as well explain my project and you can tell me if it seems like it would work. I am attempting to build a bicycle speedometer. I will have a magnet on the bike wheel and a sensor that pulses on each pass of the magnet. The length before the pulses tells me the elapsed time and the velocity can be calculated from that. Since v=d/t, velocity is inversely proportionate to time, I needed a analog circuit that produced such a relationship. The analog voltage from that circuit is run through a analog-to-digital converter and run to a digital display.
That's the general description, but I'm struggling to find a op-amp log generator circuit that is not too monstrous.
MrJammin is offline  
Old 3rd June 2007, 08:46 AM   (permalink)
Default

Quote:
Originally Posted by MrJammin
While I'm at it, I might as well explain my project and you can tell me if it seems like it would work. I am attempting to build a bicycle speedometer. I will have a magnet on the bike wheel and a sensor that pulses on each pass of the magnet. The length before the pulses tells me the elapsed time and the velocity can be calculated from that. Since v=d/t, velocity is inversely proportionate to time, I needed a analog circuit that produced such a relationship. The analog voltage from that circuit is run through a analog-to-digital converter and run to a digital display.
That's the general description, but I'm struggling to find a op-amp log generator circuit that is not too monstrous.
As you are going to use an ADC, a digital display and require some method of applying a timed period, why dont you use a PIC.
Count the interval between the magnet/coil pulses, using the PIC, over a known time period, using the PIC
and drive the digital display, using the PIC.

I think your analog approach while interesting, is the hard way to display the bike's speed.

Also all the components for the PIC method are off the shelf, just need a short PIC program.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 3rd June 2007, 09:48 AM   (permalink)
Default

Your absolutely correct, using a PIC would be significantly easier. I don't have any experience with microprocessors but have started reading about them and will most likely use them in my future projects. However, I kinda like the challenge provided by using a more analog approach and see if I can get it to work on this project.
MrJammin is offline  
Old 3rd June 2007, 03:14 PM   (permalink)
Default

Couldn't you use a PIC with the pulses sent to the external interrupt trigger pin along with in internal timer to get an instantaneous speed?
speakerguy79 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 02:45 PM
Analog Meter windozeuser General Electronics Chat 19 3rd October 2007 03:44 PM
Binary division Kenyan algorithm 18F family atferrari Micro Controllers 6 3rd May 2007 09:26 PM
Analog Function Switch Equivalent Circuit atan Electronic Projects Design/Ideas/Reviews 0 29th May 2006 12:44 AM
analog function generator theory schematic walters General Electronics Chat 13 16th December 2005 05:28 PM



All times are GMT. The time now is 01:24 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker