Based on the lack of given info I will give you a long general list of suggetions and try whatever applies:
1- A certain component on your motherboard/ or attached to your motherboard is overheating if its not your CPU then it can be your northbridge chipset which in some motherboards these days which dont have Active northbridge cooling do overheat their chipset and as a protection mechanism you bios will intervean and shutdown the pc once max tempareture is reached.
2-even though you said you have never changed any settings which also indicateds that you didnt not change you BIOS power settings, but sometimed you see some bios resetting to default settings due to an error or some kind of failure check your BIOS settings and make sure nothing indicated what I am assuming.
3-check wiring connections for fans also check voltage settings for cpu and northbridge, also be sure nothing apparent is casusing a short circuit on the long run , like loose exposed wires if u need to u can check motherboard mounting points to the case sometimes it can be the cause.
4-check try using a different PSU maybe your doubt is right and its defective, dont forget to check external power connectors for any loose wiring or plugs.
5- If hardwrae and connections seem to be ok then see if windows could be the problem the best way to check without reinstalling windows again is to get your hands on a live linux cd I hope you are familiar with linux. put it in your computer boot from it and let it load and login to it and go to sleep and keep it running(make sure you have the power settings in linux set to always on) if you wake up to find that your pc is still running then we have isolated the problem to windows all you have to do is reinstall it.( A link to a popular
Live Cd )
note: If you are unfamiliar with linux, or cant get your hands on a live linux cd then you can try a simple but not a good simulation of your pc running an OS you can boot into BIOS and go to sleep from there and If you wake up and the pc till running then we know your hardware isnt the problem.
Final note: If all the above approaches yielded negative results then maybe you should try not sleeping perhaps you are sleep walking in your room and going to the pc and shutting it down yoursel,a video camera mounted next to you pc can assist with the recognition of the problem f.
or
maybe the pc gets gealeous from you sleeping all the time and decides to do the same.
