For the MCU overall supply; you need to provide a fixed voltage regulator like the 7805 but, it will need to have a series resistor value to the input of the regulator, to drop the un-regulated DC supply, that might be at 50 volts ?... set the regulator input voltage around 7 to 10 volts, taken from the positive point at C1/11 rail, and regulator ov centre pin to ground, negative of power supply.
Decoupling electrolytic cap's would be needed on the input and output of the 7805 regulator, to keep any noise off the 5 volt supply; values around 100Mfd should do the job.
I presume your ADC input is from an I/O MCU pin, that you have already designed; with a resistor T-network to protect the input, and setting the DC reference for the desired voltage read-out consistent with your load to voltage.
Thanks for your explanation.
To avoid confusion, let me make notation clearer first. Lets call
(+): The rail coming from the rectifier
(-): The rail connected to CT of transformer.
positive pin: Red output pin from Power supply
negative pin: Black output pin from Power supply
GND: Green output pin from power supply
Vdd: 5V output rail from 7805
Based on your advice, I draw 7805 and connect the supply to the voltage divider from (+) rail, and reference to the (-) rail (= CT of the transformer) as shown in the figure attached (See yellow highlighted parts) such that 7805 will output 5V (denote Vdd) relative to the (-) rail. My next concern is that how to measure the voltage difference between two power supply's output pins (which are floating from the ground) since my ADC will use (-) rail as a reference (which is different from one of output pin's voltage) and "Vdd" as a supply.
Can I use an Instrument Amplifier to measure the differential voltage between two floating outputs here as shown in the figure? So I connected Vdd and (-) rail to the supply line for Instrument Amplifier, ADC and MCU. And instrument amplifier is measuring the differential output voltage (set gain of the amp = 1).
Does this method look ok? Or is there other conventional way to measure the floating differential voltage in commercial power supplies?
Use one ADC input to measure Positive with respect to ground and one ADC input to measure Negative with respect to ground and subtract.
I think I found Instrument Amp to measure differential voltage as explained above. Thanks