Functional and temporal formal modelling of embedded controllers for intelligent mechatronic systems. (2nd April 2009)