<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">sapi</journal-id><journal-title-group><journal-title xml:lang="ru">Системный анализ и прикладная информатика</journal-title><trans-title-group xml:lang="en"><trans-title>«System analysis and applied information science»</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">2309-4923</issn><issn pub-type="epub">2414-0481</issn><publisher><publisher-name>Belarusian National Technical University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.21122/2309-4923-2021-1-29-37</article-id><article-id custom-type="elpub" pub-id-type="custom">sapi-500</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Управление техническими объектами</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Management of technical objects</subject></subj-group></article-categories><title-group><article-title>Передача данных с Simulink на 6-DoF виброплатформу по CAN BUS</article-title><trans-title-group xml:lang="en"><trans-title>Data transmission with Simulink on 6-DoF platform on CAN BUS</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Михайлов</surname><given-names>В. Г.</given-names></name><name name-style="western" xml:lang="en"><surname>Mikhailov</surname><given-names>V. G.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Михайлов Владимир Георгиевич - кандидат технических наук</p><p>Минск</p></bio><bio xml:lang="en"><p>Mikhailov Vladimir Georgievich</p><p>Minsk</p></bio><email xlink:type="simple">apr7@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Мидивисана, ООО</institution><country>Беларусь</country></aff><aff xml:lang="en"><institution>Midivisana</institution><country>Belarus</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2021</year></pub-date><pub-date pub-type="epub"><day>23</day><month>04</month><year>2021</year></pub-date><volume>0</volume><issue>1</issue><fpage>29</fpage><lpage>37</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Михайлов В.Г., 2021</copyright-statement><copyright-year>2021</copyright-year><copyright-holder xml:lang="ru">Михайлов В.Г.</copyright-holder><copyright-holder xml:lang="en">Mikhailov V.G.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://sapi.bntu.by/jour/article/view/500">https://sapi.bntu.by/jour/article/view/500</self-uri><abstract><p>Рассмотрено использование для передачи данных c Simulink по CAN BUS, который сейчас широко применяется в робототехнике, авиа и автомобилестроении в системах управления для обмена данными между микроконтроллерами, благодаря своей простоте и надежности.</p><p>Выявлено, что ПО CAN_API.dll, откомпилированное в Microsoft Visual Studio (MVS) не работает с TDM-GCC-64 Matlab/Simulink из-за разного подхода в именах функций dll по стандарту C++11. Чтобы устранить эту проблему требуется перекомпилирование dll в среде TDM-GCC-64 под Windows, которое может выполнить только разработчик dll. </p><p>Оптимальным выбором для реализации передачи данных c Simulink на стенды с электроактуаторами по CAN BUS является использование адаптеров Titan TITAN ELECTRONICS INC, которые позволяют реализовать частоту обмена более 100 Гц для 6-ти осной платформы.</p><p>Предложен способ сжатия информации и повышения скорости обмена в 2 раза за счет побайтного занесения двух значений float в поле данных с использованием одинаковых значений идентификаторов объектов управления для двух цилиндров и последующего их разделения в программе микроконтроллеров цилиндров.</p><p>Разработана программа передачи/обмена данных c Simulink на устройства управления стендов, для которой оптимальным значением квантования является chc=350. Все это вместе позволяет реализовать частоту обмена 230 Гц и режим реального времени моделирования. </p></abstract><trans-abstract xml:lang="en"><p>Use of CAN BUS for data transmission in Real-Time mode with Simulink on control objects is considered (6-DoF a platform).</p><p>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.</p><p>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.</p><p>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.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>имитационное моделирование</kwd><kwd>автомобиль</kwd><kwd>симулятор</kwd><kwd>электроактуатор</kwd><kwd>Matlab/Simulink</kwd><kwd>CAN BUS.</kwd></kwd-group><kwd-group xml:lang="en"><kwd>Simulation modeling</kwd><kwd>vehicle</kwd><kwd>simulator</kwd><kwd>electroactuator</kwd><kwd>Matlab/Simulink</kwd><kwd>CAN BUS</kwd><kwd>6-DoF platform</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">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.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Emanuele Obialero A Refined Vehicle Dynamics Model for Driving Simulators // Charhalmers University of Technology / Göteborg, Sweden 2013. Master’s thesis, P. 120.</mixed-citation><mixed-citation xml:lang="en">Emanuele Obialero A Refined Vehicle Dynamics Model for Driving Simulators // Charhalmers University of Technology / Göteborg, Sweden 2013. Master’s thesis, P. 120.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">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.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Electric Simulation Table /https://www.moog.coм/products/simulation-tables/electric-simulation-table.html/ [An electronic resource / Electronic resource]/ Access mode: 08.09.2019.</mixed-citation><mixed-citation xml:lang="en">Electric Simulation Table /https://www.moog.coм/products/simulation-tables/electric-simulation-table.html/ [An electronic resource / Electronic resource]/ Access mode: 08.09.2019.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">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.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Mikhailov, V.G. Use of S-Function Builder Matlab/Simulink / Systems analysis and applied information science – 2018, No. 4. P. 57–64 (on rus).</mixed-citation><mixed-citation xml:lang="en">Mikhailov, V.G. Use of S-Function Builder Matlab/Simulink / Systems analysis and applied information science – 2018, No. 4. P. 57–64 (on rus).</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">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).</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Usb-can user’s manual 2017–07–06 edition</mixed-citation><mixed-citation xml:lang="en">Usb-can user’s manual 2017–07–06 edition</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">https://insat.ru/upload/iblock/da3/titan_USB-CAN%20Manual.pdf / [Electronic resource / Electronic resource]/ Access mode: 08.09.2019.</mixed-citation><mixed-citation xml:lang="en">https://insat.ru/upload/iblock/da3/titan_USB-CAN%20Manual.pdf / [Electronic resource / Electronic resource]/ Access mode: 08.09.2019.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">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).</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">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).</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
