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

Inventions ◽  
2022 ◽  
Vol 7 (1) ◽  
pp. 12
Author(s):  
Qi Zhang ◽  
Wenhui Pei

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.

2021 ◽  
Vol 2108 (1) ◽  
pp. 012025
Author(s):  
Yang Lu ◽  
Puqiong Yang

Abstract In recent years, digital control has been widely used in the field of power electronics. Automatic code generation, as a graphical software writing method, has brought great convenience to the writing of electronic control software due to a series of advantages such as easy to write and easy to simulate and verify. Simcoder in PSIM is an automatic code generation software that enables the automatic generation of complete DSP control program projects. In this article, the current and voltage loops of a typical average current controlled BUCK circuit are designed as an example, and the use of PSIM and Simcoder is described in detail. Based on the main circuit and Matlab parameter calculations, the model is simulated and the self-generated code is downloaded into the TMS320F28335 to test the output voltage and current of the hardware circuit. The circuit output has the advantage of stable output voltage with small steady-state error and low voltage overshoot, demonstrating the practicality and efficiency of automatic code generation on this project.


2011 ◽  
Vol 383-390 ◽  
pp. 308-314
Author(s):  
Lin Li ◽  
Zhi Ming Peng ◽  
Bi Cong Zhang ◽  
Zhang Tie

This paper presents a Rapid Control Prototyping (RCP) development platform based on Matlab/Simulink, Real-Time Workshop and Embedded Target for C2000 and DSP development board. It also designs TMS320F2812 DSP-based motion controller under the proposed RCP. The controller using saturated integral PID algorithm produces PWM signal to control DC motor. Experimental results show that the designed controller can control motor accurately. Engineers can complete all design tasks such as modeling, automatic code generation, and download, running and parameters adjustment on this RCP platform when developing DSP application system. Thus the proposed RCP can shorten the DSP development cycle and improve the portability and modularity of program.


2013 ◽  
Vol 321-324 ◽  
pp. 1574-1577 ◽  
Author(s):  
Yuan Liu ◽  
Yan Qiang Li ◽  
Ru Ke Zhuang

Aiming at the present state of software development of the Automotive electronics system, the Simulink/Stateflow of Matlab and the code generation tool Targetlink were applied to realize the modeling and simulation of system and code automatic generation of the Automotive electronics software. An example of the software development of automobile anti-theft alarm system was implemented by requirement analysis, system modeling, simulation test and code generation.


Author(s):  
Humberto Cortés ◽  
Antonio Navarro

Nowadays, the Unified Modeling Language (UML) is the most successful notation for the design of object-oriented applications. However, plain UML is not enough to characterize the web presentation tier of enterprise applications, including the navigational, structural and role-based access control (RBAC) features present in these applications. In this paper, we present Enterprise Web Application Extension (E-WAE), a lightweight UML extension for the modeling of these elements, which permits the inclusion of multitier, Service-Oriented Architecture (SOA) and security design-level patterns in the models. Our approach follows a Model-Driven Development (MDD) approach, which enables the automatic generation of intermediate platform-specific models and automatic code generation for JavaServer Faces (JSF) and Active Server Pages.NET Model-View-Controller (ASP.NET MVC) frameworks. In addition, this generated code can be used as a low-cost mockup for early client validation of the navigational, structural and RBAC features of enterprise applications. E-WAE has been used with different applications. In this paper, we refer to the checkout process in the Amazon website, the delete resources use case in OdAJ2EE, an educational application developed by us, and the US Library of Congress Online Catalog search facility as examples of its applicability.


Sign in / Sign up

Export Citation Format

Share Document