The Strangest Problem :)
idbruce
Posts: 6,197
As many of you know, I am currently working on building a 3D printer, and I have come across the strangest problem. Before I tell you what the problem is, please allow me to set the scene.
I normally do most of my work in the basement, but during the winter months, the basement gets unbearably cold, so I have moved the project upstairs to a much warmer and dry environment. In fact, my current work area is so dry that electrostatic discharge is common. Anyhow I have a table and a cabinet top where I am performing most of my work and testing. The cabinet top is the test area, and on this top I have placed and wired my controller board, (2) stepper drivers, a user interface board, an LCD display, (2) linear actuators, and a power switcher board. The inside of the cabinet is where my power supply currently resides. All devices are wired up and ready for power. So that is the scene.
Now for the problem. As mentioned, electrostatic discharge is common and I know that I really should be wearing protection, but some strange stuff is happening. With the discharge of any static, all the equipment powers up from an OFF state.
For instance, imagine a linear actuator laying on a wooden top. The actuator is an aluminum tube with a stepper motor fastened to it. The stepper motor has four wires which go to a stepper driver. The stepper driver has four wires which go to the Propeller controller. The Propeller controller power switch is always in the 5V servo position. The power going to the controller is routed through a power switcher board but is controlled by a tact switch on the user interface.
If I touch the aluminum tube with a static discharge, the whole system fires up or if I discharge static anywhere else on the attached equipment for that matter That discharge is traveling a long distance to enable this kind of activity Basically it is somehow triggering the the 4011N shown below.
I have not tried to troubleshoot the problem yet, I am just throwing it out there for a smile or two.
EDIT:The schottky diode has been temporarily removed from the power switcher board, due to prior troubleshooting.
I normally do most of my work in the basement, but during the winter months, the basement gets unbearably cold, so I have moved the project upstairs to a much warmer and dry environment. In fact, my current work area is so dry that electrostatic discharge is common. Anyhow I have a table and a cabinet top where I am performing most of my work and testing. The cabinet top is the test area, and on this top I have placed and wired my controller board, (2) stepper drivers, a user interface board, an LCD display, (2) linear actuators, and a power switcher board. The inside of the cabinet is where my power supply currently resides. All devices are wired up and ready for power. So that is the scene.
Now for the problem. As mentioned, electrostatic discharge is common and I know that I really should be wearing protection, but some strange stuff is happening. With the discharge of any static, all the equipment powers up from an OFF state.
For instance, imagine a linear actuator laying on a wooden top. The actuator is an aluminum tube with a stepper motor fastened to it. The stepper motor has four wires which go to a stepper driver. The stepper driver has four wires which go to the Propeller controller. The Propeller controller power switch is always in the 5V servo position. The power going to the controller is routed through a power switcher board but is controlled by a tact switch on the user interface.
If I touch the aluminum tube with a static discharge, the whole system fires up or if I discharge static anywhere else on the attached equipment for that matter That discharge is traveling a long distance to enable this kind of activity Basically it is somehow triggering the the 4011N shown below.
I have not tried to troubleshoot the problem yet, I am just throwing it out there for a smile or two.
EDIT:The schottky diode has been temporarily removed from the power switcher board, due to prior troubleshooting.
Comments
I would 1/10th it, so 100K and 10K instead as you are not running of a battery and trying to save current.
The 1M resistor was chosen as a time delay, to prevent accidental power downs. There is more info in the following quote. Any other ideas?
The full discussion pertaining to this circuit is here: http://forums.parallax.com/showthread.php/156184-Discussion-Of-Latching-A-Momentary-Switch-To-Control-A-Power-Supply
EDIT: I take that back, because VIN is a straight shot to the power supply.
EDIT: Static must be traveling through X1-1 and triggering Q1 somehow, because I do not see any other way for it to go from the peripherals to the power switcher board.
Perhaps a diode on the X1-1 line??? That way the ground only has one way to go????
I do not see any Chip decoupling?
A series R before Vcc decoupling, also drops the currents from any spike. Make it as large as practical 1~10k may work on your design ?
With ESD or contact triggering, I find it useful to run up Spice.
Enter a generator with a couple of kV and rise time of 1ns region, and feed that info a few Femtofarads and onto a few nanohenries,
then see what amplitude and duration pulses you get.
Vary the Rise time and fF coupling to get a feel for the effects.
Usually, I would suggest 4000 series CMOS, as that is inherently slower and fails to 'see' narrow spikes, but you seem to already be using that ?
Nope, no decoupling, I keep forgetting that important necessity.
As for Spice, I think I tried using that about 15 years ago, but I will give it another try, just to get familiar with it and perhaps find out more about this circuit.
Yea, I had an old NTE4011B laying around, so I used that for the circuit.
Apparently this problem is more common than a novice would think.
Download
www.linear.com/ltspice
Free and easy to use.