Preview

Data transmission with Simulink on 6-DoF platform on CAN BUS

https://doi.org/10.21122/2309-4923-2021-1-29-37

Abstract

Use of CAN BUS for data transmission in Real-Time mode with Simulink on control objects is considered (6-DoF a platform).

It is revealed that software of CAN_ API.dll adapters, created in the Microsoft Visual Studio (MVS) does not work with TDM-GCC-64 Matlab/Simulink because of different approach in names of the dll functions according to the standard C ++ 11/17. Recompile by the developer of the adapter of its software (dll) in the TDM-GCC-64 environment under Windows is required.

It is established that CAN BUS considerably reduces modeling speed by 4.5 times. The way of information compression and fall forward of exchange twice due to byte-by-byte entering of two float values in the data field is offered. Use of identical values of identifiers is applied to two cylinders 6-DoF of a platform and the subsequent their division in the program microcontrollers of cylinders.

For implementation of a Real-Time mode in addition to compression it is offered to transfer data with the smaller frequency (quantization) by what a modeling clock period. It was considered that 6-DoF platforms reproduce frequency band to 10–12 Hz. The program of transfer/data exchange with Simulink on stand control devices with quantization is developed. Influence of parameter of quantization for the period of modeling is investigated. It is established that the Real-Time mode of modeling is provided in the range of parameters of quantization (chc=1/350–1/1000). Frequency of exchange with 6 cylinders at the same time corresponds to 230, 150 Hz.

About the Author

V. G. Mikhailov
Midivisana
Belarus

Mikhailov Vladimir Georgievich

Minsk



References

1. Mercedes-Benz Innovation Vehicle Developing /https://www.mercedes-benz.com/en/mercedes-benz/next/advanced- engineering / [Electronic resource / Electronic resource] / Access mode mode: 22.07.2018.

2. Emanuele Obialero A Refined Vehicle Dynamics Model for Driving Simulators // Charhalmers University of Technology / Göteborg, Sweden 2013. Master’s thesis, P. 120.

3. Customized Flight Simulator Vehicle Driving Simulation 6 Dof Motion Base Platform/https://szfdra.en.ìade-in-china.coм/ product/lsymBGZJbIcn/China-Customized-Flight-Simulator-Vehicle-Driving-Simulation-6-Dof-Motion-Base-Platforм. html / [Electronic resource / Electronic resource]//Access mode: 22.07.2018.

4. Electric Simulation Table /https://www.moog.coм/products/simulation-tables/electric-simulation-table.html/ [An electronic resource / Electronic resource]/ Access mode: 08.09.2019.

5. Troubleshooting and Limitations Compiling C/C ++ MEX Files with MinGW-w64 https://nl.mathworks.com/help/matlab/matlab_external/compiling-c-mex-files-with-mingw.html.//Electronic resource / Electronic resource]/Access mode: 08.09.2019.

6. Mikhailov, V.G. Use of S-Function Builder Matlab/Simulink / Systems analysis and applied information science – 2018, No. 4. P. 57–64 (on rus).

7. Mikhailov V. G. About some approaches of modeling of the vehicle on simulators / Systems analysis and applied information science – 2019, No. 3. P. 29–35 (on rus).

8. Usb-can user’s manual 2017–07–06 edition

9. https://insat.ru/upload/iblock/da3/titan_USB-CAN%20Manual.pdf / [Electronic resource / Electronic resource]/ Access mode: 08.09.2019.

10. Mikhailov, V.G. Receiving and use of a uniform array of a longitudinal profile and microprofile of the road for modeling of the CU//journal of automobile engineers No. 2, 2018, P. 4–7 (on rus).

11. Mikhailov V. G. About oscillatory model of the truck / V. G. Mikhailov, D. V. Mishuta,//Automotive industry-2016, No. 7. P. 23–27 (on rus).


Review

For citations:


Mikhailov V.G. Data transmission with Simulink on 6-DoF platform on CAN BUS. «System analysis and applied information science». 2021;(1):29-37. (In Russ.) https://doi.org/10.21122/2309-4923-2021-1-29-37

Views: 812


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2309-4923 (Print)
ISSN 2414-0481 (Online)