"MARTHA" RF/Microwave CAD Using APL -- Free!

"MARTHA" is a unique circuit analysis software package that was originally developed at MIT in the early 1970's. Rather than a "canned" analysis package that only performs pre-programmed circuit analysis operations, it is a circuit-description extension to the APL computer programming language. It will perform analysis of linear networks like other CAD packages, but by coupling it with APL, it can be used to perform custom analysis and synthesis of circuits that are difficult or impossible to do in other CAD environments.

MARTHA was originally marketed as a mainframe time-share product. It was used at MIT for teaching circuit theory, and by engineers at MIT Lincoln Laboratory to design RF & microwave circuits for radar and communications satellites. Lincoln Laboratory used the capabilities of MARTHA to create circuit synthesis programs (mostly for microstrip and LC filters), in addition to expanding the analysis capabilities of MARTHA.

MARTHA never caught on as a commercial product, but it continued to thrive at Lincoln Lab even after competing PC products like Touchstone became available. MARTHA and the other Lincoln software were ported to the PC, and additional features (like better graphics) were added. All of the Lincoln software was cleaned up and documented to create LLAMA (Lincoln Laboratory Advanced MARTHA Applications), which is still in use today.

MIT Prof. Paul Penfield (MARTHA's original author) and Doug White (prime mover behind the LLAMA effort) have obtained permission to release MARTHA, LLAMA and the associated manuals into the public domain. The initial release is set up to run using a free DOS-based APL interpreter. The APL section of the web site includes this software, along with installation instructions and documentation on using APL. Additional information and all of the necessary files are available at the web site:

formatting link

MARTHA is NOT for everyone. It doesn't have fancy schematic capture or PCB layout features. It also requires learning at least a little about the APL computer language (which could be considered a worthwhile exercise in its own right). There is no canned installation routine that will magically get it all up & running on your computer, but there are procedures & batch files to try to make it as painless as possible.

Doug White

Reply to
Doug White
Loading thread data ...

Thanks to you and to Prof. Penfield for your work in making these programs available to us. I'll set aside time to do a proper installation (the web pages make it sound like I'll need to pay attention to what I'm doing...). This is kind of a "blast from the past." I recall using MARTHA a few times back around 1972 on our APL terminal. We also used APL for exactly what your web pages say it's good for: quick development of what in Fortran of the day would have been ugly, since we had problem statements already in matrix form.

Cheers, Tom

Reply to
K7ITM

Say HI to Paul for me. He was one of my instructors in VI-B at MIT, and I knew him later as a board member of GenRad.

...Jim Thompson

--
|  James E.Thompson, P.E.                           |    mens     |
|  Analog Innovations, Inc.                         |     et      |
|  Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
|  Phoenix, Arizona            Voice:(480)460-2350  |             |
|  E-mail Address at Website     Fax:(480)460-2142  |  Brass Rat  |
|       http://www.analog-innovations.com           |    1962     |
             
         America: Land of the Free, Because of the Brave
Reply to
Jim Thompson

From: snipped-for-privacy@alum.mit.edu (Doug White) on Sun, Dec 2 2007 6:22 pm

That's interesting that the 35-year-old A Programming Language (APL) is still around somewhere. I learned of it way back when in '72 while employed by RCA Corporation...and getting interested in programming after a very satisfactory and productive introduction to 'LECAP,' RCA's frequency-domain version of the original ECAP from IBM.

However, today's desktop PCs have MORE speed, mass memory, RAM storage than any mainframe computer of 35 years ago at less than $1K US new off-the-shelf (today's Fry's Electronics ad had a PC with LCD monitor for $400). We don't really need Interpreter-based high-level languages now. My circa-1979 Apple ][+ needed those to work with its fantastic clock rate of a whole MegaHertz and 48 KBytes of RAM! My 4- year-old PC box with 1 GHz clock rate, 100 MHz RAM access rate, 2 MB RAM, and small 40 GB hard disk can handle 50-node SPICE circuits with perhaps 2000 time increments in a couple of seconds...and store the results in a file.

Three decades ago the UC Berkeley group came up with SPICE and made the core of that program FREE, no restrictions (source code available for the cost of paper reproduction and mailing). SPICE derivatives are the electronics industry standard today. Linear Technology Corporation has a working, auto-installable, schematic capture enhanced (or manual netlist entry for die-hards) absolutely FREE. "LTSpice" available at Linear Technology's website as a single download. Many commonly-used semiconductor component models are available as part of that. A tube-oriented audiophile website in the UK even has several vacuum tube SPICE models (they call tubes 'valves'

- :-) for LTSpice.

As a long-time homebrewer and electronics experimenter (since 1947), a knowledge of programming languages is not a priority to homebrewing; that is a separate subject, interesting in itself, but not germane. A full-blown, working, easier-to-use SPICE derivative that if FREE is more suited (I think) to homebrewers. I've used LTSpice myself, compared its calculations to actual, working hardware and find NO discrepancies.

SPICE derivative programs all allow netlist descriptions of component characteristics in algebraic form plus a shorthand that is common to all SPICE forms for special Models. There is no need to learn FORTRAN (SPICE core's original language) or versions written in C++ (which are available now), or any other high-level language. For my programming needs today, Assembler-level source code for PIC or ATMEL microcontrollers is more germane to homebrewing. Some of those are also FREE.

At least two PCB fabrication companies have FREE PCB layout programs available without ordering any boards. Transferring a schematic from LTSpice to theirs is just a schemtic redrawing task, usually a one-shot task.

I don't mean to diminish any importance of programming languages or any different CADs or CAEs, but, let's face it, APL is an old high-level language. I still have the 100 W American Beauty soldering iron I got in 1948 but it is out-of-date for soldering parts on a PCB now.

73, Len AF6AY snipped-for-privacy@arrl.net snipped-for-privacy@ieee.org
Reply to
AF6AY

I guess the guys that program in perl, javascript, python, lisp, and apl, among many many others, should just quit? ;-)

...

Spice is an interpreter.

...

Unix is an old operating system, yet it still seems to get a whole lot of use. APL is the ultimate programmable calculator. It is a beautiful language that can do beautiful things in a very succinct manner.

Perhaps if you actually had used it, you might think more of APL.

-Chuck

Reply to
Chuck Harris

On Dec 5, 6:16=EF=BF=BDpm, Chuck Harris wrote:=

Whatever. My point was as a homebrewer using a tool as an aid to building something. SPICE and its derivatives (all individual 'wrappings' on the Berkeley SPICE core) are VERY FAST. They work for me just as SPICE works for thousands of other circuit designers, both pro and amateur (I am both).

=BDIt is a

Everyone has their 'favorite' high-level language, each one saying that Their language is the best, most beautiful, and other fancy sayings, complete with all sorts of academic praises and plaudits.

My new HP-35S isn't as pretty as the HP-32S II which is also on my computer table and the programming commands aren't quite compatible. Esthetics aside, I wouldn't trade either one of them for SMALL programming tasks. What I want are the numbers from the results so that hardware can be completed. Both do that very nicely for what I want.

Perhaps if you had actually used LTSpice, a FREE download from Linear Technology and actually built some circuits using the LTSPice results you might think more of it.

Your message appeared in rec.radio.amateur.homebrew and also sci.electronics.cad. I am replying from homebrew. I'm not a programmer despite once having several years complementary membership in the ACM...or teaching myself FORTRAN IV from Dan McCracken's softcover book on the subject. I have MS FORTRAN 5.1 package, bought and paid for myself and have used it for a variety of different tasks...until MS dropped support of their product and also of similar products in later versions of Windows.

If you want to get all arrogant about computer languages, please remove rec.radio.amateur.homebrew from your message routing. In the meanwhile I will continue to do my own homebrewing without going through even-more learning curves of old languages or old OSs just to be with the 'best' tool. Even the 'best' tools can make cruddy circuit calculations.

73, Len AF6AY snipped-for-privacy@ieee.org
Reply to
AF6AY

I have, and I think it is a very nice tool. Perhaps the best of the available spices. But because it is not a free tool (eg. open source) I have to live with everything just the way that Mike Englehart wants it to be. That isn't a bad thing, but it is very limiting because one day Mike won't be there to support LTSpice anymore, and LT will decide that they haven't the funds to hire some new support, and it freeze. To cease being supported is to die in software land.

MARTHA's source is open, and because anyone with the desire to support it can, it will live forever.

So, instead of shrugging about how MS wronged you by dropping support for an old fortran package, wander over to linux, or BSD, and run the open source f77 program, along with all the other open source goodies that have been made available for everyone to use free of charge.... including some damn nice implementations of programs for hamradio use.

Begging your pardon, but you were the one that felt the need to slam the MARTHA cad program and apl. The announcement you saw was a simple announcement of a gift to everyone of this package. That bothered you for some reason, so you felt the need to tell everyone to ignore it because apl was old, and anything old couldn't be any good.

73,

Chuck

Reply to
Chuck Harris

SPICE makes sense as an interpreter. Compilers are best for programs you write once and use several times; interpreters are best for programs you run once but write several of. If you consider every change to a circuit to be a separate program you run once (which makes perfect sense when you consider you would be recompiling it every time you made a change), and you consider that once the circuit works to your liking you probably won't be running that simulation often, then an interpreter is perfect for the job and a compiler would be slow and inconvenient.

--
    A staffer for Democrat Senator Maria Cantwell of Washington has been
    arrested for trying to arrange a sexual tryst with a 13-year old boy.
     http://www.thesmokinggun.com/archive/years/2007/1203072senate1.html
Reply to
clifto

There is an additional, very important reason to use an interpreter: Ease of debugging. An interpreter knows exactly what is happening in all of the data spaces, indexes, jumps, subroutines, etc. at all times. That factor makes it easy to debug. Interpreted languages, such as Python, Perl, and apl have extensive debugging facilities available. Debugging with a compiler is a much more complicated matter.

-Chuck

Reply to
Chuck Harris

You're right. In a way that's what one is doing when changing a SPICE simulation repeatedly while testing/modifying a circuit.

--
    A staffer for Democrat Senator Maria Cantwell of Washington has been
    arrested for trying to arrange a sexual tryst with a 13-year old boy.
     http://www.thesmokinggun.com/archive/years/2007/1203072senate1.html
Reply to
clifto

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.