Overview of typicals RAID/wear leveling algorithms used in SSD controllers
I'd suggest that you start with the OpenSSD project.  It is GPL-licensed SSD firmware that can be used as a point of departure in your research. More info on the goals of the project here.


  The OpenSSD Project is an initiative to promote research and education
  on the recent SSD (Solid State Drive) technology by providing easy
  access to OpenSSD platforms on which open source SSD firmware can be
  developed. Currently, we offer an OpenSSD platform based on the
  commercially successful BarefootTM controller from Indilinx Co., Ltd.
  This site is also intended to be a forum to share various simulators,
  tools, and workload generators and traces related to SSDs, among
  researchers in academia and industry.