Anna Berblinger was Albrecht's mother, not his wife as in the movie.
Albrecht Berblinger invented his artificial leg in 1808, while the capitulation of Ulm for Napoleon happened on the 20th October 1805. In the movie he built the leg before the capitulation.