1. When I have both QHY9 and QHY5 cameras attached, I can no longer connect to the QHY9. When I (physically) disconnect the QHY5, no issues connecting to the QHY9. Also, when both are connected, qhy_test_ccd only sees the QHY5 and not the QHY9. Not sure if it should see both or just the first one it finds.
2. With regards to cooling, with the QHY5 not connected, I can turn the cooler on and off, but when I turn it on, it is at 100% power regardless of the temperature difference.
3. The current temperature is no longer updating, except when I turn the cooler off after a time, then if the temperature is lower than the target temperature, it shows the temperature increasing, until it hits the ambient temperature in the OBS.
I presume the temperature control is done in the driver and not in the camera - is this correct? I looked at the code change that was made where CONTROL_MANUALPWN is set to 255 so I would presume that if the PWM value can be set, it is set from the QHY driver to the TEC controller, I think setting the PWM value to 255 set the power output to maximum, and it doesn't change.
I think there is a mis-communication on my part from a few posts ago ... I don't want to have you turn on the actual cooler, but rather enable or disable the cooler. That is, the cooler should be disabled when the camera is first connected, and at some suitable time, I want to enable it (ie: turn it on) and then at the end of the imaging run, disable it (turn it off) so that the cooler is not constantly running when it doesn't need to be running.
So, looking at the CCD tab in EKOS, the On and Off buttons really should be enable and disable. When I enter a value into the Temperature Set box, and click the Check box next to it, if the current temperature of the chip is greater than the temperature I want, enable the cooler, and if it is less, leave it disabled. The current temp of the chip should be updated every few seconds, at least when the cooler is enabled. Does that make sense?
I'm assuming the actual process to control the chip temperature occurs within the camera and the TEC cooling box, and all that needs to be done is enable or disable.
Right, but in INDI it has the same meaning "Start cooling" without an exact set point or to a set point defined by the camera. Right now, for QHY, if you manually turn on cooler, I just make it cool by half a degree. Does the Cooling/Temperature controls work now as expected?
It's not clear to me if indi is trying to get the temp off of the QHY5 (which has no cooling) or if this is just a documentation bug.
2. For the second test, I disconnected the QHY5. When the test starts, you can see from the second log file the temperature appears to be -4.17 and begins to warm slowly to ambient.
Then I request setting the temperature to -5:
Requested temperature is -5.000, current temperature is -3.937
DEBUG 40.465292 sec : QHYCCD | QHYCCD.CPP ControlQHYCCDTemp
DEBUG 40.465374 sec : QHYCCD | qhy9s.cpp | AutoTempControl | START
DEBUG 40.465586 sec : Target Cam Temperatue:-5.000000
DEBUG 40.465666 sec : Current Cam PWM:0.000000
DEBUG 40.466036 sec : QHYCCD | qhy9s.cpp | AutoTempControl | END
DEBUG 40.651296 sec : QHYCCD | qhy9s.cpp | GetChipCoolTemp | START
DEBUG 40.651473 sec : CCD Temp: -3.93727 CCD RAW Cooling Power: 11.656, CCD Cooling percentage: 4.57099
No temperature updates are shown in the EKOS CCD Capture tab. It does show that cooling is on. Subsequenty, I set the target temperature to 0:
One more log to share - it shows that there is no cooling control. Its possible that the TEC controller has issues or cable/connector is bad - I did check the continuity of all the pins so I think the cable is good, but can't verify the connectors.
It would be good if someone else with a QHY9 can test cooling, but be careful - you might need to pull the power plug on the TEC box if the cooling is too fast.
Here's the procedure I've had to use in Windows 10 and SGP. It allows me to control temperature (and see both temp and power levels) on a QHY247C. If I don;t follow this sequence, I basically have no control over or idea of what the cameras is doing for cooling.
- Power OFF everything, including the PC
- Power ON the QHY 247C
- Power ON the USB3 Hub
- Power ON PC
- Launch SGP and connect camera
I wonder if this same procedure might help with INDI. I had to switch over to Windows because of problems with QHY's Linux drivers so I can't test this procedure myself with INDI at the moment.
I don't believe the issue lies within INDI. EKOS/INDI should enable/disable cooling, set the target temperature, and the QHY Linux driver/camera firmware/TEC controller should look after the rest and INDI should be able to poll the camera for the CCD chip temp. It appears that none of this is working.
When I run this under Windows using Nebulosity 4.x, it works fine. I'm assuming the camera firmware is the same (it may not be as I can't verify what, if anything, the Windows driver loads into the camera), and the TEC controller is the same. I think everything points to the QHY Linux driver.
I tested the QHY5M with the new SDK and had two issues:
- Activating live video does open a window but nothing can be seen in it. The Live Video icon turns green as it should be the case. After closing the live video (the icon turns red) the QHY5M is "blocked" and no pictures can be taken. Trying to do so results in "QHY CCD QHY5-M- : "[ERROR] GetQHYCCDSingleFrame error (-1)"
A logfile is attached.
- Taking a 3s picture takes 6s plus data transfer. Taking a 5s picture takes 10s plus data transfer and so on. I believe a first attempt fails and a second attempt is successful, that's why it takes 2x the exposure time to take the picture.