Zibb

Feature

Keep it simple, stupid, and kiss problems goodbye

Tales From The Cube: When solving a design dilemma, sometimes less is more.

By JB Guiot, Digilea SA -- EDN, 10/8/2009

Fresh out of college and after attending military school, I joined an international company that developed, built, and sold CNC (computerized-numerical-control) machine tools. It was a small company employing approximately 200 people in three countries. Our location was responsible for the integration of the CNC and all the electronics and electrical equipment into the machine tools. We also had a repair-and-support department for customers.

After two months of training on the CNC and the different machines, I first landed in the repair department. It was an interesting time to discover all the insides of such a control. This CNC used only good old TTL (transistor-transistor logic), the 74xx series, with a 74181 ALU (arithmetic-logic unit) at its core. No microprocessor! The program counter, ALU, interrupt controller, instruction decoder, TTY (Teletype) interface, memory control, numerically controlled oscillator, and axis controller were all discrete single boards in a 19-in. rack. I could follow each instruction clock pulse by clock pulse into the decoder, the ALU, and so on. It is rare today for an electronics engineer to get such an opportunity to understand in detail the processors’ internals.

Read more
Tales from the Cube

The programming of this control was a marvel for me, too. Although most people nowadays have a hard time with assemblers, I would have loved to have an assembler for this machine; the language was machine code! I could follow that the Nth bit of the code opened an AND gate, which made the ALU shift left instead of right. I still sometimes look at the machine codes of modern microcontrollers to see the pattern.

One day, we received a new spindle driver to fit into a series of machines. Within a few days, everything worked well except that the voltmeters for speed and torque were operating at 15V but the driver output operated at only 10V full-scale. We could not replace the indicators within the short time we had. Electronically speaking, though, it was easy stuff! We needed no high precision or stability, and we had ±15V supplies in the electrical-equipment cabinet, so the solution was obvious. I took some pieces of a PCB (printed-circuit board)—a simple 741 op amp, four resistors, and two capacitors—and, in no time, I had a 1.5× amplifier. I quickly checked it in the lab. It worked as I had expected.

I was working at the machine table, hooking up the parts of my new design, when the boss came by. Interested, he asked me what I was doing and to explain the details. When I was finished with my explanation, he opened the back of the voltmeter, cut out the 1.5-kΩ resistor inside, replaced it with a 1-kΩ resistor, and closed the indicator. “Voilà!” he said. His simple replacement of just one resistor by another outsmarted my naive attempt to use a complex—though theoretically correct—circuit!

That day I learned what may be the most important lesson in a developer’s life: Always ask yourself whether you might be able to find a simpler approach. I don’t know who first said “keep it simple, stupid,” but ignoring this advice is the “KISS” of death!


Author Information
JB Guiot is an engineer living in Mulhouse, France, but working for more than 25 years in Switzerland.



Reed Business Information Resource Center

Featured Company


Most Recent Resources

ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center


Events

Microchip Worldwide Embedded Designer’s Forum
Dates: 10/6/2009 - 2/15/2010
Location: 120 Locations Worldwide

Microprocessor Test and Verification (MTV'09)
Dates: 12/7/2009 - 12/8/2009
Location: Austin, TX

Oxford University Digital Signal Processing Short Course
Dates: 1/25/2010 - 1/27/2010
Location: Oxford, United Kingdom

Oxford University Digital Signal Processing Implementation Short Course
Dates: 1/28/2010 - 1/28/2010
Location: Oxford, United Kingdom

Oxford University High-Speed Digital Design Short Course
Dates: 6/22/2010 - 6/23/2010
Location: Oxford, United Kingdom

Submit an EventSubmit an Event




Technology Quick Links

EDN Marketplace


©1997-2009 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites