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 4th May 2004, 04:36 AM   (permalink)
Default Square root and log circuits

hey guys:

I am trying to design a circuit that finds the square root of a number. The way to do that is by building 3 circuits: one to find the log of a number, the other one to find the anti log, and the third one is a simple voltage divider.

you can easily prove that the output voltage will be the square root of your input voltage when these three circuits are combined. I am just wondering if any of you guys have tried this before, because I am facing some difficulties in building the log circuit and I am not sure how to get it to work.

Thanks.

Moneer.
Moneer81 is offline  
Old 4th May 2004, 07:01 AM   (permalink)
Default Re: Square root and log circuits

Quote:
Originally Posted by Moneer81
hey guys:

I am trying to design a circuit that finds the square root of a number. The way to do that is by building 3 circuits: one to find the log of a number, the other one to find the anti log, and the third one is a simple voltage divider.

you can easily prove that the output voltage will be the square root of your input voltage when these three circuits are combined. I am just wondering if any of you guys have tried this before, because I am facing some difficulties in building the log circuit and I am not sure how to get it to work.
Is there any reason for wanting to do this?.

The obvious easy way is to use a microprocessor and calculate it, otherwise you're talking an analogue computer.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th May 2004, 07:03 AM   (permalink)
Default

hey:
yeah I am doing as a part of project on op amps for a class. we have to use op amps.
Moneer81 is offline  
Old 4th May 2004, 07:06 AM   (permalink)
Default

Quote:
Originally Posted by Moneer81
hey:
yeah I am doing as a part of project on op amps for a class. we have to use op amps.
You need to build an analogue computer then, opamps were originally designed for that - but tend to be used for other things these days.

Try googling for 'analogue computer' and see what you can find.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th May 2004, 09:49 AM   (permalink)
Default

Very strange project. Op amps are always applied in a basically linear or saturated mode as far as I've seen.

I could see trying to do an exponential by charging a cap with an RC circuit which gets switched off with a separate circuit with a linear voltage rise feeding a comparator against the voltage input. But it's a switched circuit, not an immediate response thing. I'd suspect you'd need a component with an exponential DC I/V curve. Diodes, varistors, etc have sort of exponential responses but they're far from clean.
Oznog is offline  
Old 4th May 2004, 03:40 PM   (permalink)
Default

There are myriad log-antilog converters in the literature. Just going to National's op amp app notes, I found these:
http://www.national.com/an/AN/AN-301.pdf
http://www.national.com/an/AN/AN-30.pdf
http://www.national.com/an/AN/AN-31.pdf
http://www.national.com/an/AN/AN-20.pdf
http://www.national.com/an/LB/LB-25.pdf
There may be others there.
I believe all of them contain examples of circuitry that should help you. You might want to try other mfr's app notes: Analog Devices, Linear Technology, Texas Instruments, etc.
Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:52 AM.


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

eXTReMe Tracker