scholarly journals Software description of the PID-controller algorithm in C# for use in a closed automatic control system

Author(s):  
Dmitrii Piotrovskii ◽  
◽  
Sergei Podgorny ◽  
Alexsander Kukolev ◽  
◽  
...  

Today, automatic control is increasingly associated with the capabilities of electronic compu-ting. If at the stage of the origin of the control theory, regulators were mainly mechanical de-vices with the simplest kinematics, now most regulators in production are electronic computing devices containing a Central processor, analog - to - digital converters, amplifiers, auxiliary switching equipment, peripheral devices as part of a human-machine interface. Responsibility for the correct and trouble-free operation and operation of such equipment is assigned to soft-ware that is a program code written in a specific programming language (Java, Python, C++, Pascal). Certain languages are adapted for specific purposes that determine their prevalence. Developed in 1998–2001 by Microsoft specialists, the object-oriented C# language has now gained considerable popularity due to its expressive syntax and ease of learning. The syntax of the language aims to level the complexity of C++, providing such impressive features as the use of lambda expressions, delegates, as well as providing direct access to memory. The number of applications written to date written in C# is incalculable due to the cross-platform nature of the .NET Core. For this reason, the authors attempted to consider the possibility of writing a software algorithm for a classical PID controller in the chain of the simplest first-order aperiodic link using this programming language.

2021 ◽  
Vol 4 ◽  
pp. 78-87
Author(s):  
Yury Yuschenko

In the Address Programming Language (1955), the concept of indirect addressing of higher ranks (Pointers) was introduced, which allows the arbitrary connection of the computer’s RAM cells. This connection is based on standard sequences of the cell addresses in RAM and addressing sequences, which is determined by the programmer with indirect addressing. Two types of sequences allow programmers to determine an arbitrary connection of RAM cells with the arbitrary content: data, addresses, subroutines, program labels, etc. Therefore, the formed connections of cells can relate to each other. The result of connecting cells with the arbitrary content and any structure is called tree-shaped formats. Tree-shaped formats allow programmers to combine data into complex data structures that are like abstract data types. For tree-shaped formats, the concept of “review scheme” is defined, which is like the concept of “bypassing” trees. Programmers can define multiple overview diagrams for the one tree-shaped format. Programmers can create tree-shaped formats over the connected cells to define the desired overview schemes for these connected cells. The work gives a modern interpretation of the concept of tree-shaped formats in Address Programming. Tree-shaped formats are based on “stroke-operation” (pointer dereference), which was hardware implemented in the command system of computer “Kyiv”. Group operations of modernization of computer “Kyiv” addresses accelerate the processing of tree-shaped formats and are designed as organized cycles, like those in high-level imperative programming languages. The commands of computer “Kyiv”, due to operations with indirect addressing, have more capabilities than the first high-level programming language – Plankalkül. Machine commands of the computer “Kyiv” allow direct access to the i-th element of the “list” by its serial number in the same way as such access is obtained to the i-th element of the array by its index. Given examples of singly linked lists show the features of tree-shaped formats and their differences from abstract data types. The article opens a new branch of theoretical research, the purpose of which is to analyze the expe- diency of partial inclusion of Address Programming in modern programming languages.


2013 ◽  
Vol 380-384 ◽  
pp. 1734-1737
Author(s):  
Xiang Ping Xiao

As its international status, mastering C programming language is very important, for example the java language, popular and widely used at present, which has all kinds of connections with C programming language. In the C language, the bubbling sort, which has the knowledge of the cycle and array, has been seen as classic examples to explain, and also is used in a variety of computer exams. One important reason is the bubbling sort itself more classic; another is that it is not easy for students to grasp and understand the bubbling sort. This paper will explore a new teaching method--introduction of mathematical thought--to help students to understand and master the bubbling sort.


Author(s):  
Margherita Pagani

In this chapter, the author sets out to define what convergence is and to measure it in Europe. It begins by proposing that the concept of digital convergence, as it is commonly expressed, is taken to refer to three possible axes of alignment: convergence of devices, convergence of networks, and convergence of content. Although there is evidence in digital environments of limited alignment in some of these areas, there are considerable physical, technical, and consumer barriers in each case. In fact, rather than convergence, the transition from analog to digital is often accompanied by a process of fragmentation. A better way of looking at convergence may lie in the degree to which two-way digital networks facilitate cross-platform management of customer relationships, regardless of the type of networks those customers use. In the chapter, a definition of convergence based on penetration of digital platforms and the potential for cross-platform Customer Relationship Management (CRM) strategies is argued for before going on to develop a convergence index according to different European territories that can be compared.


2019 ◽  
Vol 260 ◽  
pp. 02008
Author(s):  
Primož Podržaj

In this paper, we describe the procedure for the implementation of the PID controller in the Festo CDPX operator unit. These units enable the execution of the control algorithm and human machine interface in a single unit. In our laboratory the unit is used to teach the students about the basics of control systems. For this purpose, one of the most common closed loop control systems for the education purposes was selected. It is a water level control system. In this paper the design of the whole system is presented. The need for a PI control algorithm is also explained. The programming of the operator unit CDPX, both in Festo CoDeSys and Designer Studio is explained. Such a simple system has turned out to be a great educational tool for Control Theory and Programmable Logic Controller related subjects.


2020 ◽  
Vol 17 (3) ◽  
pp. 172988142092563
Author(s):  
Jing Fan

The cleaning of cement warehouse is a labor-intensive and high-risk operation. The applicability and cleaning effect of traditional work tools are poor. Therefore, most of the methods are manual cleaning, which is inefficient and prone to accidents. It is of great social significance and practical value to develop an intelligent flexible warehouse cleaning robot that replaces the manual cleaning of cement. When the top of the cement warehouse is small and the volume of the cement warehouse is very large, how to ensure that the working range of the cleaning system can cover the entire area, and effectively and quickly complete the cleaning operation, and the automatic control of the cleaning robot has become an automatic control. Key issues to be addressed. Although the human–machine interface configuration technology has been widely used in automated monitoring systems, its graphical and componentized interface construction methods and the flexibility and scalability of the configuration interface have been widely recognized, but the human–machine interface, the coding method is still used in the construction, the development efficiency is low, and the interface is not open and flexible enough. At the same time, there are few research attempts on interface configuration. Interface configuration mostly only stays in the graphical phase of interface construction. Data and interactive control cannot meet the configuration requirements, and there is no complete implementation plan for configuration. Therefore, it has become an urgent need to change the traditional interface development mode and realize the configuration of man–machine interface. Based on the above background, the research content of this article is the research on the automatic control system of intelligent flexible clearing robot. Based on the understanding of the relevant properties of cement powder, this article discusses its flow state in the cement storehouse theoretically and provides a basis for subsequent structural design and stability research. A modularized and component-based configuration method for the numerical control interface is proposed. The interface is divided into three modules: data, graphics, and interactive control. The functional modules are assembled and the components are combined to implement the interface configuration. The experimental simulation results in this article show that compared to the traditional method, the amount of code editing of the configured human–machine interface is reduced by 46.34%, the development cycle is shortened by 43.72%, and the development efficiency of the configured human–machine interface has been greatly improved. It is confirmed that the configuration technology studied in this article can meet the requirements of automatic control systems.


2019 ◽  
Vol 214 ◽  
pp. 06039
Author(s):  
Gordon Watts

The HEP community is preparing for the LHC’s Run 3 and 4. One of the big challenges for physics analysis will be developing tools to efficiently express an analysis and able to efficiently process the x10 more data expected. Recently, interest has focused on declarative analysis languages: a way of specifying a physicists’ intent and leaving everything else to the underlying system. The underlying system takes care of finding the data - powering the event processing loop – and even exactly how to most efficiently apply a desired jet selection. If this works, this would allow an analyser to test their algorithm on a small amount of data on their GPU-less laptop and then run it on a large amount of data on a server with multiple large GPU’s without having to alter their code. The LINQToROOT project, started almost seven years ago, fits this model. It has been used and tested in three ATLAS published analyses. LINQToROOT is based on the Language Integrated Query system built into the cross-platform C# language. It enables writing strongly-typed queries on a ROOT’s TTree’s data and transcribes the data to a C++ algorithm that can run in ROOT. Recent work on this system has had two goals: improving analysis efficiency and better understanding the requirements of a declarative analysis language. For example, a good analysis language should be able to abstract away the backend – recent work has increased the possible back ends from formerly the single Windows ROOT backend to one that runs on Linux, the Windows Linux-subsystem, and an experimental one that allows for PROOF like parallel processing – all done with almost no change to the analysis code itself. Any analysis language must also be rich enough to support an experiment’s data model. To test this, some experiments with the full ATLAS xAOD data model have been performed. All of this has been done while attempting to keep the project close to its original goals: quick turnaround for real ATLAS physics analysis. This work will be discussed in some detail along with thoughts and lessons that have helped shape our thinking about an Analysis Language and perhaps our approach to future physics analysis employing declarative analysis.


1972 ◽  
Vol 18 (8) ◽  
pp. 744-748 ◽  
Author(s):  
B J Cerimele ◽  
D C Clapp ◽  
G C Cokinos ◽  
B D Obermeyer ◽  
R L Wolen

Abstract Fully automated generation, recording, storing, and processing of complex chromatograms demand sophisticated laboratory instrumentation and computer implementation. In the high-resolution liquid-chromatographic system for body fluids analyses we use in our clinical laboratory, the chromatograph is interfaced to a 2114 Hewlett-Packard minicomputer that accomplishes, in an on-line mode, analog-to-digital conversion, reductive averaging of sampled data, transformation from transmittance to absorbance units, and storage of the digitized spectrum on a peripheral disk. The information on disk is eventually transferred to a library of spectral files resident on a direct-access disk associated with an IBM 360/ Model 65 computer. These data files serve as the input source for program COCOA, written in Fortran IV for the IBM 360 computer, which provides the following processing: (a) iterative polynomial smoothing; (b) sectionally linear baseline tracking; (c) peak and envelope detection and delineation; (d) least-squares gaussian resolution of up to five component peaks in an envelope; and (e) location, size, and shape quantification of peaks. The capability and merits of program COCOA as an off-line procedure on a maxicomputer for the analysis of chromatograms are discussed.


2013 ◽  
Vol 278-280 ◽  
pp. 1417-1422
Author(s):  
Jin Lan Zhang ◽  
Qian Lv

This paper designs a PLC automatic control system in stone cutting. The author elaborated the stone cutting process, the system hardware/software design and the human-machine interface design process. This system is the collection of PLC, sensing detection, frequency converter, configuration control technology and advanced stone cutting process in an organic whole. The author designed optional automatic/manual function and parameters setting screen. The author added limit current protection and position protection, and designed function of automatic detecting cooling water shortage to protect the saw blade from damage. Also the designed equipment can automatic light and bell for alarm. Operation results show that, this system can meet the designed requirement, and can remarkably improve the quality of stone processing. This designed control system has high machining accuracy, high intelligence, full automation, perfect protection, friendly man-machine interface and simple operation.


Sign in / Sign up

Export Citation Format

Share Document