09.12.2012 Views

Development of a novel mechatronic system for mechanical weed ...

Development of a novel mechatronic system for mechanical weed ...

Development of a novel mechatronic system for mechanical weed ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Results and discussion<br />

position <strong>of</strong> the tool is acquired with an incremental encoder the most recent<br />

position <strong>of</strong> the <strong>system</strong> can be calculated as the reminder value after dividing the<br />

value acquired from encoder N with the number <strong>of</strong> pulses corresponding to one<br />

rotation RESsys. To make a decision <strong>of</strong> whether the hoeing tool needs to be<br />

accelerated or decelerated a simple rule was applied: in cases where the latest<br />

position is between 0° and 180°, the <strong>system</strong> needs to be decelerated and<br />

between 180° and 360° it needs to be accelerated as defined in Equation 5.20.<br />

⎧ ⎛ N ⎞ R ⎛ sys N ⎞<br />

⎪rest ⎜ ⎟ <strong>for</strong> ≥ rest ⎜ ⎟ ≥ 0<br />

⎪<br />

⎜ RES ⎟<br />

sys 2 ⎜ RES ⎟<br />

⎝ ⎠ ⎝ sys ⎠<br />

ϕ recent = ⎨<br />

(5.20)<br />

⎪ ⎛ N ⎞ ⎛ N ⎞ RESsys<br />

⎪rest ⎜ − R sys <strong>for</strong> Rsys > rest ><br />

⎜<br />

⎟ ⎜ ⎟<br />

RES ⎟ ⎜<br />

sys RES ⎟<br />

⎩ ⎝ ⎠ ⎝ sys ⎠ 2<br />

where rest is defined as:<br />

x / y = q * y + rest<br />

(5.21)<br />

The required rotation speed value ωnew can be estimated based on the recent<br />

angular position and the remaining time until the hoeing tool arrives to the<br />

position exactly above the next plant centre position, as follows:<br />

ωnew<br />

ϕ − ϕ<br />

T<br />

desired recent<br />

= (5.22)<br />

The required rotational speed need to be trans<strong>for</strong>med into voltage and sent to<br />

the servo drive as an external control signal. If there is only a small difference<br />

between unew and uold it is better to leave the servo <strong>system</strong> in the steady state,<br />

achieved after the previous adjustment, than to change the input voltage and<br />

upset the <strong>system</strong> from the steady state. A size <strong>of</strong> the difference between unew<br />

and uold which will be considered as small can be defined in the VI and it<br />

depends on the size <strong>of</strong> the protected area, number <strong>of</strong> arms, number <strong>of</strong> cuts<br />

between successive plants and angular adjustment <strong>of</strong> the arms.<br />

The flow chart <strong>of</strong> the algorithm <strong>for</strong> the hoeing tool’s rotational speed control is<br />

illustrated in Figure 5.22.<br />

97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!