calculating dead band "number of skipped steps after reversing direction"
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a control system consists of two signals: - “Signal A”: Control signal that is injected to a mechanical system with small steps “4 steps UP and 4 steps down” - “Signal B”: Feedback signal from the mechanical system which should be following the control signal.
System criteria:
- When we inject the control signal “A” the feedback signal “B” shall follow it exactly at ideal conditions, however due to friction sometimes the mechanical system doesn’t feel the control signal revert. - So __after the last step up when the control signal start the down signals, the feedback signal may skip one or more steps before responding rightly. - I want to calculate how many steps that signal B may skip “after reversing direction of signal A” before start following it again. - Please note that the magnitude of signal "B" will be different from signal "A" due to the friction in the real mechanical system.
Example for the two signals: Siganl A: 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.66 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.62 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.58 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54 0.54
Signal B: 0.000271 0.00068 0.002543 0.011575 0.042194 0.118202 0.255521 0.394356 0.448494 0.469881 0.476297 0.478937 0.479745 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.480011 0.495922 0.515354 0.518265 0.519452 0.519914 0.520052 0.520052 0.520052 0.520052 0.520052 0.520052 0.520052 0.520052 0.548046 0.557355 0.559432 0.559984 0.560006 0.560006 0.560006 0.560006 0.560006 0.560006 0.560006 0.560006 0.560006 0.588796 0.596153 0.598706 0.599823 0.600074 0.600074 0.600074 0.600074 0.600074 0.600074 0.600074 0.600074 0.600074 0.610719 0.629346 0.636837 0.639074 0.639853 0.640072 0.640072 0.640072 0.640072 0.640072 0.640072 0.640072 0.640091 0.640072 0.640072 0.640072 0.640072 0.640072 0.640072 0.640072 0.640072 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639779 0.639643 0.638958 0.635701 0.622962 0.608704 0.603281 0.601096 0.600244 0.599962 0.599962 0.599962 0.599962 0.599962 0.599962 0.599962 0.599962 0.599962 0.581746 0.566869 0.562351 0.560727 0.560106 0.559924 0.559924 0.559924 0.559924 0.559924 0.559924
0 comentarios
Respuestas (1)
Azzi Abdelmalek
el 20 de Oct. de 2012
plot your data A and B in the same figure
plot(A,'r')
hold on
plot(B)
then use a data cursor button from your figure editor to find the index coresponding to what you are looking for, some tasks have to be done manualy
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!