Characterization and modeling of high-voltage LDMOS transistors