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
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
Image by Pixabay Automation is transforming industries worldwide, and construction is no exception. Companies are…
A closeup shot of a warning lamp in the street at night, image by Freepik…
Impeller flowmeters at times referred to as paddlewheel meters are one of the frequently utilized…
Photo by Héctor Martínez on Unsplash Introduction Yes! If you have old electronic devices that you…
The cosine of the angle between voltage and current in an AC circuit is referred…
Ball transfer units enable smooth, multidirectional movement of loads across flat surfaces. These mechanical components…
View Comments