Previous in Forum: How to Fight a Mobile Phone GSM Jammer/Blocker   Next in Forum: Chlorine Sensors
Close
Close
Close
45 comments
Rate Comments: Nested
Associate

Join Date: Mar 2009
Posts: 39

Dedicated Circuits for Analog Computing

03/22/2009 5:46 PM

I would like to see an electronic circuit for the analog calculation of the expression X*Y^Z. Where X and Y are two voltages in the region of 0 to 5 volts DC, and Z is the exponent to which the voltage value for Y is raised. There are nice looking voltage multipliers that I have found at Mouser, but I have no idea how one would raise a voltage value to an exponent. Any ideas?

It would be appreciated if a responder might indicate how other arithmetic operations might be accomplished also, like dividing, adding, and subtracting DC voltages.

Thanks for your responses.

Bob Clark

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#1

Re: Dedicated circuits for analog computing

03/22/2009 7:30 PM

These links should help (covering op amp analog math circuits)

http://www.scribd.com/doc/10782864/Basic-Op-Amp-Applications

http://www.opamp-electronics.com/tutorials/computational_circuits_3_09_06.htm

Simple binary math can also be done using logic gate integrated circuits (IC's).

http://en.wikipedia.org/wiki/Logic_gate

__________________
jack of all trades
Register to Reply Score 1 for Good Answer
Associate

Join Date: Mar 2009
Posts: 39
#7
In reply to #1

Re: Dedicated circuits for analog computing

03/24/2009 9:49 AM

Thanks, jackofalltrades,

It'll take a bit of time for me to go thru all the references.

Bob Clark

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#2

Re: Dedicated circuits for analog computing

03/23/2009 4:38 AM

Presumably you are doing this just for fun?
It seems a tad masochistic, I'd think you'd rapidly run out of voltage if you start raising to powers without some careful scaling. The big prob is you are liable to end up with a circuit only suitable for solving one specific type of equation.
Setting up initial conditions and getting sensible I/O is also liable to be tricky.
Writing some clever assembler to do it may be more relevant?

For my first year applied physics degree course project I was set the task 'solve second order differential equations using op-amps' This was a ludicrous project for a course that had only included some basic electronics.... ..(so my attempt was pathetic)
For a long time this bugged me and gave me a chip on my shoulder, I was even tempted to do it now that I'm an electronics designer...until one day I came to be at peace with my inner demons* and accepted that a) I have nothing to prove b) It was stupid project.

Hmmm sorry for the rambling...and for the fact I havn't answered the question...baaaad kitty

Ah maybe you'd need to do it with log/antilog circuits, then you could use addition/subtraction?
Del

* Insofar as any of us are fully at one with our limitations.

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#9
In reply to #2

Re: Dedicated circuits for analog computing

03/24/2009 10:24 AM

Hello 'Kitty'....

I quite agree with you, that professor had no business asking such a design project from first year students with very little electronics training. It was very likely that you were not alone in having poor results, bad professor! I do disagree with you 'mildly' about how difficult it can be, it certainly does require some good analog skills which are not necessarily taught in school (very often aren't). I have used analog 'computers' a fair number of times in conjunction with digital circuitry with excellent results.

You are correct in that these circuits are often designed for a specific function, but they can be designed to be 'programmable' within certain limits if necessary without too much effort. What is really fun is doing this with vacuum tubes (oops, valves in your case), the first op-amps were built with tubes and all of the math functions could be done with them, granted it was kind of complicated 'looking' but really no more than with solid-state. Just a bit higher voltage.

Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#10
In reply to #9

Re: Dedicated circuits for analog computing

03/24/2009 10:49 AM

Cheers...
I'm tinkering with some op amps and photo transistors at the mo' (no real work to do) and am embarassed to admit how rusty I am. The boss is out today and this sort of tinkering keeps me on my toes...it's just a shame he 'doesn't get it' and comes out with the irritating phrase 'I don't want you wasting your time on that' as if my time is better spent scratching my arse.
It's a neglected area of electronics these days...I expect your expertise may be rarer than you realise (ask for a raise immediately!)

(I promise my tinkering has nothing whatsoever to do with arrow speed chronographs)
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#11
In reply to #10

Re: Dedicated circuits for analog computing

03/24/2009 12:04 PM

Dear Del:

Thanks. Sad to say, we seem to be a dying breed. Too bad, a lot of bosses don't get it! National Semi just let Bob Pease go, one of the top analog experts in the world, last week. Can't understand the thinking behind that at all! Analog is far from dead (despite what the digital group thinks) nor is it imminent! I was working on a project with him when it happened, waiting for him to get back in touch with me since I can't contact him at National. We were working on something some might think was on the edge of needless but we disagree. Bob and I expect to publish the study in Electronic Design magazine when we're done.

I am going to accurately measure the actual noise of resistors, using different types of resistors, carbon comp, carbon film, both metal film types and wire wound. I'm doing in it three basic areas, 1/f, bandwidth limited (since Johnson noise is essentially flat with some exceptions) and with DC bias. Most everyone seems to think that resistors only have thermal noise (Johnson) and leave it at that. Quite wrong in fact and I'm out to prove it.

One of the jobs I held was at a wire wound manufacturer for several years, we made both precisions and small power resistors. I designed much of the equipment that made precisions and powers plus equipment that measured them. I also am in the process of starting up a new precision wire wound company with much improved WW technology. Our resistors have a virtually zero failure rate (over 2.5 year period, no failures), very low TCR and about as close to theoretical noise as you can get and laugh at Military testing among other things. These resistors will be the references for the noise measurements with no bias towards anyone's parts. The amplifiers will be carefully characterized for their noise floors so that the resistors can be measured accurately. Should be fun and interesting!

If you need any 'help' tinkering, just e-mail me, either through CR4 or I'll give you mine. Tinkering really is good for you and certainly isn't a waste of time!

Register to Reply Off Topic (Score 5)
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#14
In reply to #11

Re: Dedicated circuits for analog computing

03/24/2009 12:28 PM

Too bad about old Bob Pease being let go. I really appreciated the work he did comparing fuzzy logic to analog. Also his analysis of the"Taguchi Method".

I don't think analog is dead. When the economy is poor, there is more systems integration than circuit design. That is probably the phase we are in now.

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#15
In reply to #14

Re: Dedicated circuits for analog computing

03/24/2009 12:37 PM

Dear LG:

I doubt Bob is going to have any problems finding another position if he wants to. I told him to take some time off and have some fun in the mean time. He will still be writing for Electronic Design magazine and I expect to have an article published there in the near future with Bob's collaboration.

Digital guys seem to forget, that as the frequency gets higher, those digital circuits behave like analog signals, not digital. They are getting into problems with motherboards these days because their simulators don't know what to do with analog!

You are from some of my wife's old stomping grounds. Small world.

Regards,

Ed

Register to Reply Off Topic (Score 5)
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#17
In reply to #15

Re: Dedicated circuits for analog computing

03/24/2009 1:17 PM

I also think the digital/analog divide was a brief phenomenon. There was no digital/analog when the logic gates were made from vacuum tubes or discrete transistors. Nobody knew about static then, so you had to be able to troubleshoot the many transistor failures. I think the advent of logic gate ICs and low clock speeds with wide busses is what let people who could do truth tables in their heads specialize.

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply Off Topic (Score 5)
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#23
In reply to #15

Re: Dedicated circuits for analog computing

03/25/2009 8:37 AM

Bob's also a hero of mine: I don't suppose you could persuade him to waste some of his time join CR4: he has opinions about all kinds of engineering, and, his presence here would certainly raise the quality of the discussions.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#24
In reply to #23

Re: Dedicated circuits for analog computing

03/25/2009 8:50 AM

I think if he joined CR4 we'd have to persuade admin to let him start as Guru and create some extra levels

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#26
In reply to #24

Re: Dedicated circuits for analog computing

03/25/2009 9:00 AM

Maybe not. I never knew him personally, but read him often. And while he does have a strong opinion on a lot of stuff (rightly earned, I think!), he doesn't seem like he has a swelled head about it, or would require special treatment. I think that, like you, Del, he would rapidly develop a huge base of respect even among those who may not know of him, yet. And he certainly would come in with one where WE are concerned.

Micah

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#16
In reply to #11

Re: Dedicated circuits for analog computing

03/24/2009 12:45 PM

They let Bob Pease go... one of my heros!

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Guru

Join Date: Sep 2007
Location: Defreestville, NY
Posts: 1072
Good Answers: 87
#42
In reply to #11

Re: Dedicated circuits for analog computing

03/26/2009 2:23 PM

Can't believe they let Bob Pease go. At least he'll have more time for hiking in Nepal.

__________________
Charlie don't surf.
Register to Reply Off Topic (Score 5)
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#3

Re: Dedicated Circuits for Analog Computing

03/23/2009 11:29 PM

Here they are:

http://www.analog.com/en/other/analog-multipliersdividers/products/index.html

I hope you know what you are asking though. Del is correct - this is a beastly realm to work in.

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#5
In reply to #3

Re: Dedicated Circuits for Analog Computing

03/24/2009 9:39 AM

Thanks LG Dave,

Nice reference. I hadn't found this particular analog.com site. You're right, I don't know what I'm asking. That's why I asked! Cheese!

Thanks again.

Bob Clark

Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1871
Good Answers: 45
#4

Re: Dedicated Circuits for Analog Computing

03/24/2009 12:18 AM

antilog(log(X*Y)*Z)

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#6
In reply to #4

Re: Dedicated Circuits for Analog Computing

03/24/2009 9:46 AM

Thanks, rcapper,

I agree, alog(log(x*y)*z)=x*y^z. But maybe you could tell me how to do this elecronically, using analog calculations of voltages with the answer showing on a simple analog voltmeter. That's the hard part. For me anyway.

Bob Clark

Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1871
Good Answers: 45
#18
In reply to #6

Re: Dedicated Circuits for Analog Computing

03/24/2009 1:44 PM

you have already found multipliers, there are also log and antilog converters. try Analog Devices or if you can't find anything I will dig into some old circuit books.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Power-User

Join Date: Nov 2006
Location: Ontario, Canada
Posts: 146
Good Answers: 1
#21
In reply to #6

Re: Dedicated Circuits for Analog Computing

03/25/2009 12:22 AM

I think that should be x*alog(log(y)*z) so 2 multipliers, 1 log circuit and 1 alog circuit.

__________________
Logic is the art of going wrong with confidence. -- Morris Kline
Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1871
Good Answers: 45
#22
In reply to #21

Re: Dedicated Circuits for Analog Computing

03/25/2009 12:45 AM

Good point. Strict standard notation would concur. I made a different interpretation based on the "word" part of the problem as presented and if correct then the equality should be

alog(log(x*y)*z)=(x*y)^z

Although, it is possible that he really did have it written correctly, in which case your conversion is correct.

Hamish, what was your your original intent?

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#8

Re: Dedicated Circuits for Analog Computing

03/24/2009 10:08 AM

You did not mention all of the necessary parameters. While you have specified the range of X and Y, you didn't say what Z is and what accuracy you need? Contrary to many engineer's opinions, digital is not always the best or easiest method of doing something. Digital has a lot of overhead requirements that analog may not.

Del the Cat is correct, you will have to carefully choose your input and output voltage ranges in order to accomplish your calculations, particularly with an exponent output result. I suggest you go to National Semiconductor and check out the AN-222 application note and the data sheet for the LM194 as a starting point. These circuits operate off of +/- 15 volt supplies which should be well regulated and low noise. In order to maintain linearity, output should be kept under 12-13 volts, 10 volts is even better.

You may be able to use one of the voltage multiplier chips to do the X * (Y^Z) result but voltage multipliers are not good at exponentials. In this case, use the LM194 circuit to do the exponential function and then use a multiplier chip to multiply the result by X or you can just do the whole thing with LM194 circuitry, either method should work.

Inputs may need to be scaled down by a factor of 10 or more depending on your output voltage needs. Run your calculations with scaled down voltages and see if the output is in the correct range, if not, reduce it further. You can also convert your input voltages to currents which might even be easier (just requires a series resistor at each of the inputs). These circuits have good accuracy over about 6 decades of current/voltage input/output. Many math operations can be executed with these circuits and they are reasonably fast and real time.

All of this was accomplished back in the good old days with vacuum tubes as well and they were quite accurate to boot.

Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#12
In reply to #8

Re: Dedicated Circuits for Analog Computing

03/24/2009 12:09 PM

Electronic wiz,

I do believe, you just may be with the right name.

Thanks,

Bob Clark

Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#13
In reply to #12

Re: Dedicated Circuits for Analog Computing

03/24/2009 12:27 PM

Thank you Bob, but even I have to go to the information pool sometimes too. If you have any further questions, don't hesitate to ask, either through CR4 or my e-mail.

In general, the comments are true about analog, if you don't have experience in it, it can certainly look difficult and it can be.

Register to Reply Off Topic (Score 5)
Guru
United Kingdom - Member - Olde Member!! Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jul 2006
Location: Dunstable, England
Posts: 2821
Good Answers: 45
#19
In reply to #13

Re: Dedicated Circuits for Analog Computing

03/24/2009 4:57 PM

Ohhhh sh1te..... I missed this thread and I've always been an analogue designer...

don't believe in '0's and '1's I like the noisey stuff inbetween

My first computer I built in 1968 was an analogue one.... Great fun!!!!

__________________
A little knowledge is a dangerous thing - Googling is far worse!
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#20
In reply to #19

Re: Dedicated Circuits for Analog Computing

03/24/2009 7:30 PM

I've got one foot in analog, one foot in digital and work with both tubes (oops, valves to you guys) and solid state. Those digital guys don't know what they're missing. Those digital guys have plenty of their own noise to deal with and it doesn't help the analog in the computer either! What they don't know is that digital is really analog in disguise!

Cheers,

Ed

Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#25

Re: Dedicated Circuits for Analog Computing

03/25/2009 8:57 AM

Hey folks:

I wanted to post this to a few of you specifically, and simultaneously, but there really doesn't seem to be a way to do it.

I am working on some robot designs, nothing particularly fancy, and more for my learning, and that of some budding electronics students I work with (Middle and High, or Level II and Level III schools), and like the fact that analog circuits, particularly where used as motor control circuits, can be shown to "learn" or optimize, as time goes on, and I like the granularity, even if not always linearity, or the wide range of values analog can make decisions based on. I also like the fact that analog "neural networks" seem to be more "I think so, so I'll do this to some extent while I learn more" based, than the "I know so I'll go all out (or I don't know so I won't do anything)" basing of digital decision makers.

But I've run into a couple of problems for which I can't find simple solutions, and I'm wondering if you can point me in a profitable direction on them.

At the end of a "run" (whatever the goal might have been), if I haven't achieved the goal, and want to start again from where I left off, how do I get an analog circuit to remember what it has "learned" to that point, so that, at power up for the next attempt, I'm not restarting from scratch? This is especially important if I need the system to return to its start point to baseline a value there (sun position, for example), and then speed through a range of motion to get to where it remembered being the night before, and then fine-tune the system position based on both factors. Two factors are easy to work with in analog, but not if you can't remember one, and going to sample the other loses what knowledge the system has.

I know about, and have used (even built some of my own) A-D and D-A converters, and can see without difficulty how to implement a register, and store a value till tomorrow, but I'd prefer not having to interface digital and analog any more than necessary.

Also, I've used digital H-bridges, and PWM to control differential steering in a bot, but I'd like to do something similar in a purely analog design. Any ideas how to go about the polarity switching to allow DC motors to run in reverse, without fancy hardware switches? I'm playing with the idea of reed switches or steering diodes, but obviously, the more complex it becomes mechanically, the less likely it is to work reliably. I've also thought about letting a threshold signal drive the switch logically, and just employing H-bridge circuits there, but what I'd really like is for the system to work so that my students can actually see a reaction to a decision point working its way through the controls.

Micah

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#27
In reply to #25

Re: Dedicated Circuits for Analog Computing

03/25/2009 9:17 AM

Sample and hold circuits?
Dunno how many 'values' you want to 'remember' for for how long.
There does come a point where digital is usefull, I must admit I still like the cunning little tricks one can pull off a hand full of Rs and Cs and a few CMOS gates...it's that nice area between digital and analogue..
I do love a nice logic 'half'
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#28
In reply to #27

Re: Dedicated Circuits for Analog Computing

03/25/2009 10:43 AM

Dunno how many 'values' you want to 'remember' for for how long.

Probably not more than two, position of this, and position of that relative to this. But of course, those are probably, sooner or later, going to involve some kind of coordinate coding in three dimensions (X, Y, Z). And storage from sundown to sunup sounds good, so figure, for the long winter nights where I live, plus a margin of an hour either way, 16 hours will work.

I like them simple, too, and really prefer being able to modify circuitry without having to play with timing signals and such like.

Micah

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#31
In reply to #28

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:18 AM

micahd02:

I want to look over your request then ask some questions and make some comments.

Two brief ones now; what accuracy are you talking about? Analog storage over a period of 8-12 hours is tough to do with accuracy with an analog sample-hold circuit.

Acquisition time, of necessity, needs to be short, hold time long, which creates a problem...a long hold time requires a very high time constant which, in turn limits speed of acquisition. I'll run some calculations but I think you will have to use an A/D/A storage medium to attain that many hours of signal holding.

Register to Reply
Guru
United Kingdom - Member - Olde Member!! Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jul 2006
Location: Dunstable, England
Posts: 2821
Good Answers: 45
#32
In reply to #31

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:21 AM

What about using a non-volatile digital potentiometer?

I've used those for setting and storing analogue limits within a measuring instrument before now....

__________________
A little knowledge is a dangerous thing - Googling is far worse!
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#33
In reply to #32

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:25 AM

Electroman:

Yes, that could be a good possibility without too much mess.

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#34
In reply to #32

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:39 AM

i've used a pencil and paper before now

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#35
In reply to #34

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:41 AM

Me, too, but even I can't read my writing the next day. I can't expect a bot to do that, for sure.

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#36
In reply to #34

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:42 AM

Very funny....now all he needs is an optical scanner to get the data back into his circuits...ha! Very good.

Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#37
In reply to #31

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:46 AM

Probably not THAT fast on the acquisition. I'm looking for "where am in sitting now?" just before it shuts down for the night, or to take off to go get recharged, or some other such housekeeping function.

And the precision is along the lines of "I was in this hallway (at home, no cavernous mazelike interiors to deal with. Maybe at the school, but again, nothing huge or mazelike) and didn't find it, so I'm going back there to look some more", for which I can design it to start looking at the entrance of the hallway, even if it was in the middle, having already cleared the first half yesterday. So precision for what I'm doing is not nearly as necessary, nor speed of sampling, as being able to remember what it "knew" the day before.

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#44
In reply to #37

Re: Dedicated Circuits for Analog Computing

03/26/2009 4:16 PM

Micahd02:

The suggestion of non-volatile digital potentiometers is a good one I think. They will retain 'position' with the power off. I would suggest either 512 or 1024 position pots. Use + and - power supplies with center position (0 volts) as 'home', left or reverse (for example) can be negative voltage and right or forward positive voltage. Use a pulser to clock the pot every so often and to change directions, the pot's counter can increment or decrement with direction as necessary. Shouldn't take much circuitry.

Cheers.

Register to Reply
Guru
Popular Science - Weaponology - New Member Engineering Fields - Engineering Physics - New Member Engineering Fields - Nuclear Engineering - New Member

Join Date: Dec 2007
Location: No. VA, USA (No, it does NOTu mean "won't go"!)
Posts: 1796
Good Answers: 75
#45
In reply to #44

Re: Dedicated Circuits for Analog Computing

03/26/2009 4:36 PM

Thank you. Sounds like half of an H-Bridge Circuit, with PWM could do the job. Of course, now I'm back into digital, and that would be for presetting the pot to a start point. On the other side, allowing a drag wheel (for example) to move the pot's shaft in synchronicity with directed motion could work as a "pace counter" for distance travelled from some known "here I start" point. I can see that working out. I'm assuming here that a digital pot HAS a shaft for input. If it is digital input only, then I could use a position sensor based on a code wheel keyed to driven shaft as the input.

So where do you find those? Are they implemented on a DIP chip, or how? And who makes them? Any part numbers available? If not, I can find them, but if you have a favored model I'd like to know what, and why, to help me make a better selection.

Micah

__________________
Been away a while. Miss all my old friends. Some of you I KNOW are still around. Where are the rest?
Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#29

Re: Dedicated Circuits for Analog Computing

03/25/2009 10:57 AM

You guys have gotten me totally messed up. Is it ok to use the phrase, "screwed up"? I think I need to start all over now. I wanted to raise a voltage value to an exponent. Another way to represent this is to write: I want to do Y^Z. Now, when I have gotten this done, I'd like to multiply this quantity by X. Now, I could represent this by writing: X*Y^Z. Right? Now, after reading your suggestions, I think I might do this by multiplying the log of Y by Z, [Z*logY], take the alog of that quantity: [alog(Z*logY)] and multiply that by X. This should look like X*alog(Z*logY). Right? If I'm wrong, maybe you'd better not tell me. I think my brain might go Pthpthpth!

I really do appreciate the time and thought you have all contributed to answering this (simple?) question. It is nice to know that CR4 is the source of real and available brilliance that has been shown in this thread.

Bob

Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#30
In reply to #29

Re: Dedicated Circuits for Analog Computing

03/25/2009 11:06 AM

Hamish:

Yes, I can see why you are confused, too many suggestions with misunderstood directions, unintentional I think.

I understood your equation. Use the exponential circuit in AN-222 to do the Y^Z function first, then feed the result to a multiplier, either a chip multiplier or a multiplier in AN-222. Just observe the input/output range limitations. Scaling the input will not cause problems as long as you remember the scale factor all the way through the circuits to the end result.

Okay?

Ed

Register to Reply Score 1 for Good Answer
Associate

Join Date: Mar 2009
Posts: 39
#38
In reply to #30

Re: Dedicated Circuits for Analog Computing

03/25/2009 4:08 PM

Hi Electronis Wiz,

Finally, It looks like you have given me the answer!! Thanks Thanks Thanks.

Bob Clark

Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#43
In reply to #38

Re: Dedicated Circuits for Analog Computing

03/26/2009 4:03 PM

Bob:

You are very welcome. Don't forget to 'call' if you need anything else.

Ed

Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#39
In reply to #30

Re: Dedicated Circuits for Analog Computing

03/25/2009 4:50 PM

Ed,

Just one more question: Please, where can I find AN-222?

Bob

Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#40
In reply to #39

Re: Dedicated Circuits for Analog Computing

03/25/2009 6:45 PM

Bob:

Check out page 9 of AN-222 for the math functions, see fig. 13 for multiplier circuit and fig. 15 for the exponential circuit. If you think the multiplier circuit is a bit much, opt for a multiplier chip, Analog Devices has some low cost chips and are easy to get.

Register to Reply
Associate

Join Date: Mar 2009
Posts: 39
#41
In reply to #39

Re: Dedicated Circuits for Analog Computing

03/25/2009 9:54 PM

Thanks, Ed.

You've gotten me to where I need to be.

Thanks again,

Bob

Register to Reply
Register to Reply 45 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Electroman (2); Electronic Wiz (13); GordieGii (1); Hamish (8); jack of all trades (1); LG_Dave (3); micahd02 (6); Randall (1); rcapper (3); stevem (1); user-deleted-1105 (6)

Previous in Forum: How to Fight a Mobile Phone GSM Jammer/Blocker   Next in Forum: Chlorine Sensors
You might be interested in: Voltage Dividers and Voltage References

Advertisement