overviewPreface
1. Overview of calibration and diagnostics
❖ Calibration
- XCP/CCP calibration
The process of dynamically adjusting the internal parameters of the controller through the CCP or XCP protocol is called calibration.CCP protocol: a CAN bus-based calibration protocol.XCP protocol: a universal test calibration protocol, which is an upgraded version of the protocol after CCP, and can be applied to a variety of buses. specificities
(1) All adopt the master-slave mode, a single master can communicate with multiple slaves at the same time.
(2) The master establishes connection with the slave by issuing commands, unlocking, reading data, modifying parameters and other operations.
The XCP/CCP protocols, together with the A2L files, allow certain parameters to be changed directly in software and the actuator will give the appropriate feedback.The TSMaster Calibration Module relies on the following two types of files and ECUs running the XCP or CCP stack.
❖ Diagnosis
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-1-1024x545.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-2-1024x468.jpg)
2. Calibration and diagnostic use
❖ Create TSMaster calibration
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-3.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-4.jpg)
❖ Create TSMaster Diagnostics
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-5-1024x543.jpg)
❖ TSMaster System Variable Trigger Calibration
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-6-1024x224.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-7.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-8-1024x170.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-9-1024x127.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-9-1-1024x92.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-10-1024x211.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-11-1024x324.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-12-1024x420.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-13.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-14.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-15.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-16-1024x429.jpg)
❖ TSMaster System Variable Trigger Diagnostics
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-17-1024x385.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-18.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-19-1024x266.jpg)
3. Secondary development
1, support for other languages for secondary development, this example uses C# to call the TSMaster API to realize the calibration function, the use of software for Visual Studio 2019.
Create a new project as follows: Select C# -> Windows Forms Application -> Click Next.
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-20.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-21.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-22.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-23-1024x499.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-24-1024x378.jpg)
5. Add TSCalibration class
Click Add -> Class, Change Name -> Add (A). The TSCalibration class is successfully created.
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-25.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-26.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-27.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-28-1024x270.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-29-1024x547.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-30.jpg)
![](https://www.tosunai.com/wp-content/uploads/2024/01/如何利用TSMaster的系统变量触发标定和诊断功能-31-1024x309.jpg)