Hey guys, sorry. I was busy and could not find the time to reply. Anyways, here is the circuit now. I was messing around with the circuit and with some advice from a professor at my university, I have come up with this and it works. It outputs roughly -5V at anything from 700 ohms to infinity load resistance.
My next new problem is I am not too sure how the feedback portion of the circuit works. So what I am looking for is an explanation. I know how a buck boost converter works without any feedback. The on and off switching and how it affects the inductor and capacitor. I am fairly comfortable with that. I know what a comparator does. I know what a nor gate does. But when everything comes together, I start getting confused.
Also, if anyone has any reference books I could buy or websites or any information I could look at or research, I would highly appreciate it. Anything to gain knowledge.
Few more things:
1) In my circuit, I have an inverter and an or gate because LTspice does not have a nor gate in its database. Just putting it out there.
2) Apparently that reference zener diode and the 1k feedback resistor are not needed. Again, I am not too sure why. That positive terminal is meant to have 5 V reference going through so it makes sense not to include the zener diode and the 1k feedback resistor.
3) Are there any ways to optimize this circuit? I am sure there are, but keeping things simple, such as changing the value of the inductor to another value or changing the diode I am using, etc.
Hopefully, I reach out to a few of you. I am here to learn.
Regards
PY