This document discusses memory and I/O interfacing using microprocessors. It describes how memory and I/O devices are interfaced by connecting data and address lines, as well as control signals. It also discusses the three main types of data transfer between microprocessors and I/O devices: programmed I/O, interrupt-driven I/O, and direct memory access. Additionally, it provides information on common I/O interface chips like the 8255 Programmable Peripheral Interface and the 8279 Keyboard/Display Controller.
This document provides information on peripheral interfacing in microprocessors. It discusses memory interfacing and I/O interfacing, and some of the peripheral devices developed by Intel like the 8255 parallel communication interface, 8251 serial communication interface, 8254 programmable timer, and 8257 DMA controller. It then describes serial and parallel communication interfaces. It provides details on the 8255 programmable peripheral interface and its operating modes. Finally, it discusses digital to analog converters, applications of the 8254 timer/counter, and analog to digital converters.
The document discusses various peripheral interfacing chips used with the 8086 microprocessor, including the 8255 Programmable Peripheral Interface, 8279 Keyboard and Display Controller, and 8253/8254 Programmable Interval Timer. The 8255 PPI allows programming of ports for input/output and interrupt functions. It has three 8-bit ports that can be individually configured. The 8279 controls keyboards and seven-segment displays. It has modes for scanning keyboards and refreshing displays. The 8253/8254 is a programmable counter/timer with three independent 16-bit counters that can be configured for different counting modes.
8251 a usart programmable communication interface(1)divyangpit
The document discusses the 8251 programmable communication interface chip. It provides 3 key points:
1. The 8251 is a USART (Universal Synchronous Asynchronous Receiver Transmitter) chip that allows for serial communication and converts parallel data from the CPU to serial data and vice versa.
2. It has sections for data buffering, read/write control, modem control, transmission and reception. It uses control and status registers to program the chip for synchronous or asynchronous modes.
3. The chip can operate in asynchronous or synchronous modes. In asynchronous mode, it adds start and stop bits for transmission and looks for start/stop bits for reception. In synchronous mode, it uses sync characters
The document discusses several topics related to microprocessor interfacing:
- It describes a Programmable Interrupt Controller (PIC) that helps a microprocessor handle interrupt requests from multiple sources by assessing priorities and informing the CPU.
- It then discusses data buses, buffers, and Direct Memory Access (DMA) controllers, which allow input/output devices to directly access memory with minimal CPU involvement.
- Finally, it introduces some common programmable logic devices (PLDs) like PALs, CPLDs, and FPGAs that can implement digital logic functions through programming. PLDs offer flexibility compared to fixed logic devices.
8255-PPI MPMC text book for engineering.pptkhushiduppala
The 8259A Programmable Interrupt Controller allows for 8 interrupt inputs to be handled individually. It can prioritize interrupts and mask lower priority interrupts while higher ones are serviced. The controller's pins include data bus pins to transfer control/status information, as well as pins for chip select, read/write, cascade connections for multiple controllers, and interrupt request/acknowledge lines. It provides flexible interrupt handling capabilities for microprocessors like the 8085A and 8086.
This document discusses memory and I/O interfacing in microprocessors. It describes the parallel communication interface 8255 which allows a microprocessor to interface with peripheral devices. The 8255 has three 8-bit ports that can be programmed to work in different modes like basic I/O, strobed I/O, and bidirectional modes. It reduces external logic needed for interfacing and can be programmed to perform specific functions through control words. The document also briefly mentions other programmable peripheral devices like serial interface 8251, timer 8254, and interrupt controller 8259.
The document discusses the 8251 USART chip, which converts parallel data to serial and vice versa. It describes asynchronous and synchronous communication methods. It provides details on the architecture of the 8251 including the read/write control logic, transmitter, receiver, and modem control sections. It also discusses initializing the chip by writing control words to set the mode, baud rate, parity, and enable transmission or reception.
ijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j i
The Read/Write Control logic interfaces the 8251A with CPU, determines the functions of the 8251A according to the control word written into its control register.
It monitors the data flow.
This section has three registers and they are control register, status register and data buffer.
The active low signals RD, WR, CS and C/D(Low) are used for read/write operations with these three registers.
When C/D(low) is high, the control register is selected for writing control word or reading status word.
When C/D(low) is low, the data buffer is selected for read/write operation.
When the reset is high, it forces 8251A into the idle mode.
The clock input is necessary for 8251A for communication with CPU and this clock does not control either the serial transmission or the reception rate.ThesisScientist.com
Read/Write control logic:
The Read/Write Control logic interfaces the 8251A with CPU, determines the functions of the 8251A according to the control word written into its control register.
It monitors the data flow.
This section has three registers and they are control register, status register and data buffer.
The active low signals RD, WR, CS and C/D(Low) are used for read/write operations with these three registers.
When C/D(low) is high, the control register is selected for writing control word or reading status word.
MicroProcessors and MicroControllersUnit3deepakdmaat
This document provides an overview of Unit III - I/O Interfacing in a syllabus. It discusses various topics related to interfacing memory and I/O devices, including parallel communication interfaces like the 8255 PPI chip, serial communication interfaces like the 8251 USART, and analog interfaces such as A/D converters, D/A converters, and timers. It also lists some case studies and applications that will be covered, including traffic light control, LED displays, LCD displays, keyboard/display interfaces, and alarm controllers.
The 8251 is a serial communication interface chip that supports synchronous and asynchronous serial communication. It contains transmit and receive sections that convert parallel to serial and vice versa. It also has control registers for configuration. The 8251 interfaces with the 8085 microprocessor for serial communication with external devices through an RS-232 connector.
The document discusses the system bus structure of the 8086 microprocessor. It has three parts - the data bus for data exchange, address bus for memory and I/O addressing, and control bus for coordination. It describes the minimum and maximum mode of operation, with minimum using internal 8086 signals and maximum using external bus controller. It also summarizes programmed I/O, interrupt-driven I/O, and DMA transfer for communication with peripheral devices.
This document discusses the 8086 system bus structure. It begins by describing the basic configurations of minimum and maximum mode 8086 systems, including the system bus timing diagrams for read and write operations. It then discusses multiprocessor configurations using the 8086, including coprocessor configurations with the 8087 and closely/loosely coupled multiprocessor configurations. The document provides detailed information on the 8086 pin descriptions and signals in both minimum and maximum mode.
The document discusses interfacing concepts and the Intel 8255 Programmable Peripheral Interface chip. It provides information on:
- Memory mapped I/O and I/O mapped I/O interfacing techniques.
- The 8255 PPI chip which has 3 8-bit I/O ports (Ports A, B, and C) that can be configured as input or output ports. It operates in I/O mode or Bit Set/Reset mode.
- Control word formats for configuring the ports in different modes like Mode 0, 1, and 2 for I/O mode and Bit Set/Reset mode.
- Example programs to initialize the 8255 ports using control words for different
Firmware is a program that provides low-level control for a device's specific hardware. It performs control, monitoring and data manipulation functions. Firmware is stored in non-volatile memory like EPROM or flash memory. Common reasons for updating firmware include fixing bugs or adding new features. Firmware may be the only program that runs on an embedded system and provides all of its functions.
The 8251A is a programmable USART chip that allows for serial communication. It contains a transmitter and receiver section to convert parallel data from the CPU to serial data for transmission and serial to parallel for receiving data. It has control, status and data registers that are accessed by the CPU to program the chip for asynchronous or synchronous communication and monitor transmission status. The chip supports modem control signals and serial communication through pins for transmit, receive and associated control clocks and status lines.
The document provides an overview of embedded systems and their typical components. It discusses the core architecture of microcontrollers, including operating modes, registers and interrupt handling. It also describes common input/output components like ports, serial interfaces including USART, SPI and I2C, and memory types including SRAM, SDRAM, NOR and NAND flash.
The document discusses the 8085 microprocessor. It describes the microprocessor as an integrated circuit containing logic circuits to perform computing functions. It has an arithmetic logic unit (ALU) to perform operations, registers to store data temporarily, and a control unit that provides timing and control signals. The microprocessor resembles a central processing unit (CPU) but includes all logic circuitry on a single chip. It communicates with memory via address and data buses to read instructions and transfer data. It also has pins to interface with input/output devices.
ijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j i
The Read/Write Control logic interfaces the 8251A with CPU, determines the functions of the 8251A according to the control word written into its control register.
It monitors the data flow.
This section has three registers and they are control register, status register and data buffer.
The active low signals RD, WR, CS and C/D(Low) are used for read/write operations with these three registers.
When C/D(low) is high, the control register is selected for writing control word or reading status word.
When C/D(low) is low, the data buffer is selected for read/write operation.
When the reset is high, it forces 8251A into the idle mode.
The clock input is necessary for 8251A for communication with CPU and this clock does not control either the serial transmission or the reception rate.ThesisScientist.com
Read/Write control logic:
The Read/Write Control logic interfaces the 8251A with CPU, determines the functions of the 8251A according to the control word written into its control register.
It monitors the data flow.
This section has three registers and they are control register, status register and data buffer.
The active low signals RD, WR, CS and C/D(Low) are used for read/write operations with these three registers.
When C/D(low) is high, the control register is selected for writing control word or reading status word.
MicroProcessors and MicroControllersUnit3deepakdmaat
This document provides an overview of Unit III - I/O Interfacing in a syllabus. It discusses various topics related to interfacing memory and I/O devices, including parallel communication interfaces like the 8255 PPI chip, serial communication interfaces like the 8251 USART, and analog interfaces such as A/D converters, D/A converters, and timers. It also lists some case studies and applications that will be covered, including traffic light control, LED displays, LCD displays, keyboard/display interfaces, and alarm controllers.
The 8251 is a serial communication interface chip that supports synchronous and asynchronous serial communication. It contains transmit and receive sections that convert parallel to serial and vice versa. It also has control registers for configuration. The 8251 interfaces with the 8085 microprocessor for serial communication with external devices through an RS-232 connector.
The document discusses the system bus structure of the 8086 microprocessor. It has three parts - the data bus for data exchange, address bus for memory and I/O addressing, and control bus for coordination. It describes the minimum and maximum mode of operation, with minimum using internal 8086 signals and maximum using external bus controller. It also summarizes programmed I/O, interrupt-driven I/O, and DMA transfer for communication with peripheral devices.
This document discusses the 8086 system bus structure. It begins by describing the basic configurations of minimum and maximum mode 8086 systems, including the system bus timing diagrams for read and write operations. It then discusses multiprocessor configurations using the 8086, including coprocessor configurations with the 8087 and closely/loosely coupled multiprocessor configurations. The document provides detailed information on the 8086 pin descriptions and signals in both minimum and maximum mode.
The document discusses interfacing concepts and the Intel 8255 Programmable Peripheral Interface chip. It provides information on:
- Memory mapped I/O and I/O mapped I/O interfacing techniques.
- The 8255 PPI chip which has 3 8-bit I/O ports (Ports A, B, and C) that can be configured as input or output ports. It operates in I/O mode or Bit Set/Reset mode.
- Control word formats for configuring the ports in different modes like Mode 0, 1, and 2 for I/O mode and Bit Set/Reset mode.
- Example programs to initialize the 8255 ports using control words for different
Firmware is a program that provides low-level control for a device's specific hardware. It performs control, monitoring and data manipulation functions. Firmware is stored in non-volatile memory like EPROM or flash memory. Common reasons for updating firmware include fixing bugs or adding new features. Firmware may be the only program that runs on an embedded system and provides all of its functions.
The 8251A is a programmable USART chip that allows for serial communication. It contains a transmitter and receiver section to convert parallel data from the CPU to serial data for transmission and serial to parallel for receiving data. It has control, status and data registers that are accessed by the CPU to program the chip for asynchronous or synchronous communication and monitor transmission status. The chip supports modem control signals and serial communication through pins for transmit, receive and associated control clocks and status lines.
The document provides an overview of embedded systems and their typical components. It discusses the core architecture of microcontrollers, including operating modes, registers and interrupt handling. It also describes common input/output components like ports, serial interfaces including USART, SPI and I2C, and memory types including SRAM, SDRAM, NOR and NAND flash.
The document discusses the 8085 microprocessor. It describes the microprocessor as an integrated circuit containing logic circuits to perform computing functions. It has an arithmetic logic unit (ALU) to perform operations, registers to store data temporarily, and a control unit that provides timing and control signals. The microprocessor resembles a central processing unit (CPU) but includes all logic circuitry on a single chip. It communicates with memory via address and data buses to read instructions and transfer data. It also has pins to interface with input/output devices.
Unit 3- OPTICAL SOURCES AND DETECTORS tamil arasan
This document discusses optical sources and detectors used in fiber optic communications. It describes light emitting diodes (LEDs) and laser diodes as the main optical sources. LEDs use a double heterostructure to provide carrier and optical confinement for high efficiency. They emit incoherent light without an optical cavity. Laser diodes function as coherent sources using a Fabry-Perot cavity formed by cleaved facets to provide optical feedback, producing highly directional and monochromatic output. Factors such as modulation capability and fiber characteristics must be considered when choosing an optical source.
Unit II- TRANSMISSION CHARACTERISTIC OF OPTICAL FIBER tamil arasan
Attenuation - Absorption losses, Scattering losses, Bending Losses, Core and Cladding losses, Signal Distortion in Optical Wave guides-Information Capacity determination -Group Delay-Material Dispersion, Wave guide Dispersion, Signal distortion in SM fibers-Polarization Mode dispersion, Intermodal dispersion, -Design Optimization of SM fibers-RI profile and cut-off wavelength.
The document discusses the Fast Fourier Transform (FFT) algorithm. It explains that FFT reduces the number of computations needed to calculate the Discrete Fourier Transform (DFT) of a sequence by decomposing the DFT into successive DFTs of smaller sizes. Specifically, it breaks down the N point DFT into multiple N/2 point DFTs recursively until it reaches DFTs of size 1. This decomposition reduces the complexity from O(N^2) for DFT to O(NlogN) for FFT.
The program demonstrates linear and circular convolution of sequences using MATLAB. For linear convolution, the conv function is used to convolve two input sequences and plot the results. For circular convolution, the FFT of each sequence is taken, multiplied together and inverse FFT applied to obtain the output, which is also plotted. The program thus allows generation and visualization of linear and circular convolution.
1. The document describes the syllabus for the VLSI Design Laboratory course for the academic year 2017-2018 at Erode Sengunthar Engineering College.
2. The syllabus includes experiments involving HDL-based design and simulation of basic components like counters and adders using FPGA tools. It also includes layout design and simulation of basic CMOS gates using CAD tools.
3. The listed experiments will be carried out in two cycles. Cycle 1 involves the implementation of components like adders, multipliers and counters on FPGA. Cycle 2 involves the design and simulation of CMOS gates using EDA tools and their layout using other CAD tools.
This document discusses sequential circuits and their design. It covers:
1. The difference between combinational and sequential logic and examples like finite state machines and pipelines that require sequential logic.
2. Methods for sequencing tokens through pipelines using flip-flops, latches, and pulsed latches and the associated timing diagrams.
3. Design considerations for sequential circuits like max/min delays, time borrowing, and clock skew.
4. Circuit designs for various latches and flip-flops including transparent latches, CMOS transmission gate latches, dynamic flip-flops, and true single phase clock elements.
The document discusses various techniques for encrypting messages to provide security in communication. It describes:
1. Traditional encryption techniques like the Caesar cipher, monoalphabetic ciphers, the Playfair cipher, and polyalphabetic ciphers like the Vigenere cipher. These techniques encrypt messages by substituting or transposing letters.
2. The importance of keeping encryption algorithms and keys secret to prevent cryptanalysis attacks. Brute force attacks try every possible key to decrypt messages.
3. How more advanced techniques like using multiple cipher alphabets and large keys spaces make cryptanalysis much more difficult compared to simple ciphers like the Caesar cipher.
The document discusses stream ciphers and block ciphers. It explains that stream ciphers encrypt data bit-by-bit or byte-by-byte, requiring a randomly generated keystream, while block ciphers encrypt fixed-length blocks, allowing for broader applications. It then focuses on the Feistel cipher structure for block ciphers, proposed by Feistel to approximate an ideal block cipher for large block sizes. The Feistel structure uses a product cipher approach involving substitutions and permutations to provide diffusion and confusion and resist statistical cryptanalysis.
1. Digital signatures provide authentication of digital documents by using asymmetric cryptography techniques. A digital signature is generated using a private key and can be verified by anyone using the corresponding public key.
2. There are various types of attacks against digital signature schemes like key-only attacks, generic chosen message attacks, and adaptive chosen message attacks. The security goals are to prevent total key breaks or the ability to forge signatures selectively or existentially.
3. A secure digital signature scheme must produce signatures that depend on the message, use secret information to prevent forgery and denial, be efficient to generate and verify, and make forgery computationally infeasible. Timestamps can be included to require message freshness.
Filter- IIR - Digital signal processing(DSP)tamil arasan
1. The document discusses and compares analog and digital filters. Digital filters are described as processing digital data/signals using elements like adders and multipliers, while analog filters use electronic components.
2. It also summarizes different types of common digital filters like Butterworth and Chebyshev filters. Butterworth filters have a monotonic magnitude response while Chebyshev filters exhibit ripple in the passband or stopband.
3. The document outlines different methods to convert analog filters to digital filters, including bilinear transformation which maps the s-plane jΩ axis to the unit circle in the z-plane to avoid aliasing.
1. DSP algorithms are realized using special or general purpose digital hardware where numbers are stored using a finite number of bits. Quantization errors are introduced during truncation or rounding of coefficients and numbers.
2. There are three main types of quantization errors: input quantization error from A/D conversion, product quantization error from multiplier outputs being rounded to a finite number of bits, and coefficient quantization error that deviates the frequency response from the desired response.
3. Fixed point and floating point representations are used to represent numbers in digital computers, with fixed point using a fixed binary point and floating point having a variable binary point to increase dynamic range at the cost of more complex hardware.
Dear SICPA Team,
Please find attached a document outlining my professional background and experience.
I remain at your disposal should you have any questions or require further information.
Best regards,
Fabien Keller
Newly poured concrete opposing hot and windy conditions is considerably susceptible to plastic shrinkage cracking. Crack-free concrete structures are essential in ensuring high level of durability and functionality as cracks allow harmful instances or water to penetrate in the concrete resulting in structural damages, e.g. reinforcement corrosion or pressure application on the crack sides due to water freezing effect. Among other factors influencing plastic shrinkage, an important one is the concrete surface humidity evaporation rate. The evaporation rate is currently calculated in practice by using a quite complex Nomograph, a process rather tedious, time consuming and prone to inaccuracies. In response to such limitations, three analytical models for estimating the evaporation rate are developed and evaluated in this paper on the basis of the ACI 305R-10 Nomograph for “Hot Weather Concreting”. In this direction, several methods and techniques are employed including curve fitting via Genetic Algorithm optimization and Artificial Neural Networks techniques. The models are developed and tested upon datasets from two different countries and compared to the results of a previous similar study. The outcomes of this study indicate that such models can effectively re-develop the Nomograph output and estimate the concrete evaporation rate with high accuracy compared to typical curve-fitting statistical models or models from the literature. Among the proposed methods, the optimization via Genetic Algorithms, individually applied at each estimation process step, provides the best fitting result.
This research presents the optimization techniques for reinforced concrete waffle slab design because the EC2 code cannot provide an efficient and optimum design. Waffle slab is mostly used where there is necessity to avoid column interfering the spaces or for a slab with large span or as an aesthetic purpose. Design optimization has been carried out here with MATLAB, using genetic algorithm. The objective function include the overall cost of reinforcement, concrete and formwork while the variables comprise of the depth of the rib including the topping thickness, rib width, and ribs spacing. The optimization constraints are the minimum and maximum areas of steel, flexural moment capacity, shear capacity and the geometry. The optimized cost and slab dimensions are obtained through genetic algorithm in MATLAB. The optimum steel ratio is 2.2% with minimum slab dimensions. The outcomes indicate that the design of reinforced concrete waffle slabs can be effectively carried out using the optimization process of genetic algorithm.
Design of Variable Depth Single-Span Post.pdfKamel Farid
Hunched Single Span Bridge: -
(HSSBs) have maximum depth at ends and minimum depth at midspan.
Used for long-span river crossings or highway overpasses when:
Aesthetically pleasing shape is required or
Vertical clearance needs to be maximized
Optimization techniques can be divided to two groups: Traditional or numerical methods and methods based on stochastic. The essential problem of the traditional methods, that by searching the ideal variables are found for the point that differential reaches zero, is staying in local optimum points, can not solving the non-linear non-convex problems with lots of constraints and variables, and needs other complex mathematical operations such as derivative. In order to satisfy the aforementioned problems, the scientists become interested on meta-heuristic optimization techniques, those are classified into two essential kinds, which are single and population-based solutions. The method does not require unique knowledge to the problem. By general knowledge the optimal solution can be achieved. The optimization methods based on population can be divided into 4 classes from inspiration point of view and physical based optimization methods is one of them. Physical based optimization algorithm: that the physical rules are used for updating the solutions are:, Lighting Attachment Procedure Optimization (LAPO), Gravitational Search Algorithm (GSA) Water Evaporation Optimization Algorithm, Multi-Verse Optimizer (MVO), Galaxy-based Search Algorithm (GbSA), Small-World Optimization Algorithm (SWOA), Black Hole (BH) algorithm, Ray Optimization (RO) algorithm, Artificial Chemical Reaction Optimization Algorithm (ACROA), Central Force Optimization (CFO) and Charged System Search (CSS) are some of physical methods. In this paper physical and physic-chemical phenomena based optimization methods are discuss and compare with other optimization methods. Some examples of these methods are shown and results compared with other well known methods. The physical phenomena based methods are shown reasonable results.
Welcome to the May 2025 edition of WIPAC Monthly celebrating the 14th anniversary of the WIPAC Group and WIPAC monthly.
In this edition along with the usual news from around the industry we have three great articles for your contemplation
Firstly from Michael Dooley we have a feature article about ammonia ion selective electrodes and their online applications
Secondly we have an article from myself which highlights the increasing amount of wastewater monitoring and asks "what is the overall" strategy or are we installing monitoring for the sake of monitoring
Lastly we have an article on data as a service for resilient utility operations and how it can be used effectively.
This research is oriented towards exploring mode-wise corridor level travel-time estimation using Machine learning techniques such as Artificial Neural Network (ANN) and Support Vector Machine (SVM). Authors have considered buses (equipped with in-vehicle GPS) as the probe vehicles and attempted to calculate the travel-time of other modes such as cars along a stretch of arterial roads. The proposed study considers various influential factors that affect travel time such as road geometry, traffic parameters, location information from the GPS receiver and other spatiotemporal parameters that affect the travel-time. The study used a segment modeling method for segregating the data based on identified bus stop locations. A k-fold cross-validation technique was used for determining the optimum model parameters to be used in the ANN and SVM models. The developed models were tested on a study corridor of 59.48 km stretch in Mumbai, India. The data for this study were collected for a period of five days (Monday-Friday) during the morning peak period (from 8.00 am to 11.00 am). Evaluation scores such as MAPE (mean absolute percentage error), MAD (mean absolute deviation) and RMSE (root mean square error) were used for testing the performance of the models. The MAPE values for ANN and SVM models are 11.65 and 10.78 respectively. The developed model is further statistically validated using the Kolmogorov-Smirnov test. The results obtained from these tests proved that the proposed model is statistically valid.
The main purpose of the current study was to formulate an empirical expression for predicting the axial compression capacity and axial strain of concrete-filled plastic tubular specimens (CFPT) using the artificial neural network (ANN). A total of seventy-two experimental test data of CFPT and unconfined concrete were used for training, testing, and validating the ANN models. The ANN axial strength and strain predictions were compared with the experimental data and predictions from several existing strength models for fiber-reinforced polymer (FRP)-confined concrete. Five statistical indices were used to determine the performance of all models considered in the present study. The statistical evaluation showed that the ANN model was more effective and precise than the other models in predicting the compressive strength, with 2.8% AA error, and strain at peak stress, with 6.58% AA error, of concrete-filled plastic tube tested under axial compression load. Similar lower values were obtained for the NRMSE index.
Introduction to ANN, McCulloch Pitts Neuron, Perceptron and its Learning
Algorithm, Sigmoid Neuron, Activation Functions: Tanh, ReLu Multi- layer Perceptron
Model – Introduction, learning parameters: Weight and Bias, Loss function: Mean
Square Error, Back Propagation Learning Convolutional Neural Network, Building
blocks of CNN, Transfer Learning, R-CNN,Auto encoders, LSTM Networks, Recent
Trends in Deep Learning.
2. 8255-Programmable Peripheral Interface
Implement the parallel data transfer between processor and slow peripheral
devices
ADC,DAC,KEYBOARD,7-SEGMENT DISPLAY,LCD…
8255-Three ports: Port-A, Port-B, Port-C
8255- Three Modes: Mode 0, mode 1, mode 2
Mode 0- Simple I/O port
Mode 1- Handshake I/O port
Mode 2- Bidirectional I/O port
Port A: programmed any one of the three modes
Port B: programmed Work Either mode 0 or mode 1
Port C: Pins (8 Pins) different assignments depends on mode of Port
A and B.
3. If Port- A and B programmed in Mode 0
Port C will be
1. 8 bit parallel port in mode 0 for i/p or o/p
2. Two 4-bit parallel port in mode 0 for i/p or o/p
3. Individual pins can set or reset for various control applications
If Port- A programmed in Mode 1 /mode 2 and Port B
programmed in Mode 1
Port C will be
Some pins used Handshake Signals
Remaining pins i/pp and o/p
6. I/O MODES OF 8255
MODE-1 MODE-2 MODE-3
All the three ports
Programmed either I/P or
O/P
Only ports A and B
Programmed either I/P or
O/P
Only ports A
Programmed either I/P or
O/P
O/Ps Latched O/Ps Latched -
I/Ps Not Latched I/Ps Latched -
Do not have handshake or
interrupt capability
Having handshake or
interrupt capability
Having handshake or
interrupt capability
Port C pins used as
handshake signals
5 Pins of Port C pins
used as handshake signals
Handshake signals exchanged between processor
and peripherals
Ports in mode-0 used to
interface DIP switches,
Hexa keyboard, LEDS ,7
segment to the processor.
Interrupt driven data
transfer scheme is possible
Data transfer between 2
computers or floppy disk
7. Programming (or Initializing) 8255
8255 –Two Control Words
1. I/O mode set Control word (MSW) specify the I/O functions
2. Bit set/reset (BSR) Control word. Set/ reset the individual pins of
port C
13. Serial Data Communication
1.Fastest way to transmitting data Parallel Data Transfer
2. Long Distance Parallel data transfer Too many Wires
3. Parallel serial conversion needed
Three terms:
1. Simplex Transmit data can only on direction.
2. Half dulpex either direction between two system.
3. Full duplex send and receive data at same time.
Serial data can sent 1. Synchronously 2. asynchronously
Synchronous transmission:
Constant rate
Start and end block are identified with specific bytes or bit patterns.
2. Asynchronous Transmission
Data transmit one by one
Each data can identifiy its start and 1 or 2 bits which identify its send.
Baud rate =1/ the time for a bit sent.
14. INTEL 8251A(USART)
INTEL 8251A Universal Synchronous asynchronous receiver
transmitter
INTEL 8250 UART Universal asynchronous receiver
transmitter
Blocks:
1. Read/Write control logic, 2.Transmitter, 3. Receiver, 4.Modem
control
Read/write Control Logic:
Three register:1.contol reg, 2.status reg, 3. bata buffer
16. CS: It is chip select.
low signal processor has selected 8251 in order to communicate with
the peripheral devices.
C/D’: As the system has control, status and data register.
high signal control or status register is addressed.
low signal data register is addressed.
RD’ and WR’: Both read and write are active low signal pins.
CLK and RESET:
CLK stands for clock and it produces the internal timing for the device.
high signal at the RESET pin puts the 8251 in the idle mode.
17. Transmit Buffer
This unit is used to change the parallel data received from the CPU into
serial data by inserting the necessary framing information.
Once the data is transformed into serial form, then in order to transmit it to the
external devices, it is provided to the TxD pin of the 8251.
Buffer register: Basically the data provided by the processor is stored in the
buffer register. As we know that initially, the CPU provides parallel data to
8251. So, the processor loads the parallel data to the buffer register. Further, this
data is fed to the output register.
Output register: The parallel data from the buffer register is fed to the empty
output register. This register changes the 8-bit parallel data into a stream of
serial bits. Then further the serial data is provided at the TxD pin so as to have
its transfer to the peripheral device.
18. If buffer register empty TxRDYhigh
If output register empty TxEXPTYhigh
TxC: It stands for transmitter clock and is an active low pin. It controls the rate of
character transmission by the USART.
Receive Buffer
This unit takes the serial data from the external devices, changes the serial data into
the parallel form so that it can be accepted by the processor.
It consists of 2 registers: 1. receiver input register 2. buffer register.
RxD Normally high….
When RxD line goes Low Control logic Assumes—>Start Bit….
Wait for Half bit time….and Samples Again….
If still low then the receive accept the character and load it into buffer register.
CPU reads the Parallel data from the buffer register.
Then RxRDY signal high…this signal used as interuppt or status to indicate the
readiness of receiver.
19. RxC’ is used to control the rate of received bits.
During asynchronous mode SYNDET/BRKDET
Will indicate the intentional break in the transmission
If RxD low more than 2 character times then asserted as high to indicate the
break in the transmission.
During synchronous mode SYNDET/BRKDET
Will indicate the reception of the synchronous character.
if high in SYNDET.
31. It relieves the processor from the time consuming task like keyboard
scanning and display refreshing.
Features
1. It provides a scanned interface to a 64-contact key matrix, with two more
keys CONTROL and SHIFT.
2. It provides three input modes for keyboard interface;
Scanned Keyboard Mode
Scanned Sensor Matrix Mode
Strobed Input Mode
3. It has built-in hardware to provide key debounce.
4. It allows key depressions in 2 key lockout or N-key rollover mode
5. Features of Intel 8279 provides 8 byte FIFO RAM to store keycodes. This
allows to store 8 key board inputs when CPU is busy in performing his own
computation.
6. It provides multiplexed display interface with blanking and inhibit
options.
7. It provides 16 byte display RAM to store display codes for 16 digits,
allowing to interface 16 digits.
8. In auto increment mode, address of display RAM and FIFO RAM is
incremented automatically which eliminates extra command after each
read/write operation to access successive locations of display RAM and
FIFO
32. 9. Features of Intel 8279 provides two output modes for display
interface.
Left Entry (typewriter type)
Right Entry (calculator type)
10. Simultaneous keyboard and display operation facility allows to
interleave keyboard and display software
Interrupt mode, the processor is requested service only if any
key is pressed, otherwise the CPU will continue with its main task.
In the Polled mode, the CPU periodically reads an internal flag of
8279 to check whether any key is pressed or not with key
pressure.
•Scanned Keyboard Mode In this mode, the
− key matrix can be
interfaced using either encoded or decoded scans. In the encoded scan,
an 8×8 keyboard or in the decoded scan, a 4×8 keyboard can be
interfaced. The code of key pressed with SHIFT and CONTROL status is
stored into the FIFO RAM.
•Scanned Sensor Matrix In this mode, a
− sensor array can be
interfaced with the processor using either encoder or decoder scans. In
the encoder scan, 8×8 sensor matrix or with decoder scan 4×8 sensor
matrix can be interfaced.
•Strobed Input In this mode, when the control line is set to 0, the
−
data on the return lines is stored in the FIFO byte by byte.
36. Features of 8259 PIC microprocessor –
Intel 8259 is designed for Intel 8085 and Intel 8086 microprocessor.
It can be programmed either in level triggered or in edge triggered
interrupt level.
We can masked individual bits of interrupt request register.
We can increase interrupt handling capability upto 64 interrupt level
by cascading further 8259 PIC.
Clock cycle is not required.
44. Data Transfer between Memory to I/O device or I/O device to Memory
through only Microprocessor.
• Data transferred from memory to I/O devices
1. Processor sends address and control signals to read the data from
memory
2. The processor send address and control signals to I/O devices to write
data to I/O devices.
• Similarly I/O devices to memory.
In above method data transferred between memory and I/O devices
Can’t directly. Even they are connected in common bus.
Can’t select simultaneously select two devices.
So that we go for DMA.
I/O device can access directly with memory.
It will transfer a large amount of data.
Some DMA controller will perform memory to memory transfer.
45. • DMA controller has one channel which serves for one devices.
• Actual DMA controller have more than one channel.it will service
independently
• Each channel address register , control register and count register.
• DMA controller work with slave or master mode.
• In slave mode
1. Microprocessor Loads the address reg. with starting address of the
memory
2.Loads the count register with no. of bytes to be transferred and loads
the control register with control information
Performing DMA operation Processor has to initialize or program the I/O
device and DMA controller.
46. Consider bulk of data transfer from floppy to memory.
1. Processor initializes both DMA controller and Floppy controller.
2. DMA controller informed about address, type of DMA, No. of bytes to
be transferred
3. Floppy controller is informed to go for a DMA.
4. When I/O devices needs a DMA transfer it sends a DMA request signal
to the DMA controller.
5. When DMA controller receives a DMA request, it sends a HOLD request
to the processor.
6. At the end of current instruction execution the processer relives all
bus activity , data and control pins to high impedance state.
7. Then the processor send an ACK (HLDA) signal to DMA controller.
8. When controller receives the ACK signal its takes control of the
system bus and begins to work as master.
9. DMA controller DMA ack signal to I/O devices .the DACK signal will
inform the devices to get ready for DMA transfer.
47. READ operation
1. DMA controller output the memory address on address bus.
2. Asserts MEMR’ & IOW’
3. DMA reading Memory Location
4. The memory output the data bus & this data will be written into I/O
port.
Write operation
1.DMA controller output the memory address on the address bus.
2. Asserts MEMW’ & IOR’ signals.
3. DMA write refer to writing data to memory
4. I/O devices output the data on the data bus and this data will be
written into memory.
When the data transfer is complete the DMA controller un-asserts its
HOLD request signal to the processor and the processor take control of
the system bus.
49. DMA Developed 8085/8086/8088
High speed data transfer between memory and I/O device.
4 –channels
So 4 I/O devices
It can not connected in cascade like 8237
Each channel Address reg. & count reg. Store the memory
address and Count Value for no. of byte to be read/write by DMA
respectively
Also mode Set Reg. and Status Reg.
40 pin IC
Each Channel independently programmable to transfer upto 64Kb.
50. Pin Details
1. CLK 5 MHz
2. CS’ Select the 8257 Programming mode.
3. Reset high All internal Register to be Cleared.
4. Ready Low 8257 enter wait State
5. HRQ Hold request output Signal(8257 to Processor HOLD pin)
6. HLDA HOLD ack Signal. Processor Acceptance ACK
7. DREQ3 to DREQ0DMA request input (4 Channel i/Ps)
8. DACK3 to DACK0 DMA ACK O/P signals.
9. D0-D7 Data bus line(used to Data transfer)
10.IoR’ Bidirectional I/O read Control Signal.
11.IoW’ Bidirectional I/O write Control Signal.
12.TC Terminal Count
13.MARK Modulo -128 Mark
14.A3 to A0 4 bidirectional address line
15.A7 to A4 Unidirectional Address line
16.AEN Address enable output signal.
17.ADSTB Address strobe output signal.
18.MEMR’ Memory Read Control
19.MEMW’ memory write control signal.