04-03-2024 09:27 AM - edited 04-03-2024 09:27 AM
HiPot Tester! I hope your instrument has a VERY, and I really mean VERY, well isolated serial port. Otherwise your serial port communication is going to get messed up regularly. In the past I usually used a Serial to Glasfiber and Glasfiber to Serial converter to communicate with high voltage test devices. Anything else would always mess up the communication and usually the PC program as well. Preventing the transients from high voltage discharges to not travel through anything but optical connections is a very difficult thing.
04-18-2024 07:50 AM
Just to provide a feedback / conclusion: the problem is clearly caused by some sort of a transient. We tried several things including shortening the cable length between the PC and the HIPOT, adding a USB hub to the line (hoped that it does some useful optical isolation), coil the the USB cable over a ferrite ring, but these didnt help.
What seemed to help (1250 execution without a USB crash while with the original setup it crashed in about 50 executions in average) is using the clip on ferrite filters on both ends of USB cable. (costs total of $4)
From the logs its clear that we still have a communication issue in about every 2-3% of the cases, but after couple retries the it recovers so it doesnt stop our app and we dont need to reboot the PC.
We didnt have a huge variety of products we could use for this test, so the results above might change.
04-18-2024 09:19 AM - edited 04-18-2024 09:19 AM
I had a similar issue with a surge generator. If we didn't use the very heavily shielded serial cable that came with it, the communications would fail every single time we triggered a surge.
04-18-2024 09:48 AM
@1984 wrote:
Just to provide a feedback / conclusion: the problem is clearly caused by some sort of a transient. We tried several things including shortening the cable length between the PC and the HIPOT, adding a USB hub to the line (hoped that it does some useful optical isolation).
Unless the hub advertises optical isolation as one of its "hyper-super-high-end" features, you can safely assume that it does not have that.
And if it has that feature you can be sure that you can see it in the price tag. Such a device will cost at least in the higher end of 3 digit amount of US dollars if not more!
04-18-2024 11:46 AM
@RTSLVU wrote:
I had a similar issue with a surge generator. If we didn't use the very heavily shielded serial cable that came with it, the communications would fail every single time we triggered a surge.
It depends, many years we have had self made own X-Ray Generators (up to 450 kV), controlled by RS232 (novadays they network-connected with OPC UA) and was absolutely no problems, also with cables up to 30 meters long (without repeaters, but will not recommend). The problem was only with USB connections and FTDI chips (caused BSOD on Win10), but not from high voltage side, that was heavy motors emitting lot of electrical noise and that was eliminated with fiber optic - based adapters, they really helpful.
04-18-2024 11:49 AM
@rolfk wrote:
@1984 wrote:
Just to provide a feedback / conclusion: the problem is clearly caused by some sort of a transient. We tried several things including shortening the cable length between the PC and the HIPOT, adding a USB hub to the line (hoped that it does some useful optical isolation).
Unless the hub advertises optical isolation as one of its "hyper-super-high-end" features, you can safely assume that it does not have that.
And if it has that feature you can be sure that you can see it in the price tag. Such a device will cost at least in the higher end of 3 digit amount of US dollars if not more!
RS-232 to fiberoptic converters are not really that expensive.
04-18-2024 02:49 PM
RS-232 not, but the reference was about USB hubs. To get even USB-2 basic speed going you need fairly good opto-couplers. For RS-232 you can basically work with the cheapest optocouplers you find and still get 115kBaud. USB is a lot more demanding in speed as well as protocol complexity if you want to have a real passthrough hub.
04-18-2024 11:42 PM
@rolfk wrote:
RS-232 not, but the reference was about USB hubs. To get even USB-2 basic speed going you need fairly good opto-couplers. For RS-232 you can basically work with the cheapest optocouplers you find and still get 115kBaud. USB is a lot more demanding in speed as well as protocol complexity if you want to have a real passthrough hub.
For USB to Fiber we using these extensions
We haven't had any troubles so far (USB 3.1 was not tested as we don't have it on our devices).
Price is around 100-115€.
04-19-2024 03:06 AM
@Andrey_Dmitriev wrote:
@rolfk wrote:
RS-232 not, but the reference was about USB hubs. To get even USB-2 basic speed going you need fairly good opto-couplers. For RS-232 you can basically work with the cheapest optocouplers you find and still get 115kBaud. USB is a lot more demanding in speed as well as protocol complexity if you want to have a real passthrough hub.
For USB to Fiber we using these extensions
We haven't had any troubles so far (USB 3.1 was not tested as we don't have it on our devices).
Price is around 100-115€.
Thanks! Good to know they exist. It’s been a few years I was researching that and there seem to be more reasonable options nowadays. Not a hub actually but in this case even better for connecting high voltage surge devices.