how to assure a flip flop is in the correct position on power up?

Thread Starter

shortbus

Joined Sep 30, 2009
10,049
Yes if the the input is not sensitive to the signal rise-time.
For example, some clock inputs require a minimum rise-time for proper operation.
It will be for a clock pulse on a CD4013 to actually start a cascading on the circuit I'm making. This is a remake of a circuit from a few years ago that had so many problems it needed to be redesigned.
 

WBahn

Joined Mar 31, 2012
33,396
It will be for a clock pulse on a CD4013 to actually start a cascading on the circuit I'm making. This is a remake of a circuit from a few years ago that had so many problems it needed to be redesigned.
Look at the CD4013 data sheet for the information you need.

1683041936724.png
1683041976957.png

The clock pulse width can't be any shorter than a certain amount (depends on the supply voltage) and the rise and fall time of the clock signal has to be quicker than a certain amount (again, depends on supply voltage). The same is true for the set and reset inputs regarding a minimum pulse width.
 

crutschow

Joined Mar 14, 2008
38,960
It will be for a clock pulse on a CD4013
So the pulse rise/fall time must be no more than 5-15μs depending upon the supply voltage.

Below is a way to do that, while suppressing switch bouncer, with a Schmitt-trigger circuit.

Edit: Circuit revised to add a couple missing resistors.
1683063954903.png
 
Last edited:

AnalogKid

Joined Aug 1, 2013
12,303
You also can create a Schmitt Trigger function with normal gates. For example, if the two inverters in #24 are standard types such as a 4069, or a non-inverting gate such as an AND or OR gate, add a positive feedback resistor from the output to the R-C input. The feedback R should be 3x to 10x the input resistor (R1).

ak
 

Thread Starter

shortbus

Joined Sep 30, 2009
10,049
So the pulse rise/fall time must be no more than 5-15μs depending upon the supply voltage.

Below is a way to do that, while suppressing switch bouncer, with a Schmitt-trigger circuit.

View attachment 293328
Thank you for the schematic! In my old design I had bought a Schmitt-trigger buffer and was going to add it after the RC circuit, would just a buffer gate work instead of the 2 inverters? I do know the 2 inverters keep the signal the same on both input and output.
 

AnalogKid

Joined Aug 1, 2013
12,303
In my experience, R3 in #27 is not necessary. I would delete it, and reduce R4 to 470 K.

Gee, if only there were someone with modelling skills vastly greater than mine . . .

ak
 

Thread Starter

shortbus

Joined Sep 30, 2009
10,049
@crutschow I found my old schematics, and I did it like you said, two Schmitt trigger inverters back to back. This has been on the back burner longer than I thought, 2018.
 
Top