Cabling issues in conduit
T Chap
Posts: 4,223
I am experiencing a new problem I have never seen. There is a master controller that connects to a BLDC motor that is a 35' cable run away. The 3 conductor 18G cable that goes to the Motor is in the same 1" ID metal flex conduit as the CAT6 cable that runs the hall sensor lines, encoder lines, 5V and GND. Some systems with about 20' cable runs are fine. Two systems with the 35' cable runs are acting strange, both identical conditions, swapping the master controllers does not solve it. But, taking a master to the motor and using test cables that are 10' work fine on the motor. The problem is that on deceleration, the motors start doing what feels a jerky motion versus the smooth decel under normal circumstances. When I run a new CAT6 direct across the floor separate from the 3 conductor 18 that drives the motor (27V typical), the motors run perfect. So I have tried both a shielded CAT6 with the drain to the master chassis. The master chassis is to the ground plug on the AC, and is also tied to VSS on the main board. I have tried a non shielded CAT. No change difference. I have tried take the shield on the 3 conductor 18G cable to chassis, still the same problem. I cannot get back with a scope until next week, but I am assuming that there is something to do with the motor logic lines and motor 3 power lines in the same conduit, since separation solves the problem. Shielding does solve it.
The power to the systems is with a temporary source of a box that is ran into the house from the pole. I was told that this box has ground on it, but they also said the ground may not be identical to how it would be done when the real power is wired to the outlets. So that makes me wonder if there is an earth ground at all, since taking the shields to chassis doesn't solve anything.
I would appreciate any suggestions on what might be going on here. I am told that running the separate conduit will be a big project for the electricians, but they require conduit on all wiring so I am looking for a solution. Separate conduit was requested but never done.
The power to the systems is with a temporary source of a box that is ran into the house from the pole. I was told that this box has ground on it, but they also said the ground may not be identical to how it would be done when the real power is wired to the outlets. So that makes me wonder if there is an earth ground at all, since taking the shields to chassis doesn't solve anything.
I would appreciate any suggestions on what might be going on here. I am told that running the separate conduit will be a big project for the electricians, but they require conduit on all wiring so I am looking for a solution. Separate conduit was requested but never done.
Comments
Sounds like you have electromagnetic induction, no just capacitive coupling here, and nothing
short of a Faraday cage approach is really adequate (separate conduits for motor and signals
being one implementation). Are all the logic signals differential? This is normally how things are
done in a noisy industrial environment. Opto-coupling is another way to deal with things.
Are the logic signal correctly terminated (CAT5 is 120 ohms I believe)?
There are 4 systems in room. 2 have 25' cables, and run fine. 2 with 35' cables are identical problems. I have run much longer than 35' without conduit before with no issues.
or rather, with the cable outside of the conduit, maybe induce a possible failure mode by putting a knot in the cable?
can you see if it is the metal conduit acting as some sort of capacitor by using plastic flexible conduit of the same length instead?
One way this can be derived is by supplying a three phase supply to a delta/star wound transformer the star output produces a new neutral/earth star point the earth derived from this is usually deemed clean or a "Technical Earth" this was a popular way to supply "computer suites" laboratories or other sensitive equipment environments etc.
Though of late equipment tends to come with their own filtered psu's so the method is not used so much these days.
At one site an RS232 signal running through about 40 feet of conduit was totally garbled due to ground loop currents. Replacing all the metal clips with plastic (except at one end) solved the problem.
I am told that the power in the house for the AC is grounded correctly. The metal conduit is not grounded at all.
I will be headed back out to the project on Monday and am putting together a list of things to try when I get there. Since this is my own proprietary wiring scheme and not a typical CAT wiring, I am not sure how this would be "correctly terminated". On another thread, I stated that the wiring scheme is this:
Pair 1
1 VSS
2 ENC A > 1KR > Prop input Quadrature Encoder Obj (5V signal)
Pair 2
3 VCC (5V)
4 ENC B > 1KR > Prop input Quadrature Encoder Obj (5V signal)
Pair 3
5 Hall1 6.25V signal to BLDC driver IC
6 Home Switch Sits at 5V pulled up via a 10k
Pair 4
7 Hall2 6.25V signal to BLDC driver IC
8 Hall3 6.25V signal to BLDC driver IC
Kwinn suggested this as the termination:
For the Vss pair it's Vss to capacitor to 120 ohm to signal. For the Vdd pair it's Vdd to capacitor to 120 ohm to signal.
I am believing that the jerky motion is a result of noise on the 3 hall sensor signals, not on the encoders lines. The hall output lines are pulled up to 6.25 V from the motor driver, so I am not sure I can easily run these through the same dual 74LVC2G14 Schmitt-triggered inverter Phil suggested to clean up the single ended lines.
In the mean time, in the next day or so I will have them test with connecting the master controllers to the actual outlets versus the temporary construction supply. Also they will try connecting one end of both metal conduits to the chassis of the master controllers.
I will work on a board tomorrow that will insert in the path of the CAT6 at the master controller, which will include the Schmitt inverter on the encoder lines. I will draw a schematic to show the idea for adding the resistors and caps at the motor suggested by Kwinn. Apparently the two metal conduits will not be able to be separated from each other, and that their preference is for both the lines to be in conduit. Running new conduit to separate the cables is not being received well.
It is a little late to try to design a single to differential signal scheme, primarily because I am not wanting to add any untested concepts and active electronics to the motors which will very soon become permanently inaccessible. The preference is to solve it at the master( main Prop board, power, BLDC motor driver), since this is accessible.
I appreciate the ideas.
Yes, proximity would probably still be an issue. It was a bit of a "grasping at straws" suggestion at this point. I thought perhaps pairing the signal with a ground might help. The only additional thought I can come up with (other than adding diff drivers) is to add terminating capacitor/resistors between ground and the Hall signals. Simple enough to do that it's worth trying.
My question is, that in the case of the hall sensors, they are being pulled up at the motor driver on one end, and taken low at the motor when active. The encoder is different, it is powered by 5V from a source at the master controller, and the encoder output signal originates from the encoder on the motor. I can see how the encoder would in this case need to be terminated at the master controller, which is the opposite end of the encoder. But, the hall sensor seems confusing since there is no real point of the high signal, since it is only held to 6.25V with a resister, I have planned for the filter board to sit at the master controller. Hopefully using the termination at the master makes the most sense. I am still not clear on the use of the resistor and cap in series. The design is all through hole so it is easy to make changes to values. Since the hall sensor output signals are being pulled via resistors, obviously adding the 120ohm from the signal to ground is going to pull the output low, so maybe this is the reason for the r/c termination versus the resistor alone?
The termination should be at the receiving end of the circuit.
It really does not matter if the signal is produced by a pullup resistor and an open collector transistor pulling the voltage low. Same physics apply when the signal is sent over a transmission line.
As a test I included resistor options in the path of VSS and VCC. I used for the test 10ohm. You see more noise with the resistor. Both versions are shown.
No Filter is with the board removed.
Filter 10ohm is with the 10ohm on VSS/VCC
Filter direct power is no res in the power path
There is a little curve to the leading edge on the filtered versions. This is using a .01uf. Smaller caps are on the way Monday to see if I can get this a little straighter.