STM32 x Yikong Technology x Mir Electronics | STM32MP135 open high real-time and high performance PLC controller solution released

Publisher:EE小广播Latest update time:2024-03-08 Source: EEWORLDKeywords:STM32  STM32MP1 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

01 Introduction


With the acceleration of the industrial digitalization process and the in-depth integration of IT/OT, the increasing OT core data has gradually become the core asset of the industrial automation industry. OT layer data has the characteristics of high real-time, high precision, high redundancy, large data volume, etc. How to obtain more accurate OT data plays a vital role in the digitalization process. At the same time, as domestic industrial control systems gradually enter mid-to-high-end applications, more precise control is crucial. Therefore, the high real-time and high performance requirements of industrial control systems are particularly prominent.


In the face of the above challenges, our partner Yikong Technology has released an open high-real-time and high-performance PLC controller solution based on the Mil STM32MP135 development board, integrating high-precision data acquisition, preprocessing, storage, communication and high-real-time control, providing a very good choice for the control system to move towards fully digital mid-to-high-end control.


02Introduction to the STM32MP135 processor


The STM32MP135 series processors have a high main frequency of 1GHz, which can achieve high performance while having lower power consumption, providing a solid foundation for the stable and reliable execution of industrial control products. At the same time, the STM32MP135 supports high-performance DDR3 memory, which greatly optimizes memory performance and jitter suppression. In order to realize the simultaneous operation of industrial real-time Ethernet EtherCAT and standard Ethernet TCP/IP communications, the STM32MP135 is designed with two independent high-performance Gigabit Ethernet MAC units. After long-term verification, the communication efficiency and stability are very high, and it can be well adapted to domestic Gigabit PHY chips. The Eclipse ThreadX real-time operating system supported by the STM32MP135 is designed for high-real-time and high-performance application scenarios. The interrupt response speed is as low as ns level, and the jitter of ThreadX tasks can still be controlled within 10us under very high load conditions. At the same time, the complete HAL driver library has extremely fast peripheral response speed. For development engineers familiar with STM32, zero threshold upgrade to STM32MP135 development can be achieved.


image.png

▲STM32CubeMPU MW overview

image.png

▲ Middleware Components


03Implementation of Yikong Technology's LogicLab solution based on the STM32MP135 platform


Yikong Technology and STM32 jointly developed and adapted the LogicLab solution to the STM32MP135 processor, including PLC operating system compliant with the IEC61131-3 standard, Modbus protocol stack, CANopen master station protocol stack, EtherCAT master station protocol stack, motion control and other components.


At the same time, Yikong Technology has enhanced the Eclipse ThreadX real-time operating system adaptation and BSP driver of the STM32MP135 processor for PLC applications. After detailed testing, the performance of the LogicLab solution based on the STM32MP135 platform has reached an advanced level. The key technical parameters are as follows:


  • PLC memory: Program area: 16MB, Data area: 32MB, Power-off retention area: 128KB

  • PLC basic instruction execution performance: 4ns

  • PLC high-speed IO interrupt response capability: <1us

  • PLC interrupt task response capability: <10us

  • EtherCAT master recommended minimum cycle (DC on): 250us (less than 8 slaves), 500us (less than 16 slaves), 1ms (less than 32 slaves)

  • EtherCAT task and DC slave time deviation: <10us

  • Maximum number of motion control axes: 40 axes (including pulse axes and virtual axes)


Yikong Technology LogicLab solution application architecture diagram:

image.png

Yikong Technology provides a new LogicLab Runtime SDK 2.0 version based on the STM32 series processors. It integrates Eclipse ThreadX components, board-level drivers, PLC core library transplantation, fieldbus communication library, motion control library implementation and other functions based on standard development boards, making it ready to use and significantly reducing the investment in basic platform research and development. LogicLab Runtime SDK can be directly imported into the project through STM32CubeIDE, compiled and generated firmware, and can expand the core functions of PLC based on C/C++, completely solidifying the core knowhow of the industry, thereby realizing a unique PLC controller product. The core architecture diagram is as follows:


04Open Hardware Ecosystem


The hardware ecosystem of open high-real-time and high-performance PLC controller products can accelerate the progress of customer product development and reduce the difficulty and risk of R&D. Through in-depth cooperation with Mir Electronics, LogicLab Runtime SDK has been adapted to Mir Electronics' MYD-YF135-4E512D-100-I development board. The development board adopts a core board + baseboard separation design. The industrial-grade design can be quickly commercialized. It has 2 Gigabit Ethernet interfaces that are compatible with Ethernet communication (supporting ModbusTCP communication) and EtherCAT master stations, 1 RS485 and 1 RS232 that are compatible with ModbusRTU interfaces, 1 CAN bus that is compatible with CANopen master stations, and an external RGB display screen that can be used for graphical interface development and multiple general GPIOs to realize local high-speed IO subsystems. The development board picture is as follows:


image.png

Mir STM32MP135 Development Board


05Conclusion


With the help of STM32's excellent MPU products and rich RTOS software ecosystem and the industrial-grade modules of its board-level hardware partner Mir Electronics, Yikong Technology has achieved an open high-real-time and high-performance PLC controller solution. By releasing the open LogicLab Runtime SDK software package, users can quickly implement competitive PLC controller products and significantly reduce the investment of the R&D team, laying a solid foundation for the comprehensive realization of digital intelligent control systems.


Keywords:STM32  STM32MP1 Reference address:STM32 x Yikong Technology x Mir Electronics | STM32MP135 open high real-time and high performance PLC controller solution released

Previous article:IAR fully supports Xiaohua’s entire series of chips, strengthening the industrial control and automotive MCU ecosystem.
Next article:Pineberry Pi announces a range of PCIe HAT components

Recommended ReadingLatest update time:2024-11-16 09:19

STM32 timer output PWM mode
Bits 6:4 of the TIMx_CCMR1 register in the data sheet determine the timer output PWM modes: 000: Freeze. The comparison between the output compare register TIMx_CCR1 and the counter TIMx_CNT has no effect on OC1REF. That is, when the counter value is equal to the comparison value, the level signal on the pin remain
[Microcontroller]
STM32 timer output PWM mode
【STM32】GPIO working principle (super detailed analysis of eight working modes)
STM32F1xx official information: "STM32 Chinese Reference Manual V10" - Chapter 8 General and Multiplexed Function IO (GPIO and AFIO)  Chip data sheet STM32 GPIO Introduction STM32 pin description GPIO is the abbreviation of general purpose input/output port, which is a controllable pin of STM32. GPIO pins are conn
[Microcontroller]
【STM32】GPIO working principle (super detailed analysis of eight working modes)
STM32-RCC clock
Preface: I am currently debugging the STM32L152 chip. This article summarizes the RCC clock configuration method of the STM32L152. Hardware platform: STM32L152 Software platform: keil v5+cubeMX Function library: HAL library content:         RCC: Reset and Clock Control, reset and clock control system. There
[Microcontroller]
STM32-RCC clock
STM32 only enables SWD mode debugging program
Due to insufficient IO ports, it is necessary to reuse JTAG as an IO port and retain the SWD function to debug the program. The settings are as follows:     GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);      RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO, ENABLE);
[Microcontroller]
stm32 button long press short press function
In the stm32 project, the code for long press and short press is written, and the underlying function that reads the key status is called. The key function code is encapsulated. The following is the header file of the function and the code of the .c file. Use the timer to scan the key. #define KEY_ON 1 #define KEY_O
[Microcontroller]
Stm32 external interrupt EXTI usage instructions
Hardware: Using PA11 pin It should be clear that the PxN pins share the external interrupt line EXTIN and the external interrupt vector EXTIN_IRQn and the interrupt service routine entry EXTIN_IRQHandler, but it should be noted that share EXTI9_5_IRQn and EXTI9_5_IRQHandler, and share EXTI15_10_IRQn and EXTI15_10_
[Microcontroller]
STM32-HAL
    In order to quickly complete the design using the STM32 cubeMX tool, I plan to switch from StdPeriph_Lib to HAL_Driver. When I first used cubeMX, it felt like stepping from the DOS era into the graphical interface era, and it has the best support for all STM series. In the HAL library: Common Functions: HAL
[Microcontroller]
STM32-HAL
What to do if STM32 ADC sampling is inaccurate
When I was using the ADC of STM32L011 recently, I found that the ADC sampling value was extremely inaccurate. After searching for information and repeated tests, I finally figured out some tricks. If VDDA is connected to VDD, the power supply fluctuation will greatly affect the ADC accuracy. However, the actual VDDA
[Microcontroller]
What to do if STM32 ADC sampling is inaccurate
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号