like I said when the output of the comparator is 5V (high) which it is, C8 is supposed to be charging as it is a rc circuit (10s)U9 and U11 have switched on simultaneously and SPICE has blown up.
But seriously, what is meant to happen, and where do you hope to observe this charging waveform?
Try skipping the initial operating point calculation which LTspice normally does before a transient response starts (below):
View attachment 322478
it did work for testing the U9 rc section which I had the same problem with but worked now but still getting the above for U11 im hoping to get a similargraph but charging instead discharging for C8View attachment 322481
result changed but still not giving me a capacitor charging graph
Try a 1s sim time instead of 12s.result changed but still not giving me a capacitor charging graph
Hard to say since I don't understand what that convoluted circuit is supposed to do.i got this when i changed to 1ms but its supposed to be charging so is it the circuits fault or have i missing anything
You'll get more help and better answers if you use standard component symbols to "indicate function" rather than "boxes", in your schematics. If you do, your schematics will be easier to understand.View attachment 322495
for some context, I have been trying to simulate this part of the circuit but for some reason not getting the results needed. Just a quick explanation of this section, when comparator U5 outputs low U11 (Pmosfet) discharges C8 quickly, which I simulated and works fine. However, the part that is not simulating correctly is when the output of comparator U5 is high, U11 (pmosfet) will charge C8 which will take 10s. As for U9 (Nmosfet), it charges C8 quickly when the circuit is powered up, meaning all capacitors are usually discharged before power up. I am posting this because all the results I get are the opposite of what I expect which makes me extremely confused as I am confident the circuit is right, so any help is extremely appreciated
And, there are certain things, up with which we will not put.Since you have made no effort to improve your schematic I will expand on that.
Clean and properly drawn schematics are the language of electronics.
Your schematic is like a bad translation of one foreign language into another.
You don't see to want to make the extra effort to correct the schematic, but want us to make an extra effort to understand it.
Yes I am new to this and I'm just trying to find out how to change to standard symbols. So thank youThe real answer is that you are new to this, don't exactly know what you are doing, lack the skills to figure out what is wrong, and can't get anyone to help because you are taking shortcuts in your symbol creation and schematic entry. A bit harsh -- perhaps, but you might want to take the advice you have gotten so far and just fix things up or go for a simpler example. At least that may be a pathway to better understanding of what is going on.
You'll get more help and better answers if you use standard component symbols to "indicate function" rather than "boxes", in your schematics. If you do, your schematics will be easier to understand.
You also have to post your custom symbols files and model files like you did in post #10.