Unfortunately they are(some are) defrosting based of a set equation defined by each manufacturer.
Random example:
Some are comparing the air temp sensor vs evaporator temp sensor within an amount of time.
Let’s say, if the the evaporator is colder than expected at a given outdoor temp for longer than x amount of time, it is assumed it has ice on it.