Controller Design: Learn How to Build Controllers

  • Thread starter Thread starter chronie
  • Start date Start date
  • Tags Tags
    Controller
Click For Summary

Discussion Overview

The discussion revolves around the practical aspects of building controllers for control systems, particularly in the context of interfacing sensors and actuators with computers. Participants explore various software options and hardware solutions for implementing control strategies, including the use of MATLAB, Allan Bradley controllers, and other programming environments.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses interest in how to build controllers after completing a control systems class, specifically asking about software options beyond MATLAB.
  • Another participant mentions Allan Bradley software, highlighting its capabilities for reading sensors and controlling various devices, including PID tuning.
  • A question is raised about whether a computer program is necessary to control a heater with a temperature sensor connected to a PC, or if an Allan Bradley controller would be required if not directly connected.
  • It is noted that MATLAB can also be used for reading sensors and controlling actuators, but there are concerns about its performance due to its Java backend.
  • Further elaboration on Allan Bradley controllers includes features such as auto-tuning, various sensor inputs, and manual output control, emphasizing their self-contained nature.
  • Another participant suggests that a computer program could suffice for thermostat control if properly connected, and mentions LabView and embedded solutions as alternatives, including the possibility of using an analog circuit with a comparator.
  • Hysteresis is mentioned as a consideration for preventing rapid on/off cycling of the heater control.

Areas of Agreement / Disagreement

Participants present multiple viewpoints regarding the software and hardware options for building controllers, with no consensus reached on the best approach. The discussion remains open-ended with various suggestions and considerations presented.

Contextual Notes

Participants discuss the limitations of different software and hardware solutions, including performance concerns with MATLAB and the need for proper connections between sensors and controllers. The discussion does not resolve the complexities involved in selecting the appropriate tools for specific applications.

chronie
Messages
23
Reaction score
0
Hello all,

I am a Mechanical Engineering junior and I just finished with my first control systems class. I have found the class to be really interesting but it was all theory. I forgot to ask the professor before I left for summer, how do you actually build controllers?

I understand how to use Matlab's control features and everything but is there another program which will help you actually read-in the sensors and program a controller?
 
Engineering news on Phys.org
Allan Bradly offers the software for their controllers. You can read sensors, open and close valves, start and stop pumps, energize and cut-out heaters, and so on. You can do PIDs and just tune the constants with the software.
 
Oh okay so they are pretty much already assembled computers.

Let's say I have a temperature sensor connected to my computer and i want to control the temperature in the room with a heater, also connected to my pc.

Would I have to write a computer program and hook up my heater or would I have to buy an Allan Bradly if everything was not connected to my computer?
 
It's possible to read sensors and control actuators with MATLAB as well. The only knock on it is the fact that it's in Java and has a large back end (i.e. may not be suitable for high-performance applications, depending on what said application is).
 
chronie said:
Oh okay so they are pretty much already assembled computers.

Let's say I have a temperature sensor connected to my computer and i want to control the temperature in the room with a heater, also connected to my pc.

Would I have to write a computer program and hook up my heater or would I have to buy an Allan Bradly if everything was not connected to my computer?

To do control with your computer, you'll need a way to interface to the input sensor and the heater elements. With an Allan-Bradly controller, the interfaces are self contained and you "set up"/program the controllers parameters to fit your application.

Here's some Allan-Bradly temperature controllers:

900-TC_TemperatureControllerFamily_front1--lgprod.jpg


Features

Single-loop, high value, ON/OFF, or analog output controllers
1/8 DIN, 1/16 DIN and 1/32 DIN sizes
Various sensor inputs
Auto-tuning and self-tuning available to simplify startup
Heating, cooling, or heating/cooling control available
Manual output control (TC8 and TC16)
High visibility 4-digit, 11-segment status displays
Integral keypad with tactile feedback for setup and modification of parameters
Security modes/levels
Event input (TC8 and TC16) for multiple SP selection, controller RUN/STOP and
auto/manual mode change
http://ab.rockwellautomation.com/Sensors-Switches/Temperature-Sensors/Temperature-Controller#/tab2"
 
Last edited by a moderator:
Yes, a computer program would do for a thermostat if they were connected properly to the computer. LabView may be worth mentioning as a program. An embedded solution, perhaps with a microcontroller, is also a possibility. You could even do it as an analog circuit with a comparator.

You may want to have hysteresis so that the heater control does not flicker on and off.Of course there is more to controls than just thermostats.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
2
Views
1K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K