• Optics and Precision Engineering
  • Vol. 31, Issue 11, 1710 (2023)
Lingyu CHEN, Jieji ZHENG, Aihua HE, and Dapeng FAN*
Author Affiliations
  • College of Intelligence Science and Technology, National University of Defense Technology, Changsha410073, China
  • show less
    DOI: 10.37188/OPE.20233111.1710 Cite this Article
    Lingyu CHEN, Jieji ZHENG, Aihua HE, Dapeng FAN. Modeling development method for slave controller of real-time ethernet fieldbus[J]. Optics and Precision Engineering, 2023, 31(11): 1710 Copy Citation Text show less
    Schematic diagram of typical real-time Ethernet fieldbus control system
    Fig. 1. Schematic diagram of typical real-time Ethernet fieldbus control system
    Schematic diagram of architecture of slave controller
    Fig. 2. Schematic diagram of architecture of slave controller
    Working model block diagram of slave controller
    Fig. 3. Working model block diagram of slave controller
    Schematic diagram of slave communication architecture
    Fig. 4. Schematic diagram of slave communication architecture
    Schematic diagram of normal communication establishment process of system
    Fig. 5. Schematic diagram of normal communication establishment process of system
    Communication state processing model in Simulink
    Fig. 6. Communication state processing model in Simulink
    Schematic diagram of application layer data processing
    Fig. 7. Schematic diagram of application layer data processing
    Communication data processing model in Simulink
    Fig. 8. Communication data processing model in Simulink
    Digital signal input processing model
    Fig. 9. Digital signal input processing model
    Digital signal output processing model
    Fig. 10. Digital signal output processing model
    Analog input/output processing model
    Fig. 11. Analog input/output processing model
    Schematic diagram of S-type plan of profile velocity
    Fig. 12. Schematic diagram of S-type plan of profile velocity
    Profile velocity planning model
    Fig. 13. Profile velocity planning model
    Schematic diagram of S-type plan of profile position
    Fig. 14. Schematic diagram of S-type plan of profile position
    Profile position planning model
    Fig. 15. Profile position planning model
    Ethernet and CAN communication conversion model
    Fig. 16. Ethernet and CAN communication conversion model
    Schematic diagram of model code generation process
    Fig. 17. Schematic diagram of model code generation process
    Schematic diagram of experimental equipment
    Fig. 18. Schematic diagram of experimental equipment
    Slave hardware structure and experimental system
    Fig. 19. Slave hardware structure and experimental system
    Digital I/O slave test results
    Fig. 20. Digital I/O slave test results
    Analog I/O slave test results
    Fig. 21. Analog I/O slave test results
    Test curves of motion control slave
    Fig. 22. Test curves of motion control slave
    CAN communication conversion slave test results
    Fig. 23. CAN communication conversion slave test results
    迁移状态/输出输入迁移事件
    abcdef
    当前状态q0q0/y0q1/y1q0/y0q0/y0q0/y0q0/y0
    q1q0/y0q1/y1q2/y2q1/y1q1/y1q1/y1
    q2q0/y0q2/y2q2/y2q3/y3q2/y2q2/y2
    q3q3/y3q3/y3q3/y3q3/y3q4/y4q5/y5
    q4q4/y4q4/y4q4/y4q4/y4q4/y4q5/y5
    q5q5/y5q5/y5q5/y5q5/y5q5/y5q5/y5
    Table 1. Migration relationship of system communication state
    功能模块主要功能

    数字量

    输入处理

    开关信号输入滤波、极性转换、输入屏蔽配置;脉冲信号输入滤波、计数、占空比测量、频率测量。

    数字量

    输出处理

    开关信号输出极性转换、输出屏蔽配置;脉冲信号输出频率、占空比、相位、数量可配置。
    Table 2. Main functions of digital I/O slave
    Lingyu CHEN, Jieji ZHENG, Aihua HE, Dapeng FAN. Modeling development method for slave controller of real-time ethernet fieldbus[J]. Optics and Precision Engineering, 2023, 31(11): 1710
    Download Citation