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
Vision Sensors A vision sensor is basically a TV camera connected to a computer, usually…
Sampling Systems The Purpose of Sampling Systems The objective of a sampling system is to…
The major limitation of a conventional feedback control system is that the correction for disturbances…
Electromagnetic Compatibility (EMC) is one of the key factors of consideration in the design, construction,…
This category of AC drives that is often referred to as “Variable Frequency Inverters” is…
Analog systems are normally based on low voltages and as a result, they are vulnerable…
View Comments