Browse Search Popular Register Upload Rules User list Login:
Search:
Position Sensor A II

Image:
screenshot of the scene

Author: s_noonan

Group: Technical

Filesize: 135.56 kB

Date added: 2014-04-13

Rating: 5

Downloads: 1015

Views: 315

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:
electronics

Scene tag

Less code (60% reduction), less oscillation, worse accuracy.

This is a little more difficult than feedback where the signal is proportional to the distance. In this case we are targeting for a local maximum. The approach used here also addresses the case where the object moves (although you would need to delete "app.gui.playmode = sim.running" in the sensor target to try it) which is a little tricky because the sensor can't determine which way the object is moving.
Last edited at 2016/07/02 20:37:29 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: The sensor module phunlet
Rating: 5.625
Filesize: 31.82 kB
Downloads: 762
Comments: 0
Ratings: 2
Date added: 2010/06/04 17:32:54
Made with: Phunlet
Rating: rated 5.6
download
Title: Position Sensor B
Rating: 5
Filesize: 54.22 kB
Downloads: 412
Comments: 0
Ratings: 1
Date added: 2013/12/13 23:13:39
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Laser Triangulation Sensor
Rating: 5.625
Filesize: 12.58 kB
Downloads: 699
Comments: 1
Ratings: 2
Date added: 2012/03/03 15:21:45
Made with: Algodoo v1.8.5
Rating: rated 5.6
download
Title: Landing Sensor
Rating: 4.8889
Filesize: 71.16 kB
Downloads: 1069
Comments: 0
Ratings: 3
Date added: 2011/02/09 16:54:19
Made with: Algodoo before v1.8.5
Rating: rated 4.9
download
Title: Smashable Electronics!
Rating: 5
Filesize: 4.62 MB
Downloads: 7851
Comments: 19
Ratings: 1
Date added: 2012/08/19 17:41:10
Made with: Algodoo v2.0.1 Edu
Rating: rated 5
download
Title: Engine mech - Gears
Rating: 5
Filesize: 299.44 kB
Downloads: 980
Comments: 0
Ratings: 1
Date added: 2014/06/06 13:48:09
Made with: Algodoo v2.1.0
Rating: rated 5
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
Position Sensor A s_noonan 5 (1 vote) 621 4 2013/12/13 23:14:12
show grid
Nice "tight" control.:tup: Did you use PID algorithm for the position control?
No, just P. I'm not sure how to do "I" in this case. If I did, then maybe I could reduce the error.
I'm sure that you already know that "I' would reduce the error between the position setpoint and the measured position during steady-state conditions. It integrates the error over a preset time period, and continuously nudges the load being moved until the error is zero. "I" is only needed in applications where extreme position accuracy is required during steady-state conditions (no accel or decel). The bottom line is, if you don't need "I" then you are better off without it.