The Art of Engineering

  • Home
Showing posts with label electronics. Show all posts
Showing posts with label electronics. Show all posts

Friday, May 29, 2009

What we can't imagine

No comments : Posted by Duncan Drennan at 15:27 Tags: electronics , engineering , innovation , solutions
When James Bond used miniature cameras in the 60's and 70's the thought of a wireless phone that can take pictures and send them to just about anyone in the world, fits into the palm of your hand and even plays high quality music would have been so preposterous (even in a Bond movie) that audiences would have thought it was a joke. Now we struggle to imagine a world without our mobile phones and all of their accessories.

[Cellphone cameras came into being when Philippe Kahn wanted to instantly share photos of his daughter's birth with friends and family.]

40 years ago it was hard (impossible?) to imagine the solutions that we have available to us today. Some of the things we think will have happened in another 40 years time probably won't, and other things that we have no idea about will be in existence. Hard working engineers and scientist will have discovered and created all kinds of new things.

What can you imagine that no one else can?
Read More

Tuesday, January 27, 2009

eWaste recycling in South Africa

14 comments : Posted by Duncan Drennan at 11:17 Tags: electronics , recycling , south africa , waste
eWaste
eWaste is a particularly difficult issue to deal with as it contains many different materials and lots of extremely hazardous substances. Incorrect disposal of electronic items can result in many of those dangerous chemicals entering into our environment through water systems and air pollution.

eWASA, the eWaste Association of South Africa, is an organisation concerned with the handling of eWaste and represents the various industry stakeholders (like eWaste recyclers and disposers). Their website provides useful information about where to recycle your eWaste and how the eWaste recycling process works. They also have a really fascinating (and distrubing) list of hazardous substances and what items those substances are contained in. I recommend that everybody read that list (compulsory reading for engineers and product developers).

Refurbishing, reuse and extending the life–cycle of electronic products is an important (and preferable) way to reduce eWaste and the hazards associated with recycling and disposing of these products.

eWaste recycling is expensive and the costs are not necessarily covered by the resale of recovered materials. eWASA would like to introduce an advanced recycling fee (ARF) for products which will eventually become a part of the eWaste stream. This fee will be collected by the supplier at the time of sale and used to fund end–of–life recyling. Exactly how the ARF will be collected and distributed is not yet clear. Will certain items, such as CRTs, attract a higher ARF due to greater recycling costs? We will have to wait and see.

South Africa currently has no legal framework which deals specifically with eWaste, and unlike the EU's RoHS directive, we have no laws to govern the materials used in the products that we make. I have been quite surprised in my dealings with manufacturers of printed circuit boards and assembly houses that they even still offer leaded products (because people are still using them). There are many benefits in removing these hazardous substances from your product and any issues with the alternative lead–free options have already been resolved. It is our responsibility as designers to remove these substances from our products. South Africa should introduce legislation to govern the use of hazardous materials so that we can avoid future health crises.

We need more people to be aware of, and start recycling eWaste. Fortunately Makro and Fujitsu–Siemens have partnered together with an eWaste recycler, Desco Electronic Recyclers, and begun providing eWaste collection bins in some of their stores. This will help to create awareness of how to correctly handle and recycle eWaste. eWASA's website has a full list of eWaste collection points in South Africa.

Please design and recycle wisely – it is good for you, me, and our environment.

Photo courtesty of Stephen Bullivant, licensed under a creative commons license.
Read More

Tuesday, November 04, 2008

Open Source EDA

5 comments : Posted by Duncan Drennan at 08:30 Tags: electronic design automation , electronics , engineering , processes
Electronic design automation tools like OrCAD, PADS and Altium Designer are part of an electronic engineer's day–to–day life. We need these tools to tell the story of our designs – to lay out the concepts in a symbolic form in the schematics and a physical representation in the PCB files (and much more).

Most companies use expensive commercial tools (like those mentioned above) which offer many features and benefits, but these do have some disadvantages. The biggest hurdle for smaller companies is cost, which makes it difficult to get going – you cannot earn money to pay for the tools without using the tools, which is a vicious circle. Another big disadvantage of commercial tools is their closed nature – file structures are closed and it is difficult to add custom features to the tools. Further to this, if you need improvements or bug fixes you may have to wait a long time before these become available, especially if you are a small customer. In some cases companies are bought out, forcing you to change software and go through a whole new learning curve. To phrase it differently: small users have little say in the direction of the development of the tools.

The big advantages of commercial tools are the multitude of features (if you need them), and commercial support.

gEDA logo
When I had to choose an EDA tool suite my (non–existent) budget was the biggest deciding factor and I decided to start using an open source set of EDA tools, gEDA. I have been using gEDA since the middle of 2007, and have completed a number of projects with it. At first I just did my schematic layout with gschem and outsourced the PCB layout which was done in PCAD. Recently I completed some PCBs for a project which where done with gEDA's PCB programme (this was my first entirely gEDA project).

I initially made my choice based on the free price of gEDA, but as I used it and learned more about how the suite works as a whole I discovered that there are far more compelling reasons to choose an open source EDA suite over a closed one.

The open nature of both the file structure and the source code is an incredibly powerful tool for productivity. Think about this simple example: the creation of PCB footprints (or land patterns). Creating footprints is often a long and arduous process which involves graphically drawing out exactly what it should look like and vetting the details. Each subtle variation on the footprint requires more time drawing and checking. The well documented open file format and excellent documentation on the creation of footprints for PCB allows scripts to be written to automate the creation of footprints resulting in a significant time saving. Similar scripts are also available for schematic symbol creation. These are really simple examples of what can be accomplished when the file structure and code is open and documented – far more exciting things can be done, just about anything you can think of!

gEDA is also blessed with a very active support and development community, which operates mainly through the gEDA mailing lists and the gEDA wiki (which provides excellent documentation). I have asked many questions and received quick and helpful responses. How long did your last support request with a commercial company take to be resolved?

Using an open source EDA suite provides more stability and control over the future of your tool chain. If a large commercial tool set is either bought out, or decides to change how it works significantly you have little choice but to embrace that change, whatever the cost or learning implications are. An open source EDA tool provides you with a never ending upgrade path for the future, as well as access to the direction the tool takes. This stability comes with a responsibility to be a part of a community, rather than just a consumer. By becoming a part of the community you create a mutualistic relationship where everyone benefits.

gEDA (or other open source EDA tools) may not be suitable for everyone, or for every project, but there are a large number of projects that can be supported by these flexible tools. Using gEDA does require a shift in the way you work, but so does any other change to your EDA tool chain. Putting in the effort to learn how to use gEDA is certainly worth it and offers the opportunity for large productivity leaps. These productivity leaps are important, as they ensure that engineers spend more time creating, designing and solving problems, rather than wasting hours on repetitive tasks. I am using it exclusively to provide solutions to my customers, and you should take a closer look at it too.

Here is a list of open projects created with gEDA. One of the most impressive open hardware projects that I have seen which uses gEDA is the Free Telephony Project, which not only shows the quality of these tools, but also the magnitude of what can be achieved with open hardware development.

Please note that files and projects created by you are entirely yours and can be used for commercial purposes without any ramifications. The projects noted above have chosen to share their work under open licenses.

There are no up–to–date Windows binaries available for gschem and I found that the PCB binaries were really slow. I run the entire suite on Cygwin. Here are the install instructions for gEDA on Cygwin. I also recommend compiling PCB on Cygwin for significantly improved performance.

I posted my thoughts on creating my first PCB with PCB to the gEDA mailing list – this may give you some ideas of initial hurdles and ideas that you will need to get through.
Read More

Monday, October 20, 2008

Light and heavy symbols

4 comments : Posted by Duncan Drennan at 09:09 Tags: electronic design automation , electronics , engineering , processes
This post is aimed at electronic engineers working with electronic design automation (EDA) packages.

As an electronic engineer you have probably been through it. It all starts simply and clearly. You need to draw a schematic; so you make some symbols, attach some attributes to them and get going. Then you draw some footprints for the PCB layout and make sure the correct footprint names are attached to the components you have created. The boards go the PCB manufacturer and you use a simple spreadsheet to manage the bill of materials (BOM). Everything goes nice and smoothly – you are happy.

Then another project comes along – a bigger one with more engineers working on it. You carry on like you have before, explaining to people how to create new components and footprints and how to make sure the part numbers are correct. It all seems to be going well. The PCBs and components arrive, but something is not quite right. One of the components (an expensive one!) is the wrong part, and another component does not fit onto the PCB footprint correctly (even though there is another component with the same footprint that does fit correctly). What went wrong?

Eventually with more projects and more people managing the component library becomes a full time job for someone, and getting a new component approved is a lengthy process for engineers. Let's not even talk about managing the now massive stock and BOM spreadsheet which keeps you awake at night. The quick process you started with has become a slow moving, time consuming beast. We need to find a way to kill that beast so that engineers can spend more time creating solutions to problems, and less time on administration.

There are two ways to handles components. We can either have "heavy" symbols, or "light" symbols. First a few definitions so that we are all talking the same language.
component:an actual physical part.
symbol:a diagram depicting a component which is placed in a schematic drawing.
footprint:the physical layout of a component on a PCB.

A heavy symbol has all of its attributes, such as part name, value, voltage, tolerance, footprint, ordering number, etc. specified in the symbol library. A light symbol has no attributes specified in the library and all attributes are added at a schematic level.

There are some obvious flaws with each approach. A heavy symbol library will quickly grow in size – just think about having a symbol defined for each different opamp or resistor that is used. The graphical representation of an opamp is generic to a number of different parts, but now duplicates are created for each component. If a fault does creep into the library it can result in a number of different symbols needing to be fixed.

With a light symbol library all the attributes are added to the schematic. Maintaining the symbols is easy (because there are fewer), but ensuring that the correct attribute information is added can lead to errors (each time data is manually copied or entered there is the potential for an error).

There are also some obvious advantages. A heavy symbol immediately makes a lot of information available in the schematic which can be passed on to other tools, such as the footprint to the PCB layout package, or the part number to the BOM. A light symbol allows for information to be drawn from multiple sources, and the schematic can be updated without having to propagate the changes back into the library.

Here is a brief summary of the feature of each type of symbol.

Heavy symbols:
  • Data duplication,
  • Errors requires changes to numerous symbols,
  • Require a librarian to maintain symbol library sanity,
  • Single source of information.
Light symbols:
  • No data duplication,
  • Errors can be fixed at schematic level, or only affect a single symbol,
  • Allows multiple data sources for component information,
  • Requires addition of attributes at schematic level.
If you remember that I am against information duplication, then you should have guessed that I am in favour of light symbols.

The "light" and "heavy" nomenclature arose out of discussions on the gEDA mailing list. The gEDA wiki has a brief summary, and the two threads which I think are the most relevant are "Light vs. Heavy gschem symbols?" and "Heavy symbols and such."
Read More

Tuesday, August 12, 2008

9 simple ways to design for lower energy use

3 comments : Posted by Duncan Drennan at 20:47 Tags: electronics , energy , energy efficiency , engineering , environment
White LEDsThere are lots of really complicated and difficult ways to design for lower energy consumption, but most of us do not have the time or budget to do them. Yet, there are many really simple ways to reduce energy consumption which only take a few moments of our time. It is largely a matter of being conscience of the decisions we are making.

Here are a few ideas:
  1. Use larger resistors

    Does that pull–up/down resistor really have to be 1k? Could it be 10k or more? There are always engineering trade–offs to be made. Increasing resistor size increases noise and can make your design more susceptible to EMI, but there are many cases where resistor values can be increased with no discernable effect. Think about this, at 3.3V a 1k resistor will burn up 11mW, change that to 10k and the power consumption drops to 1mW. Your signal line should be in the correct default state (high for a pull–up and low for a pull–down) to ensure no energy is being spuriously expended.

  2. Turn off unnecessary LEDs

    We (I) often use LEDs for debugging purposes, such as internally on an enclosed board. It helps us get some visual information about the system while debugging. Did you remember to turn those off in your release version? LEDs can consume a significant amount of power (1.5V @ 10mA = 15mW) which adds up for each LED that is needlessly left on.

  3. Dim or blink required LEDs

    LEDs that provide visual information to the user can be dimmed or blinked to reduce power consumption. Try to determine whether those LEDs are really necessary in the first place – are there other indicators which are providing the same information? A laptop typically has a power LED and a screen which both provide feedback that it is on, while cellphones have no power indicator other than the screen. Does the laptop really need the power LED to be on all the time? What if it was only on when the screen was turned off, or flashing while in sleep mode? What if the battery indicator flashed when the laptop was off and the battery was full instead of being permanently on? How else can you convey the same information?

  4. Put microprocessors to sleep

    Microprocessors are often waiting for an event such as a timer or communications interrupt. It is normally a simple task to put a device to sleep while it is idle. Some simple code can reduce the power consumption (and extend the battery life) of your device.

  5. Turn off unnecessary peripherals

    Microprocessors usually have a number of peripherals which are either not used, or not used all the time. If unused peripherals are clocked that means that energy is being banished to heat just to clock something that is idle. Not all devices support this, but more and more are coming out with these features (such as the Luminary Micro range).

  6. Use low power components

    Duh! That may seem obvious, but take some time to look at the quiescent current of the components you choose when designing. Faster components (like high speed op–amps) typically require more power when idle, while slower components require less. Consider using a slower op amp or lower power transceiver.

  7. Use a higher bus voltage

    When you are running long wires (e.g. power bus around a warehouse) use the highest voltage that is practical. This will help reduce power loss due to copper losses. It also means you can use thinner cable, or run more units from a single cable (if cable current is a limiting factor).

  8. Use a lower bus voltage

    Have you considered using a lower system voltage (e.g. 1.8V instead of 3.3V)? The limiting factor is often peripherals which require certain voltages, but you can consider other peripherals or use level translators. There are a lot of trade–offs to consider here, so use your engineering wisdom to come up with the best solution.

  9. Consider latching relays

    Normal relays require a continuous current flow to keep them in the on position, while latching relays only require a short pulse to switch from one position to the next. You will have to consider cost and a small amount of extra circuitry, but these are particularly valuable where there are power supply limitations.

These are all really simple ideas, many of which can be quickly and easily implemented. By being conscience of power consumption and the decisions you make you can help to reduce waste and create a cleaner, better world.

Photo courtesy of Windell H. Oskay, www.evilmadscientist.com
Read More

Wednesday, July 02, 2008

What Engineer Simplicity does

2 comments : Posted by Duncan Drennan at 15:13 Tags: design , electronics , engineer simplicity , engineering , processes
Disassembled cellphoneThere are a lot of steps to turn an idea into a product. Each step requires care and attention to ensure that the best product is created. Below is the process that I follow to create an electronic product. It is all laid out nicely in a linear way, but in reality a lot of the steps are occurring in parallel. Also, any step could be the starting point, it is really dependant on the product and client requirements.
  1. Initial engineering report

    This is a short report which gives everyone some preliminary ideas to work from. I like to start with this as it is a small investment in testing the idea, and provides a lot of information for the path forward.

  2. Detailed investigation

    The initial report or specification has already identified the options, now all the options are investigated in detail. This entails reading datasheets and application notes, speaking to distributors, and really understanding whether the available options will provide the required solution.

  3. Development of proof of concept

    There are two ways to go here, either develop a proof of concept using evaluation boards, or dive straight into the custom hardware design – which is better depends on the risks involved. The risks are a function of the project and the amount of experience with similar designs. Wherever possible it is nicest to speed things up, but a detailed proof of concept can take a lot of risk out of the later stages.

  4. Final concept

    After a full proof of concept it is quite clear how all the pieces fit together. At this stage we should have system block diagrams, communication protocols, component choices, disposal planning and a whole lot more down on paper. The framework for our creation is in place, now we need to make a real prototype.

  5. Schematic layout

    All the concepts and ideas have to be put down into technical drawings (an electronic drawing is called a schematic). Once this is done we have a schematic, a BOM (bill of materials), and other technical files needed for the next steps.

  6. Printed circuit board layout

    The schematic output is used to generate a printed circuit board (PCB layout). The physical size is determined and the components are placed and connected together with tracks. Any mechanical design which is required (e.g. a casing) is also done along side with this step so that the PCB will fit nicely. This can be a time consuming step, as a lot of checking is required, such as tolerances, spacing and component patterns. A set of gerber files are generated which are used to manufacture the actual PCBs.

  7. Component procurement

    Before a prototype can be built, you need all the components that will be placed on the PCB. This step is really happening in parallel with all the other steps to ensure that everything arrives at the right time. Electronic component lead times can vary significantly (from 1 to 16 weeks or more), so a fair amount of planning and scheduling is required.

  8. Prototype manufacturing

    A PCB manufacturer (such as WHCircuit or Trax) makes the PCB's according to the gerber files. The PCB is then populated with the components either by hand or machine. For a first prototype I like to populate the board by hand (where possible) so that I can test each part of the system as I build it up.

  9. Development and debugging

    The amount of effort that goes into making a system work properly is really quite big, but depends on the complexity of the system and the amount of detail that went into all the proceeding steps. It must be shown that each block of the system works and that it all works together properly. Firmware (software that runs on the system) must be tested and developed to a fully functional level. Any bugs that are detected need to be resolved and noted for the future.

  10. Testing

    Once all the functionality is working it must be fully tested, both to check that it is working correctly and to also stress the system to find out if any real world events could break things. Careful attention must be paid to test as many usage cases as possible, and more. Certain countries require specific certifications and any required tests must be done to ensure all the necessary specifications are met.

  11. Design refinements

    All of the testing and development will either have proved that the design works exactly as desired, or indicated areas that need to be improved before going ahead with manufacturing. Steps 4 to 11 are repeated until the product meets the requirement.

  12. Initial production run

    Manufacturing can bring its own challenges to the product from solderability through to the programming and testing of the product. To avoid major manufacturing disasters it is normally better to have a small initial run to iron out any problems in the process.

  13. Product manufacturing

    Once all the manufacturing issues have been resolved it is time to go into full production. This can be a big investment and the quality of the work that has gone before will determine how successful the product is.

  14. Continuous improvements

    There are always things to improve. Wherever possible I try to build in mechanisms that allow easy upgrading of products (such as in–field upgrading of firmware), but it is sometimes necessary to go through some redesign to meet a new requirement or fix a manufacturing issue. Once a product is out in the field you start to get a feel for how it is really used, which teaches you a lot about how to improve the quality.

It is a long process and is fraught with many risks, but the great reward of having created something meaningful which changes people's lives for the better is amazing.

If you are interested in creating electronic products, then please contact me.

Photo courtesty of Johannes Henseler and licensed under a Creative Commons license.
Read More

Wednesday, June 04, 2008

Engineer Simplicity....

No comments : Posted by Duncan Drennan at 08:42 Tags: design , electronics , engineer simplicity , solutions
....helps people turn ideas into products.

Your idea may be a new invention, a faster warehouse picking system, or a testing and debugging tool which makes your company run faster and better.

Bring it to me and together we will turn your idea into a great product.
Read More
Older Posts Home
Subscribe to: Posts ( Atom )

Search This Blog

Subscribe

Get the latest posts immediately

 Subscribe in a feed reader

or enter your email address:

Tags

About this blog

Duncan Drennan

I'm Duncan Drennan and this blog is about spreading ideas regarding engineering, our environment and creating a better world. You can also follow me on Google Reader.

About Engineer Simplicity

Engineer Simplicity specialises in the design and development of electronic products.

Copyright Notice

© Copyright 2006-2010, Duncan Drennan, All rights reserved

Popular Posts

  • Some lights are more equal than others
    The short version (my "elevator pitch"): Compact fluorescent lamps (CFLs) use about a fifth of the energy of a normal (incandescen...
  • Solving problems or creating solutions?
    As engineers we spend a lot of time solving problems. A customer has a problem and it needs to be fixed. The electronic boards you have just...
  • 7 best ways to stop load shedding
    We are in the middle of an energy crisis and each of us need to make some dramatic changes to ensure that we have electricity, and that the ...
  • eWaste recycling in South Africa
    eWaste is a particularly difficult issue to deal with as it contains many different materials and lots of extremely hazardous substances. I...
  • The first post
    So here we are, the first blog post...well, really, here I am. My name is Duncan Drennan and this is my blog on business, design, electronic...
  • What Engineer Simplicity does
    There are a lot of steps to turn an idea into a product. Each step requires care and attention to ensure that the best product is created. B...
  • What we can't imagine
    When James Bond used miniature cameras in the 60's and 70's the thought of a wireless phone that can take pictures and send them t...
  • The blessing of a child
    On 29 June 2009 my wife and I became parents to Grace Drennan. It is a great privilege, honour and responsibility to be a part of this amazi...
  • A slightly different direction
    With 48 post over nearly three years, I am certainly not a prolific blog writer. My goal has never been to write a lot, but to rather explor...
  • Urban agriculture
    Urban agriculture (UA) – the production of food within a city – is an important aspect of securing our food supply as well as restoring our...

Blog Archive

  • 2011 (1)
    • August (1)
      • The blessing of a child
  • 2009 (11)
    • June (1)
    • May (2)
    • April (1)
    • March (3)
    • February (2)
    • January (2)
  • 2008 (30)
    • November (3)
    • October (5)
    • September (1)
    • August (2)
    • July (3)
    • June (4)
    • May (3)
    • April (2)
    • March (2)
    • February (4)
    • January (1)
  • 2007 (6)
    • October (2)
    • June (1)
    • May (1)
    • March (1)
    • January (1)
  • 2006 (5)
    • October (1)
    • September (1)
    • August (1)
    • July (2)

© The Art of Engineering 2013 . Powered by Bootstrap , Blogger templates and RWD Testing Tool