Social Security, Social Security Disability Income (SSDI), and Supplemental Security Income (SSI) are distinct benefits with different purposes. Compensation from your personal injury lawsuit may affect SSI, but should not affect the others.
Social Security
Social Security payments are distributed to individuals who, over the course of their working careers, have paid into the federal Social Security system through FICA taxes. Since you have essentially already earned your Social Security payments after years of working and paying into the system, your settlement will not affect your Social Security.