To My Readers



If this is the first time you're visiting my blog, thank you. Whether you're interested or just curious to find out about PCB reverse engineering (PCB-RE), I hope you'll find something useful here.

This blog contains many snippets of the content in my books to provide a more detailed overall sampling for my would-be readers to be better informed before making the purchase. Of course, the book contains more photos and nice illustrations, as evidence from its cover page. Hopefully, this online trailer version will whet your appetite enough to want to get a copy for yourself.

Top Review

I started doing component level repair of electronics with (and without) schematics more than 40 years ago, which activity often involves reverse-engineering of printed circuit boards. Although over the years my technical interests have shifted into particle beam instrumentation, electron microscopy, and focused ion beam technology fields, till this day——and more often than not——PCB repairs have returned multiple multi-million-dollar accelerators, FIB, and SEM instruments back to operation, delivering great satisfaction and some profit.

Many of the methods described by Keng Tiong in great details are similar to the approaches I've developed, but some of the techniques are different, and as effective and useful as efficient and practical. Systematic approach and collection of useful information presented in his books are not only invaluable for a novice approaching PCB-level reverse engineering, but also very interesting reading and hands-on reference for professionals.

Focus on reverse engineering instead of original design provides unique perspective into workings of electronics, and in my opinion books by Keng Tiong (I've got all three of them) are must-read for anybody trying to develop good understanding of electronics——together with writings by Paul Horowitz and Winfield Hill, Phil Hobbs, Jim Williams, Bob Pease, Howard Johnson and Martin Graham, Sam Goldwasser, and other world's top electronics experts.

Valery Ray
Particle Beam Systems Technologist

FAQs

Q: Why would anyone want to learn how to reverse engineer a printed circuit board?

A: Some of the reasons I can think of are:

1. The PCB is obsolete and no longer supported by the original equipment manufacturer (OEM) or in some cases, the OEM is out of business and supply of the PCB is unavailable in the market. In such instances, the only recourse is to reverse engineer and re-produce the PCB in sufficient quantity to extend the useful life of the system.

2. The PCB you're working on has no schematic diagram and you need to do a partial or complete reverse engineer to help you get the board repaired.

3. Modification to the original PCB design is required to extend the system's capabilities but due to nature of confidentiality, the OEM cannot be involved or have foreknowledge of such changes, in which case obtaining the OEM's design files will be out of the question.

Q: Isn't reverse engineering a PCB illegal and a violation of copyright laws?

A: Whilst copyright laws exist to discourage or keep at bay would-be competitors (or even pirates) from stealing the designs and ideas for their own commercial gains, PCB reverse engineering services are still very much sought after, more as a desperate attempt to resolve the genuine problems of obsolescence or lack of support, and in such cases the PCBs reproduced are usually intended for internal consumption and not external circulation. 

It's a fine line we're treading when we do reverse-engineering of any sort. We need to ask ourselves why we're doing what we're doing, and whether we're doing it out of necessity on a personal capacity to get our job done, or out of curiosity when a certain PCB design so intrigued and interests our engineering senses that we couldn't pass it by without knowing what makes it tick. Frankly, troubleshooting and diagnosing PCBs without documentation invariably involves some degree of reverse-engineering, albeit in a less systematic and perhaps haphazard way. Prior to taking up reverse-engineering using Visio, I did what many repair technicians or engineers would do when stumped with a PCB without schematics—create partial sketches of the circuits I was analyzing, hand-drawn or with the help of primitive graphics editor.

Having said that, I personally do not endorse PCB reverse engineering to be used as a tool for anti-competition or theft of design, in which the end result is the financial lost of the rightful designer or company concerned. I believe that as an engineer, there is a code of honor to live by and uphold, by which personal enrichment and knowledge can be gained and shared, but not at the expense of others.

Q: Is it easy to learn PCB reverse engineering?

A: I'll be honest with you; Reverse engineering a PCB is by no means an easy task. Often, it is laborious because of the repetitive nature in finding and ascertaining the electrical connections between components. Also, being able to constantly visualize the schematic diagram that is slowly taking shape and having to realign the various portions of the circuitries to ensure readability requires certain artistic affinity—a skill that can usually be picked up and refined only with practice.

So my answer is no, it isn't easy. If it were, everyone would be doing it and there'll be no need for me to write my book in the first place! The good news is, it is a skill that can be learned and refined through practice. I'm a good example with about 15 years of experience, and there are others out there who are just as good as I am, if not better. But I suppose I'm the first to put into a book this coveted knowledge about doing PCB reverse engineering the manual way. You might want to go over to Amazon and take a peek at what my book has to offer to decide if it's worth your investment in time and money. :)

Q: Can't I use an EDA tool I'm familiar with or learn one to do reverse engineering instead of Visio?

A: Of course you can if you happen to be good at using an EDA software, but if you don't know or have experience with one, then I would suggest that you choose Microsoft Visio because it's easier to learn and use. 

EDA tool is usually limited to just that: designing printed circuit boards, and different EDA software has its own quirks and peculiarity you need to adapt to in order to use it effectively. Microsoft Visio on the other hand, is a general diagramming tool that can be used for all sorts of drawing, illustration and presentation works. Learning it is an advantage because you'll be able to do organizational flowchart, work process flow, networking and IT-related diagrams, floor plan layout, electrical wiring diagram, plus a whole lot more. Best of all, it is integrated with Microsoft Office so you can import and export data between Word, Excel, Access database, etc. and if you know VBA programming you can even extend the capability of your Visio drawings further.

Q: How do I go about learning Visio?

A: For starters, go to Microsoft's website to download a trial copy of Visio (which comes with a 60-day trial period) and install it on your PC. You can then do the following, in no particular order:

1. Run the Visio application and play around to familiarize yourself with its workspace environment and shape templates. Visio is very much a Windows program with the standard interfaces and features which you should have no problem finding your way around. You can always press F1 to get the Help menu with its step-by-step guide on how to perform a certain task.

2. Google online for tutorials, from basic getting started guides, to intermediate level instructions on shape creation and manipulation, on to the more advanced VBA programming for customized solutions.

3. Get a good book on Microsoft Visio. There are plenty of them (I've included four in the Visio section), so read the reviews and recommendations before you part with your cash.

4. Join a forum where you can interact with fellow Visio users, ask questions and in the process make a friend or two who'll be able to share their knowledge and experience with you.

There you go, it's not that difficult, is it?

4 comments:

  1. I have just bought your essentials book. Are there any free open source alternatives to visio I can use.

    ReplyDelete
  2. Hi David

    Thank you for supporting my work through purchase of my books.

    To answer your question, there are quite a few Visio alternatives out there but most are limited in features. You may want to try out diagrams.net which has online and desktop versions. Two other free diagramming software tools are LibreOffice Draw and OpenOffice Draw. These are the closest and biggest open-source competitor of Microsoft Visio.

    For really usable functions, your best bet is Edraw Max (more affordable than Visio). Microsoft Visio is an advanced diagramming tool. Most free alternatives don’t offer quite as robust of a feature set, though some of these solutions are surprisingly close. You’ll usually find a few features missing unless you opt for the paid versions.

    Hope that helps.

    ReplyDelete
  3. Mr. Ng, I am a mechatronics technology instructor looking for a book for my Schematics & Test equipment class. I was thinking books 1 and 5 on your list might be good. Please let me know if you are able to provide outlines of these books.

    ReplyDelete
    Replies
    1. You can click on the respective book covers and use Amazon's Look Inside feature to view the content pages.

      The Art of PCB Reverse Engineering has a detailed chapter covering a wide selection of electronic components, as well as how to draw PCB layout, component artwork, and schematic symbols and diagrams using Microsoft Visio. There is also a chapter on Advanced Topics that teaches how to use Visio's more powerful functions.

      Deciphering Schematics is meant to teach how to read digital, analog, hybrid (mixed-signal) and power supply circuits. Not to the detailed level of circuit analysis, but making sense of what these circuits do, and the kind of common, practical devices used in them.

      Hope that helps.

      Delete