I am after some help designing a device that will cut DC power in very short regular intervals. I would say that a a momentary power interruption every 30 to 60 seconds would be sufficient. The power only needs to be interrupted for a fraction of a second.

I need the device for a digital slot car track. I have carried out a modification allowing analog cars to operate on the digital track however the autonomous function doesn't work in analog mode. The digital chips in each car use the momentary power interruptions caused by the cars going over a lane change section as an indication that the Car is still moving and not stuck. The modification I have carried out to allow analog cars to operate on the digital track involves powering the rails of the slot car track with two digital chips out if cars. Problem is that the power supply is constant so in Autonomous mode the chips "shut down" after about two minutes of running. Hope this makes sense. Any help would be appreciated.

I'm not a big fan of using a 555 for long (tens of seconds) period timing, so I'd go with an oscillator/divider driving an output pulse driver.

IF the system runs on +18 V or less
THEN the circuit is one CD4060 and one P-channel power MOSFET (plus timing and protection components).

ak

Click to expand...

The off time required could be understood by considering the length of time a slot car experiences power interruptions in normal operation when passing over a lane change section. Considering the cars speed is variable I don't believe the off time duration is critical. The shorter the duration the less chance it will be noticed by the the person controlling the analog car so perhaps go with 1/10 of a second for now.

Voltage is 14vdc

Peak current I have never actually measured. I would estimate each car could be capable of drawing between 1 and 2 amps so two cars could be 2 to 4 amps. The power supply to the circuit I want momentarily interrupt is protected by a 5 amp fuse and has never blown. Can check accurately if required.

Maybe you didn't understand my comment. Many of the analog ways to create an asymmetric PWM (e.g., 99.9% on time) don't work well at greater than 99% on time. Ninety eight to 99% on time works better/easier. So, if you allow 0.1 seconds off time, 99% allows a 10-second on time. I doubt the cars can tell the difference between 99% on time and 99.7% on time.

Now, if you do it digitally and have an 8-bit byte resolution, then 99.6% becomes somewhat feasible; however, Microchip's PIC devices easily allow 1024 (10-bit) resolution (99.9%) on time.

Please answer this: Does the car's program preclude a more frequent resetting than every 30 seconds or so?

Maybe you didn't understand my comment. Many of the analog ways to create an asymmetric PWM (e.g., 99.9% on time) don't work well at greater than 99% on time. Ninety eight to 99% on time works better/easier. So, if you allow 0.1 seconds off time, 99% allows a 10-second on time. I doubt the cars can tell the difference between 99% on time and 99.7% on time.

Now, if you do it digitally and have an 8-bit byte resolution, then 99.6% becomes somewhat feasible; however, Microchip's PIC devices easily allow 1024 (10-bit) resolution (99.9%) on time.

Please answer this: Does the car's program preclude a more frequent resetting than every 30 seconds or so?

John

Click to expand...

I have measured more accurately how long the digital chips will function for in Autonomous mode before they "shut down" and the time is 45 seconds. In reality when in Autonomous mode each car is likely to pass over a lane change second at least every 10 seconds. If I am trying to design a circuit to mimic this behaviour these are the kind of frequencies to target. I have attached a picture to give you an idea of my modification. The circuit boards you see normally are located in a digital car. The input rail voltage is constant and carries digital data to each car. The output is directly to the cars motor. My analog modification has the rail supply (and digital data) provided directly to each chip and the output from each chip powers the rails.

First pass. R3 adjusts the off time from approx. 0.1 s to 0.5 s. R1-C1 set the oscillator frequency such that the Q14 output has a period of approx. 30 s. After power-on the output will pulse off in around 15 seconds, then every 30 seconds after that. Decrease R1 for a shorter interval. Q1 can be any P-channel power MOSFET that is rated for at least 8 A at 25 V. Since it is on most of the time it might need a heatsink, depending on its Rdson.

First pass. R3 adjusts the off time from approx. 0.1 s to 0.5 s. R1-C1 set the oscillator frequency such that the Q14 output has a period of approx. 30 s. After power-on the output will pulse off in around 15 seconds, then every 30 seconds after that. Decrease R1 for a shorter interval. Q1 can be any P-channel power MOSFET that is rated for at least 8 A at 25 V. Since it is on most of the time it might need a heatsink, depending on its Rdson.

R3 is a variable resistor, either a full size potentiometer or a trimpot. Its value is supposed to give an off-time adjustment range of approx. 0.1 s to 0.5 s.
D on the MOSFET is the drain pin. It is the switched output that is turned off periodically. The MOSFET source (S) is connected to the 14 V system power supply. (My library does not have a 14 V symbol.)
C3 is a decoupling capacitor. The circuit will not work reliably without it. It should be placed as close as possible to the CD4060 power and ground pins, Vdd and Vss.

Note - it is common practice in digital logic schematics that the chip power and ground connections are *not* shown. This prevents a lot of clutter in the drawing. Refer to the CD4060 datasheet for these connections.

If you want the delay period between off-times to be adjustable, replace R1 with a 10 K fixed resistor and 50 K pot in series.

I question your choice of a mosfet with Rds of 0.28 ohms. You will lose most of a volt at 4 amps with a 14 volt Vgs and the transistor will be, "on" for ~99% of the time (about 3 watts in the mosfet).
As a nit-pick, your drawing shows the gate drawn backwards.

For this small circuit or any other
Reasonably small circuit built on a PCB, what would the process be to have a PCB developed to suit the design? The little research I have done leads me to thinking that the PCB isn't that expensive to have printed but to have the drawing file developed to give the printer can cost a bit.

The gate is driven by Q14 all the time. It is not a tri-state output, so there is no need for a pull up or pull down resistor. The 100 ohm resistor in series with the gate usually is there in high frequency switching circuits like power supplies to prevent resonant ringing caused by circuit inductance and the MOSFET gate capacitance. The 4060 does not have a particularly fast output transition, especially when driving a capacitance, so I don't think the gate series resistor does anything. I think the schematic in post #17 captures everything in posts #1 and #4 (and #15).