Adcanced Control: OT, A line follower

Join Date
Apr 2002
Location
No income tax, no capital gains tax. Freedom!
Posts
8,391
Thomas_v2 said:
Why can't you do motion control with a standard plc?
It's not fast enough.

Can you do motion control with a fast plc? Yes, but this would make this article obsolete.

Another example:
http://elm-chan.org/works/ltc/report.html
Can you program a small line follower robot with a standard plc? No, it's not fast enough. But a 8 Bit Microcontroller can do this.
First, I want to point out that the line follower does not need to generate the target position, velocity and acceleration. This is all predefined by the line on the table.
The target generator in a motion controller requires about hundreds or thousands times more code than a simple PID. The target generator is the most difficult part of a motion controller by far.


Just following a line using a PID should be simple but....
Read the section about tracking. The integrator was not used.

Why?
It is obvious to me that they are doing it wrong. Most people that do line followers are doing it wrong.



The people on this forum have talked many times about the sample time being the same as the loop update time of the PLC.
This is a common error with Rockwell PLC. I think it is unforgivable that this should happen BUT..
executing a PID as a function time is NOT the only option.
PIDs can be executed as a function of other things. In the case of a line follower it should be distance along the line, NOT TIME!


I will let you all think about this.
 

Similar Topics

Hi, Is Control Expert V15.0 supposed to support multiple monitors? I'm running Control Expert V15.0 on my host Windows 11 PC, connected to two...
Replies
1
Views
53
Hello everybody, I'm currently working on a project where I need to implement an IoT platform based on Microsoft Azure Cloud. Communication is...
Replies
2
Views
62
I’m attempt to establish a communication between two simulator M580 CPUs, using a READ_VAR, I have two vitalization Windows 10 in VMWare and each...
Replies
4
Views
87
Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
134
does anyone have an install or know if/where i can download it for the following "ABB PS501 Control Builder Plus V2.3 " the software was a free...
Replies
2
Views
111
Back
Top Bottom