I would like to design a Constant Current Source of 25mA, With Input varying from 2V to 50V. Please provide just an idea how to get about this.
LM317HV, 50 ohm resistor, couple of caps, done.
The LM317 (or LMx17) in current source mode works as a current source since the LM317 makes the voltage at its
Adj terminal 1.25 V less than the voltage at its
Out terminal. So
1.25V = 50 ohms / 0.025 Amps. You need the HV part due to your 50V input range. The capacitors tend to keep the regulator happier - values can vary.
Per the TI datasheet suggested applications for current source mode, C1 could be 0.1uf and C2 could be omitted.
Per the moved goalposts, replace the 55v source with a 55V source consisting of a (probably multi-stage) boost converter to make 55V from 2-50V. Details of implementing that left to whoever wants to see where the goalposts move next. Presumably some sort of initial sense of the applied voltage will be required to determine where to connect the input to the stages of the booster, based on looking at input ranges for a few parts that might nearly do the job, but which have issues with the full range.