Electromagnetic interference protection reinforcing method for X-ray thickness gauge controlled by single-chip microcomputer

The invention discloses an electromagnetic interference software protection reinforcing method for an X-ray thickness gauge controlled by a single-chip microcomputer, which comprises the following steps of: firstly, starting a watchdog program, executing an interrupt service subprogram ISR when a si...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: FENG DEREN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an electromagnetic interference software protection reinforcing method for an X-ray thickness gauge controlled by a single-chip microcomputer, which comprises the following steps of: firstly, starting a watchdog program, executing an interrupt service subprogram ISR when a single-chip microcomputer control system is interfered by periodic or aperiodic signals, and calling asoftware trap program in the ISR; storing important variable information in the single-chip microcomputer control system in an external ROM, and then calling a reset kernel program; and after the system is restarted, judging whether the system is reset normally or not. Therefore, periodic and aperiodic electromagnetic interference can be effectively suppressed, and the X-ray thickness gauge system controlled by the single chip microcomputer adapts to various sudden interruption environments. 本发明公开了一种单片机控制的X射线测厚仪电磁干扰软件防护加固方法,该方法首先启动看门狗程序,当单片机控制系统受到周期或非周期性信号的干扰时,执行中断服务子程序ISR,在ISR中调用软件陷阱程序;将单片机控制系统中重要变量信息保存到外部ROM中,然后调用复