heathtech
New Member
I am designing a simple dc motor control circuit using a single 4013 cmos edge triggered d-style flip flop with the q-bar output fed back to the data input. The set and reset inputs are at ground potential. The clock pulse input is being used to toggle the outputs of the flip flop. Each high input changes the flip-flop output state. This is driving an H-bridge which in turn is driving a dc gearmotor. My problem is that intermittently, the optic sensor I am using is passing the "hole" on my encoder without changing the polarity to my motor. This is quite infrequent but is causing problems. I am not an experienced engineer, rather, a repair technician. I am just trying to prototype a more complex instrument and this is just part of the overall design. Does anyone have experience with this?