Tuesday, 3 June 2014

Consensus algorithms. part II

Consensus - when the individuals agree on the value of a variable of interest, they are said to have reached consensus.

To achieve consensus, there must be a shared variable of interest, called the information state,  as well and consensus algorithms for negotiating to reach consensus on the information state.

Examples of information state -  local representation of the center and shape of a  formation, the rendezvous time, the length of a perimeter to be monitored, the direction of motion for a multivehicle swarm and the probability that a military target has been destroyed.

By necessity, consensus algorithms assume only neighbor to neighbor interaction between vehicles.

Fundamental Consensus algorithms. - 
Basic idea - impose similar dynamics on the information states of each vehicle.
Information state update is modeled using a differential equation or difference equation depending on type of communication.


Monday, 2 June 2014

Consensus algorithm algorithms in cooperative control. Part I

Motivation for cooperative control -
greater efficiency and operational capability than autonomous vehicles on solo missions.
Applications -  space based interferometers, combat, surveillance and reconnaissance systems, hazardous material handling, distributed reconfigurable  sensor networks.

Concepts in cooperative control -
Formation control, rendezvous, attitude alignment, flocking, foraging, task and role assignment, payload transport, air traffic control and cooperative search.

Challenges -
1. develop a system of subsystems rather than single system.
2. The communication bandwidth and connectivity of the team. - unreliable channels, what, when and whom to communicate with.
3. team goals and individual goals should be negotiated.
4. Limited computational resources in each individual vehicle.


Common assumptions done -
1. availability of global team knowledge.
2. ability to plan group actions in a centralized manner.
3. proper communication among the individuals.

Axiom -  Shared information is a necessary condition for cooperation.
Information exchange is the central issue in cooperative control.

Coordination information/ coordination variable - the information that is necessary for cooperation.

The objective is to determine algorithms that can ensure the convergence of the coordination variable to pre-specified values in presence of
1. imperfect sensors.
2. communication dropout.
3.sparse communication topologies.
4.noisy and unreliable communication links.





Saturday, 31 May 2014

Basics in graph theory

The content here is same as the wikipedia entry at this link. I am just writing this as i can't seem to concentrate by just reading.

Complete graph - all possible pairs of vertices are adjacent or the degree of all vertices is |V|-1.
k-regular graph - every node in a graph with n nodes has the same degree k<= n-1.
Line graph - the line graph of G, denoted as L(G),  is the graph where the edges of G correspond to the nodes of L(G), and  two edges in L(G)  are adjacent if they share a node in G.

The adjacency matrix - The adjacency matrix A(X) of a directed graph X is the integer matrix with roes and columns indexed by the vertices of X,  such that the uv-entry if A(X) is equal to the number arcs FROM u TO v.
The spectrum of graph X is the set of eigen values  of A(X) along with their multiplicities.


Cycles are of two types.
1. Closed walk - sequence of vertices starting and ending at the same vertex. Its implied that the vertices are adjacent  to each other.
2. Simple cycle - closed walk with no repetition of vertices or edges allowed, other than the starting vertex.

Tree - is an undirected graph in which any two vertices are connected by a simple path.
Spanning tree - The spanning tree of a connected undirected graph G is a tree that includes all the vertices and some or all of the edges of G.

Vector spaces defined on a graph - vertex space, edge space, cycle space, cut space.

Thursday, 8 May 2014

My Movie playlist

There are some movies that I keep watching over and over. some of them are,
1. Revolver(2005)
2. V for vendetta(2005)
3. MindGame(2004) (Japanese)
4. Pi(1998)
5. Waking Life(2001)
5. My fair Lady(1964)
6. Monty Python and the holy grail(1975)

Have got a new list of movies from my friends. hopefully will update this soon.

Friday, 2 May 2014

Exporting simulink model as a image

in the command window,
>> orient('myModel','portrait'); % can use landscape. based on the model
>> print -dpng -r300 -smyModel filename.png

done.

Debugging the DSO board

Our DSO board arrived. We are using two Atxmegas. One for ADC and USB communication. The other for waveform generation.
Now, for some reason the input at PA1(input to ADC) is giving us problems. The external input is scaled and shifted using opamps and then given to ADC pins. i.e., PORTA. This is so that the pins of the controller are not given voltages outside the absolute voltage specifications (-0.5V to 3.3V).

28 feb -
found out that PA0, 3.3V and ground volt were shorted.
i was "being stupid".
There was no short. Amaldev had to come all the way from his lab to verify that.
One day, he is gonna snap and throw  me in front of a running bus.

Anyways, on burning the final code we had written, the voltages at PA1 and PA2 are getting stuck at 2.1V.
On burning our earlier ADC codes, there is no problem.

Resolved. In a file included by the example project, on which our entire project stands on.

Wednesday, 12 March 2014

IF

I found this poem while reading inspirational comics on zenpencils.
Then searched for this awesome poem by Rudyard Kipling, titled 'If'
Posting it here.

If you can keep your head when all about you   
    Are losing theirs and blaming it on you,   
If you can trust yourself when all men doubt you,
    But make allowance for their doubting too;   
If you can wait and not be tired by waiting,
    Or being lied about, don’t deal in lies,
Or being hated, don’t give way to hating,
    And yet don’t look too good, nor talk too wise:

If you can dream—and not make dreams your master;   
    If you can think—and not make thoughts your aim;   
If you can meet with Triumph and Disaster
    And treat those two impostors just the same;   
If you can bear to hear the truth you’ve spoken
    Twisted by knaves to make a trap for fools,
Or watch the things you gave your life to, broken,
    And stoop and build ’em up with worn-out tools:

If you can make one heap of all your winnings
    And risk it on one turn of pitch-and-toss,
And lose, and start again at your beginnings
    And never breathe a word about your loss;
If you can force your heart and nerve and sinew
    To serve your turn long after they are gone,   
And so hold on when there is nothing in you
    Except the Will which says to them: ‘Hold on!’

If you can talk with crowds and keep your virtue,   
    Or walk with Kings—nor lose the common touch,
If neither foes nor loving friends can hurt you,
    If all men count with you, but none too much;
If you can fill the unforgiving minute
    With sixty seconds’ worth of distance run,   
Yours is the Earth and everything that’s in it,   
    And—which is more—you’ll be a Man, my son!