SPICE up the IoT Design complexity can be addressed in a number of ways; often it is to break a task down into smaller, more easily addressable challenges, sometimes it involves removing unnecessary detail, or simply minimising the number of variables. In some cases, these solutions could incur a reduction in resolution or a loss of detail. Simulation can be seen as a method for tackling complexity and some may feel that it is susceptible to a loss of resolution. By its nature, it may not be a true replication of the ‘real world’ system; this isn’t necessarily a shortfall of simulation, but rather the techniques employed to represent the real world. However in the case of SPICE simulation, the techniques used to model the real world actually increase visibility into the system in question; it is the very purpose of SPICE. SPICE, which is an acronym for Simulation Program with Integrated Circuit Emphasis, is often seen as only that; a tool for simulating the design of an IC before fabrication. It uses equations to represent components including transistors, resistors and capacitors, which are then presented as a netlist. As such it is able to offer insights into complex circuits before they are fabricated, and so it isn’t merely a functional simulation tool, but a powerful method for debugging complex systems. While it’s used predominantly for simulating ICs, it can be applied to any design that can be represented using highly accurate models of electronic parameters. As such it isn’t limited to active components; automotive manufacturers now use SPICE to simulate cable assemblies, for example, and its applicability is widening. While it is commonly used to simulate an analogue or digital IC at the component level, SPICE is equally competent at higher levels of abstraction; it is possible to create netlists of entire systems, providing that each element can be represented using a SPICE model. It means that if a component manufacturer makes a SPICE netlist available, a designer may include it in a system simulation. Even when netlists aren’t provided, developers may still be able to conduct a post layout extraction to generate a netlist that can then be imported to a SPICE simulator, such as one of the modern Fast SPICE simulators, which benefit from smart circuit partitioning methods and massive multi-core processing techniques to simulate the behaviour of today’s most complex systems. The flexibility and accessibility of SPICE makes it extremely powerful, yet it is arguably vastly underused by engineers as a method for debugging complex systems. This is due, in part, to its fine-grained approach to simulation; netlists may become unwieldy, particularly in larger systems. The syntax of SPICE does nothing to alleviate this issue because, while it is highly accessible to simulators, it is not particularly user-friendly. Visualisation The fact that SPICE offers an incredible level of detail in a readable format does little to make it accessible to engineers; navigating a netlist can quickly become a challenge in itself, which is why Concept Engineering developed a tool for visualising SPICE netlists. SpiceVision PRO is a transistor-level debugger and viewer, which takes SPICE netlists and models and presents them as easily recognisable schematic diagrams. Groups of individual transistors can be automatically recognised and represented as transmission gates or logic gates. This level of navigable hierarchy allows engineers to quickly move up and down the abstraction layers to quickly pinpoint areas of interest. The tool also has a number of built-in design rule checks that engineers can invoke, as well as the ability to create their own checks and functions through an open API. SPICE up the IoT The Internet of Things is now turning everyday events, conditions and properties into ‘data’, which can be analysed either locally or in the cloud (as part of the big data trend) to provide greater control and autonomy in every industry. The benefits are expected to be immense, as are the number of ‘things’ deployed. The projected figures for ‘things’ — or ‘nodes’ — on the IoT within a few short years amount to tens of billions, and the majority of these nodes will employ some form of sensor in order to collect their data. Sensors are notoriously sensitive and invariably require carefully designed analogue front ends (AFEs), high precision amplifiers, mixed signal converters and digital processing. Any unwanted parasitic elements in the signal chain could render the sensor data either unreliable or unusable, and so maintaining the best signal-to-noise ratio will be critical in IoT nodes. This is an ideal scenario for SPICE simulation, as it brings together real world circuit elements and allows them to be modeled and simulated to a high degree of accuracy before the design is complete. In this way, potential issues that could impact the accuracy of a sensor node could be identified sooner and remedied quickly. Imagine the alternative; thousands of sensor nodes deployed across the world suddenly experience reliability issues due to circuit properties that hadn’t been properly identified and eliminated during the development phase; the cost of resolving the issue could far outreach the initial (or future) revenue generated by the nodes. The same could be true for the medical sector; the use of implantable devices is increasing as technology advances; wireless communication and contactless charging enable implantable devices to be used to monitor and control a widening range of conditions. Ensuring those devices will work reliably for their entire life-cycle is crucial; SPICE simulation can provide that extra degree of confidence. IC designers have long understood the value of SPICE simulation, and they remain the ‘power users’ today; interestingly, for a tool originally developed for mixed signal and analogue analysis, the vast majority of SPICE users are now using it to analyse digital circuits. This shows not only the flexibility of SPICE but also its necessity. The industry is entering a new era of massive growth in terms of the number of nodes expected to be developed and deployed in the next few years; tools that provide SPICE simulation and visualisation could become a critically important element in realising that vision. Gerhard Angst is CEO of Concept Engineering