Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Mar 2;20(5):1362.
doi: 10.3390/s20051362.

A Model-Based Design Floating-Point Accumulator. Case of Study: FPGA Implementation of a Support Vector Machine Kernel Function

Affiliations

A Model-Based Design Floating-Point Accumulator. Case of Study: FPGA Implementation of a Support Vector Machine Kernel Function

Marco Bassoli et al. Sensors (Basel). .

Abstract

Recent research in wearable sensors have led to the development of an advanced platform capable of embedding complex algorithms such as machine learning algorithms, which are known to usually be resource-demanding. To address the need for high computational power, one solution is to design custom hardware platforms dedicated to the specific application by exploiting, for example, Field Programmable Gate Array (FPGA). Recently, model-based techniques and automatic code generation have been introduced in FPGA design. In this paper, a new model-based floating-point accumulation circuit is presented. The architecture is based on the state-of-the-art delayed buffering algorithm. This circuit was conceived to be exploited in order to compute the kernel function of a support vector machine. The implementation of the proposed model was carried out in Simulink, and simulation results showed that it had better performance in terms of speed and occupied area when compared to other solutions. To better evaluate its figure, a practical case of a polynomial kernel function was considered. Simulink and VHDL post-implementation timing simulations and measurements on FPGA confirmed the good results of the stand-alone accumulator.

Keywords: FPGA; HDL code generation; embedded devices; model-based design; wearable sensors.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Simulink multi-set delayed buffering (DB) accumulator implementation.
Figure 2
Figure 2
Architecture of the Input Buffer (IBUF) block.
Figure 3
Figure 3
Simulink cubic kernel implementation.
Figure 4
Figure 4
Input and output signals of the multi-set DB accumulator in Simulink simulation: (a) Input vector values, (b) Data_last signal, (c) Data_valid signal, (d) Accumulator output value, and (e) Result_ready signal.
Figure 5
Figure 5
Kernel performance in Simulink simulations: (a) Kernel with proposed accumulator, (b) Kernel with Simulink IP accumulator.
Figure 6
Figure 6
Xilinx Vivado post-implementation results of the kernel with (a) Kernel with proposed accumulator, (b) Kernel with Simulink IP accumulator.
Figure 7
Figure 7
Experimental setup for the hardware measurement.
Figure 8
Figure 8
Measurement of the processing time of the kernel with the proposed accumulator implemented on the FPGA.
Figure 9
Figure 9
Measurement of the processing time of the kernel with Simulink IP implemented on the FPGA.

References

    1. Bassoli M., Bianchi V., De Munari I. A plug and play IoT wi-fi smart home system for human monitoring. Electronics. 2018;7:200. doi: 10.3390/electronics7090200. - DOI
    1. Petrosanu D.M., Carutasu G., Carutasu N.L., Pîrjan A. A review of the recent developments in integrating machine learning models with sensor devices in the smart buildings sector with a view to attaining enhanced sensing, energy efficiency, and optimal building management. Energies. 2019;12:4745. doi: 10.3390/en12244745. - DOI
    1. Marin I., Vasilateanu A., Molnar A.J., Bocicor M.I., Cuesta-Frau D., Molina-Picó A., Goga N. I-light—intelligent luminaire based platform for home monitoring and assisted living. Electronics. 2018;7:220. doi: 10.3390/electronics7100220. - DOI
    1. Rana S.P., Dey M., Ghavami M., Dudley S. Signature inspired home environments monitoring system using IR-UWB technology. Sensors. 2019;19:385. doi: 10.3390/s19020385. - DOI - PMC - PubMed
    1. Ghayvat H., Awais M., Pandya S., Ren H., Akbarzadeh S., Mukhopadhyay S.C., Chen C., Gope P., Chouhan A., Chen W. Smart aging system: Uncovering the hidden wellness parameter for well-being monitoring and anomaly detection. Sensors. 2019;19:766. doi: 10.3390/s19040766. - DOI - PMC - PubMed

LinkOut - more resources