CN108767828A - DA powers on anti-impact circuit in a kind of microcontroller - Google Patents

DA powers on anti-impact circuit in a kind of microcontroller Download PDF

Info

Publication number
CN108767828A
CN108767828A CN201810803806.2A CN201810803806A CN108767828A CN 108767828 A CN108767828 A CN 108767828A CN 201810803806 A CN201810803806 A CN 201810803806A CN 108767828 A CN108767828 A CN 108767828A
Authority
CN
China
Prior art keywords
field
effect tube
microcontroller
resistor
reset
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
CN201810803806.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.)
Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd
Original Assignee
Zhejiang Institute of Mechanical and Electrical Engineering 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 Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd filed Critical Zhejiang Institute of Mechanical and Electrical Engineering Co Ltd
Priority to CN201810803806.2A priority Critical patent/CN108767828A/en
Publication of CN108767828A publication Critical patent/CN108767828A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H9/00Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
    • H02H9/005Emergency protective circuit arrangements for limiting excess current or voltage without disconnection avoiding undesired transient conditions

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses DA in a kind of microcontroller to power on anti-impact circuit, its key points of the technical solution are that including reset chip, first resistor, second resistance, capacitance, first field-effect tube, second field-effect tube, the power end of the reset chip connects 3.3V power supplys, ground terminal is grounded, reset output terminal connects the reset terminal of microcontroller, the reset output terminal of the grid connection reset chip of first field-effect tube, the source electrode of first field-effect tube connects 3.3V power supplys, one end of first resistor connects the drain electrode of the first field-effect tube, it is grounded after the other end series capacitance of first resistor, the source electrode of second field-effect tube is grounded, grid connects the drain electrode of the first field-effect tube, the DA output channels of the drain electrode connection microcontroller of second field-effect tube.DA powers on anti-impact circuit precision height in a kind of microcontroller of the present invention, simple in structure, easy to use.

Description

DA powers on anti-impact circuit in a kind of microcontroller
Technical field
The present invention relates to DA in a kind of microcontroller to power on anti-impact circuit.
Background technology
Modern MCU system pin, to avoid malfunctioning late-class circuit, it is defeated to generally lie in high resistant before reset and initialization Enter state.The working condition is at some in application, interference signal still can be exported to late-class circuit, such as using in single chip microcomputer When DAC, during reset, the output of DA is high-impedance state, is easy to be interfered by outer signals, causes late-class circuit output uncertain, makes At product in the interference output of pulse signal for powering on the moment.
Conventional solution:
1. using relay, after system worked well, it is closed contact, connects DA signals,
Disadvantage:Using relay, cost increase, program is caused to control complexity and increase.
2. by DA output pins outer connecting resistance over the ground,
Disadvantage:Remove interference effect for what is reached, need using the smaller resistance of resistance value, and it is normal when, in piece the internal resistance of DA add Greatly, therefore DA outputs are output to late-class circuit after electric resistance partial pressure, cause practical DA out reach to become smaller, reduce DA's Precision.
Invention content
In view of the deficiencies of the prior art, the present invention intends to provide a kind of precision height, simple in structure, user Just DA powers on anti-impact circuit in microcontroller.
To achieve the above object, the present invention provides following technical solutions:DA powers on protecting against shock in a kind of microcontroller Circuit, including reset chip, first resistor, second resistance, capacitance, the first field-effect tube, the second field-effect tube, the reset coil The power end of piece connects 3.3V power supplys, ground terminal ground connection, and reset output terminal connects the reset terminal of microcontroller, the first field-effect tube Grid connection reset chip reset output terminal, the source electrode of the first field-effect tube connects 3.3V power supplys, one end of first resistor The drain electrode of the first field-effect tube is connected, is grounded after the other end series capacitance of first resistor, the source electrode ground connection of the second field-effect tube, Grid connects the drain electrode of the first field-effect tube, the DA output channels of the drain electrode connection microcontroller of the second field-effect tube.
The present invention is further arranged to:The anti-impact circuit further includes having 3rd resistor, and the one of the 3rd resistor The DA output channels of end connection microcontroller, the other end of 3rd resistor connect the drain electrode of the second field-effect tube.
The present invention is further arranged to:Second field-effect tube is at least provided with one, according to the DA on microcontroller Corresponding second field-effect tube is arranged in output channel quantity.
The present invention is further arranged to:The 3rd resistor be provided with it is multiple, according to the DA output channels on microcontroller Corresponding 3rd resistor is arranged in quantity.
The present invention is further arranged to:The resistance value of the first resistor is 470-2K Ω.
The present invention is further arranged to:The resistance value of the second resistance is 51K-200K Ω.
The present invention is further arranged to:The value of the capacitance is 1u-10uF.
Present invention tool has the advantage that:The interference pulse that electronic product is efficiently solved in the DA outputs for powering on the moment is believed Number output, improve product signal output accuracy, reduce late-class circuit malfunction.
Description of the drawings
Fig. 1 is the circuit diagram of the present invention.
In figure:1, reset chip;2, first resistor;3, second resistance;4, capacitance;5, the first field-effect tube;6, second Effect pipe;7,3rd resistor;8, microcontroller.
Specific implementation mode
Shown in referring to Fig.1, DA powers on anti-impact circuit in a kind of microcontroller of the present embodiment, including reset chip 1, The power end of first resistor 2, second resistance 3, capacitance 4, the first field-effect tube 5, the second field-effect tube 6, the reset chip 1 connects 3.3V power supplys, ground terminal ground connection are connect, reset output terminal connects the reset terminal of microcontroller 8, the grid connection of the first field-effect tube 5 The source electrode of the reset output terminal of reset chip 1, the first field-effect tube 5 connects 3.3V power supplys, one end connection first of first resistor 2 The drain electrode of field-effect tube 5 is grounded after the other end series capacitance 4 of first resistor 2, the source electrode ground connection of the second field-effect tube 6, grid Connect the drain electrode of the first field-effect tube 5, the DA output channels of the drain electrode connection microcontroller 8 of the second field-effect tube 6.
The anti-impact circuit further includes having 3rd resistor 7, one end connection microcontroller 8 of the 3rd resistor 7 DA output channels, the other end of 3rd resistor 7 connect the drain electrode of the second field-effect tube 6.
Second field-effect tube 6 is at least provided with one, according to the DA output channel quantity on microcontroller 8, setting Corresponding second field-effect tube 6.
The 3rd resistor 7 be provided with it is multiple, according to the DA output channel quantity on microcontroller 8, setting corresponding the Three resistance 7.
The resistance value of the first resistor 2 is 470-2K Ω.
The resistance value of the second resistance 3 is 51K-200K Ω.
The value of the capacitance 4 is 1u-10uF.
By using above-mentioned technical proposal, resets IC U1 pin3 and connect power supply, pin1 ground connection, pin2 resets output and connects all the way 8 resetting pin of microcontroller, another way connect Q0 grids, and Q0 source electrodes connect the source electrode ground connection of 3.3V power supplys, Q1, Q2, QN, the drain electrode of Q0 with The grid of Q1, Q2, QN connect, while one end of connecting resistance R1, R2, resistance R2 other ends ground connection, another termination capacitors of resistance R1 The one end 4C1, C1 other ends ground connection;The DA that the drain electrode of Q1, Q2, QN connect microcontroller 8 respectively after current-limiting resistance R3, R4, RN is defeated Go out channel 1, DA output channels 2, DA output channels N;Another way connects respective late-class circuit 1, rear class respectively for the drain electrode of Q1, Q2, QN Circuit 2, late-class circuit N.
When powering on, resets ICpin2 and reset output low level, Q0, Q1, Q2, QN conducting export DA output channels 1, DA Channel 2, DA output channels N, late-class circuit 1, late-class circuit 2, late-class circuit N are respectively grounded respectively, while to C1 through R1 current limlitings After charge.
After reset, resetting ICpin2 and reset output high level, Q0 cut-offs, C1 discharges through R1, R2, Q1 during electric discharge, Q2, QN continue to be connected, and microcontroller completes initial work, complete delivery outlet setting.
After C1 discharges, Q1, Q2, QN cut-off, DA output channels normally connect respective late-class circuit, work normally.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (7)

1. DA powers on anti-impact circuit in a kind of microcontroller, it is characterised in that:Including reset chip, first resistor, second The power end of resistance, capacitance, the first field-effect tube, the second field-effect tube, the reset chip connects 3.3V power supplys, ground connection termination Ground, reset output terminal connect the reset terminal of microcontroller, and the grid of the first field-effect tube connects the reset output terminal of reset chip, The source electrode of first field-effect tube connects 3.3V power supplys, and one end of first resistor connects the drain electrode of the first field-effect tube, first resistor Other end series capacitance after be grounded, the source electrode of the second field-effect tube ground connection, grid connect the drain electrode of the first field-effect tube, second The DA output channels of the drain electrode connection microcontroller of field-effect tube.
2. DA powers on anti-impact circuit in a kind of microcontroller according to claim 1, it is characterised in that:Described is anti- It further includes having 3rd resistor to impact circuit, the DA output channels of one end connection microcontroller of the 3rd resistor, 3rd resistor The other end connect the second field-effect tube drain electrode.
3. DA powers on anti-impact circuit in a kind of microcontroller according to claim 2, it is characterised in that:Described second At least provided with one, according to the DA output channel quantity on microcontroller, corresponding second field-effect tube is arranged in field-effect tube.
4. DA powers on anti-impact circuit in a kind of microcontroller according to claim 3, it is characterised in that:The third Resistance is provided with multiple, and according to the DA output channel quantity on microcontroller, corresponding 3rd resistor is arranged.
5. DA powers on anti-impact circuit in a kind of microcontroller according to claim 1, it is characterised in that:Described first The resistance value of resistance is 470-2K Ω.
6. DA powers on anti-impact circuit in a kind of microcontroller according to claim 1, it is characterised in that:Described second The resistance value of resistance is 51K-200K Ω.
7. DA powers on anti-impact circuit in a kind of microcontroller according to claim 1, it is characterised in that:The capacitance Value be 1u-10uF.
CN201810803806.2A 2018-07-20 2018-07-20 DA powers on anti-impact circuit in a kind of microcontroller Pending CN108767828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810803806.2A CN108767828A (en) 2018-07-20 2018-07-20 DA powers on anti-impact circuit in a kind of microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810803806.2A CN108767828A (en) 2018-07-20 2018-07-20 DA powers on anti-impact circuit in a kind of microcontroller

Publications (1)

Publication Number Publication Date
CN108767828A true CN108767828A (en) 2018-11-06

Family

ID=63971022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810803806.2A Pending CN108767828A (en) 2018-07-20 2018-07-20 DA powers on anti-impact circuit in a kind of microcontroller

Country Status (1)

Country Link
CN (1) CN108767828A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212216A (en) * 2006-12-29 2008-07-02 鸿富锦精密工业(深圳)有限公司 Delay circuit
US20090268360A1 (en) * 2008-04-25 2009-10-29 Hitachi, Ltd. Protection circuit
CN102637054A (en) * 2012-04-21 2012-08-15 吉林大学 50-ampere power consumption balanced-type high-power constant-current source
CN204012273U (en) * 2014-08-02 2014-12-10 温州金象电器设备有限公司 Dust-proof switch cabinet
CN208782468U (en) * 2018-07-20 2019-04-23 浙江机电职业技术学院 DA powers on anti-impact circuit in a kind of microcontroller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212216A (en) * 2006-12-29 2008-07-02 鸿富锦精密工业(深圳)有限公司 Delay circuit
US20090268360A1 (en) * 2008-04-25 2009-10-29 Hitachi, Ltd. Protection circuit
CN102637054A (en) * 2012-04-21 2012-08-15 吉林大学 50-ampere power consumption balanced-type high-power constant-current source
CN204012273U (en) * 2014-08-02 2014-12-10 温州金象电器设备有限公司 Dust-proof switch cabinet
CN208782468U (en) * 2018-07-20 2019-04-23 浙江机电职业技术学院 DA powers on anti-impact circuit in a kind of microcontroller

Similar Documents

Publication Publication Date Title
CN203455642U (en) Multi-sensor control circuit
CN103166444B (en) Remote turn-off control signal receiving circuit
CN104362608A (en) Overvoltage suppression and under-voltage surge detection circuit
CN208782468U (en) DA powers on anti-impact circuit in a kind of microcontroller
CN108767828A (en) DA powers on anti-impact circuit in a kind of microcontroller
CN107666307B (en) USB inserts detection circuitry and USB inserts check out test set
CN108879616A (en) A kind of capacitor ripple current protective device, method and air conditioner
CN106021166A (en) RS485 bus-based multi-host communication circuit
CN206948673U (en) A kind of BUCK type LED drive circuits for preventing lower electric backflash
CN203233159U (en) MP3 player with electrostatic protection and surge protection
CN101751099A (en) Signal generation circuit
CN106793250B (en) Constant-current circuit and constant-current controller
CN208984719U (en) A kind of battery pack detection circuit for access and charging unit
CN204190733U (en) A kind of reset circuit realizing the high stability of time delay
CN107809229A (en) A kind of more key combination hardware reset circuits and electronic product
CN208690924U (en) DA powers on anti-impact circuit in multichannel microcontroller
DE102018217262A1 (en) Device and method for waking an electronic device and charging interface
CN202856340U (en) Electro-static discharge interference resisting circuit with metal dome button
CN210626916U (en) Temperature and pressure acquisition circuit based on single chip microcomputer
CN208241642U (en) A kind of reset circuit based on microcontroller serial port programming
CN207937991U (en) a kind of hardware watchdog circuit
CN110429694A (en) A kind of method and device preventing the concatenated dry cell reversal connection of 4 sections
CN207817678U (en) A kind of configurable watchdog circuit for resetting duration and timing length
CN211239812U (en) Stable and reliable reset circuit
CN203232871U (en) Electrostatic protection circuit for IO port of USB flash disk

Legal Events

Date Code Title Description
PB01 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106