So here is some context:
I need some negative voltage in order to use a 5V LCD with a 3v3 MCU (STM32 ) and after a bit of research i found out that charge pumps are a easy way to do this and for the LCD i would need 1-0.5mA at -1V or a bit less , this should be ok/doable with a GPIO pin. BUT i also have some op amp circuitry and filters and it would be nice to be able to get 0V there too but that circuit needs like 13mA according to LTSPICE.
So i tried to make a CMOS buffer in spice and failed hard , multiple op amps in parallel seem to work , so does a CMOS 555.
repo: https://github.com/immortal-sniper1/Progrmable_Active_Loads/tree/master/Small_load_V1/simulationsSo can anyone give me a hint of what i am doing wrong?
I was thinking of using some TO-92 like:
https://eu.mouser.com/ProductDetail/Microchip-Technology-Atmel/VP2106N3-G?qs=NZF3WWV0eEGNFUSyHi4JQQ%3D%3Dhttps://eu.mouser.com/ProductDetail/onsemi-Fairchild/2N7000BU?qs=k2x4EL1%2FKj6oeXMHAfSm5A%3D%3DAs for the current i saw in SPICE the peaks are bout 280mA but the RMS is about 60mA and this makes me wander if op amps in series will realistically work.
NOTE: since the PWM will come from a STM32 i can vary the duty and f but from what i read 50% is best and if f is great it is better as in lower cap values and since i can go as fast as 1MHz why not?
Also i have a 12V boost so if it is the only way i can also borrow from that switching node and get -12V but then ill need some negtive regulation back to -1 -2 V...
Am i missing something?
PS is there any other simple SMPS inverting design that i can DIY with 1-2 GPIO in order to get a 15-20mA negative rail?
The average current is about 50mA. each GPIO pin should be able to generate ~40mA max. so either utilize 2 charge pumps and connect the outputs together, or parallel the GPIO pins.
Or one could just use a hex inverter like 74ACT04 (74HC04) as a buffer by paralleling all the inverters.
Best
Use a 74hc14, use first gate as free-running oscillator, rest of the pins as current buffers.
This will make about 17V, adjust the doubling stages to the required voltage. Each stage adds ~4.3V.
THX
voltage is not that big og a concearn if it is under -0.7V but current is that is why i am useing only 1 stage but yea 74 series chips are a good idea + i can make all 6 be buffers and adjust the PWM f and duty with my STM32