Claims (2)
주기적으로 워치독 신호를 출력하는 메인 프로세서와, 상기한 메인 프로세서로부터 주기적으로 입력되는 워치독 신호를 주기적으로 검출한 뒤에, 일정 기간 동안 한번도 워치독 신호의 변화가 없는 경우와 워치독 신호가 연속적으로 2회 변화가 있는 경우에는 이를 감지하여 페일 처리하고, 워치독 신호의 변화가 한번만 있는 경우에는 정상적인 워치독 신호이거나 노이즈가 발생된 것으로 간주하여 필터링 함으로써 워치독 기능이 원할하게 수행되도록 하는 보조 프로세서를 포함하여 이루어지는 것을 특징으로 하는 노이즈 필터링 기능을 구비한 워치독 체킹장치.After the main processor periodically outputs the watchdog signal, and the watchdog signal periodically input from the main processor, the watchdog signal has not changed for a period of time and the watchdog signal is continuously If there are two changes, it detects and fails the process, and if there is only one change in the watchdog signal, a coprocessor that performs the watchdog function smoothly by filtering it as a normal watchdog signal or noise. Watch dog checking device having a noise filtering function, characterized in that comprises.
전원이 인가되면 동작이 시작되어, 1차 진입 플래그가 세트되어 있는지를 판단하는 단계와, 1차 진입 플래그가 세트되어 있는 경우에 노이즈 플래그가 세트되어 있는지를 판단하는 단계와, 노이지 플래그가 세트되어 있지 않은 경우에 메인 프로세서로부터 입력되는 워치독 신호의 현재의 레벨 상태를 읽혀, 워치독 신호의 현재의 레벨이 이전의 레벨과 같은지를 판단하는 단계와, 워치독 신호의 현재의 레벨이 이전의 레벨과 같지 않은 경우에 노이즈 플래그를 세트시키는 단계와, 워치독 신호의 현재의 레벨이 이전의 레벨과 같은 경우에 카운트 값이 기준값보다 큰지를 판단하여, 기준값보다 큰 경우에는 페일 처리하는 단계와, 카운터 값이 기준 값보다 크지 않은 경우에 카운트 값을 1증가시키는 단계와, 노이즈 플래그가 세트되어 있는 경우에 메인 프로세서로부터 입력되는 워치독 신호의 현재의 레벨 상태를 읽어 들여, 워치독 신호의 현재의 레벨이 이전의 레벨과 같은지를 판단하는 단계와, 워치독 신호의 현재의 레벨이 이전의 레벨과 같지 않은 경우에 페일 처리하는 단계와, 워치독 신호의 현재의 레벨이 이전의 레벨과 같은 경우에 노이지 카운트 값이 2회 이상인지를 판단하여, 노이즈 카운트 값이 2회 이상이 경우에는 모든 플래그를 클리어시키고, 노이즈 카운트 값이 2회 미만인 경우에는 노이즈 카운트 값을 1증가시키는 단계와, 워치독 신호의 현재 레벨을 이전 레벨로 저장한 뒤에, 1차 진입 플래그를 세트시키고, 리턴하는 단계로 이루어지는 것을 특징으로 하는 노이즈 필터링 기능을 구비한 워치독 체킹방법.The operation is started when the power is applied, determining whether the primary entry flag is set, determining whether a noise flag is set when the primary entry flag is set, and a noisy flag is set. If not, reading the current level state of the watchdog signal input from the main processor to determine whether the current level of the watchdog signal is equal to the previous level, and the current level of the watchdog signal is the previous level. Setting a noise flag if not equal to, determining whether the count value is greater than the reference value if the current level of the watchdog signal is equal to the previous level, and failing if the count value is greater than the reference value; Incrementing the count value by one if the value is not greater than the reference value, or by setting the main flag if the noise flag is set. Reading the current level state of the watchdog signal input from the processor to determine whether the current level of the watchdog signal is equal to the previous level; and if the current level of the watchdog signal is not equal to the previous level. Fail-facing, determining whether the noise count value is two or more times when the current level of the watchdog signal is the same as the previous level, and clearing all flags when the noise count value is two or more times. When the noise count value is less than two times, the noise count value is increased by one, and after storing the current level of the watchdog signal as a previous level, the first entry flag is set and returned. Watchdog checking method with noise filtering.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.