DSP Processer-in-the-Loop Tests Based on Automatic Code Generation

The digital signal processing (DSP) processor-in-the-loop tests based on automatic code generation technology are studied. Firstly, the idea of model-based design is introduced, and the principle and method of embedded code automatic generation technology are analyzed by taking the automatic code ge...

Full description

Bibliographic Details
Main Authors: Qi Zhang, Wenhui Pei
Format: Article
Language:English
Published: MDPI AG 2022-01-01
Series:Inventions
Subjects:
Online Access:https://www.mdpi.com/2411-5134/7/1/12
_version_ 1797470610508480512
author Qi Zhang
Wenhui Pei
author_facet Qi Zhang
Wenhui Pei
author_sort Qi Zhang
collection DOAJ
description The digital signal processing (DSP) processor-in-the-loop tests based on automatic code generation technology are studied. Firstly, the idea of model-based design is introduced, and the principle and method of embedded code automatic generation technology are analyzed by taking the automatic code generation of the DSP control algorithm for pulse width modulation (PWM) output as an example. Then, the control system model is established on MATLAB/Simulink. After verifying the model through simulation, the target board platform is established with DSP as the core processor, and the automatically generated code is tested by the processor-in-the-loop (PIL). The results show that the technology greatly shortens the development cycle of the project, improves the robustness and consistency of the control code, and can be widely used in the complex algorithm development process of the controller, from intelligent design and modeling to implementation.
first_indexed 2024-03-09T19:38:45Z
format Article
id doaj.art-6a9f020ba1464a12b013227a0b1a2717
institution Directory Open Access Journal
issn 2411-5134
language English
last_indexed 2024-03-09T19:38:45Z
publishDate 2022-01-01
publisher MDPI AG
record_format Article
series Inventions
spelling doaj.art-6a9f020ba1464a12b013227a0b1a27172023-11-24T01:44:56ZengMDPI AGInventions2411-51342022-01-01711210.3390/inventions7010012DSP Processer-in-the-Loop Tests Based on Automatic Code GenerationQi Zhang0Wenhui Pei1School of Control Science and Engineering, Shandong University, Jinan 250061, ChinaSchool of Information Science and Electrical Engineering, Shandong Jiaotong University, Jinan 250357, ChinaThe digital signal processing (DSP) processor-in-the-loop tests based on automatic code generation technology are studied. Firstly, the idea of model-based design is introduced, and the principle and method of embedded code automatic generation technology are analyzed by taking the automatic code generation of the DSP control algorithm for pulse width modulation (PWM) output as an example. Then, the control system model is established on MATLAB/Simulink. After verifying the model through simulation, the target board platform is established with DSP as the core processor, and the automatically generated code is tested by the processor-in-the-loop (PIL). The results show that the technology greatly shortens the development cycle of the project, improves the robustness and consistency of the control code, and can be widely used in the complex algorithm development process of the controller, from intelligent design and modeling to implementation.https://www.mdpi.com/2411-5134/7/1/12automatic code generationmodel-based designDSPprocessor in the loop
spellingShingle Qi Zhang
Wenhui Pei
DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
Inventions
automatic code generation
model-based design
DSP
processor in the loop
title DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
title_full DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
title_fullStr DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
title_full_unstemmed DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
title_short DSP Processer-in-the-Loop Tests Based on Automatic Code Generation
title_sort dsp processer in the loop tests based on automatic code generation
topic automatic code generation
model-based design
DSP
processor in the loop
url https://www.mdpi.com/2411-5134/7/1/12
work_keys_str_mv AT qizhang dspprocesserinthelooptestsbasedonautomaticcodegeneration
AT wenhuipei dspprocesserinthelooptestsbasedonautomaticcodegeneration