Abstract

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.

Highlights

  • As is well known, due to the rapid development of modern industrial technology, product upgrading is changing with each passing day; at the same time, the requirements for product control performance are becoming higher and higher

  • Pulse width modulation (PWM) is a technology that uses the digital output of a microprocessor to control analog circuits [16,17]

  • Motor output performance is closely related to its terminal voltage, and pulse width modulation (PWM) technology is widely used in motor control technology

Read more

Summary

Introduction

Due to the rapid development of modern industrial technology, product upgrading is changing with each passing day; at the same time, the requirements for product control performance are becoming higher and higher. As the requirements for control redundancy and safety have become more demanding, the number of control codes of products has become larger, such as modern automobiles, space shuttles, and aerospace ships, etc., in which there are codes at the level of one million lines or more [1,2]. A consensus reached in the automotive industry is that, ten years ago, a car contained approximately 10 million lines of software code. A car has around 100 million lines of software code. The amount of software code for autonomous vehicles will reach 300 to 500 million lines [3]. As stated in the news report [4], this may introduce 4–6 security flaws per thousand lines of code in smart vehicles

Methods
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call