<?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-2018-4-57-64</article-id><article-id custom-type="elpub" pub-id-type="custom">sapi-237</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>Data processing and decision–making</subject></subj-group></article-categories><title-group><article-title>Use S-FUNCTION BUILDER in MATLAB/SIMULINK</article-title><trans-title-group xml:lang="en"><trans-title>Use S-FUNCTION BUILDER in MATLAB/SIMULINK</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"/><bio xml:lang="en"/><email xlink:type="simple">sapr7@mail.ru</email></contrib></contrib-group><pub-date pub-type="collection"><year>2018</year></pub-date><pub-date pub-type="epub"><day>06</day><month>02</month><year>2019</year></pub-date><volume>0</volume><issue>4</issue><fpage>57</fpage><lpage>64</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Михайлов В.Г., 2019</copyright-statement><copyright-year>2019</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/237">https://sapi.bntu.by/jour/article/view/237</self-uri><abstract><p>Проведен анализ используемых методов задания внешнего возмущения в MATLAB/SIMULINK с помощью генератора белого шума и последующей фильтрации и задания по точкам в MS.Excel (1000 значений). Установлено, что они не обеспечивают решения задач, требующих больших объемов данных и необходимого быстродействия и не могут применятся для более сложных задач (моделирования движения и нагруженности автомобиля, задания траекторий полета, проходческого оборудования и других). Существующие подходы и приемы могут использоваться только для решения несложных задач. Отмечено, что большинство исследователей не используют модуль S-FUNCTION BUILDER из-за непонимания его настройки и владения языком C/C++. Выявлены проблемы с компиляцией программ в модуле S-FUNCTION BUILDER. Предлагаемые на форумах решения их устранения не удобны на практике. Предложено решение этой проблемы через установку системной переменной Windows.</p><p>Предложен подход и прием задания внешнего возмущения с помощью модуля S-FUNCTION BUILDER, позволяющий решить эти проблемы.</p><p>Подробно рассмотрены настройка и использование модуля S-FUNCTION BUILDER для формирования внешнего возмущения для этих задач,</p><p>Предложена программа реализации задания внешнего возмущения на языке C/C++, приведен исходный текст программы.</p><p>Показана блок-схема использования модуля S-FUNCTION для решения совместного моделирования движения и нагруженности автомобиля.</p><p>Рассмотрены области применения предложенной программы и подхода для исследований мехатронных систем.</p><p>Предложенный подход и прием задания внешнего возмущения с помощью модуля S-FUNCTION BUILDER позволяет решать сложные задачи и перейти к более сложному имитационному моделированию с участием человека.</p></abstract><trans-abstract xml:lang="en"><p>The analysis of used methods of the task of external indignation in MATLAB/SIMULINK by means of the generator of white noise and the subsequent filtration and the task on points in MS.Excel (1000 values) is carried out. It is established that they do not provide the decision of the problems demanding great volumes of the data and necessary speed and cannot will be applied to more challenges (modelling of movement and loading the vehicle, the task of trajectories of flight, the equipment of passage of breeds and others). Existing approaches and receptions can be used only for the decision of simple problems. It is noticed that the majority of researchers do not use the module S-FUNCTION BUILDER because of misunderstanding of its adjustment and mastery of a language C/C++. Problems with compilation of programs in the module S-FUNCTION BUILDER are revealed. Decisions of their elimination offered at forums are not convenient in practice. The decision of this problem through installation of system variable Windows is offered.</p><p>The approach and reception of the task of external indignation by means of the module S-FUNCTION BUILDER is offered, allowing to solve these problems.</p><p>Adjustment and module use S-FUNCTION BUILDER for formation of external indignation for these problems are in detail considered.</p><p>The program of realization of the task of external indignation in language C/C++ is offered, the initial text of the program is resulted.</p><p>The block diagram of use of the module S-FUNCTION for the decision of joint modelling of movement and loading the vehicle is shown.</p><p>Scopes of the offered program and the approach for probes mechatronic systems are considered.</p><p>The offered approach and reception of the task of external indignation by means of the module S-FUNCTION BUILDER allows to solve challenges and to pass to more difficult imitating modelling with participation of the person.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>моделирование в MATLAB/SIMULINK</kwd><kwd>модуль S-FUNCTION BUILDER</kwd><kwd>его настройка и программирование на языке C/C++</kwd></kwd-group><kwd-group xml:lang="en"><kwd>MATLAB/SIMULINK</kwd><kwd>the module S-FUNCTION BUILDER</kwd><kwd>its adjustment and programming in language C/C++</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">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="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Shakouri P. A Longitudinal vehicle dynamics using Simulink/Matlab // P. Shakouri A. Ordys M. Askari, D. S. Laila Faculty of Engineering, Kingston University, London, 07 May 2015.</mixed-citation><mixed-citation xml:lang="en">Shakouri P. A Longitudinal vehicle dynamics using Simulink/Matlab // P. Shakouri A. Ordys M. Askari, D. S. Laila Faculty of Engineering, Kingston University, London, 07 May 2015.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Solhmirzaei Ali. Road profile estimation using wavelet neural network and 7-DOF vehicle dynamic systems/ Solhmirzaei1 Ali, Azadi, Shahram and KazemiJournal Reza of Mechanical Science and Technology 26 (10) (2012) 3029~3036.</mixed-citation><mixed-citation xml:lang="en">Solhmirzaei Ali. Road profile estimation using wavelet neural network and 7-DOF vehicle dynamic systems/ Solhmirzaei1 Ali, Azadi, Shahram and KazemiJournal Reza of Mechanical Science and Technology 26 (10) (2012) 3029~3036.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Skulic A. and All Methods and devices for registration of road microprofiles. / [Электронный ресурс/Electronic re- source]. - http://scindeks-clanci.ceon.rs/data/pdf/0040-2176/2016/0040-21761605697S.pdf – Режим доступа Access mode: 30.10.2017.</mixed-citation><mixed-citation xml:lang="en">Skulic A. and All Methods and devices for registration of road microprofiles. / [Электронный ресурс/Electronic re- source]. -  http://scindeks-clanci.ceon.rs/data/pdf/0040-2176/2016/0040-21761605697S.pdf – Режим доступа Access mode: 30.10.2017.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Moustapha Doumiati, Alessandro Victorino. Estimation of road profile for vehicle dynamics motion: experimental validation / [Электронный ресурс/Electronic resource]. – https://www.researchgate.net/publication/224254316_Estimation_of_road_profile_for_vehicle_dynamics_motion_Experimental_validation 2011 American Control Conference on O’Farrell Street, San Francisco, CA, USA June 29 – July 01, 2011.</mixed-citation><mixed-citation xml:lang="en">Moustapha Doumiati, Alessandro Victorino. Estimation of road profile for vehicle dynamics motion: experimental validation / [Электронный ресурс/Electronic resource]. –  https://www.researchgate.net/publication/224254316_Estimation_of_road_profile_for_vehicle_dynamics_motion_Experimental_validation 2011 American Control Conference on O’Farrell Street, San Francisco, CA, USA June 29 – July 01, 2011.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Выгонный, А. Г. Закон переключения передач, оптимальный по тягово-скоростным и топливо-экономическим показателям магистрального автопоезда / А. Г. Выгонный, О.С. Руктешель, Р. Э. Шейбак// Актуальные вопросы машиностроения 2015, Т. 4, С.182–188.</mixed-citation><mixed-citation xml:lang="en">Vigonny, A. G. Law of a gear shift, optimum on on tjagovo-speed and fuel to economic indicators of the main lorry convoy / of A. G.Vygonny, O. S. Rukteshel, R. E. Shejbak // Pressing questions of mechanical engineering 2015. V. 4. С. 182–188.</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Выгонный, А. Г. Сравнительный анализ многокритериальной и однокритериальной оптимизации параметров двигателя и трансмиссии магистрального автопоезда/ А. Г. Выгонный, М. М. Дечко, А. А. Дюжев, С. В. Харитончик // Механика машин, механизмов и материалов, 2014, № 4. С. 40–46.</mixed-citation><mixed-citation xml:lang="en">A. G. Vygonny, M.M.Dechko, A. A. Djuzhev, S. V. Haritonchik// Mechanics of cars, gears and materials, 2014, № 4. With. 40–46.</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Карта для определения высоты местности и профиля высот [Электронный ресурс]. _- http://www.vhfdx.ru/karta-vyisot – Режим доступа: 24.12.2017.</mixed-citation><mixed-citation xml:lang="en">A chart for definition of height of district and a cross-section of heights [the Electronic resource] – http://www.vhfdx.ru/karta-vyisot  – Access mode: 12/24/2017.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Per Sahlholm Piecewise Linear Road Grade Estimation /Per Sahlholm, Ather Gattami, Karl Henrik Johansson /Scania CV AB, 2ACCESS Linnaeus Centre Royal Institute of Technology, Swedem,2011. KTH - School of Electrical Engineering SE-100 44 Stockholm, Sweden TRITA-EE 2011:007. P.16.</mixed-citation><mixed-citation xml:lang="en">Per Sahlholm Piecewise Linear Road Grade Estimation /Per Sahlholm, Ather Gattami, Karl Henrik Johansson /Scania CV AB, 2ACCESS Linnaeus Centre Royal Institute of Technology, Swedem,2011. KTH - School of Electrical Engineering SE-100 44 Stockholm, Sweden TRITA-EE 2011:007. P.16.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Per Sahlholm Road Grade Estimation for Look-ahead Vehicle Control/Per Sahlholm _ Karl Henrik Johansson _ Scania CV AB, SE-151 87 Sodertalje, Sweden /Royal Institute of Technology (KTH), SE-100 44, Stockholm. P.7.</mixed-citation><mixed-citation xml:lang="en">Per Sahlholm Road Grade Estimation for Look-ahead Vehicle Control/Per Sahlholm _ Karl Henrik Johansson _ Scania CV AB, SE-151 87 Sodertalje, Sweden /Royal Institute of Technology (KTH), SE-100 44, Stockholm. P.7.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Михайлов, В. Г. Получение и использование единого массива продольного профиля и микропрофиля дороги для моделирования ТС // Журнал автомобильных инженеров 2018, № 2, с. 4–7.</mixed-citation><mixed-citation xml:lang="en">Mikhailov, V. G. Reception and use of a uniform file of a longitudinal cross-section and microcross-section of road for vechicle modelling//Magazine of automobile engineers 2018, № 2, P. 4–7.</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Михайлов, В. Г. Оценка эффективности систем подрессоривания грузового автомобиля / В. Г. Михайлов, Д. В. Мишута // Автомобильная промышленность – 2016, №5, С. 16–20.</mixed-citation><mixed-citation xml:lang="en">Mikhailov, V. G. Efficiency mark of systems of a cushioning of the cargo car/century G. Mihajlov, D. V. Mishuta // Motor industry – 2016, №5, С. 16–20.</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>
