Car Rooftop Tent,Car Top Tent,Rooftop Tent Hard Shell,Aluminum Rooftop Tent,Rooftop Tent for Car Shaoxing Haoto Trading Co.,Ltd , https://www.haototents.com
1 Introduction Automotive electronics technology plays an increasingly important role in the automotive field. The development and commissioning of electronic systems has a major impact on the development of automotive electronic systems. As an important part of the automobile, the automation of automobile transmission is a trend of development and the penetration rate is getting higher and higher. Today's automatic transmissions use microcomputer control without exception.
In the development of the microcomputer control unit, an important task is to mediate the control law (mainly the relationship between the parameters reflected by some data tables), which is called "calibration of the control unit". This process is combined with the road of the car.
Monitoring page: Complete the real-time receiving and displaying of various monitoring data. The measured data is displayed in both digital and graphical form, and the data can be stored. Historical data can be read from the file for offline analysis.
Calibration page: Complete the display, edit, and upload and download functions of the calibration variable data. Variable data is represented in terms of parameters, two dimensions, and three dimensions, depending on the type of variable. The system provides both table and graphic display and editing of data.
The doubling module: provides a multiplier interface for the calibration platform and the ECU.
ECU control program: the lower machine doubles the interrupt processing program and the implementation of the multiple protocol.
The upper part of the system is the design of the calibration page and the monitoring page and the preparation of the multiplication control program in the ECU, mainly the implementation of the CCP protocol and the driving of the independent CAN controller SJA1000.
3.2 System Hardware Structure The overall structure of the system hardware is as shown.
According to the functional requirements of the AMT system, the host controller of the lower computer selects the 80C196KCkc, and the 80C196KC microcontroller is a 68-pin LSI chip. Its function is strong, performance/price ratio is high, and it is easy to use. Since it does not have a CAN interface, the CAN controller is completed using the independent CAN controller SJA1000. The PCA82C250 transceiver is used to perform CAN multiplied bus drive. The CAN bus is connected to the physical bus through the two outputs CANH and CANL of the CAN controller interface chip 82C250.
4 system upper computer calibration system The main job of the upper computer is to use Visual C++ to complete the design of the calibration page and the multiple with the lower computer. In addition to the calibration function of the ECU, the calibration system also introduces a real-time monitoring function, so that the returning of the calibration operation can be quickly obtained, which is important for the smooth progress of the calibration work.
In order to solve the limitation that most calibration systems can only modify and edit the calibration data through the keyboard, in addition to the table editing mode, the graphic editing mode will be introduced in the calibration system. Converting the calibration variable data into a graph will enable the calibrator to have a more intuitive understanding of the calibration variable data, such as the correction curve and the MAP map, and can edit and modify the graphic by mouse dragging, thereby achieving the purpose of editing and modifying the calibration variable data. This greatly facilitates the editing of calibration variables for the correction curve and MAP map type.
41 PC system function For a calibration platform, versatility and flexibility are very important. This article provides a database editing tool to create a new database file or modify the existing database file, because different electricity The calibration variables of the control system are different. Even if the same electronic control system is in different development stages, the calibration variable will change, so that the same calibration platform can complete different powers by loading different database files. Calibration of products in different development stages of the control system or the same electronic control system.
The calibration platform mainly includes a sound management module, a page management module, a calibration module, a monitoring module, and a pass-through module. The sound management module is mainly for the unified management of the sounds to be controlled by the system, including configuring the properties of the sound, editing the database corresponding to the sound, and managing the data of the variables in the database.
Computer Engineering and Application 2006.08 101 AMT Music CU multiply the upper layer of editing required; K lower machine is divided into... Sexual window size position window contains the variable 1 page management module is mainly responsible for the calibration and monitoring environment Management, including creating new pages, monitoring configurations, creating monitoring and calibration windows, loading pages, and saving current pages. Each of these pages includes monitoring configuration attributes. The calibration module of all windows is mainly responsible for the processing of the calibration, establishing or disconnecting the electronic control unit with the ECU, uploading and downloading the calibration variable data, and saving the calibration variable data to the disk. Data file, or read calibration variable data from the data file into memory.
The monitoring module is mainly responsible for monitoring the processing of the work, starting or stopping the transmission of the monitoring data, displaying or temporarily displaying the received monitoring data in the monitoring window, performing offline analysis of the monitoring historical data and saving the monitoring data to the disk. Monitoring data file.
The doubling module is mainly responsible for providing an interface between the PC and the ECU's electronic control unit.
The calibration page includes a graphic calibration window, a table calibration window, and a monitoring window.
You can change the number in the table to edit; in the 2D graphics calibration window, you can drag and drop the curve with the mouse; these windows, as long as you change any one of them, the other changes. In the monitoring window, when the monitoring command is sent, the lower position machine continuously sends the monitoring data. In this window, there will be a curve (because the shifting rule is two parameters), and the curve changes dynamically with time.
4.2 Communication Interface The CCP protocol is an application protocol based on CAN for calibration and data acquisition of electronic units. It supports CAN2.0B (11-bit or 29-bit identifier) ​​for multiplication between the host computer and the ECU. CCP is a multiple of the master-slave type. A master tone can be connected to one or more slaves via CAN. The main tone is a calibration tool or a diagnostic/management tool or a measurement system that initiates data transfer on the CAN by sending a command to the tone.
The acquisition of monitoring quantities in this paper is realized by using the data acquisition command in CCP. The CCP creates a series of data acquisition lists DAQList, each of which has several ODTs. Each ODT has a definition of up to seven data elements, defining the address of the data, the address extension, and the length of the data. Each ODT has 0Xfd), so that it can be sent and received as an 8-byte data. After the ECU is powered on and initialized, the CCP protocol driver automatically organizes the data. As long as the host computer has a data acquisition command, the CCP protocol The drive will continuously send the data in the DAQ list to the host computer, thus realizing the monitoring of the data in the ECU.
The multiplication service provided by the CCP protocol mainly includes the multiple connection (upper page 102). The program in the ECU of the lower system is the interrupt processing program of the AMT control program. If the upper computer has multiple requirements during the AMT operation, Then it is transferred to the multiplier interrupt processing program, and the host computer transmits the required data or receives the command and data issued by the host computer.
The work to be done in the ECU mainly includes three parts, namely, the main application, the driver of the CAN controller, and the driver of the CCP protocol. The doubling process is as shown.
After the system is powered on, the main application should be initialized, including the main controller, SJA1000 and CCP protocol. In the main control program, the timer TIMER-0 must be initialized first, and the interrupt time should be set to 10ms; then the SJA1000 initialization and CCP protocol initialization program should be called; then the main program should judge whether there is a new CRO, and if so, call the command processing function. The corresponding processing is performed, and then the feedback function is called to return to the DTO for confirmation.
SJA1000 initialization includes configuration mode register, clock divider register, acceptance code and acceptance mask register, bus timing register and output control register; initialization of CCP protocol includes data acquisition DAQ configuration (data buffer setting) and program implementation of each command .
6 Conclusion Calibration system is an important tool for the development of automotive electronic control systems. This paper introduces a calibration system for automotive mechanical automatic transmission control unit. It has 1242006.08 computer engineering and application with parameter calibration and real-time detection function, and has a good calibration operation interface. The biggest feature is the function of directly dragging the curve, which makes the calibration of the MAP map more intuitive; finally, the corresponding data table is automatically generated. The developed system supports the CAN calibration protocol CCP and has good versatility. In the development of CA141 truck 6-speed AMT control unit, the system is applied to perform calibration and real-time data detection in the road test for shifting rules, clutch control rules, engine control rules, etc. The use process verifies the function of the system, and the use of the system greatly improves the development work efficiency.
(: July 2005)
Mechanical automatic transmission control unit calibration system based on CCP>