Limiting factors are mostly leakage in large timing capacitors and high value resistors tend to "wander off" - I'd go for a 555 running at a more practical frequency and get longer periods by squirting the pulses through a CMOS ripple counter.....but not a uC! I am dead-in-the-water with respect to uC's.
The entire project will be a Sequential Float Charger circuit using a single Float charger. I am looking to control the rotation of a half dozen Lead-Acid Batteries. My plan is to use a timer that will produce a charge time of 10, 20, or 40 minutes before switching to the next battery. My current dilemma is getting a somewhat stable time period out of the 555 timer. The circuit below is the general idea.
View attachment 168236
Not only am I looking for the ON times of 10min, 20minm 40min, but I am looking for the 1sec OFF time to advance the CD4017 to connect the next battery. The times for the 555 are not needing to be super accurate, within a minute or two. So far, though, The times have been inconsistent when using three 220uF Low ESR Caps in parallel. I looked at a 330uF Ceramic cap and almost ____ my pants, $22.
For the 10min Timer, I'd like to stay +/- 30sec, for the 20Min timer maybe +/- 1min, and for the 40min timer, +/- 2min. It really stinks to sit waiting 20/40min to see how close I am. And YES a uC would be great, but I want the project done long before I learn the language well enough to make this happen.
I have a few ICM7242IPA PDIP-8 Timers that would enable me to easily get accurate timing, but the chip does not seem to be able to alter the duty cycle so that I can increment the CD4017. DATASHEET
Help & Suggestions needed!
Thanks ALL!
As several people have suggestedLimiting factors are mostly leakage in large timing capacitors and high value resistors tend to "wander off" - I'd go for a 555 running at a more practical frequency and get longer periods by squirting the pulses through a CMOS ripple counter.
Thanks Dana. I do realize that a UP was made for this project, and I may jump into that game shortly, but for now I will stick to the parts I have in hand. I may solicit your help on UP apparatus when I am ready though!
Hello,
You could do something like this.
See attached.
The CD4060 produces periods of 10, 20, 40 minutes. A CD4017B is used to select the time period via a momentary pushbutton. U2C, R4, C5 form a trailing edge detector to detect the end of the time period and it clocks a second CD4017B to select and activate each mosfet. When a new time is selected the timer is reset so it starts at the beginning of the time period. The circuit is designed for 12 volts (I missed the 5v supply) but a few RC values can easily be adjusted for 5v supply. The circuit requires five chips. I haven't breadboarded it but it works in simulation.
BTW
I didn't see your comment about a selector switch but the pushbutton circuit could be changed for a selector switch. Also, you show an LED hanging off of each mosfet gate. I don't know the type of LED but the CD4017B can only drive about 4ma reliably (MAX spec is 6ma). Might need to move each of those to the drain of each mosfet or drive them differently.
eT
View attachment 168245
Yes...The 4060 RC timing circuit requires a non-polar cap.eetech00,
Been admiring your take on the "Sequential Battery Float Charger." I appreciate you taking the time to come up with a solution. Surprisingly, I have all the chips(I believe): (2) CD4017, (1)CD4060, (1)Hex Inverter, and (1)AND Gate.
I like the solution for selecting the three different time periods, albeit requiring 2-3 additional chips.
The two 6.8uF Caps used for the initial timing (connected back-to-back), is this read as a 3.4uF/non-polarized cap?
You can tap off the 4017 but there's only about 4ma available from each output. You can add driver transistors if necessary, or use low power LEDs instead.My source voltage for the circuit will be two CR123 rechargeable batteries in series(6.0V) as I would expect them to last a fair amount of time(4 months continuous operation). I may be all wet with that guess, and if so I would resort to a spare cell phone charger@ 5V.
I had been pondering the Indicator LED's attached to the MOSFETs. Placing them on the drain will work just as well.
I would also have to add Indicator LED's for the three time periods. I should be able to tap off of the 4017 Selector IC, Q0, Q1, Q2, yes.
umm....I think you meant dendakBuilding this iteration of the circuit is not set in stone, though, as I am in talks with eetech00 with respect to creating a uP for the job. Been wanting to get involved in this for some time. We'll see how our arrangement turns out.
Thanks crutschow & danadak!I see several problems:
Each LED need a resistor in series.
The clock has nothing to pull the signal to ground (it won't go there by itself). Add a 10kΩ resistor from the clock input to ground.
Never-ever let a CMOS input float.
If PB is a mechanical switch the contacts will bounce when energized, generating multiple clock pulses with each closing. You need to add a debounce circuit (Google it).
D1 serves no purpose and allows the Reset input to float to an undefined logic state. Remove it and connect output 3 directly to RESET.
Being momentary is not important for survival of the LEDs or the IC, but even momentary excessive loading of the CMOS outputs could affect the operation of the IC.The LED's do need resistors, but given the 5V supply and testing, I omitted them as they would be momentary.
None of those circuits are TTL (bipolar), they are CMOS.I have read that all inverters are not created equal for TTL circuits.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
R | Static timing analysis in sequential circuit - with clock skew | Homework Help | 3 | |
T | Sequential switch | Analog & Mixed-Signal Design | 21 | |
Homework on sequential circuits | Homework Help | 2 | ||
Sequential Manual Switches with Logic Gates | Digital Design | 9 | ||
Help with sequential LED delay - ATTINY | Microcontrollers | 7 |