I had / have a simular type of problem, my speedo is 'jumpy' and way off 'accurate'.
Apparently, it's not uncommon on the 300tdi, you see there is no speedo cable on these.
There is an electrical wire attached to the speed sensor on the rear of the gearbox (by the handbrake drum) and these tend to wear.
It is held in by a simple allen key (hex) bolt, whip it out and inspect it, it may need replacing.
Good luck.
Gary.