CN1308789C - Reset method - Google Patents
Reset method Download PDFInfo
- Publication number
- CN1308789C CN1308789C CNB021107629A CN02110762A CN1308789C CN 1308789 C CN1308789 C CN 1308789C CN B021107629 A CNB021107629 A CN B021107629A CN 02110762 A CN02110762 A CN 02110762A CN 1308789 C CN1308789 C CN 1308789C
- Authority
- CN
- China
- Prior art keywords
- signal
- reset
- counter
- cpu
- programmable logic
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Electronic Switches (AREA)
- Logic Circuits (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
The present invention provides a reset method, and relates to the reset realization of a control system. The present invention carries out frequency division on an oscillation signal of a central processing unit (CPU), and the signal with the frequency division is used as an input count pulse of a counter. During work, the CPU pays a call on a programmable device within the certain time. If the CPU pays a call on a programmable logic device, the counter clears to zero, and the counter recounts. If the CPU does not pay a call on the programmable logic device, the programmable device generates a reset signal, and the procedures are circulated and repeated. The pulse width (Tms is radix) of the reset signal is adjustable through changing the counting number of the counter. When the power of the present invention is supplied, the pulse signal with frequency division is used as a counting signal of the counter. After the set counting finishes, a power supply reset signal is output. The present invention can distinguish the power supply reset signal and a watchdog reset signal, the dog feeding time of the watchdog can be optionally adjusted, the idle programmable logic device can be fully utilized, and the hardware resources of the system can be furthest applied.
Description
Technical field
The present invention relates to the implementation method that communication, electron trade, Based Intelligent Control dispatch control system reset, be specifically related to a kind of method of utilizing programmable logic device (PLD) to realize system reset.
Background technology
Reset circuit is an electron trade intelligence system (MPU) at the circuit that powers on and the deadlock state must reset to CPU or other chips, and this circuit is the basic circuit of intelligence control system indispensability.Present most of digital intelligent control system all adopts traditional special use chip that resets; The general intelligence control system " deadlock " phenomenon may occur when normal operation, in this case, reset circuit must reset to system CPU or other parts control chip, but traditional chip that resets can't be distinguished electrification reset and " deadlocks " phenomenon that resets, so just can't solve different reset signals is provided under this two states; Secondly traditional special use chip that resets can't be accomplished adjustablely arbitrarily to the dog time of feeding of " house dog ", generally is to immobilize or several selectable time; And traditional special use chip that resets can't satisfy different reset levels and the adjustable problem of reset level pulsewidth are arranged on the same chip.Generally all use programmable logic device (PLD) in the large-scale intelligent control system at present, and all do not utilize the resource in the programmable logic device (PLD) fully, cause the wasting of resources to a certain degree.
Summary of the invention
Technical matters to be solved by this invention is that to make full use of the resource of programming device more single to overcome the reset signal that special-purpose reset coil sheet exists in the prior art, can't realize electrification reset and " deadlocks " resetted and distinguish and shortcoming that, reset level pulsewidth can't be any adjustable to " house dog " hello dog time can't be adjustable.
The present invention proposes a kind of repositioning method based on programmable logic device (PLD), its core concept is to utilize controller external clock or internal clocking as the clock that clocks, do not visit programmable logic device (PLD) in the official hour internal controller and just produce reset signal, the specific implementation method is as follows:
At first get the CPU oscillator signal and carry out frequency division, the signal behind the frequency division is the pulse signal of certain frequency (f), and the cycle of pulse signal is T, the input count pulse of this pulse signal as counter;
When work, in the regular hour, if CPU conducts interviews to programmable logic device (PLD), counter O reset, counting again; If when CPU did not conduct interviews to programmable logic device (PLD), programmable logic device (PLD) just produced reset signal; Make this reset signal pulse width adjustable (Tms is a radix) by the counting number that changes counter;
When powering on, utilize pulse signal behind the frequency division as the rolling counters forward signal, finish to finish the back and export a power-on reset signal setting counting.This signal does not influence the output reset signal of " house dog ", thereby guarantees that power-on reset signal separates fully with " house dog " reset signal.
Adopt the method for the invention, can distinguish power-on reset signal and " house dog " reset signal; " feeding dog " any scalable of time of feasible " house dog ", and made full use of idle programmable logic device (PLD), the hardware resource of system is farthest used.For the cpu reset of digital intelligent control system and " house dog " circuit provide new approaches, can reduce cost for system.
Description of drawings
Fig. 1 is a synoptic diagram of realizing the method for the invention.
Fig. 2 the present invention is based on reset circuit that EPLD realizes to be applied in part schematic diagram in the side circuit.
Fig. 3 is the reset circuit part among Fig. 2.
Embodiment
The present invention is described further below in conjunction with the drawings and specific embodiments.
Fig. 1 utilizes the programmable logic device (PLD) hardware description language to realize the control chart of the method for the invention.As shown in Figure 1: get the system oscillation signal, carry out frequency division by frequency divider then, the signal of frequency divider frequency division (adjustable) is system's reference signal, this reference signal is counted to counting, by count signal setting " house dog " time is set, when rolling counters forward finishes (when counting down to), if system not to chip conduct interviews (not having chip selection signal) just produce " house dog " (i.e. " deadlock " reset) signal that resets.If when rolling counters forward, system conducts interviews to this chip (programmable logic device (PLD)), and counter O reset is counted again; Cycle count like this;
When system powered on, counter was counted the count value of setting (adjustable), produced power-on reset signal when rolling counters forward finishes.This reset signal pulse can be adjustable by counter;
As seen, power-on reset signal and " house dog " reset signal are separated fully, can realize reset signal separately by programming so, and reset level is adjustable, and reset pulse is adjustable.
Fig. 2 the present invention is based on reset circuit that EPLD (programmable logic device (PLD)) realized to be applied in part schematic diagram in the side circuit.
Table 1 is the signal definition explanation of the main pin of part.
Pin | Signal name | Signal definition | Remarks |
55 | WDT_CS | Chip selection signal | Low level is effective |
56 | Rst | The electrification reset output signal (can be used separately, only produce reset level at powered on moment, the width of level can be regulated as required) | The output of electrification reset high level |
57 | Set | The hand-reset input signal | High level is effective |
12 | Reset | Reset signal (goes up electric and manual, house dog (the house dog time can be adjusted arbitrarily as required) | Produce high level when resetting |
54 | Clk11m | Clock input (timing signal) | Link to each other with crystal oscillator, crystal oscillator frequency is pressed the 11.0592MHz design during program design |
The specific implementation method is as follows:
1. get CPU oscillator 11.0592MHz and be input to 54 pin (CLK11M) of EPLD, after EPLD handles, produce the 100HZ pulse signal as fractional frequency signal.
2.CPU 7 pin (WDT_CS) link to each other with 55 pin of EPLD, chip selection signal as programmable logic device (PLD) (EPLD), when the CPU working procedure, constantly EPLD is conducted interviews, this signal (WDT_CS) is a pulse signal so, and EPLD detects signal always, just counter is carried out zero clearing when visiting EPLD at every turn, if (can regulate easily in regulation, in this embodiment for 1.6S) time in this signal keep high level always, just produce a reset signal, CPU is reruned.
3. when powering on, oscillator will produce oscillator signal, the counter of this signal after EPLD handles also begins counting so, just produces a power-on reset signal (level of signal and pulse width can be regulated by the logical diagram of revising EPLD) when the counting down to of regulation.
Fig. 3 is the schematic diagram that utilizes the compiling of VHDL (very high speed integrated circuit hardware descriptionlanguage) language to produce based on EPLD (programmable logic device (PLD)) in the example shown in Figure 2.This part schematic diagram only is about the reset circuit part, with other irrelevant part schematic diagrams omissions of this method in the application example.
In sum, this method makes full use of limited resources, has solved the problem that present special-purpose reset circuit can't be realized, provides application flexibility to the user, and has reduced device cost, has improved the competitive power in market.
Claims (1)
1, a kind of repositioning method is at first got the CPU oscillator signal and is carried out frequency division, and the signal behind the frequency division is that certain frequency is the pulse signal of f, the input count pulse of this pulse signal as counter;
During work, in the regular hour, if CPU conducts interviews to programmable logic device (PLD), counter O reset, counting again; If when CPU did not conduct interviews to programmable logic device (PLD), programmable logic device (PLD) just produced reset signal; Make that by the counting number that changes counter this reset signal pulse width is adjustable, the T millisecond is a radix;
When powering on, utilize pulse signal behind the frequency division as the rolling counters forward signal, finish to finish the back and export a power-on reset signal setting counting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021107629A CN1308789C (en) | 2002-01-29 | 2002-01-29 | Reset method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021107629A CN1308789C (en) | 2002-01-29 | 2002-01-29 | Reset method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1435743A CN1435743A (en) | 2003-08-13 |
CN1308789C true CN1308789C (en) | 2007-04-04 |
Family
ID=27628276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021107629A Expired - Fee Related CN1308789C (en) | 2002-01-29 | 2002-01-29 | Reset method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1308789C (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100340947C (en) * | 2004-03-04 | 2007-10-03 | 中兴通讯股份有限公司 | An embedded system in-band reset method and apparatus thereof |
CN100405307C (en) * | 2005-02-01 | 2008-07-23 | 艾默生网络能源有限公司 | Watchdog control method |
CN100419693C (en) * | 2005-09-16 | 2008-09-17 | 鸿富锦精密工业(深圳)有限公司 | Computer system state monitoring circuit |
CN1329793C (en) * | 2005-11-25 | 2007-08-01 | 华为技术有限公司 | Method for distinguishing system power-on reset and live-line reset |
CN101169679B (en) * | 2006-10-25 | 2010-05-19 | 中兴通讯股份有限公司 | Multiple state reset method and multiple state reset circuit |
KR100922927B1 (en) * | 2007-12-27 | 2009-10-23 | 주식회사 동부하이텍 | LCD Driver IC and Method for Operating the same |
CN102111127B (en) * | 2009-12-23 | 2013-05-15 | 北京中电华大电子设计有限责任公司 | Signal count delay method and circuit in chip electrifying process |
CN103488104B (en) * | 2013-10-08 | 2015-05-06 | 国家海洋技术中心 | Monitoring reset system |
CN104049702A (en) * | 2014-06-16 | 2014-09-17 | 京信通信***(中国)有限公司 | Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device |
CN104460440B (en) * | 2014-11-18 | 2017-02-01 | 中国兵器工业集团第二一四研究所苏州研发中心 | Programmable logic device internal highly-reliable automatic reset method |
CN106933319A (en) * | 2016-11-25 | 2017-07-07 | 科诺伟业风能设备(北京)有限公司 | A kind of current transformer DSP electrification reset control methods |
CN108153605A (en) * | 2017-12-29 | 2018-06-12 | 曙光信息产业股份有限公司 | A kind of watchdog device |
CN108388481B (en) * | 2018-03-07 | 2021-05-11 | 广州芯德通信科技股份有限公司 | Intelligent watchdog circuit system of OLT equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1007758B (en) * | 1987-06-22 | 1990-04-25 | 中国矿业学院北京研究生部 | Automatic computer reset method and all-digital automatic reset circuit |
WO1998001802A2 (en) * | 1996-07-09 | 1998-01-15 | Nokia Telecommunications Oy | Method for resetting processor, and watchdog |
CN1208878A (en) * | 1997-06-25 | 1999-02-24 | 日本电气株式会社 | Resetting method of system |
CN1321922A (en) * | 2000-07-29 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Resetting method of CPU system containing field programmable gate array |
-
2002
- 2002-01-29 CN CNB021107629A patent/CN1308789C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1007758B (en) * | 1987-06-22 | 1990-04-25 | 中国矿业学院北京研究生部 | Automatic computer reset method and all-digital automatic reset circuit |
WO1998001802A2 (en) * | 1996-07-09 | 1998-01-15 | Nokia Telecommunications Oy | Method for resetting processor, and watchdog |
CN1208878A (en) * | 1997-06-25 | 1999-02-24 | 日本电气株式会社 | Resetting method of system |
CN1321922A (en) * | 2000-07-29 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Resetting method of CPU system containing field programmable gate array |
Also Published As
Publication number | Publication date |
---|---|
CN1435743A (en) | 2003-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1308789C (en) | Reset method | |
Miller et al. | VRSync: Characterizing and eliminating synchronization-induced voltage emergencies in many-core processors | |
DE69532226T2 (en) | Clock control unit | |
DE102013214907B4 (en) | Training, power-gating and dynamic frequency change of a memory controller | |
CN100361109C (en) | Generic serial port architecture and system | |
Burd et al. | A dynamic voltage scaled microprocessor system | |
Ashouei et al. | A voltage-scalable biomedical signal processor running ECG using 13pJ/cycle at 1MHz and 0.4 V | |
DE102004062911B4 (en) | Method for operating a processor and associated processor system | |
CN1323355C (en) | Real-time adjustable reset method and device for watch dog | |
US9503641B2 (en) | Energy-proportional image sensor | |
CN105703749B (en) | A kind of accurate doze output circuit of low-power consumption and method | |
CN2681231Y (en) | A watchdog circuit | |
CN105260255A (en) | Method for implementing watchdog on system on chip with multiple processor cores | |
CN201083993Y (en) | Microcontroller | |
CN101847093B (en) | Digital signal processor with reconfigurable low power consumption data interleaving network | |
US10903838B1 (en) | Integrated circuit clock management during low power operations | |
CN101893912A (en) | The clock circuit that is used for digital circuit | |
CN102890445B (en) | Multi-functional timer | |
CN101290509B (en) | Embedded system low-power consumption real time task scheduling method | |
CN100399262C (en) | Processor with demand-driven clock throttling for power reduction | |
US20150067363A1 (en) | Clock generator circuit with automatic sleep mode | |
US20040260960A1 (en) | Method for pulse train reduction of clocking power when switching between full clocking power and nap mode | |
CN105701064B (en) | A kind of General Multiplex PWM generator of band AXI interfaces | |
CN103064504A (en) | Method for energy conservation of main board of server | |
CN206097092U (en) | Adjustable reset pulse's watchdog circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
ASS | Succession or assignment of patent right |
Owner name: SHENZHENG CITY ZTE CO., LTD. Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD. SHANGHAI SECOND INSTITUTE Effective date: 20030725 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20030725 Applicant after: Zhongxing Communication Co., Ltd., Shenzhen City Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City |
|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070404 Termination date: 20180129 |
|
CF01 | Termination of patent right due to non-payment of annual fee |