Developing A New Embedded System? Have You Considered…

Developing A New Embedded System? Have You Considered…

Developing A New Embedded System? Have You Considered…

by Nadia Hutchings | Jun 7, 2018

There is always a great number of things to remember when you embark on a new system development, meaning it can be quite easy to overlook some rather important points. To give yourself some piece of mind take a look at these guidelines on what to consider when developing new embedded systems.

    ⇒  Take the time to build or save time and buy?

    This is quite the debate in the world of embedded system design, with build fans stating that this allows for directly relevant solutions while buy fans continually point out the time saved with quicker access to solutions. However, the final decision is most likely to be biased by the environment into which the final product is required to work, as extreme environments require specialist hardware that may not be available through normal commercial channels.

     

    ⇒ Don’t forget about the compiler

    Alongside CPU selection, the choice of compiler the most important point to consider as the choice of compiler will affect which families of microprocessors & microcontrollers can be used, and in some cases the real-time operating system. It is worth taking the time to consider standard libraries and the compilers start-up code. Popular choices for embedded compilers are C or C++, as these tend to produce faster more efficient applications.

     

    ⇒ What about the usual criteria?

    As for all processor based systems consideration needs to be given to the usual criteria (CPU processing power, memory usage, connectivity, etc.), however embedded systems bring a whole host of other factors that need to be considered:

    • Size – the product may need to operate in an enclosed environment where space is premium so the solution needs to be kept as small as possible.
    • Form Factor – the product may need to be rack\wall mounted so the equipment housing would need to take this into account.
    • Weight – the product may need to be installed on equipment where weight restrictions apply (i.e. mobile or satellite equipment).
    • Environment – Embedded systems often have to operate in environments where office computer equipment just would not be suitable for instance areas of extreme temperature\humidity or areas with high levels electro-magnetic interference.

    ⇒ Will there be limits on power consumption?

    It is often the norm when developing embedded systems to find yourself dealing with harsh system size, weight and power constraints, whilst trying to create an effective solution to a challenge. Reducing power consumption can be quite a challenge, especially when resources are limited and processing demands are high. However, the use of multicore and ARM architectures are a possible solution thanks to their energy saving mechanisms and low power consumption. You need to select a CPU that meets the required performance but isn’t so over specified that it consumes too much power.

     

    ⇒ How does your system manage failure?

    Depending upon the type of product being developed the application maybe directly responsible for safety (e.g. self-drive vehicles, power station monitoring\control). In these applications, careful analysis of possible failure modes is critical to ensure that equipment failure does not result in wrong side failure, which in turn affects the safety of the overall solution. It is also possible that the product may not be directly responsible for Safety but is instead responsible for monitoring and recording information that can be used to aid analysis of events following the failure of other safety critical\related products. In this case the priority is given to ensuring the reliability of the interfaces from which the data is being gathered and also the safe storage of the data to ensure its recovery following an incident (e.g. aircraft flight recorders).

     

    ⇒ Do you know how to test your system?

    By their nature, embedded systems tend to have an impact on real-life events when run, making the testing process of these systems a rather complicated affair. As with all software developments a degree of software testing can be performed using the normal software development tools available through the IDE and the use of simulators to emulate the equipment that the product is required to communicate with. However, for embedded systems there comes a point where the product needs to be tested in a more realistic environment and this may require the use of more specialist equipment to enable the interfaces to be tested properly.

    More From The Blog

    No Results Found

    The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

    Why Do You Need Requirements? – 6 Top Reasons

    Why Do You Need Requirements? – 6 Top Reasons

    Why Do You Need Requirements? - 6 Top Reasons

    by Nadia Hutchings | Jan 6, 2018

    It would be impossible to spend more than a month in the world of software development and never encounter requirements to some degree. Almost every project is centred around some form of requirements documentation, and there will always be someone ready to wax lyrical about how important it is to define a projects requirements before starting on the interesting stuff.

    Unfortunately, these individuals are right; defining requirements is one of the most important tasks in a development project. If you find yourself uncertain as to why, let these top 6 reasons give you the answers.

    ⇒ To guide the estimation process – If you don’t know what you are aiming to achieve at the end of a project, you cannot possibly hope to make reliable estimates on time, resources or cost. Being prepared to take the time to research and define project requirements will provide you with a realistic picture of the levels of demand on these three points, and as a result will give you a baseline for when you make your estimations.

    ⇒ Can be a mechanism to save time overall – It may not always feel like it, but putting time into defining project requirements can actually end up saving time overall. Having to rework or retest features late on in a project has a tendency to take up a lot of time, frequently resulting in missed milestones. By ensuring that you know what needs to be done right from day one, you can significantly reduce the chances of running over that all-important final deadline.

    ⇒ Provides the means to define project completion – The only way to know if a project has been completed successfully is to test the achieved functionality against what it was originally required to do. By defining project requirements, you give yourself the ability to detail, develop and run tests that will accurately reflect whether the project aims have been met.

    ⇒ Can help you stay within your budget – The budget is something that everyone tends to monitor very carefully, yet is often exceeded. A frequent cause of budget overrun is the inefficient allocation of resources. For example, you may find yourself paying ‘higher rate’ team members to complete tasks that could be handled by those on a ‘lower rate’. By having a plan of how you want to achieve the project’s end goal, you can easily match resource demands to the capabilities of your team. Additionally, by going through the requirements capture process you have the opportunity to identify and remove features that have no real relevance to your end goal, effectively removing the expense of creating pointless features.

    ⇒ Allows for clarity between stakeholders and development teams – No matter the type of project, if the result doesn’t meet the expectations of the stakeholders it cannot be signed off as successful. By making requirements definition one of the very first tasks to be completed you will have access to a clear description of the planned functions, allowing you to ensure that both your team and your stakeholders are happy with the plan.

    ⇒ Assists in the transfer over to the end user – Waiting patiently at the end of every development project there will be an end user, who more often than not will have had very little involvement in the development process and will need instructions on how to use the final product. Creating user manual documentation is a simple method of facilitating this transfer of knowledge, and as such is always included in a project plan. In capturing the requirements, you need to understand the use cases, so by defining project requirements you can simplify the process even further.

    More From The Blog

    No Results Found

    The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

    The Hazards of Updating Legacy Systems

    The Hazards of Updating Legacy Systems

    The Hazards of Updating Legacy Systems

    by Nadia Hutchings | Nov 28, 2012

    There is, of course, only one real hazard – to fix a bug or make an enhancement and, in so doing, to introduce a new problem.  The problem usually manifests itself in an area far away from where the changes have been made and so are easily overlooked.  A disaster that will damage reputations!

    So what to do to avoid a disaster?

    ⇒  Impact analysis – what else could be affected? Are the possible consequences worth the advantages of the change?

    ⇒ Test the system before you do anything – make sure that you completely know the behaviour of the current system before you do anything. That way you avoid chasing your tail looking for a problem that you think you’ve introduced but is in fact a feature of the system.

    ⇒ Source control – make sure you have everything saved that will enable you to return to the current build should a disaster occur.

    ⇒ Review the proposed changes – walk through the changes before doing anything. Two heads are better than one, especially one that been bashed against a wall of old, poorly documented code!

    ⇒ Change carefully – make sure that you are not overwriting data areas, mark all changes, check uniqueness of new variable names, understand inputs and outputs.

    ⇒ Test the change thoroughly – make sure the change is robust and provides the required functionality.

    ⇒ Regression test – make sure that the old functionality still works correctly. This is tedious and may have been done a number of times over the lifetime of the system. Automation will help (see Zircon’s ARTIST tool).

    ⇒ Document – you’re not writing an essay, just some notes to help the next person that will have to change things. It may well be you! Write down what you were trying to do, what you actually did, was the existing documentation any good and what you managed to find out. Eventually these notes will be better than the original document.

    This advice has been learnt from bitter experience. I expect that I may be teaching my grandmother to suck eggs, but I hope that it helps someone.

    Got a Legacy System Headache?

    If your old systems are causing you grief or the thought of making even the smallest of changes to the code base makes you want to run to the hills, it might be time to do a bit of a refresh.  Our team are willing to get our hands stuck in so you don't have to.

    More From The Blog

    No Results Found

    The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.