I have taken all of these comments into account and updated the circuit. It is drafted through Kicad and used for etching a PCB. Thanx for all of your input .
Attachments
-
45.6 KB Views: 8
Here is a redraw of your schematic:
View attachment 151716
EDIT: Corrected annotations near K1.
Annotated with comments and questions. I meant to include asking what DR1 and DR2 are driving.
I removed D7 and R6 because they weren't needed.
Voltage regulators U1, U3, and U5 may not regulate. Minimum current for 7805 is 5mA and 10mA for LM317.
View attachment 151714
View attachment 151715
I have taken all of these comments into account and updated the circuit.
1. I am using the lm317 because the output of the JK flip flop are driving the gates to an Hbridge that pulls 50 ma. this is why there are transistors at Q and Qnot.
- You have still not taken my advice that the voltage regulators aren't guaranteed to regulate without the specified minimum load current.
- You're still drawing "spaghetti" schematics (unnecessary wire jogs and wire crossings) after I gave you an example with better component placement and flow.
- You are using connection dots inconsistently.
- Since you refuse to disclose the voltage the CMOS IC's are operating at, you'd be better off using a zener instead of a 7805 (U3).
- I mentioned in my first post that you should use a PNP if you want to drive a coil high side. You continue to disregard that feedback and added two more instances.
- The usage of a voltage regulator to switch a relay is very unusual.
I was referring to U1 and U3.1. I am using the lm317 because the output of the JK flip flop are driving the gates to an Hbridge that pulls 50 ma. this is why there are transistors at Q and Qnot.
Not a credible excuse. There is no placement correlation between a wire in a schematic and a trace on a PCB. All connectivity is in the form of a netlist that lists connections, but doesn't specify routing.2. I am using a program called Kicad it makes connections this way to know where the traces will lay within the pcb. It is a pcb program I am etching my own board. Sorry if it hurts your eyes to see it this way just please have patience I have only been learning on my own for four months.
3. Kicad.
The way you're using the 7805 guarantees that it will never satisfy the minimum 5mA load requirement.4.The lm324 op amp is operating off of a 20 volt battery and the 7805 is merely a reference voltage for terminal 2 and the potetiometer to terminal three is tuned to provide < 5 volt reference so that the lm324 output is low.
The 74hc14 and 4026 are at 6 volts along with the hbridge enable, and vin to the hbridge.
Still makes no sense. When you drive high side with an NPN transistor, the voltage of the driving signal determine the voltage and current the load will receive. If you use conventional wisdom, that isn't the case.5. The lm324 operates on the battery so when it drains past 12 volts I want everything to shut off including the opamp. In turn the relay will be in its normal position with out any voltage to the coil disconnecting the rest of the circuit. Maybe I am misinterpreting you and apologize.
What I said is that switching a voltage regulator as you're doing is very unusual. It takes time for a regulator to settle. It would be more typical to use a transistor to switch the load.6. The trigger is also the charge to the battery the relay I have operates on 12 volts and the trigger is 28 volts it opens the contacts , stopping the monorail at one end of the track then the JK flips and when the charge is turned off the hbridge is reversing polarity and the monorail goes to the other end repeating the process back and forth. There are ferrous proximity switches at each end of the track that trigger timer relays for 30 seconds providing the charge and that is also what the trigger is connected to.
Who said anything about grammar?Again, sorry for my grammar.
I brought up my grammar because I know it is horrible thats all.I was referring to U1 and U3.
Not a credible excuse. There is no placement correlation between a wire in a schematic and a trace on a PCB. All connectivity is in the form of a netlist that lists connections, but doesn't specify routing.
The way you're using the 7805 guarantees that it will never satisfy the minimum 5mA load requirement.
Still makes no sense. When you drive high side with an NPN transistor, the voltage of the driving signal determine the voltage and current the load will receive. If you use conventional wisdom, that isn't the case.
What I said is that switching a voltage regulator as you're doing is very unusual. It takes time for a regulator to settle. It would be more typical to use a transistor to switch the load.
Who said anything about grammar?
Since you brought it up, if you use the numbered list option, your list would be easier to read.
I agree Im going to try all of that out on the breadboard and get rid of lm317 altogether and use a transistor instead of relay.If you are operating the LM317s that power the HC14 and the flip flop at 5 volts, you could use a 7805 instead and save the voltage setting resistors and the trim pot.
Unless you are doing something quite unusual, you don't need to trim the supply voltage for the ICs to exactly 5 volts. The HC series and 4000 series will operate over quite wide voltage ranges (especially the 4000 series, but when you mix the series it is usually easiest if both are operated from the same voltage). Even TTL, which is fairly fussy about supply voltage, will run happily with the normal tolerance of the 7805 output voltage.