Consider the following figure illustrating a position control system employing a microprocessor-based controller with parallel ports:
The system above has one output port and three input ports (each port has its own address). The output port is partitioned: Six bits are converted in a Digital Analog Converter (DAC) to provide the analog motor-drive signal, the seventh bit specifies motor direction (1= clockwise, 0 = counter clockwise), and the eighth bit turns on an audio alarm if some emergency circumstance is detected. The first input port inputs the set-point data, the second inputs the ADC data from the sensor, and the third inputs various 1-bit logical variables. In this case, the system has three front-panel switches as well as two limit switches. The limit switches are used as a “back-up” to detect it if the load has gone out of its designated range.
Related: Microprocessors in Mechatronic Systems
Contents
The controller inputs the data from port 03 to establish if the start (or stop) button has been pressed. If the start button has been pressed, then the set point is read in from port 01 and the digitized sensor data is read in from the port 02 and based on its control scheme, the controller outputs to port 00 a binary word representing the motor-control voltage. This digital data is converted to an analog voltage with the DAC. This entire sequence is repeated over and over until the stop button is pushed.
Some of the advantages of microprocessor-based control systems design include:
Also Read: Microcontrollers
Recommended: The Ultimate Guide to Electrical Maintenance
The importance of printed circuit board (PCB) technology has escalated throughout the years with the…
One of the key challenges in measuring the electrical current in high voltage, high power…
The Concept behind Wiegand Effect Based Sensors The Wiegand effect technology employs the unique…
An accelerometer is a sensor that is designed to measure acceleration or rate of change…
The USB-6009 is a small external data acquisition and control device manufactured by National Instruments…
X-Y tables are utilized as components in many systems where reprogrammable position control is desired.…
View Comments