introduction
In modern production, vehicles occupy an important position. They are important means of transportation for production and transportation, and are related to production safety and production efficiency. The vehicle electrical system is an important component of the vehicle, in which the main controller controls the entire electrical system, and its program writing is the focus of the design. However, different vehicle models lead to different compositions and requirements of the electrical system, and thus different program requirements for the main controller of the electrical system. The codes that have been tested in practice cannot be reused, which makes the design department spend a lot of time and energy to write and debug the main controller program. In view of the above situation, this paper applies modular design to the design of the main controller program of the vehicle electrical system, and utilizes the characteristics of the reusable functional modules to achieve the purpose of improving the design efficiency and program compatibility, and realizing the high-efficiency and high-quality development of the main controller program of the electrical system of the new mine car.
1 Modular design
Modular design is to divide and design a series of functional modules based on the functional analysis of products with different functions or the same functions with different performance and specifications within a certain range. Different products can be formed through the selection and combination of modules to meet the different needs of the market. At the same time, it greatly reduces the difficulty, avoids duplication of work, obtains higher program quality, and improves the speed of program development.
The basic idea of modular programming first appeared in high-level language programming applications, but this idea is also applicable to the development of vehicle controller programs. The module division of the program is generally carried out from top to bottom and step by step. The vehicle controller program can generally be divided into parameter setting part, data acquisition part, data processing part, alarm processing part, control part, and execution output part. The program flow chart is shown in Figure 1.
These parts can be designed, debugged and managed separately. Before on-site debugging, some program errors can be eliminated through simulation. During on-site debugging, by monitoring each functional module, existing problems can be quickly discovered, reducing the debugging intensity and time. When the control requirements change, only appropriate modifications can be made in the corresponding modules, which provides convenient conditions for upgrading the electrical system.
2 Applications
The application of modularization in program design is now explained by taking the program of a certain type of mining vehicle's onboard main controller as an example. The electrical system of this product consists of a controller, relays, contactors, motors, operating consoles, onboard displays, and various sensors. The working process of the control system is that the system self-checks after power-on, first confirming that the system can work normally, and then taking corresponding actions according to the instructions of the operating console. The functional modules of the controller program are shown in Figure 2.
The program is written into a subroutine in a suitable language according to its function and called in the main program. In this way, during the program development process, multiple people can write and test different modules in parallel, reducing the research and development time. At the same time, the functions of the parameter setting, data acquisition and other modules in different models of mine car electrical control systems are basically unchanged, and they can be used with slight changes, avoiding repeated development. The same is true for the use of other modules. In particular, these codes that have been strictly tested on site are used in new mine car electrical control systems to increase the reliability of the system. During the debugging process, the problematic code segment can be quickly located according to the phenomenon of problems on site, reducing the pressure of debugging.
3 Conclusion
It is proposed to apply the idea of modular design to the design of vehicle electrical control system controller programs. The modular design of the program not only reduces the development time of the program and reduces the workload of designers, but also makes the program ideas clearer, maintenance easier, and enhances readability, portability, and reliability. It also creates favorable conditions for the development of the next generation of products. Practice has also proved the feasibility and rationality of applying modular design to the mine car electrical system controller program. With the deepening of modular design in controller program design, it will inevitably bring about the problem of module standardization. This problem has been effectively solved in the control system program design of many multinational automation companies and has achieved a certain market competitiveness. The modular and standardized development of vehicle electrical system controller programs will effectively improve the overall performance of the vehicle electrical system.
Previous article:Design and application of 32-bit microcontroller MPC555 in automotive electronics
Next article:Four major test analyses to improve vehicle ecology, safety and comfort
Recommended ReadingLatest update time:2024-11-16 20:34
- Popular Resources
- Popular amplifiers
- Dual-partition software over-the-air download upgrade technology for vehicle ECU based on real-time operating system_Zhou Heng
- Lightweight FPGA-based IDS-ECU architecture for automotive CAN networks
- Dual Radar: A Dual 4D Radar Multimodal Dataset for Autonomous Driving
- Real-time driver monitoring system via modal and viewpoint analysis
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- STC8A8K64 MCU ADC input is disturbed
- Four memory protection issues of TI C66x DSP
- Synopsys latest IP resource recommendations
- Outsourcing Motor Drive Control Project
- MicroPython Hands-on (20) - Three-axis acceleration of the control board
- CXN2000-6KVA power supply maintenance case
- Design of wireless sensor nodes based on the characteristics of wireless sensor networks
- LSM6DSL 3D Accelerometer and 3D Gyroscope PCB Package and Code
- Ultrasonic Flow Measurement EVM
- The TS3DV642A0RUAR chip specification says it does not support 4K 60HZ, but the Ruiping can support 60HZ. Why?