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: 1102

Views: 411

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: 861
Comments: 0
Ratings: 2
Date added: 2010/06/04 17:32:54
Made with: Phunlet
Rating: rated 5.6
download
Title: Position Sensor A
Rating: 5
Filesize: 130 kB
Downloads: 689
Comments: 4
Ratings: 1
Date added: 2013/12/13 23:14:12
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Laser Triangulation Sensor
Rating: 5.625
Filesize: 12.58 kB
Downloads: 797
Comments: 1
Ratings: 2
Date added: 2012/03/03 15:21:45
Made with: Algodoo v1.8.5
Rating: rated 5.6
download
Title: Smashable Electronics!
Rating: 5
Filesize: 4.62 MB
Downloads: 8129
Comments: 19
Ratings: 1
Date added: 2012/08/19 17:41:10
Made with: Algodoo v2.0.1 Edu
Rating: rated 5
download
Title: Motion sensor turret
Rating: 6
Filesize: 57.51 kB
Downloads: 3088
Comments: 7
Ratings: 4
Date added: 2011/05/21 18:35:25
Made with: Phun
Rating: rated 6
download
Title: Air Speed Sensor Wheel
Rating: 5
Filesize: 35.39 kB
Downloads: 542
Comments: 0
Ratings: 1
Date added: 2011/09/08 21:56:39
Made with: Algodoo v1.9.9b
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) 689 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.