Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

Strange image transfer - is this a bad USB cable?

Astrophotography
  • Please log in to reply
12 replies to this topic

#1 cchivers

cchivers

    Lift Off

  • -----
  • topic starter
  • Posts: 14
  • Joined: 02 Feb 2022
  • Loc: Phoenix AZ

Posted 03 February 2023 - 05:24 PM

Hello -

 

Just purchased a few "nylon braided" USB cables to use this winter, as the PVC sheathed cables become very stiff in the cold.  Since using these cables though, I've started getting these bad images randomly about 1 in every 25 images, and I'm guessing the cables are to blame - has anyone seen this before?

 

https://www.cloudyni...or-maybe/large/

 

I really like how the braided cables stay flexible in the cold, but if this is a result of the cable, I'll ditch them in a heartbeat...

 

Thanks,



#2 Andros246

Andros246

    Mariner 2

  • -----
  • Posts: 236
  • Joined: 24 Oct 2022

Posted 04 February 2023 - 12:46 AM

Hello -

 

Just purchased a few "nylon braided" USB cables to use this winter, as the PVC sheathed cables become very stiff in the cold.  Since using these cables though, I've started getting these bad images randomly about 1 in every 25 images, and I'm guessing the cables are to blame - has anyone seen this before?

 

https://www.cloudyni...or-maybe/large/

 

I really like how the braided cables stay flexible in the cold, but if this is a result of the cable, I'll ditch them in a heartbeat...

 

Thanks,

Wow i've never seen anything of the sort.


Edited by Andros246, 04 February 2023 - 01:05 AM.


#3 AaronH

AaronH

    Messenger

  • -----
  • Posts: 444
  • Joined: 20 Apr 2021
  • Loc: NSW, Australia

Posted 04 February 2023 - 01:52 AM

I saw similar images with my QHY163C when I had my PC mounted on the tripod, and long cables running up to the OTA. The corrupted images were intermittent, worse some nights than others, and just when I thought I'd resolved the issue, they would appear again.

 

I never really resolved whether it was due to issues with power delivery or data corruption on the long, thin USB cable running to the camera. In the end, I addressed both at once by mounting a Pegasus Power Box Advance on the OTA. That resolved any power issues and allowed me to run a short, sturdy, high-quality USB cable to the camera from its powered hub.

 

The USB subsystem of the QHY cameras really seems to be intolerant to data corruption. The shorter and better-shielded the USB cable, the better.


Edited by AaronH, 04 February 2023 - 01:53 AM.

  • dswtan and Brianm14 like this

#4 gsaramet

gsaramet

    Viking 1

  • -----
  • Posts: 716
  • Joined: 01 Mar 2022
  • Loc: Bucharest, Romania

Posted 04 February 2023 - 02:45 AM

I saw that in two situations, both not related to astro. Anyhow, here they are, maybe it could be helpful:

 

1. bad memory card on a camera. Was not reported as bad and was randomly creating this kind of artifacts. 

2. bad "special" USB3 driver - when USB3 was new. I think it was a driver or program made either by the producer of the external disk or motherboard which was supposed to keep up the USB3 transfer. Same, when copying many images it would randomly create this kind of artifacts. **** thing worked when copying big files or few files.  System worked perfectly without the driver, as I found out when troubleshooting. 



#5 davidmalanick

davidmalanick

    Ranger 4

  • *****
  • Posts: 377
  • Joined: 14 Oct 2020
  • Loc: Sheboygan Wisconsin

Posted 04 February 2023 - 08:22 AM

Hello -

 

Just purchased a few "nylon braided" USB cables to use this winter, as the PVC sheathed cables become very stiff in the cold.  Since using these cables though, I've started getting these bad images randomly about 1 in every 25 images, and I'm guessing the cables are to blame - has anyone seen this before?

 

https://www.cloudyni...or-maybe/large/

 

I really like how the braided cables stay flexible in the cold, but if this is a result of the cable, I'll ditch them in a heartbeat...

 

Thanks,

QHY lists this problem as a bad USB connection/cable. It's happened to me with a bad/cheap cable. Also, if the cable is loose and not seated properly it will show frames like this randomly.


  • jdupton and Robert7980 like this

#6 Relic

Relic

    Explorer 1

  • *****
  • Posts: 67
  • Joined: 19 Aug 2016
  • Loc: Beaumont, CA.

Posted 04 February 2023 - 08:42 AM

Same as davidmalanick, I have had that with my QHY268C a couple of times awhile back. Better cables and good connections fixed it.



#7 cchivers

cchivers

    Lift Off

  • -----
  • topic starter
  • Posts: 14
  • Joined: 02 Feb 2022
  • Loc: Phoenix AZ

Posted 04 February 2023 - 08:59 AM

Agreed, all symptoms point to a bad USB cable.  I have a StarTech powered USB hub *rugged industrial rated, and it has been working flawlessly since install.  All other USB devices in my rig (iOptron mount, ZWO focuser, Starshoot autoguider camera) are working fine, and in addition those all use shorter, apparently better made, cables.

 

The cable to my QHY is the longest run and moves the most during my imaging sessions - I'll swap it out with a premium braided cable and test further.

Thanks for the feedback!


  • psandelle likes this

#8 JF1960

JF1960

    Vostok 1

  • -----
  • Posts: 133
  • Joined: 16 Jan 2023
  • Loc: SoCal

Posted 04 February 2023 - 01:15 PM

I would make sure to try updating all your software and drivers.  You’d think a bad USB cable would give you transfer errors.   Serial protocols have error checking built in.  So it can’t just semi work.   Those images look like the software is screwing up and putting things together wrong.  Was the old cable a USB 2.0 cable?  If so, that was maybe masking the SW errors before.



#9 rgsalinger

rgsalinger

    Hubble

  • *****
  • Posts: 13,582
  • Joined: 19 Feb 2007
  • Loc: Carlsbad Ca

Posted 04 February 2023 - 01:35 PM

Your hub belongs on the OTA if possible. That would make any cables between hub and camera no longer than a couple of feet at most and will, I think, eliminate your issue entirely. You can use a USB2 cable as I do when USB3 gets flaky. The difference in download time is very small if you do the arithmetic and the difference in reliability can be large. 

 

Rgrds-Ross



#10 Robert7980

Robert7980

    Apollo

  • -----
  • Posts: 1,251
  • Joined: 20 Nov 2022
  • Loc: Western North Carolina

Posted 04 February 2023 - 02:04 PM

I would make sure to try updating all your software and drivers.  You’d think a bad USB cable would give you transfer errors.   Serial protocols have error checking built in.  So it can’t just semi work.   Those images look like the software is screwing up and putting things together wrong.  Was the old cable a USB 2.0 cable?  If so, that was maybe masking the SW errors before.

Not necessary, it depends on how the driver is doing the transfers... All the OS will do is enumerate the devices, after that you can send data wrapped w header however you want, RS232, ASCII, TCP/IP ect, the error checking of the data in the frame is left to the consumer protocol stack, and it's pretty clear that QHY didn't bother with it, probably to increase overhead and framerates or just lazy... You'd assume there'd be at least a checksum though...  



#11 AaronH

AaronH

    Messenger

  • -----
  • Posts: 444
  • Joined: 20 Apr 2021
  • Loc: NSW, Australia

Posted 04 February 2023 - 06:58 PM

I would make sure to try updating all your software and drivers.  You’d think a bad USB cable would give you transfer errors.   Serial protocols have error checking built in.  So it can’t just semi work.

This is not my experience with QHY cameras. If the USB cable is too long, you get corrupted frames. And, sometimes, driver crashes. It seems there is a lack of error checking and error correction on these cameras.

 

When I was receiving these issues, I experienced them on both NINA under Windows and Ekos under Linux. On two different computers. Adding a Power Box with a powered USB hub and replacing the USB cable with a shorter one fixed both.

 

It's definitely a hardware-related issue. In reality, it shouldn't be. Error checking and recovery should be a given.



#12 rgsalinger

rgsalinger

    Hubble

  • *****
  • Posts: 13,582
  • Joined: 19 Feb 2007
  • Loc: Carlsbad Ca

Posted 05 February 2023 - 01:06 AM

We must have had about 25 threads plus my own experience that images like this have zero to do with drivers and everything to do with USB topology with one exception. If you are using USB3 then check to make sure that the bandwidth setting is as low as possible. From memory mine are set at 40. 

 

Rgrds-Ross


  • psandelle likes this

#13 cchivers

cchivers

    Lift Off

  • -----
  • topic starter
  • Posts: 14
  • Joined: 02 Feb 2022
  • Loc: Phoenix AZ

Posted 07 February 2023 - 10:26 AM

All - thanks for the great thread and discussion.  I have replaced my cheap woven sheath USB cables with StarTech cables, same vendor as my rugged USB hub.  All issues are resolved after testing on hundreds of images/downloads over the last few nights.

 

I also have relocated my hub from the tripod to the OTA, shortening many of my cable runs and tidying up my cable management in general.

 

The StarTech cables may be PVC sheathed and will get stiff in the cold, but they're error free and reliable.  Problem Solved!

 

Thanks,

Carl


  • rgsalinger, psandelle, jdupton and 1 other like this


CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics





Also tagged with one or more of these keywords: Astrophotography



Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics