- Joined
- Aug 16, 2024
- Messages
- 43
Hi everyone!
I want to describe a problem - very stressful for me - that I encountered while building TouchDRO, a device developed and made available to workshop enthusiasts by the irreplaceable Yuriy
I managed to solve it to my great joy, and I want to describe it. Although I "cured" the effect, not the cause - the effect satisfies me - maybe someone will encounter a similar problem, and then my description will help them.
Namely, after assembling the system in the full DIY version of TouchDRO (including PCB), starting it up and connecting SHAHE 5403-F capacitive scales to it, it turned out that the Z axis input does not provide a repeatable reading of the position: 1. zero point, 2. indicates random values of the reader position after it moves.
It wasn't the fault of the Z scale itself, , because I swapped the scales and the problem occurred ONLY on the Z axis input - VERY STRANGE.
I used capacitive linear scales for simple reasons: they each have their own display (if something went completely wrong, they could work autonomously), the 0.01mm measurement resolution is enough for me and my mill, and they are cheap.
Of course , I asked Yuriy for help, but he had never encountered such a problem - so I had to do something about it myself.
I tried almost everything: I checked the printed circuit board thoroughly, all connections, re-soldered it (for "cold" solder joints), replaced several processor boards, replaced 74HC14 buffers, replaced DuPonts, shielded the 5V power supply soldered on the board (HLK PM-01), and also powered it with an external 5VDC power supply - ALL WITHOUT EFFECT.
Finally, I came up with the - it seemed - "stupid" idea of connecting a 3.9nF ceramic capacitor at the input of the Schmitt trigger of the Z axis: between the input of the DATA and the mass of the system.
BINGO! Surprisingly, it worked, the system started reading signals from the Z-axis reader correctly.
After this experiment, I removed this capacitor, but soldered in two others: I used 47uF/6.3V capacitors (tantalum, because they are non-inductive) and connected them in parallel to the existing ceramic capacitors C11 and C12 (0.1uF), blocking the power supply right next to the 74HC14 integrated circuits.
This also gave a similarly good effect - but not as good as before. I left them soldered.
Then, I re-soldered in a 3.9nF ceramic capacitor again to the input of the Schmitt responsible for the Z-axis. Even the 10nF capacitance in this place did not have a visible negative effect on the useful signal, but despite this, I left the aforementioned 3.9nF there.
Maybe this description of the "repair" - or more broadly: counteracting interference/noises in case it appears unexpectedly - will be useful to some of you in similar cases. In addition, I believe that soldering "right away", at the start, the aforementioned tantalum capacitors blocking the 74HC14 power supply will in any case have a potentially positive effect. Yuriy does not use such electrolytic capacitors (even tantalum) in this place for some reason, but in my opinion they are very good non-inductive elements and in my case, they helped a lot.
VERY IMPORTANT: electrolytic capacitors have polarity, they must be connected correctly: "+" to the plus of the power supply, "-" to the ground/mass of the circuit.
I must add some details for the sake of fairness - unlike the original scheme, on the board I used, the IC1 is responsible for the X, Y and Z axes (in the original the X and Y axes), while the IC2 is responsible for the W axis, TACHO and PROBE (in the original the Z, W axes, TACHO and PROBE). In my opinion (and Yuriy confirmed this), this should not have any effect on the correct operation of the circuit. Additionally, I have an HLK PM-01 5VDC switching power supply soldered onto the board, but it does not "produce" noise, this has been checked - after connecting an external, "usual" transformer 5VDC power supply, the problem did not disappear, i. e. "throwing" the 5V power supply far outside enclosure did not change anything.
I think, that two important pieces of information emerge from my "experiment": 1. it is possible and worth using 22-47uF electrolytic tantalum capacitors to block the power supply of 74HC14 systems, and 2. capacitors with a value of several nanofarads between the Schmitt DATA input and the mass of the system do not negatively affect the reading of data from linear scales*, and allow you to get rid of persistent noises (if such occurs).
* Checked when using capacitive linear scales (SHAHE 5403-F) and in the case of not very fast reader movements - up to 500mm/min. I think it is possible, that for a very fast reader moving (higher data transfer frequency?) the capacitance of this capacitor should be reduced.
Please excuse any language errors - I use a translator and grammar checker
SHAHE 5403-F
I want to describe a problem - very stressful for me - that I encountered while building TouchDRO, a device developed and made available to workshop enthusiasts by the irreplaceable Yuriy
I managed to solve it to my great joy, and I want to describe it. Although I "cured" the effect, not the cause - the effect satisfies me - maybe someone will encounter a similar problem, and then my description will help them.
Namely, after assembling the system in the full DIY version of TouchDRO (including PCB), starting it up and connecting SHAHE 5403-F capacitive scales to it, it turned out that the Z axis input does not provide a repeatable reading of the position: 1. zero point, 2. indicates random values of the reader position after it moves.
It wasn't the fault of the Z scale itself, , because I swapped the scales and the problem occurred ONLY on the Z axis input - VERY STRANGE.
I used capacitive linear scales for simple reasons: they each have their own display (if something went completely wrong, they could work autonomously), the 0.01mm measurement resolution is enough for me and my mill, and they are cheap.
Of course , I asked Yuriy for help, but he had never encountered such a problem - so I had to do something about it myself.
I tried almost everything: I checked the printed circuit board thoroughly, all connections, re-soldered it (for "cold" solder joints), replaced several processor boards, replaced 74HC14 buffers, replaced DuPonts, shielded the 5V power supply soldered on the board (HLK PM-01), and also powered it with an external 5VDC power supply - ALL WITHOUT EFFECT.
Finally, I came up with the - it seemed - "stupid" idea of connecting a 3.9nF ceramic capacitor at the input of the Schmitt trigger of the Z axis: between the input of the DATA and the mass of the system.
BINGO! Surprisingly, it worked, the system started reading signals from the Z-axis reader correctly.
After this experiment, I removed this capacitor, but soldered in two others: I used 47uF/6.3V capacitors (tantalum, because they are non-inductive) and connected them in parallel to the existing ceramic capacitors C11 and C12 (0.1uF), blocking the power supply right next to the 74HC14 integrated circuits.
This also gave a similarly good effect - but not as good as before. I left them soldered.
Then, I re-soldered in a 3.9nF ceramic capacitor again to the input of the Schmitt responsible for the Z-axis. Even the 10nF capacitance in this place did not have a visible negative effect on the useful signal, but despite this, I left the aforementioned 3.9nF there.
Maybe this description of the "repair" - or more broadly: counteracting interference/noises in case it appears unexpectedly - will be useful to some of you in similar cases. In addition, I believe that soldering "right away", at the start, the aforementioned tantalum capacitors blocking the 74HC14 power supply will in any case have a potentially positive effect. Yuriy does not use such electrolytic capacitors (even tantalum) in this place for some reason, but in my opinion they are very good non-inductive elements and in my case, they helped a lot.
VERY IMPORTANT: electrolytic capacitors have polarity, they must be connected correctly: "+" to the plus of the power supply, "-" to the ground/mass of the circuit.
I must add some details for the sake of fairness - unlike the original scheme, on the board I used, the IC1 is responsible for the X, Y and Z axes (in the original the X and Y axes), while the IC2 is responsible for the W axis, TACHO and PROBE (in the original the Z, W axes, TACHO and PROBE). In my opinion (and Yuriy confirmed this), this should not have any effect on the correct operation of the circuit. Additionally, I have an HLK PM-01 5VDC switching power supply soldered onto the board, but it does not "produce" noise, this has been checked - after connecting an external, "usual" transformer 5VDC power supply, the problem did not disappear, i. e. "throwing" the 5V power supply far outside enclosure did not change anything.
I think, that two important pieces of information emerge from my "experiment": 1. it is possible and worth using 22-47uF electrolytic tantalum capacitors to block the power supply of 74HC14 systems, and 2. capacitors with a value of several nanofarads between the Schmitt DATA input and the mass of the system do not negatively affect the reading of data from linear scales*, and allow you to get rid of persistent noises (if such occurs).
* Checked when using capacitive linear scales (SHAHE 5403-F) and in the case of not very fast reader movements - up to 500mm/min. I think it is possible, that for a very fast reader moving (higher data transfer frequency?) the capacitance of this capacitor should be reduced.
Please excuse any language errors - I use a translator and grammar checker
SHAHE 5403-F
Last edited: