CN101937384A - DSP (Digital Signal Processor) failure detection method - Google Patents
DSP (Digital Signal Processor) failure detection method Download PDFInfo
- Publication number
- CN101937384A CN101937384A CN 201010500822 CN201010500822A CN101937384A CN 101937384 A CN101937384 A CN 101937384A CN 201010500822 CN201010500822 CN 201010500822 CN 201010500822 A CN201010500822 A CN 201010500822A CN 101937384 A CN101937384 A CN 101937384A
- Authority
- CN
- China
- Prior art keywords
- dsp
- detection method
- output
- fault detection
- failure detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a DSP (Digital Signal Processor) failure detection method which is characterized in that a monitoring device connected with a DSP is installed and used for monitoring periodic pulse signals output from a GPIO (General Purpose Input Output) port of the DSP; a monitoring part is internally provided with a delay counter; when the periodic pulse signals output from the GPIO port are normally output, the delay counter is continuously reset; when the GPIO port can not output the periodic pulse signals, the delay counter overflows; and the monitoring device sends an output failure detection signal so as to confirm that the DSP is failed. The failure detection method can timely and effectively detect the failure of the DSP.
Description
Technical field
The present invention is a kind of DSP fault detection method, belongs to electronic technology field.
Background technology
Digital signal processor (DSP) is from being born development so far, though only experienced the time in 30 years, the widespread use in fields such as communication, computing machine and consumer electronics products, profound influence people's life.DSP is that the discrete numeral of a kind of usefulness is represented signal, and the technology of these discrete serieses effectively being handled with digital hardware, it utilizes computing machine or dedicated treatment facility, with digital form to signal gather, processing such as conversion, filtering, valuation, enhancing, compression and identification, obtain meeting the signal form of demand.But be suitable for the DSP fault detection method owing to lack, and can't in time find after causing DSP to damage, cause bigger infringement, can directly influence the continuity of related work again.
Summary of the invention
Technical matters to be solved by this invention provide a kind of can be in time, easily detect the detection method that hardware and software failure takes place DSP.
For solving the problems of the technologies described above, the technical scheme that the present invention takes is:
A kind of DSP fault detection method, it is characterized in that, a supervising device that is connected with DSP is installed, and monitoring is provided with a delay counter by the cyclic pulse signal of the GPIO mouth output of DSP in the monitor component, when the cyclic pulse signal of GPIO mouth output is normally exported, delay counter constantly resets, and when the GPIO mouth can not be exported cyclic pulse signal, delay counter overflowed, supervising device sends the output fault detection signal, just can assert that fault has taken place DSP.
Described supervising device is a monitoring chip.
Described monitoring chip is that monitoring chip is the microprocessor monitors chip.Advantage is need not programme, and realizes simple; Shortcoming is that timing is fixed, and is non-programmable.
Described microprocessor monitors chip is DS1832.The pulse input pin (ST) of DSP general digital quantity input and output (GPIO) mouthful control microprocessor monitoring chip DS1832.When the DSP software and hardware just often, the cyclic pulse signal of the GPIO mouth output DS1832 timer internal that constantly resets, DS1832 reseting pin (RST) keeps disarmed state (being low level state); When the DSP hardware and software failure, the GPIO mouth can not be exported cyclic pulse signal, and DS1832 reseting pin (RST) is exported one low level after delaying time.
Described supervising device is a programmable logic device (PLD).In inside counter is set, delay time can be provided with by frequency division and pulse data, outside input pin (linking to each other with the general input/output port of DSP) reset counter when the level saltus step when the DSP fault and behind delay time, is exported to external detection equipment by another IO mouth.
The invention has the beneficial effects as follows the fault that can detect DSP timely and effectively.
Description of drawings
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is further described in detail.
Accompanying drawing 1 is DSP fault detect theory diagram of the present invention.
Accompanying drawing 2 is realized DS1832 and the DSP catenation principle figure of embodiment for the present invention.
The explanation of accompanying drawing DS1832 pin:
1 pin (PBR)-----------hand-reset end;
2 pin (TD)--------select, and ground connection typical case delay time is 150ms, and unsettled typical delay time is 600ms, and connecing VCC typical case delay time is 1.2s by-----delay time;
3 pin (TOL)-----------detecting the supply voltage accuracy rating to select, the earthing power supply reference voltage detection is 10%, connecing VCC supply voltage sensing range is 20%;
4 pin (GND)-----------power supply ground;
5 pin (RST)------------output (high level is effective) that resets;
6 pin (RST)------------output (low level is effective) that resets;
--------------pulse input end links to each other with the general input/output port of DSP 7 pin (ST);
8 pin (VCC)-----------power positive end.
Embodiment
As shown in Figure 2, utilize the pulse input pin (ST) of DSP general digital quantity input and output (GPIO) mouthful control microprocessor monitoring chip DS1832.As Fig. 1, when the DSP software and hardware just often, GPIO mouth output cyclic pulse signal (cycle is not more than 300ms), then the DS1832 timer internal constantly resets, DS1832 reseting pin (RST) keeps disarmed state (being low level state), shows that the DSP function is normal; When the DSP hardware and software failure, the GPIO mouth can not be exported cyclic pulse signal, and the low level that pulsewidth of DS1832 reseting pin (RST) output is 250ms after the 150ms time-delay is the output fault detection signal, shows that fault has taken place DSP.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (5)
1. DSP fault detection method, it is characterized in that, a supervising device that is connected with DSP is installed, and monitoring is provided with a delay counter by the cyclic pulse signal of the GPIO mouth output of DSP in the monitor component, when the cyclic pulse signal of GPIO mouth output is normally exported, delay counter constantly resets, and when the GPIO mouth can not be exported cyclic pulse signal, delay counter overflowed, supervising device sends the output fault detection signal, just can assert that fault has taken place DSP.
2. DSP fault detection method according to claim 1 is characterized in that, described supervising device is a monitoring chip.
3. according to the described DSP fault detection method of claim 2, it is characterized in that described monitoring chip is the microprocessor monitors chip.
4. DSP fault detection method according to claim 3 is characterized in that, described microprocessor monitors chip is DS1832.
5. DSP fault detection method according to claim 1 is characterized in that, described supervising device is a programmable logic device (PLD).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010500822 CN101937384A (en) | 2010-10-09 | 2010-10-09 | DSP (Digital Signal Processor) failure detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010500822 CN101937384A (en) | 2010-10-09 | 2010-10-09 | DSP (Digital Signal Processor) failure detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101937384A true CN101937384A (en) | 2011-01-05 |
Family
ID=43390724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010500822 Pending CN101937384A (en) | 2010-10-09 | 2010-10-09 | DSP (Digital Signal Processor) failure detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101937384A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324341A (en) * | 2011-09-13 | 2012-01-18 | 中达电通股份有限公司 | Time delay control method and system of alternating-current contactor |
CN105508136A (en) * | 2015-12-28 | 2016-04-20 | 北京天诚同创电气有限公司 | Variable pitch control device and method for wind generating set and variable pitch system |
CN114488904A (en) * | 2022-02-11 | 2022-05-13 | 无锡绿科源电子科技有限公司 | Method and device for configuring functional port of electric vehicle controller and control equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2713538Y (en) * | 2004-06-09 | 2005-07-27 | 港湾网络有限公司 | Watchdog control circuit |
US20070288741A1 (en) * | 2006-05-01 | 2007-12-13 | Shinko Electric Industries Co., Ltd. | CPU runaway determination circuit and CPU runaway determination method |
CN101344862A (en) * | 2008-09-01 | 2009-01-14 | 华为技术有限公司 | Anti-interference equipment of embedded system |
CN101695449A (en) * | 2009-10-30 | 2010-04-21 | 程如中 | Fatigue driving early-warning device and startup module |
-
2010
- 2010-10-09 CN CN 201010500822 patent/CN101937384A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2713538Y (en) * | 2004-06-09 | 2005-07-27 | 港湾网络有限公司 | Watchdog control circuit |
US20070288741A1 (en) * | 2006-05-01 | 2007-12-13 | Shinko Electric Industries Co., Ltd. | CPU runaway determination circuit and CPU runaway determination method |
CN101344862A (en) * | 2008-09-01 | 2009-01-14 | 华为技术有限公司 | Anti-interference equipment of embedded system |
CN101695449A (en) * | 2009-10-30 | 2010-04-21 | 程如中 | Fatigue driving early-warning device and startup module |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324341A (en) * | 2011-09-13 | 2012-01-18 | 中达电通股份有限公司 | Time delay control method and system of alternating-current contactor |
CN102324341B (en) * | 2011-09-13 | 2013-10-23 | 中达电通股份有限公司 | Time delay control method and system of alternating-current contactor |
CN105508136A (en) * | 2015-12-28 | 2016-04-20 | 北京天诚同创电气有限公司 | Variable pitch control device and method for wind generating set and variable pitch system |
CN114488904A (en) * | 2022-02-11 | 2022-05-13 | 无锡绿科源电子科技有限公司 | Method and device for configuring functional port of electric vehicle controller and control equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102782603B (en) | Failsafe oscillator monitor and warning | |
US8527788B2 (en) | Network wake up system with protection function | |
CN103311986B (en) | Charger, mobile terminal, charger detection system and detection method thereof | |
CN102023912A (en) | Dormancy wake-up testing system and method | |
CN103607509B (en) | A kind of shutdown alarm clock trigger system of mobile terminal and triggering method thereof | |
CN101937384A (en) | DSP (Digital Signal Processor) failure detection method | |
CN104035536A (en) | Monitoring and reset control method of embedded system | |
CN112698068A (en) | Internet of things modular electric energy meter capable of monitoring temperature of terminal block | |
CN205121468U (en) | System resets based on programmable logic chip | |
CN103529281B (en) | Voltage detecting circuit, electronic equipment and the automobile of the real-time OBD of a kind of all standing | |
CN105183509A (en) | Apparatus and method for realizing shutdown of system power after soft-off | |
US20130076398A1 (en) | Integrated circuit device, electronic device and method for detecting timing violations within a clock | |
CN104461755B (en) | A kind of limited number of time resets watchdog circuit and implementation method | |
CN103091580A (en) | Micro-grid electric energy monitoring device based on ARM | |
CN203151453U (en) | Power-down monitoring reset circuit for field programmable gate array device | |
WO2013185960A3 (en) | Digital sensing circuit for a secondary clock signal to be monitored for clock failure with the aid of a primary clock signal | |
CN108089631A (en) | A kind of clock circuit for detecting for microcontroller chip | |
US11287867B2 (en) | Power sequence monitoring system | |
CN104682347A (en) | Microcomputer relay protecting device based on DSP (digital signal processor) | |
CN203535627U (en) | Watchdog circuit | |
CN104375027A (en) | Method and device for testing low-power consumption electronic device and low-power consumption POS terminal | |
CN209963797U (en) | Charging protection circuit and charging system | |
CN204065791U (en) | Based on the air lock automatic control system of wireless sensor network | |
CN105334936A (en) | Resetting system based on programmable logic chip | |
CN207867388U (en) | A kind of clock circuit for detecting for microcontroller chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20110105 |