Hi,
I am building an industrial machine that is to be used in manufacturing production. It is controlled by three separate systems, two of the systems each use Arduino style M/C boards, the other is a single phase AC motor controlled by user input. Both M/C boards are completely independent, one drives a coil that time controls a pneumatic cylinder, the other drives a stepper motor. Both boards are powered by the same 12V power supply. All systems function perfectly until I run the AC motor. When I do so, the software on the board that controls the stepper motor appears to get corrupted and the result is one of a few different states. Pressing the reset button or even pulling the plug and powering on again doesn't get the board back to normal function. I have to re-load the software and things are OK again.
The board that controls the pneumatic cylinder is always completely unaffected.
There is a main box in which is mounted the main power switch, all the power supplies, the stepper driver, and the "up/down" control system for the AC motor which utilises industrial contact breakers to change direction of the motor. Both boards and the button controls for the AC motor are remotely mounted away from the main box.
From the problematic stepper driver M/C board I run about a 1.5 meter length of standard UTP network patch cable that carries two 5V control signals ( for direction and frequency ) and an earth down to the stepper driver that is mounted in the main box that the contact breakers are mounted in. Rather than using three single wires, I used three of the twisted pairs to each carry the signals and earth ( removing the rest ). I had no reason to use network patch cable other than one of convenience.
As a last piece of information, I had the same problem when everything was separated and dispersed and hanging out of the machine prior to proper installation. I put it down to some possible electrical interference from the coiled pre-cut lengths of mains wire but I get the same problem when everything is installed as it should be.
I don't know why running the AC motor should affect the stepper driver M/C let alone corrupt the software. Is it possible that I am getting EMI from the motor/contactors that is being picked up by the network cable and overloading the M/C's pins? This is the only real physical difference between the two M/C's and the only thing I can think of that is the cause of the problem. Am I making some silly schoolboy error in using the network cable in this way..?
Any help much appreciated..!
I am building an industrial machine that is to be used in manufacturing production. It is controlled by three separate systems, two of the systems each use Arduino style M/C boards, the other is a single phase AC motor controlled by user input. Both M/C boards are completely independent, one drives a coil that time controls a pneumatic cylinder, the other drives a stepper motor. Both boards are powered by the same 12V power supply. All systems function perfectly until I run the AC motor. When I do so, the software on the board that controls the stepper motor appears to get corrupted and the result is one of a few different states. Pressing the reset button or even pulling the plug and powering on again doesn't get the board back to normal function. I have to re-load the software and things are OK again.
The board that controls the pneumatic cylinder is always completely unaffected.
There is a main box in which is mounted the main power switch, all the power supplies, the stepper driver, and the "up/down" control system for the AC motor which utilises industrial contact breakers to change direction of the motor. Both boards and the button controls for the AC motor are remotely mounted away from the main box.
From the problematic stepper driver M/C board I run about a 1.5 meter length of standard UTP network patch cable that carries two 5V control signals ( for direction and frequency ) and an earth down to the stepper driver that is mounted in the main box that the contact breakers are mounted in. Rather than using three single wires, I used three of the twisted pairs to each carry the signals and earth ( removing the rest ). I had no reason to use network patch cable other than one of convenience.
As a last piece of information, I had the same problem when everything was separated and dispersed and hanging out of the machine prior to proper installation. I put it down to some possible electrical interference from the coiled pre-cut lengths of mains wire but I get the same problem when everything is installed as it should be.
I don't know why running the AC motor should affect the stepper driver M/C let alone corrupt the software. Is it possible that I am getting EMI from the motor/contactors that is being picked up by the network cable and overloading the M/C's pins? This is the only real physical difference between the two M/C's and the only thing I can think of that is the cause of the problem. Am I making some silly schoolboy error in using the network cable in this way..?
Any help much appreciated..!