Scalable surface-potential-based compact model of high-voltage LDMOS transistors