AIoT filter library is microcontroller agnostic
Advanced Solutions in the Netherlands has launched a software development kit that supports machine learning DSP filters on ARM, MIPS and RISC-V microcontrollers
ASN Filter Designer’s ANSI C SDK framework provides developers with a comprehensive automatic C code generator for microcontrollers and embedded platforms. This allows developers to directly deploy an AIoT filter application from within the tool to any STM32, Arduino, ESP32, PIC32, Beagle Bone and other microcontrollers for direct use.
Version 5 of the ASN filter designer in the SDK has added 37 product improvements, including two new code generators to C and C#, and AI based project code generation wizard and extra data analysis markers for more intuitive data analysis.
ADV worked closely with ARM’s architecture team to develop the highly optimised ANSI C based framework, providing a performance boost of 5 to 10 percent compared to ARM’s optimised CMSIS-DSP library on Coretex-M3 and M4 and M7 controllers with FPU.
Using complier optimisation, the framework is more efficient than ARM’s CMSIS-DSP library’s performance on an M4F and M7F for biomedical (ECG, EMG, PPG), audio (sound effects, equalisers) , IoT (temperature, gas, pressure) and Industry 4.0 (flow measurement, vibration analysis, CbM) applications. AIoT applications designed on the newer Cortex-M33F and Cortex-M55F cores can also take advantage of extra filtering blocks and double precision arithmetic support.
This allows engineers to develop, test and deploy a complete DSP filtering application within the ASN Filter Designer within a few hours. This is very different from a traditional R&D approach that assigns a team of developers for several days in order to achieve the same level of accuracy required for the application.
The ASN-DSP SDK is provided as open source and is written in ANSI C. This means that any embedded processor and any level of compiler optimisation can be used.
The memory size required for the ASN-DSP SDK is relativity lower than other standard DSP libraries, which makes the SDK suitable for microcontrollers that have memory constrains.
Using the ASN Filter Designer’s signal analyser tool, developers now can test the performance, accuracy and assess the frequency response of their designed filter and get optimised C code which they can directly use in their application.
The SDK also supports some extra filtering functions, such as: a median filter, a moving average filter, all-pass, single section IIR filters, a TKEO biomedical filter, and various non-linear functions, including RMS, Abs, Log and Sqrt. These functions form the filter cascade within the tool, and can be used to build signal processing applications, such as EMG and ECG biomedical applications.
The ASN-DSP SDK supports both single and double precision floating point arithmetic, providing excellent numerical accuracy and wide dynamic range. The library is unique in the sense that it supports double precision arithmetic, which although is not the most optimal for microcontrollers, allows for the implementation of high-fidelity filtering applications.
The ANSI C SDK framework is further extended by a C# .NET framework, allowing .NET developers to build high performance desktop applications with signal processing capabilities. Both framework SDKs are available in ASNFD v5.0.
- ASN Filter Script: a new paradigm in bespoke filter design
- Automatic generation of CMSIS DSP code for filters, in ARM
- AI startup launches classification libraries, signs Bosch
Other articles on eeNews Europe
- Report calls for European FPGA tools to boost open source hardware
- TI to add machine learning to codeless brushless motor drivers
- Low force mezzanine connector with 32Gbit/s for embedded computing
- OneWeb signs US distribution, antenna deals
- Siemens launches autonomous driving digital twin startup
- Facebook moves into smart glasses with Ray-ban – video