Camera warming fails: target temp is higher than actual ambient temp

Issue #604 closed
Ruediger created an issue

For reporting bugs please use the following guideline to describe the problem:

[Yes ] Is the issue reproducible?
[Yes,1.10] Are you running the latest version?
[X] Are all prerequisites that are mentioned inside the manual met?

Description

This is a combination of bug and feature request. Maybe I am doing also something wrong. I have found no clue in manual to solve it.

The camera warming fails, because wrong ambient temperature is chosen. It looks kile some other temperature is used instead of “Weather temperature” from “ASCOM Observation Condition hub”

It looks like the temperature reported back from focuser was used. Unfortunately with RCs and CDKs the primary mirror chamber is reported as focuser temp, but this is heated during the night. Though this temperature is much higher than the actual environment. This could never be reached by CCD warming.

I would have the correct temperatures via “ASCOM Observing hub” available but cannot map the proper temperature value to the warming process. Also I can not enter a manual target value. Hence the system shutdown process fails due to not reachable warming target. Also there is no time out.

Please see also the NINA crashed at 08:54 (warming should end around 04:20) when I unplugged the camera since I was not aware that planned shutdown failed.

Thank you in advance!

Steps to Reproduce

  • cool camera and run sequence
  • try to warm camera but never reaches temp set

Expected behaviour

there are three options: for my point of view:

  1. make it possible to choose the correct temp value if more are available or
  2. enter a manual target temperature or
  3. have a timeout for warming process and continue with shut down

Actual behaviour

CCD warming runs infinite due to to impossible to reach target temps.

Please note:

Nina crashed at 08:54 when I was unplugging the camera, since I did not know that shutdown was incomplete. Maybe also worth a look.

Log attached

Comments (6)

  1. Stefan B repo owner

    Hi,

    the logic is much simpler than that. The target temperature for warming is always 20 degrees.

    Then there are two scenarios:

    1. Ambient is higher than that → Once the 20 degrees are reached the warming logic turns off the cooler as it is expected that at that point the delta is not very high anymore and can sefely shut it off
    2. Ambient is lower than that → Once the cooler power was more than 60 seconds at 0% the warming is considered as finished and quits.

    It looks like the cooler power never reached 0 for your case for whatever reason. I have checked this multiple times with my ASI1600 and there it works just fine.

  2. Ruediger reporter

    Hi Stefan,

    Thanks for explaining.

    In this case I might make sense to have a timeout or not to compare to zero, but to 1 or 2 percent? Just to make sure that the shutdown finishes.

    It might cause catastrophic damage, if the shutdown is not completed, what has happened two days ago. Had the situation the scope was pointing to east side, because the park was not executed. It worries me, because I don't want to find the melted scope/camera in the morning sun.

    It has failed multiple times, not only once.

    It must be ensured that the system is transferred and moved into a safe state at the end, regardless the success or failure of warming procedure, because this can quickly become you smallest problem.

    Any idea why NINA has crashed hard when the camera was unplugged?

  3. Stefan B repo owner

    Warming and parking the mount is done in parallel. If the scope wasn’t parked, the driver either failed to do it or it wasn’t enabled. Some mount drivers do have strange park behavior, but that is not in N.I.N.A.s control, as it just calls the ASCOM park method, the rest is up to the driver.

  4. Ruediger reporter

    Ok, that's more than strange, since park was definitely enabled (never turned off) and the driver was also not changed and has proven to work well.

    Ok, park is running parallel. But if warming fails, the finishing batch is not executed. What can I do to ensure that this batch is called also when warming fails?

  5. Ruediger reporter

    Hi Stefan,

    I get sometimes errors, but now they can be handled properly. Therefore I close it.

    Many thanks! Rüdiger

  6. Log in to comment