CN206627943U - A kind of control circuit - Google Patents
A kind of control circuit Download PDFInfo
- Publication number
- CN206627943U CN206627943U CN201720330105.2U CN201720330105U CN206627943U CN 206627943 U CN206627943 U CN 206627943U CN 201720330105 U CN201720330105 U CN 201720330105U CN 206627943 U CN206627943 U CN 206627943U
- Authority
- CN
- China
- Prior art keywords
- controller
- chip
- hardware watchdog
- control circuit
- energy module
- 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.)
- Active
Links
Abstract
The utility model discloses a kind of control circuit, the control circuit includes:Controller, forbidden energy module and hardware watchdog;Wherein, the output end of controller is connected with the receiving terminal of forbidden energy module and the receiving terminal of hardware watchdog respectively;The output end of forbidden energy module and the receiving terminal of hardware watchdog connect;The output end of hardware watchdog and the receiving terminal of controller connect.When controller, which being in, not to download or during downloading, because the output pin of controller is in reset state, and then forbidden energy module is operated, hardware watchdog is set to continue to export high level, controller will not reset, and then directly can be downloaded to controller, and program size need not be considered;When also ensureing that the controller will not occur wrong because of other programs simultaneously, the hardware watchdog is set to be stopped, and then can not be resetted the controller.Due to without integrated equipment, only by the above-mentioned function of circuit realiration, effectively reducing production cost.
Description
Technical field
House dog control technology field is the utility model is related to, more specifically, more particularly to a kind of control circuit.
Background technology
Hardware watchdog circuit of the prior art, feeding-dog signal is sent to hardware watchdog by controller, so that firmly
Part house dog persistently exports high level, and then ensures that controller will not be resetted because of the control of hardware watchdog.But when
For controller before not downloading, controller sends feeding-dog signal without normal direction hardware watchdog, continues hardware watchdog
Output waveform is height upset waveform, and then controller can constantly reset.
And controller can only carry out download program when it is high level that hardware watchdog, which exports, and need certain
Ensure in time to download to complete, therefore the requirement to downloading equipment is very high, and with the continuous increase of program, required for downloading
Time will be continuously increased, and download equipment and will be unable to meet the needs of downloading.
In order to solve the above problems, prior art means are in actual production process, by collecting paired in production equipment
Equipment is answered by hardware watchdog forbidden energy, makes house dog continue to export high level, controller will not reset, and then directly to
Controller downloads, without considering program size.
But production cost is added by integrated corresponding device high degree.
Utility model content
In order to solve the above technical problems, the utility model provides a kind of control circuit, before production cost is not added to
Put, solve problems of the prior art.
To achieve the above object, the utility model provides following technical scheme:
A kind of control circuit, the control circuit include:Controller, forbidden energy module and hardware watchdog;
Wherein, the output end of the controller respectively with the receiving terminal of the forbidden energy module and the hardware watchdog
Receiving terminal connects;The output end of the forbidden energy module is connected with the receiving terminal of the hardware watchdog;The hardware watchdog
Output end is connected with the receiving terminal of the controller.
Preferably, in above-mentioned control circuit, the forbidden energy module includes at least two chips;
Wherein, it is connected in series between at least two chip.
Preferably, in above-mentioned control circuit, the chip is the triode of positive-negative-positive structure.
Preferably, in above-mentioned control circuit, the chip is PMOS.
Preferably, in above-mentioned control circuit, the forbidden energy module includes:First chip and the second chip;
Wherein, first chip is connected with second chip-in series;First chip and second chip
The output end with the controller is connected respectively;Second chip is connected with the receiving terminal of the hardware watchdog.
Preferably, in above-mentioned control circuit, first chip and three poles that second chip is positive-negative-positive structure
Pipe.
Preferably, in above-mentioned control circuit, first chip and second chip are PMOS.
Preferably, in above-mentioned control circuit, first chip is the triode of positive-negative-positive structure, and second chip is
PMOS;
Or first chip is PMOS, second chip is the triode of positive-negative-positive structure.
It can be seen from the above technical proposal that a kind of control circuit provided by the utility model includes:Controller, forbidden energy
Module and hardware watchdog;Wherein, the output end of the controller respectively with the receiving terminal of the forbidden energy module and described hard
The receiving terminal connection of part house dog;The output end of the forbidden energy module is connected with the receiving terminal of the hardware watchdog;It is described hard
The output end of part house dog is connected with the receiving terminal of the controller.
The control circuit controls forbidden energy module by controller, to change the working condition of hardware watchdog;That is,
When controller, which is in, not to download, because controller is in reset state, and then forbidden energy module is operated, and sees hardware
Door dog persistently exports high level, so as to which controller will not be caused constantly to be in reset state;And downloaded when controller is in
During when, because the output pin of controller is in reset state, and then forbidden energy module is operated, and makes hardware watchdog
High level is persistently exported, controller will not reset, and then directly can be downloaded to controller, and need not consider program
Size;And due to relevant device need not be integrated with, only by the above-mentioned function of circuit realiration, effectively reduce production cost.
Brief description of the drawings
, below will be to embodiment in order to illustrate more clearly of the utility model embodiment or technical scheme of the prior art
Or the required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, drawings in the following description are only
It is embodiment of the present utility model, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawings can be obtained according to the accompanying drawing of offer.
Fig. 1 is a kind of overall structure diagram for control circuit that the utility model embodiment provides;
Fig. 2 is a kind of principle schematic for control circuit that the utility model embodiment provides;
Fig. 3 is the principle schematic for another control circuit that the utility model embodiment provides.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, the technical scheme in the embodiment of the utility model is carried out
Clearly and completely describing, it is clear that described embodiment is only the utility model part of the embodiment, rather than whole
Embodiment.Based on the embodiment in the utility model, those of ordinary skill in the art are not under the premise of creative work is made
The every other embodiment obtained, belong to the scope of the utility model protection.
To enable above-mentioned purpose of the present utility model, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings and tool
Body embodiment is described in further detail to the utility model.
With reference to figure 1, Fig. 1 is a kind of overall structure diagram for control circuit that the utility model embodiment provides.
The control circuit includes:Controller 11, forbidden energy module 12 and hardware watchdog 13;
Wherein, the output end of the controller 11 is guarded the gate with the receiving terminal of the forbidden energy module 12 and the hardware respectively
The receiving terminal connection of dog 13;The output end of the forbidden energy module 12 is connected with the receiving terminal of the hardware watchdog 13;It is described hard
The output end of part house dog 13 is connected with the receiving terminal of the controller 11.
Specifically, when controller 11 is in and do not downloaded, because controller 11 is in reset state, and then forbidden energy mould
Block 12 is operated, and hardware watchdog 13 is persistently exported high level, so as to cause controller 11 constantly in reset shape
State, controller 11 can carry out download program;And when during controller 11 is in and downloaded, it is defeated due to controller 11
Go out pin and be in reset state, and then forbidden energy module 12 is operated, and hardware watchdog 13 is persistently exported high level, control
Device 11 will not reset, and then directly can be downloaded to controller 11, and need not consider program size;And effectively drop
Low production cost.
When 11 normal work of controller, forbidden energy module 12 is stopped, and controller 11 can be sent out hardware watchdog 13
Send feeding-dog signal.
When program error occurs in controller 11, controller 11 will stop sending feeding-dog signal to hardware watchdog 13, institute
State hardware watchdog 13 and send reset signal to controller 11, controller 11 is carried out reset operation.
Based on above-described embodiment, in another embodiment of the utility model, with reference to figure 2, Fig. 2 is the utility model embodiment
A kind of principle schematic of the control circuit provided.
The forbidden energy module 12 includes:First chip 21 and the second chip 22;
Specifically, first chip 21 is connected in series with second chip 22;First chip 21 and described
Output end of second chip 22 respectively with the controller 11 is connected;Second chip 22 connects with the hardware watchdog 13
Receiving end connects.
It should be noted that first chip 21 and second chip 22 output with the controller 11 respectively
The corresponding pin at end is attached.
Wherein, the feeding-dog signal that the first signal sends for the controller 11 to the hardware watchdog 13, secondary signal
And the 3rd signal be the control signal that is sent to the forbidden energy module 12 of the controller 11, control hardware watchdog 13 to reach
Purpose, as shown in Fig. 2 the controller 11 sends the secondary signal to first chip 21, the controller 11 to
Second chip 22 sends the 3rd signal.
Physical circuit operation principle is as follows:When 11 normal work of controller, the secondary signal of transmission is set
And the 3rd signal output is " 1 ", i.e. high level signal, and then the forbidden energy module 12 is stopped;
When the controller 11 is in the state or when during downloading of not downloading, the controller 11 stop to
The hardware watchdog 13 sends first signal, i.e. feeding-dog signal, and now the controller 11 enters reset state, simultaneously
The secondary signal and the 3rd signal output that the controller 11 is sent are " 0 ", i.e. low level signal, and then the taboo
Energy module 12 is operated, and by the forbidden energy of hardware watchdog 13, is no longer resetted the controller 11, is embodied in, described
Hardware watchdog 13 persistently exports high level signal to the controller 11.
Furthermore, it is desirable to explanation, according to practical application scene, the forbidden energy module 12 is only receiving described second
Signal and the 3rd signal export simultaneously when being " 0 ", i.e. low level signal, can just make the hardware watchdog 13 special
Pin is drawn high, and by the forbidden energy of hardware watchdog 13, no longer resets the controller.
If output is " 0 ", i.e. low level signal when the secondary signal and the 3rd signal difference, first core
Piece 21 will not be turned on second chip 22 or one of them will not be turned on, and the dedicated pin of hardware watchdog 13 is not
It can be driven high.
Wherein, the hardware watchdog 13 has dedicated pin as first signal, the i.e. input port of feeding-dog signal,
When 11 normal work of controller, the timing of controller 11 exports feeding-dog signal to the hardware watchdog 13.
, it is necessary to explanation in the utility model embodiment, using two chips, i.e., described first chip 21 and
Second chip 22 forms the forbidden energy module 12, and the controller 11 is needed by corresponding pin to first core
Piece 21 and second chip 22 are respectively controlled.
And because the secondary signal and the 3rd signal are used only for by the forbidden energy module 12 realization pair
The control of the hardware watchdog 13, other programs do not have to the secondary signal and the 3rd signal in the controller 11
Have an impact.That is, when the program of controller 11 occurs wrong, the secondary signal and the 3rd letter will not be made
Number output is " 0 ", i.e. low level signal, the normal work of hardware watchdog 13, but occurs that the controller 11 stops
The situation of feeding-dog signal is sent to the hardware watchdog 13, now the hardware watchdog 13 exports reset signal, makes described
Controller 11 carries out reset operation.
It follows that when the control circuit also ensures that the controller 11 will not occur wrong because of other programs, make described
Hardware watchdog 13 is stopped, and then can not be resetted the controller 11.
Wherein, first chip 21 and second chip 22 include, but are not limited to positive-negative-positive structure triode or
PMOS, and first chip 21 and second chip 22 can be the triode or PMOS of positive-negative-positive structure simultaneously;
Can also first chip 21 be positive-negative-positive structure triode, second chip 22 is PMOS;Or first chip 21
For PMOS, second chip 22 is the triode of positive-negative-positive structure.
Based on above-described embodiment, in another embodiment of the utility model, with reference to figure 3, Fig. 3 is the utility model embodiment
The principle schematic of another control circuit of offer.
The forbidden energy module 12 includes at least two chips;
Wherein, it is connected in series between at least two chip, and each chip and the output end phase of controller 11
Corresponding pin is attached.
It should be noted that in Fig. 3, in n-th chip, n is the positive integer more than 1;The chip includes but unlimited
It is set to the triode or PMOS of positive-negative-positive structure.
The operation principle of the circuit structure, an embodiment on the utility model is refer to, will not be repeated here.
By foregoing description, a kind of control circuit provided by the utility model, forbidden energy module is controlled by controller,
To change the working condition of hardware watchdog;That is, when controller is in and do not downloaded, because controller is in multiple
Position state, and then forbidden energy module is operated, and makes hardware watchdog continue to export high level, so as to which controller will not be caused continuous
In reset state;And when during controller is in and downloaded, because the output pin of controller is in resetting shape
State, and then forbidden energy module is operated, and makes hardware watchdog continue to export high level, controller will not reset, and then
It can directly be downloaded to controller, and program size need not be considered;Also ensure that the controller will not be because of other programs simultaneously
When occurring wrong, the hardware watchdog is stopped, and then can not be resetted the controller.And due to without
Integrated equipment, only by the above-mentioned function of circuit realiration, effectively reduce production cost.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or new using this practicality
Type.A variety of modifications to these embodiments will be apparent for those skilled in the art, determine herein
The General Principle of justice can be realized in other embodiments in the case where not departing from spirit or scope of the present utility model.Cause
This, the utility model is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein
The most wide scope consistent with features of novelty.
Claims (8)
1. a kind of control circuit, it is characterised in that the control circuit includes:Controller, forbidden energy module and hardware watchdog;
Wherein, the output end of the controller reception with the receiving terminal and the hardware watchdog of the forbidden energy module respectively
End connection;The output end of the forbidden energy module is connected with the receiving terminal of the hardware watchdog;The output of the hardware watchdog
End is connected with the receiving terminal of the controller.
2. control circuit according to claim 1, it is characterised in that the forbidden energy module includes at least two chips;
Wherein, it is connected in series between at least two chip.
3. control circuit according to claim 2, it is characterised in that the chip is the triode of positive-negative-positive structure.
4. control circuit according to claim 2, it is characterised in that the chip is PMOS.
5. control circuit according to claim 1, it is characterised in that the forbidden energy module includes:First chip and
Two chips;
Wherein, first chip is connected with second chip-in series;First chip and second chip difference
It is connected with the output end of the controller;Second chip is connected with the receiving terminal of the hardware watchdog.
6. control circuit according to claim 5, it is characterised in that first chip and second chip are
The triode of positive-negative-positive structure.
7. control circuit according to claim 5, it is characterised in that first chip and second chip are
PMOS.
8. control circuit according to claim 5, it is characterised in that first chip be positive-negative-positive structure triode, institute
It is PMOS to state the second chip;
Or first chip is PMOS, second chip is the triode of positive-negative-positive structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720330105.2U CN206627943U (en) | 2017-03-30 | 2017-03-30 | A kind of control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720330105.2U CN206627943U (en) | 2017-03-30 | 2017-03-30 | A kind of control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206627943U true CN206627943U (en) | 2017-11-10 |
Family
ID=60206071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720330105.2U Active CN206627943U (en) | 2017-03-30 | 2017-03-30 | A kind of control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206627943U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388526A (en) * | 2018-11-01 | 2019-02-26 | 郑州云海信息技术有限公司 | A kind of control circuit and the method for resetting operation |
-
2017
- 2017-03-30 CN CN201720330105.2U patent/CN206627943U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388526A (en) * | 2018-11-01 | 2019-02-26 | 郑州云海信息技术有限公司 | A kind of control circuit and the method for resetting operation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204044811U (en) | The switching device shifter of the direct-connected line of a kind of serial ports and cross spider | |
CN205959200U (en) | A latch circuit for I2C bus data transmission | |
CN202711238U (en) | Watchdog circuit | |
CN103838700A (en) | Level multiplexing control serial communication device and method | |
CN206627943U (en) | A kind of control circuit | |
CN103729042A (en) | PCIE (peripheral communication interface express) intelligent switching method based on PCIE hot plug function | |
CN204856482U (en) | Serial ports conversion equipment that can match line preface wantonly | |
CN104572331B (en) | The monitoring module enabled with power monitoring and delayed | |
CN106249687A (en) | A kind of method of backboard communication | |
CN205103810U (en) | Be applied to and count circuit that passes system control software upgrade | |
CN206353311U (en) | Switching circuit, electronic tag communicator and hand-held set applied to mobile device | |
CN204695303U (en) | The node being applied to damage detection system connects chip and meshed network thereof | |
CN103546138A (en) | Touch key control circuit | |
CN206627797U (en) | A kind of multi-path data acquiring system based on Modbus | |
CN204631557U (en) | A kind of coalcutter communication system controlled based on PLC | |
CN103324544A (en) | Online debugging circuit for single chip microcomputer system with external watchdog | |
CN203733113U (en) | Data flow reversing control circuit applied to RS485 interface | |
CN207281529U (en) | A kind of enabled control circuit of RS485 communications | |
CN102622278B (en) | Watchdog monitoring circuit and monitoring method | |
CN205836024U (en) | A kind of 3D printer intelligent controlling device | |
CN203054078U (en) | Nonpolar 485 communication circuit suitable for electric energy meter | |
CN206583538U (en) | A kind of multi-channel data acquisition storage system | |
CN206096827U (en) | Industrial data collection system | |
CN203942546U (en) | A kind of transition of communications gateway module | |
CN203923598U (en) | The Knitting Machinery special digital slide cam selector of integrated embedded driving |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | "change of name, title or address" |
Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020 Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101 Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd. |
|
CP03 | "change of name, title or address" |