generating a negative voltage
You mean negative voltage from positive source or you mean to generate negative voltage from AC source? If you want to generate neg. volt. from positive try to use SMPS to produce from positive.There are many chips and designs for it.Simply google it.
If you want to produce from AC, it is very easy to produce it.There are many instant chips like LM79XX.Just regulate it with bridge diode and apply to 79XX you'll get negative voltage.
Analyzer.