Industrial Control Data Transfer Selection Between PIO and DMA
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing transfer systems for communication data in industrial control devices, such as PLCs, often result in longer transmission times depending on the data size, necessitating a method to select an optimum transfer system based on data amount.
Innovation Solution
A control system that includes a computation processing unit capable of selecting between a PIO system and a DMA system for transferring communication data, measuring and comparing transfer times, and choosing the system with shorter average transfer times and lower variation to ensure timely and reliable data transfer.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the DMA system is used to transfer communication data, then transfer speed is improved, but transfer time increases for small data amounts
Solution Approach 1:
The system dynamically switches between PIO and DMA transfer systems based on the data amount. For small data amounts, PIO is selected to avoid overhead; for large data amounts, DMA is selected to utilize high-speed transfer capabilities. This dynamic selection resolves the contradiction by adapting the transfer method to the specific data size condition.
Solution Approach 2:
The invention changes the transfer system parameter (PIO or DMA) based on the data amount parameter. By measuring the data amount and selecting the appropriate transfer system accordingly, the system optimizes both transfer speed and transfer time for different data sizes.
2Loss of time
If the PIO system is used to transfer communication data, then transfer time is reduced for small data amounts, but transfer speed decreases for large data amounts
Solution Approach 1:
The system dynamically selects between PIO and DMA transfer systems based on real-time data amount conditions. This dynamic adaptation allows the system to use PIO for small data (minimizing transfer time) and DMA for large data (maximizing transfer speed), resolving the contradiction between transfer time and transfer speed.
Solution Approach 2:
The transfer system parameter is changed based on the data amount parameter. The computation processing unit measures the data amount and selects the transfer system that optimizes both speed and time performance for the given data size.
3Device complexity
If a single transfer system is used, then device complexity is reduced, but adaptability to different data amounts decreases
Solution Approach 1:
The control device is designed with multi-functionality by incorporating both PIO and DMA transfer systems. The computation processing unit can select between these two transfer systems based on data amount, providing universal adaptability to handle various data sizes efficiently while maintaining manageable device complexity through a selection mechanism.
Data Source
AI summary
A control system includes one or a plurality of functional units, and a control device for exchanging communication data transmitted circularly among the functional units. The control device selects, in accordance with an instruction from a user or in accordance with a predetermined condition, one transfer system of a first transfer system in which a computation processing unit transfers the communication data and a second transfer system in which a DMA controller transfers the communication data.


