The Application of Automatic Code Generation Technology in the Development of the Automotive Electronics Software

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.

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.


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.


Model-Driven Development (MDD) tools for Rich Internet Applications (RIAs) development are focused on software modeling, and they leave automatic code generation in a second term. On the other hand, Rapid Application Development (RAD) tools for RIAs development enable developers to save development time and effort by leveraging reusable software components. AlexandRIA is a RAD tool that allows developers to automatically generate both source and native code of multi-device RIAs from a set of preferences selected throughout a wizard following the phases of a User Interface (UI) pattern-based code generation approach for multi-device RIAs. In this chapter, the use of the UI design process behind AlexandRIA is demonstrated by means of a sample development scenario addressing the development of a cloud services Application Programming Interfaces (APIs)-based cross-platform mobile RIA. This scenario is further revisited in a case study that addresses the automatic generation of an equivalent application using AlexandRIA.


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.


Author(s):  
Meliouh Amel ◽  
Chaoui Allaoua

The approach proposed in this article presents a formal verification of embedded systems. The method relies on an automated modeling and code generation based on the systems' behavior. The key concept is the combined use of a subset of UML behavior diagrams extended with timing annotations (Real-Time Statechart and Real-Time Collaboration diagrams) for system modeling and the Maude language for verification. First, UML modeling tools are developed. Then, an automatic generation of equivalent Maude specification is performed. The approach is based on code generation. This is why it is possible to use an available model checking tool to verify certain timed properties represented in Linear Temporal Logic (LTL). The meta-modeling tool ATOM3 is used. A case study is presented to illustrate the feasibility of the approach.


Author(s):  
Giorgio Colombo ◽  
Caterina Rizzi ◽  
Giancarlo Facoetti ◽  
Andrea Vitali

This paper presents a software module, named tracking plug-in, developed to automatically generate the source code of software interfaces for managing the interaction with low cost hand-tracking devices (e.g., Leap Motion and Intel Gesture Camera) and replicate/emulate manual operations usually performed to design custom-fit products, such medical devices and garments. The proposed solution is based on the Eclipse platform, a free integrated development environment (IDE), that allow us to manage the automatic code generation in a simple way after having defined the target application using a meta-model language, in our case the UML class diagram. First, we describe the background as well as the main problem, then, the software solution and adopted tools (i.e., Eclipse and Acceleo). Finally, the preliminary tests carried out for two applicative contexts (prosthetic and textile/clothing) are presented.


Author(s):  
N Md Jubair Basha ◽  
Salman Abdul Moiz ◽  
Mohammed Rizwanullah

One of the goals of software design is to model a system in such a way that it is easily understandable. Nowadays the tendency for software development is changing from manual coding to automatic code generation; it is becoming model-based. This is a response to the software crisis, in which the cost of hardware has decreased and conversely the cost of software development has increased sharply. The methodologies that allowed this change are model-based, thus relieving the human from detailed coding. Still there is a long way to achieve this goal, but work is being done worldwide to achieve this objective. This paper presents the drastic changes related to modeling and important challenging issues and techniques that recur in MBSD.


Sign in / Sign up

Export Citation Format

Share Document