CN105897618A - Reset circuit device of switch - Google Patents

Reset circuit device of switch Download PDF

Info

Publication number
CN105897618A
CN105897618A CN201610201899.2A CN201610201899A CN105897618A CN 105897618 A CN105897618 A CN 105897618A CN 201610201899 A CN201610201899 A CN 201610201899A CN 105897618 A CN105897618 A CN 105897618A
Authority
CN
China
Prior art keywords
processor
watchdog
reset
circuit device
unit
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
Application number
CN201610201899.2A
Other languages
Chinese (zh)
Inventor
张恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610201899.2A priority Critical patent/CN105897618A/en
Publication of CN105897618A publication Critical patent/CN105897618A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a reset circuit device of a switch. The reset circuit device comprises a processor having an enable signal output end, a control unit provided with an enable signal receiving end connected with the enable signal output end, and a watchdog unit connected with the processor and provided with a dog feeding output end and a reset input end which are connected through control unit, wherein in the initialization operation, the processor outputs a first enable signal to the control unit so as to switch off the connection between the dog feeding output end and the reset input end and shield the watchdog function of the watchdog unit to the processor. The reset circuit device of the switch is easy to realize, the watchdog function can be forbidden or started in the debugging process, and that is to say, the watchdog function is not started before the circuit completes the initialization of the processor, so that reset signals are prevented from being input to the processor before the initialization of the processor is completed.

Description

A kind of position restoration circuit device of switch
Technical field
The present invention relates to electronic circuit field, particularly relate to the reset circuit dress of a kind of switch Put.
Background technology
In digital circuitry, watchdog circuit is the most all used to ensure to power on the most again Position, the running status of monitoring processor and the change etc. of monitoring voltage.As it is shown in figure 1, guard the gate Canis familiaris L. circuit is typically made up of watchdog chip 01 and the peripheral circuit such as resistance, switch key.When After system electrification, watchdog chip 01 is from the reset letter of Reset pin output about 200ms Number, thus the function of electrification reset is realized for system.Meanwhile, watchdog chip 01 power supply prison The voltage that control input PFI pin input is monitored, when voltage is less than predetermined voltage, at electricity Source monitoring output PFO pin one pulse of output, and by peripheral circuit by this pulse feedback To the input/MR pin that resets, thus also export the letter that resets at the output Reset pin that resets Number, it is achieved the function of monitoring voltage change.Additionally, house dog special chip can monitor process The running status of device 02, it is desirable to processor 02, within the 1.6s time of regulation, changes house dog The level (this process is " feeding Canis familiaris L. ") of the WDI input WDI of chip 01, if on rule In the fixed time, the level of WDI pin is not changed in, the enumerator within watchdog chip 01 Overflowing, the spilling WDO pin at watchdog chip 01 exports a pulse, and by outward Enclose circuit by this pulse feedback to the input/MR pin that resets, thus also at the output Reset that resets Pin one reset signal of output, it is achieved the function of monitoring processor 02 running status.
But, along with the development of technology, the function of software gets more and more, and capacity is the most increasing, The processor 02 initialized time is more and more longer.Within the processor 02 initialized time, Often cannot go to feed Canis familiaris L., if this situation is not entered within the 1.6S time that house dog specifies Row processes, and may result in processor 02 and is repeatedly resetted by watchdog chip 01 during initializing, Can complete never to initialize.
Summary of the invention
In view of the above problems, the application describes the position restoration circuit device of a kind of switch, described Device includes:
Processor, has enable signal output part;
Control unit, has the enable signal receiving end being connected with described enable signal output part;
Watchdog unit, is connected with described processor, and described watchdog unit has by described Control unit connects feeds Canis familiaris L. outfan and the RESET input;
Wherein, export the first enable signal during described processor initialization operation and control list to described Unit, to disconnect the described connection fed between Canis familiaris L. outfan and described the RESET input, shields institute State the watchdog unit watchdog function for described processor.
It is also preferred that the left described processor output the second enable signal is to described control unit, with by institute State and feed Canis familiaris L. outfan and the connection of described the RESET input, start described watchdog unit for institute State the watchdog function of processor.
It is also preferred that the left the Power Supply Monitoring outfan in described watchdog unit is connected to described house dog Described the RESET input of unit.
It is also preferred that the left described watchdog unit is from the reset signal of reset output terminal output 200ms To described processor.
It is also preferred that the left described device also to include that a monitoring power supply, described monitoring power supply are connected to described The Power Supply Monitoring input of watchdog unit.
It is also preferred that the left described device also includes that a bleeder circuit, described bleeder circuit include being connected on The first resistance between described monitoring power supply and ground and the second resistance, described Power Supply Monitoring input Access between described first resistance and described second resistance.
It is also preferred that the left described watchdog unit includes a reseting register, described reseting register It is connected with the enable signal output part of described processor.
It is also preferred that the left described reseting register overflows when Canis familiaris L. do not fed in 1.6s by described processor.
It is also preferred that the left described watchdog unit is a watchdog chip, the type of described watchdog chip Number it is SGM706 or ADM706.
It is also preferred that the left the model of described control unit is ADG702L.
Technique scheme has the advantage that or beneficial effect: the switch that the present invention proposes Position restoration circuit device, it is achieved simple, and make to select disabling or start house dog merit in debugging Can, i.e. this circuit realiration did not enable watchdog function before processor has initialized, with Prevent from also processor being inputted reset signal before processor has initialized.Additionally, going out During existing exceptional reset, easily determined that by this circuit the reason of processor exceptional reset is due to place The reset that still other reason causes that resets that Canis familiaris L. causes fed by reason device.
Accompanying drawing explanation
With reference to appended accompanying drawing, more fully to describe embodiments of the invention.But, appended Accompanying drawing is merely to illustrate and illustrates, is not intended that limitation of the scope of the invention.
Fig. 1 is the structural representation of watchdog reset circuit in prior art;
Fig. 2 is the structural representation of the position restoration circuit device of a kind of switch of the present invention.
Detailed description of the invention
The reset circuit dress of switch a kind of to the present invention with specific embodiment below in conjunction with the accompanying drawings Put and be described in detail.
As in figure 2 it is shown, the position restoration circuit device of a kind of switch, including:
Processor 11, has enable signal output part IO1;
Control unit 12, has and enables the enable signal reception that signal output part IO1 is connected End;
Watchdog unit 13, is connected with processor 11, and watchdog unit has by controlling single What unit 12 connected feeds Canis familiaris L. outfan WDO and the RESET input/MR.
Specifically, during work, watchdog unit 13 is in order to the operation shape of monitoring processor 11 State, and require that processor 11 changes the input WDI to enabling Canis familiaris L. unit in the given time The voltage of input.If the change in voltage of input WDI input, then illustrate in the given time Processor 11 normally works;Otherwise, then explanation processor 11 irregular working, i.e. predetermined Do not go in time to feed Canis familiaris L..
During work, export the first enable signal during processor 11 initialization operation to control unit 12, to disconnect the connection fed between Canis familiaris L. outfan WDO and the RESET input/MR, shield Cover the watchdog unit 13 watchdog function for processor 11.Additionally, when processor 11 Time properly functioning, processor 11 exports the second enable signal to control unit 12, will feed Canis familiaris L. Outfan WDO and the RESET input/MR connects, and starts watchdog unit 13 for place The watchdog function of reason device 11.This processing mode, only closes when processor initializes and sees Door Canis familiaris L. function, it is therefore prevented that the appearance of endless loop.
When powering on, processor 11 makes control unit 12 be in the off-state of acquiescence, so that Obtaining in power up, even if Canis familiaris L. fed by processor 11, watchdog unit 13 is from feeding Canis familiaris L. output The pulse signal that end WDO sends cannot pass through control unit 12 and is transferred to the RESET input / MR, thus reset output terminal Reset also will not send reset signal as system.
After initialization completes, control unit 12 opened by processor 11, and control unit 12 closes. If now Canis familiaris L. fed by processor 11 on time, then feeding of watchdog unit 13 respective processor 11 Canis familiaris L. signal, reset count depositor resets, and then will not be defeated to resetting by control unit 12 Entering end/MR and send pulse signal, watchdog unit 13 also will not produce reset signal;If place Canis familiaris L. fed by reason device 11 the most on time, and at reset count register spilling, watchdog unit 13 is passed through Feeding Canis familiaris L. outfan WDO and send a pulse signal, this pulse signal is fed back by control unit 12 Export a reset signal to the RESET input/MR, reset output terminal Reset, and then achieve The function of monitoring processor 11 running status.
From the point of view of further, in this position restoration circuit device, the scheduled time is 1.6S.
From the point of view of further, in this position restoration circuit device, the Canis familiaris L. that feeds of watchdog unit 13 exports End WDO is connected with one end of control unit 12, the other end of control unit 12 and house dog The RESET input of unit 13/MR connects.In simple terms, control unit 12 is arranged on and sees Feeding between Canis familiaris L. outfan WDO and the RESET input/MR, in order to control of door Canis familiaris L. unit 13 Whether the pulse signal feeding Canis familiaris L. outfan WDO output feeds back to the RESET input/MR, and then Control whether watchdog unit 13 exports reset signal from reset output terminal Reset.
From the point of view of further, in this position restoration circuit device, the enable signal output of processor 11 End IO1 is connected with control unit 12, i.e. processor 11 can control opening of control unit 12 Open and close.
From the point of view of further, the position restoration circuit device that the present embodiment proposes also includes a monitoring power supply Vin, this monitoring power supply Vin are connected with the first resistance R1 and the second resistance R2 of series connection, the The Power Supply Monitoring input of watchdog unit 13 it is connected between one resistance R1 and the second resistance R2 End PFI, i.e. monitoring power supply Vin is after the first resistance R1 and the second resistance R2 voltage division processing Access the Power Supply Monitoring input PFI of watchdog unit 13.
From the point of view of further, in the position restoration circuit device watchdog unit 13 that the present embodiment provides Power Supply Monitoring outfan PFO is connected to the reset output terminal Reset of watchdog unit 13.
When, after system electrification, watchdog unit 13 exports 200ms from reset output terminal Reset The reset signal of left and right, thus the function of electrification reset is realized for system.Meanwhile, house dog is single The voltage that unit 13 Power Supply Monitoring input PFI input is monitored, when voltage is less than predetermined voltage Time, export a pulse signal at Power Supply Monitoring outfan PFO, and will by peripheral circuit This pulse signal feeds back to the RESET input/MR, thus also exports at reset output terminal Reset One reset signal, it is achieved the function of monitoring voltage change.
From the point of view of further, in this position restoration circuit device, watchdog unit 13 is a house dog Chip, model is SGM706 or ADM706 etc..
From the point of view of further, in the position restoration circuit device that the present embodiment proposes, control unit 12 Model can be ADG702L.
The position restoration circuit device of the switch that the present embodiment proposes, it is achieved simple, and make in debugging Disabling or startup watchdog function, i.e. this circuit realiration can be selected initial at processor 11 Watchdog function is not enabled, to prevent before processor 11 has initialized before having changed Also processor 11 is inputted reset signal.Additionally, when exceptional reset occurs, by this electricity The reason of the appearance of a street easy decision processor 11 exceptional reset is not feed Canis familiaris L. to cause due to processor 11 Reset or the reset that causes of other reason.
For a person skilled in the art, after reading described above, various changes and modifications Will be apparent to undoubtedly.Therefore, appending claims should be regarded as and contains the true of the present invention Sincere figure and whole variations and modifications of scope.In Claims scope any and all etc. The scope of valency and content, be all considered as still belonging to the intent and scope of the invention.

Claims (10)

1. the position restoration circuit device of a switch, it is characterised in that described device includes:
Processor (11), has enable signal output part (IO1);
Control unit (12), has the enable signal receiving end being connected with described enable signal output part (IO1);
Watchdog unit (13), is connected with described processor (11), and described watchdog unit has to be connected by described control unit (12) feeds Canis familiaris L. outfan (WDO) and the RESET input (/MR);
Wherein, the first enable signal is exported to described control unit (12) during described processor (11) initialization operation, to disconnect the described connection fed between Canis familiaris L. outfan (WDO) and described the RESET input (/MR), shield the described watchdog unit (13) watchdog function for described processor (11).
Position restoration circuit device the most according to claim 1, it is characterized in that, described processor (11) output the second enable signal is to described control unit (12), to feed Canis familiaris L. outfan (WDO) and described the RESET input (/MR) connection by described, start the described watchdog unit (13) watchdog function for described processor (11).
Position restoration circuit device the most according to claim 2, it is characterized in that, the Power Supply Monitoring outfan (PFO) in described watchdog unit (13) is connected to described the RESET input (/MR) of described watchdog unit (13).
Position restoration circuit device the most according to claim 1, it is characterised in that described watchdog unit (13) is from the reset signal extremely described processor (11) of reset output terminal (Reset) output 200ms.
Position restoration circuit device the most according to claim 4, it is characterised in that described device also includes a monitoring power supply (Vin), described monitoring power supply is connected to the Power Supply Monitoring input (PFI) of described watchdog unit (13).
Position restoration circuit device the most according to claim 5, it is characterized in that, described device also includes a bleeder circuit, described bleeder circuit includes being connected on the first resistance (R1) between described monitoring power supply (Vin) and ground and the second resistance (R2), and described Power Supply Monitoring input (PFI) is accessed between described first resistance (R1) and described second resistance (R2).
Position restoration circuit device the most according to claim 1, it is characterised in that described watchdog unit (13) includes that a reseting register, described reseting register are connected with described processor (11).
Position restoration circuit device the most according to claim 7, it is characterised in that when Canis familiaris L. do not fed in 1.6s by described processor (11), described reseting register overflows.
Position restoration circuit device the most according to claim 1, it is characterised in that described watchdog unit (13) is a watchdog chip, the model of described watchdog chip is SGM706 or ADM706.
Position restoration circuit device the most according to claim 1, it is characterised in that the model of described control unit (12) is ADG702L.
CN201610201899.2A 2016-04-01 2016-04-01 Reset circuit device of switch Pending CN105897618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201899.2A CN105897618A (en) 2016-04-01 2016-04-01 Reset circuit device of switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201899.2A CN105897618A (en) 2016-04-01 2016-04-01 Reset circuit device of switch

Publications (1)

Publication Number Publication Date
CN105897618A true CN105897618A (en) 2016-08-24

Family

ID=57012563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201899.2A Pending CN105897618A (en) 2016-04-01 2016-04-01 Reset circuit device of switch

Country Status (1)

Country Link
CN (1) CN105897618A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415791A (en) * 2018-02-02 2018-08-17 上海康斐信息技术有限公司 A kind of watchdog circuit and control method
CN109274608A (en) * 2018-11-13 2019-01-25 浙江恒捷通信科技有限公司 A kind of intelligent acess digital SPC exchange
CN110750374A (en) * 2018-07-23 2020-02-04 迈普通信技术股份有限公司 Watchdog circuit and control method thereof
CN110928220A (en) * 2019-11-19 2020-03-27 北京深思数盾科技股份有限公司 Monitoring method and monitoring circuit
CN111143105A (en) * 2019-12-31 2020-05-12 深圳市源拓光电技术有限公司 Watchdog protection method and system for network pipe type switch

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165656A (en) * 2006-10-16 2008-04-23 艾默生网络能源系统有限公司 External watchdog circuit
CN101216788A (en) * 2008-01-21 2008-07-09 珠海中慧微电子有限公司 Reset control chip and method
CN101697130A (en) * 2009-10-26 2010-04-21 广东高新兴通信股份有限公司 Application method of watchdog of embedded system
CN102214124A (en) * 2011-06-08 2011-10-12 深圳市理邦精密仪器股份有限公司 Watchdog reset control system
CN202711238U (en) * 2012-07-25 2013-01-30 上海斐讯数据通信技术有限公司 Watchdog circuit
CN203054822U (en) * 2013-01-17 2013-07-10 广东威创视讯科技股份有限公司 Controllable watchdog circuit
CN104050050A (en) * 2013-03-13 2014-09-17 施耐德电器工业公司 Watchdog control circuit and control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165656A (en) * 2006-10-16 2008-04-23 艾默生网络能源系统有限公司 External watchdog circuit
CN101216788A (en) * 2008-01-21 2008-07-09 珠海中慧微电子有限公司 Reset control chip and method
CN101697130A (en) * 2009-10-26 2010-04-21 广东高新兴通信股份有限公司 Application method of watchdog of embedded system
CN102214124A (en) * 2011-06-08 2011-10-12 深圳市理邦精密仪器股份有限公司 Watchdog reset control system
CN202711238U (en) * 2012-07-25 2013-01-30 上海斐讯数据通信技术有限公司 Watchdog circuit
CN203054822U (en) * 2013-01-17 2013-07-10 广东威创视讯科技股份有限公司 Controllable watchdog circuit
CN104050050A (en) * 2013-03-13 2014-09-17 施耐德电器工业公司 Watchdog control circuit and control method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415791A (en) * 2018-02-02 2018-08-17 上海康斐信息技术有限公司 A kind of watchdog circuit and control method
CN110750374A (en) * 2018-07-23 2020-02-04 迈普通信技术股份有限公司 Watchdog circuit and control method thereof
CN109274608A (en) * 2018-11-13 2019-01-25 浙江恒捷通信科技有限公司 A kind of intelligent acess digital SPC exchange
CN110928220A (en) * 2019-11-19 2020-03-27 北京深思数盾科技股份有限公司 Monitoring method and monitoring circuit
CN111143105A (en) * 2019-12-31 2020-05-12 深圳市源拓光电技术有限公司 Watchdog protection method and system for network pipe type switch
CN111143105B (en) * 2019-12-31 2023-07-18 深圳市源拓光电技术有限公司 Watchdog protection method and system for network management type switch

Similar Documents

Publication Publication Date Title
CN105897618A (en) Reset circuit device of switch
US9471140B2 (en) Valid context status retention in processor power mode management
WO1993010498A1 (en) Security for on-chip microcontroller memory
CN108415791A (en) A kind of watchdog circuit and control method
US9558008B2 (en) Systems, methods, and apparatus for controlling the power-on or boot sequence of an integrated circuit based on power harvesting conditions
US8872554B2 (en) Externally configurable power-on-reset systems and methods for integrated circuits
US9817601B1 (en) Method and apparatus for determining feasibility of memory operating condition change using different back bias voltages
CN105892607A (en) Circuit and method for preventing switch from being repetitively reset
CN207257563U (en) Time-delay reset system and vehicle control device
CN103914123B (en) Computer device and power management method thereof
US9292301B1 (en) Systems, methods, and apparatus for controlling the power-on or boot sequence of an integrated circuit based on power harvesting conditions
US9436248B2 (en) Data processing system with protocol determination circuitry
US11947972B2 (en) Coordinating power transitions between a smart interconnect and heterogeneous components
CN104850465B (en) Load control space signal generation circuit
CN104850464B (en) Load control space signal generation circuit
CN113341780B (en) Mode selection circuit for low cost integrated circuits such as microcontrollers
EP2585934B1 (en) Pull-up resistor activation in a memory system
CN106292987A (en) A kind of processor power-off sequential control system and method
CN103944206B (en) Battery, supply unit and electronic device
US20130021161A1 (en) Indication circuit for indicating running status of electronic devices
WO2018219973A1 (en) Input circuit capable of reducing dark current
US20140359264A1 (en) Method for low power boot for microcontroller
CN109842401B (en) Latch-up resistant device and CMOS chip
CN116028391B (en) Electronic device, peripheral device, and single-wire communication system
CN113721508B (en) Power-on and power-off time sequence control device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication