CN103633732B - Capacitance-type short-time power supply device and method for a single chip microprocessor - Google Patents

Capacitance-type short-time power supply device and method for a single chip microprocessor Download PDF

Info

Publication number
CN103633732B
CN103633732B CN201310711622.0A CN201310711622A CN103633732B CN 103633732 B CN103633732 B CN 103633732B CN 201310711622 A CN201310711622 A CN 201310711622A CN 103633732 B CN103633732 B CN 103633732B
Authority
CN
China
Prior art keywords
power supply
integrated circuit
voltage
supply integrated
stabilized voltage
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
Application number
CN201310711622.0A
Other languages
Chinese (zh)
Other versions
CN103633732A (en
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.)
Heilongjiang University
Original Assignee
Heilongjiang University
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 Heilongjiang University filed Critical Heilongjiang University
Priority to CN201310711622.0A priority Critical patent/CN103633732B/en
Publication of CN103633732A publication Critical patent/CN103633732A/en
Application granted granted Critical
Publication of CN103633732B publication Critical patent/CN103633732B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a capacitance-type short-time power supply device and method for a single chip microprocessor, which relate to the power supply technology of the single chip microprocessor, and aim at solving the problem that an external power supply for the single chip microprocessor is instable so that the work of the single chip microprocessor is interrupted. A single chip microprocessor circuit continuously reads data at an input port of an A/D (analog/digital) converter so as to monitor the voltages at two ends of a first capacitor and output the PWM (pulse width modulation) waveform to a field effect tube according to voltage values. If an external voltage suddenly drops, the voltages at two ends of the first capacitor also drop, and the duty ratio of the PWM waveform can be adjusted by the single chip microprocessor circuit in time according to the UC1, so that the input voltage UC2 of a second stabilizing power supply integrated circuit is equal to 5.5V. When the power failure time of the external power supply is smaller than the voltage time required for satisfying the subsequent second stabilizing power supply integrated circuit, the capacitance-type short-time power supply system for the single chip microprocessor can play a role in enabling the single chip microprocessor circuit not to be in power failure. The capacitance-type short-time power supply device and method are suitable for powering the single chip microprocessor.

Description

Single-chip microcomputer condenser type short-duration power device and method of supplying power to
Technical field
The present invention relates to single-chip microcomputer power supply technique.
Background technology
Generally, single-chip microcomputer all uses standardized power supply plan: use voltage stabilizing chip power supply, single-chip microcomputer has power-off reset function.But when exterior power supply plant is unstable, the local power as service cable virtual connection, place is unstable, the power supply short-time loss of power supply being applied to voltage stabilizing chip can be caused, thus make single-chip microcomputer short supply interruption, and then make program interrupt, or make monolithic processor resetting, cause operating interruptions.
Summary of the invention
The object of the invention is the problem causing single-chip microcomputer operating interruptions in order to solve single-chip microcomputer external application power supply instability, a kind of single-chip microcomputer condenser type short-duration power device and method of supplying power to are provided.
Single-chip microcomputer condenser type short-duration power device of the present invention, this device comprises the first stabilized voltage power supply integrated circuit, the first voltage transitions stabilized voltage power supply integrated circuit, single chip circuit and accessory power supply, and described accessory power supply comprises the first diode, the first electric capacity, inductance, field effect transistor, the second diode, the second electric capacity, the second stabilized voltage power supply integrated circuit and the second voltage transitions stabilized voltage power supply integrated circuit;
Two voltage input ends of described first stabilized voltage power supply integrated circuit are two voltage input ends of described single-chip microcomputer condenser type short-duration power device, two voltage output ends of the first stabilized voltage power supply integrated circuit connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit connect two power supply signal input parts of single chip circuit respectively;
The positive input terminal of described single-chip microcomputer in two voltage input ends of condenser type short-duration power device also connects the positive pole of the first diode simultaneously, the negative pole of described first diode connects one end of the first electric capacity simultaneously, one end of inductance and the A/D converter input port of single chip circuit, the other end of inductance connects the drain electrode of field effect transistor and the positive pole of the second diode simultaneously, the negative pole of described second diode connects one end of the second electric capacity, the negative input end of single-chip microcomputer in two power supply signal input parts of condenser type short-duration power device connects the other end of the first electric capacity simultaneously, the source electrode of field effect transistor and the other end of the second electric capacity, the two ends of described second electric capacity also connect two electrical inputs of the second stabilized voltage power supply integrated circuit respectively, two electric outputs of described second stabilized voltage power supply integrated circuit connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit connect two power supply signal input parts of single chip circuit respectively, the pwm control signal output port of described single chip circuit connects the grid level of field effect transistor,
Described single chip circuit is embedded in the control module of software simulating, and described control module comprises:
Reading device: for reading the data that A/D converter input port is sent, obtain the voltage U C1 at the first electric capacity two ends;
Calculation element: the voltage U C1 for exporting according to reading device calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM Waveform output device: the duty ratio D for exporting according to calculation element exports PWM wave control signal to field effect transistor;
Judgment means: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM Waveform output device to run, terminating power supply, when judged result is no, starting reading device.
Single-chip microcomputer condenser type short-duration power method of the present invention realizes based on following system, described system comprises the first stabilized voltage power supply integrated circuit, the first voltage transitions stabilized voltage power supply integrated circuit, single chip circuit and accessory power supply, and described accessory power supply comprises the first diode, the first electric capacity, inductance, field effect transistor, the second diode, the second electric capacity, the second stabilized voltage power supply integrated circuit and the second voltage transitions stabilized voltage power supply integrated circuit;
Two voltage input ends of described first stabilized voltage power supply integrated circuit are two voltage input ends of described single-chip microcomputer condenser type short-duration power system, two voltage output ends of the first stabilized voltage power supply integrated circuit connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit connect two voltage input ends of single chip circuit respectively;
The positive input terminal of described single-chip microcomputer in two voltage input ends of condenser type short-duration power system also connects the positive pole of the first diode simultaneously, the negative pole of described first diode connects one end of the first electric capacity simultaneously, one end of inductance and the A/D converter input port of single chip circuit, the other end of inductance connects the drain electrode of field effect transistor and the positive pole of the second diode simultaneously, the negative pole of described second diode connects one end of the second electric capacity, the negative input end of single-chip microcomputer in two voltage input ends of condenser type short-duration power system connects the other end of the first electric capacity simultaneously, the source electrode of field effect transistor and the other end of the second electric capacity, the two ends of described second electric capacity also connect two electrical inputs of the second stabilized voltage power supply integrated circuit respectively, two electric outputs of described second stabilized voltage power supply integrated circuit connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit connect two voltage input ends of single chip circuit respectively, the digital output port of described single chip circuit connects the grid level of field effect transistor,
Described method of supplying power to is that described method of supplying power to comprises the following steps by the software simulating be embedded in single chip circuit:
Read step: for reading the data that A/D converter input port is sent, obtaining the voltage U C1 at the first electric capacity two ends, and perform calculation procedure after this step terminates;
Calculation procedure: the voltage U C1 for obtaining according to read step calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM wave form output step: the duty ratio D for obtaining according to calculation procedure exports PWM wave control signal to field effect transistor;
Determining step: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM wave form output step, terminating power supply, when judged result is no, return execution read step.
In single-chip microcomputer condenser type short-duration power device of the present invention and method of supplying power to, single chip circuit ceaselessly reads the data of A/D converter input port, to realize the monitoring to the first electric capacity both end voltage, and according to this magnitude of voltage computed duty cycle D, then export PWM waveform to field effect transistor according to this duty ratio D.In voltage monitoring process, if applied voltage declines suddenly, the voltage at the first electric capacity two ends also declines thereupon, and single chip circuit can adjust the duty ratio of PWM waveform in time according to UC1, equals 5.5 volts to make the input voltage UC2 of the second stabilized voltage power supply integrated circuit.When receiving single-chip microcomputer instruction out of service, single chip circuit all programs out of service.Be shorter than the voltage time met the demands of the second stabilized voltage power supply integrated circuit be added to below when the dead electricity time of additional power source, single-chip microcomputer condenser type short-duration power system will play the effect making single chip circuit not dead electricity.
Accompanying drawing explanation
Fig. 1 is the circuit structure diagram of single-chip microcomputer condenser type short-duration power device of the present invention;
Fig. 2 is the flow chart of single-chip microcomputer condenser type short-duration power method of the present invention.
Embodiment
Embodiment one: composition graphs 1 illustrates present embodiment, single-chip microcomputer described in present embodiment condenser type short-duration power device, this device comprises the first stabilized voltage power supply integrated circuit S1, the first voltage transitions stabilized voltage power supply integrated circuit S2, single chip circuit 1 and accessory power supply 2, and described accessory power supply 2 comprises the first diode D1, the first electric capacity C1, inductance L, field effect transistor M, the second diode D2, the second electric capacity C2, the second stabilized voltage power supply integrated circuit S3 and the second voltage transitions stabilized voltage power supply integrated circuit S4;
Two voltage input ends of described first stabilized voltage power supply integrated circuit S1 are two voltage input ends of described single-chip microcomputer condenser type short-duration power system, two voltage output ends of the first stabilized voltage power supply integrated circuit S1 connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit S2 respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit S2 connect two power supply signal input parts of single chip circuit 1 respectively;
The positive input terminal of described single-chip microcomputer in two power supply signal input parts of condenser type short-duration power system also connects the positive pole of the first diode D1 simultaneously, the negative pole of described first diode D1 connects one end of the first electric capacity C1 simultaneously, one end of inductance L and the A/D converter input port of single chip circuit 1, the other end of inductance L connects the drain electrode of field effect transistor M and the positive pole of the second diode D2 simultaneously, the negative pole of described second diode D2 connects one end of the second electric capacity C2, the negative input end of single-chip microcomputer in two power supply signal input parts of condenser type short-duration power system connects the other end of the first electric capacity C1 simultaneously, the source electrode of field effect transistor M and the other end of the second electric capacity C2, the two ends of described second electric capacity C2 also connect two electrical inputs of the second stabilized voltage power supply integrated circuit S3 respectively, two electric outputs of described second stabilized voltage power supply integrated circuit S3 connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit S4 respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit S4 connect two power supply signal input parts of single chip circuit 1 respectively, the pwm control signal output port of described single chip circuit 1 connects the grid level of field effect transistor M,
Described single chip circuit 1 is embedded in the control module of software simulating, and described control module comprises:
Reading device: for reading the data that A/D converter input port is sent, obtains the voltage U C1 at the first electric capacity C1 two ends;
Calculation element: the voltage U C1 for exporting according to reading device calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM Waveform output device: the duty ratio D for exporting according to calculation element exports PWM wave control signal to field effect transistor M;
Judgment means: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM Waveform output device to run, terminating power supply, when judged result is no, starting reading device.
Single chip circuit 1 in present embodiment while as the object be powered, plays again the effect controlling accessory power supply 2.In external power normal power supply situation, be greater than 5 volts and the applied voltage being less than 10 volts is added to V and GND0 end, powered to single chip circuit 1 by the first stabilized voltage power supply integrated circuit S1 and the first voltage transitions stabilized voltage power supply integrated circuit S2, single chip circuit 1 normally works.Meanwhile, applied voltage is charged to the first electric capacity C1 by the first diode D1, and make the first electric capacity C1 be full of electric energy very soon, the voltage at described first electric capacity C1 two ends is UC1.Single chip circuit 1 carries out pulse width modulation (PWM) by its digital output port to the grid of field effect transistor M and controls.The voltage U C2 at the second electric capacity C2 two ends is set as 5.5 volts, then D0=1-UC1/5.5 is compared in the control that accounts for now.Like this, during field effect transistor M conducting, first electric capacity C1 charges to inductance L, and when field effect transistor M turns off, first electric capacity C1 provides electric energy, the input voltage of the second stabilized voltage power supply integrated circuit S3 to together with inductance L the second stabilized voltage power supply integrated circuit S3 below, and namely the magnitude of voltage UC2 at the second electric capacity C2 two ends is greater than the voltage at the first electric capacity C1 two ends, serve the effect that voltage promotes, the value of UC2 calculates according to formula UC2=(1/ (1-D)) UC1.Single chip circuit 1 monitors the voltage U C1 at the first electric capacity C1 two ends simultaneously by A/D converter input port, along with the reduction of UC1, single chip circuit 1 improves accounting for of pulse width modulation control (PWM) to be controlled than D, and then makes the voltage U C2 at the second stabilized voltage power supply integrated circuit S3 two ends be added to below that the longer time can be had to be greater than the voltage of the first voltage transitions stabilized voltage power supply integrated circuit S2 requirement.It is 5.5 volts that cause sets UC2, then account for control than being D=1-UC1/5.5.When applied voltage declines suddenly, if the dead electricity time is shorter than the voltage time met the demands of the second stabilized voltage power supply integrated circuit S3 be added to below, single-chip microcomputer condenser type short-duration power system will play the effect making single chip circuit 1 not dead electricity.
Embodiment two: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode one, in present embodiment, described field effect transistor M adopts N channel enhancement metal-oxide-semiconductor to realize.
Embodiment three: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode one, in present embodiment, described single chip circuit 1 adopts C8051F020 type chip microcontroller.
Embodiment four: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode three, in present embodiment, the first described voltage transitions stabilized voltage power supply integrated circuit S2 employing model is that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits realizations.
In present embodiment, the first voltage transitions stabilized voltage power supply integrated circuit S2 is used for providing 3.3 volts of stabilized voltage power supplys to single chip circuit 1.
Embodiment five: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode four, in present embodiment, the first described stabilized voltage power supply integrated circuit S1 employing model is that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
In present embodiment, the first stabilized voltage power supply integrated circuit S1 is used for providing 5 volts of stabilized voltage power supplys to the first voltage transitions stabilized voltage power supply integrated circuit S2.
Embodiment six: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode three, in present embodiment, the second described voltage transitions stabilized voltage power supply integrated circuit S4 employing model is that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits realizations.
In present embodiment, the second voltage transitions stabilized voltage power supply integrated circuit S4 is used for when applied voltage declines suddenly, provides 3.3 volts of stabilized voltage power supplys to single chip circuit 1.
Embodiment seven: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode six, in present embodiment, the second described stabilized voltage power supply integrated circuit S3 employing model is that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
In present embodiment, the second stabilized voltage power supply integrated circuit S3 is used for when applied voltage declines suddenly, provides 5 volts of stabilized voltage power supplys to the second voltage transitions stabilized voltage power supply integrated circuit S4.
Embodiment eight: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power device described in execution mode six, in present embodiment, the A/D converter input port of described single chip circuit 1 is the AIN0.0 port of single-chip microcomputer, and the digital output port of described single chip circuit 1 is the P3.0 port of single-chip microcomputer.
The P3.0 end of C8051F020 type single-chip microcomputer is digital input/output end port, in present embodiment, sets it to digital output port.
Embodiment nine: composition graphs 1 and Fig. 2 illustrate present embodiment, single-chip microcomputer described in present embodiment condenser type short-duration power method, the method realizes based on following system, described system comprises the first stabilized voltage power supply integrated circuit S1, first voltage transitions stabilized voltage power supply integrated circuit S2, single chip circuit 1 and accessory power supply 2, described accessory power supply 2 comprises the first diode D1, first electric capacity C1, inductance L, field effect transistor M, second diode D2, second electric capacity C2, second stabilized voltage power supply integrated circuit S3 and the second voltage transitions stabilized voltage power supply integrated circuit S4,
Two voltage input ends of described first stabilized voltage power supply integrated circuit S1 are two voltage input ends of described single-chip microcomputer condenser type short-duration power system, two voltage output ends of the first stabilized voltage power supply integrated circuit S1 connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit S2 respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit S2 connect two voltage input ends of single chip circuit 1 respectively;
The positive input terminal of described single-chip microcomputer in two voltage input ends of condenser type short-duration power system also connects the positive pole of the first diode D1 simultaneously, the negative pole of described first diode D1 connects one end of the first electric capacity C1 simultaneously, one end of inductance L and the A/D converter input port of single chip circuit 1, the other end of inductance L connects the drain electrode of field effect transistor M and the positive pole of the second diode D2 simultaneously, the negative pole of described second diode D2 connects one end of the second electric capacity C2, the negative input end of single-chip microcomputer in two voltage input ends of condenser type short-duration power system connects the other end of the first electric capacity C1 simultaneously, the source electrode of field effect transistor M and the other end of the second electric capacity C2, the two ends of described second electric capacity C2 also connect two electrical inputs of the second stabilized voltage power supply integrated circuit S3 respectively, two electric outputs of described second stabilized voltage power supply integrated circuit S3 connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit S4 respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit S4 connect two voltage input ends of single chip circuit 1 respectively, the digital output port of described single chip circuit 1 connects the grid level of field effect transistor M,
Described method of supplying power to is that described method of supplying power to comprises the following steps by the software simulating be embedded in single chip circuit 1:
Read step: for reading the data that A/D converter input port is sent, obtains the voltage U C1 at the first electric capacity C1 two ends, and perform calculation procedure after this step terminates;
Calculation procedure: the voltage U C1 for obtaining according to read step calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM wave form output step: the duty ratio D for obtaining according to calculation procedure exports PWM wave control signal to field effect transistor M;
Determining step: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM wave form output step, terminating power supply, when judged result is no, return execution read step.
When single chip circuit 1 runs, first carry out the initialization of system initialization and A/D converter, the data structure of whole Single Chip Microcomputer (SCM) system is set, then start to run described method of supplying power to and other function programs simultaneously.
Described method of supplying power to is: single chip circuit 1 reads the data of A/D converter input port, to realize the monitoring to the first electric capacity C1 both end voltage, and according to this magnitude of voltage computed duty cycle D, then exports PWM waveform to field effect transistor M according to this duty ratio D.In voltage monitoring process, if applied voltage declines suddenly, the voltage at the first electric capacity C1 two ends also declines thereupon, and single chip circuit 1 can adjust the duty ratio of PWM waveform in time according to UC1, equals 5.5 volts to make the input voltage UC2 of the second stabilized voltage power supply integrated circuit S3.When receiving single-chip microcomputer instruction out of service, single chip circuit 1 all programs out of service.Be shorter than the voltage time met the demands of the second stabilized voltage power supply integrated circuit S3 be added to below when the dead electricity time of additional power source, single-chip microcomputer condenser type short-duration power system will play the effect making single chip circuit 1 not dead electricity.
Embodiment ten: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode nine, in present embodiment, described field effect transistor M adopts N channel enhancement metal-oxide-semiconductor to realize.
Embodiment 11: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode nine, in present embodiment, described single chip circuit 1 adopts C8051F020 type chip microcontroller.
Embodiment 12: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode 11, in present embodiment, the first described voltage transitions stabilized voltage power supply integrated circuit S2 employing model is that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits realizations.
In present embodiment, the first voltage transitions stabilized voltage power supply integrated circuit S2 is used for providing 3.3 volts of stabilized voltage power supplys to single chip circuit 1.
Embodiment 13: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode 12, in present embodiment, the first described stabilized voltage power supply integrated circuit S1 employing model is that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
In present embodiment, the first stabilized voltage power supply integrated circuit S1 is used for providing 5 volts of stabilized voltage power supplys to the first voltage transitions stabilized voltage power supply integrated circuit S2.
Embodiment 14: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode 11, in present embodiment, the second described voltage transitions stabilized voltage power supply integrated circuit S4 employing model is that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits realizations.
In present embodiment, the second voltage transitions stabilized voltage power supply integrated circuit S4 is used for when applied voltage declines suddenly, provides 3.3 volts of stabilized voltage power supplys to single chip circuit 1.
Embodiment 15: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode 14, in present embodiment, the second described stabilized voltage power supply integrated circuit S3 employing model is that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
In present embodiment, the second stabilized voltage power supply integrated circuit S3 is used for when applied voltage declines suddenly, provides 5 volts of stabilized voltage power supplys to the second voltage transitions stabilized voltage power supply integrated circuit S4.
Embodiment 17: composition graphs 1 illustrates present embodiment, present embodiment is the further restriction to the single-chip microcomputer condenser type short-duration power method described in execution mode 11, in present embodiment, the A/D converter input port of described single chip circuit 1 is the AIN0.0 port of single-chip microcomputer, and the digital output port of described single chip circuit 1 is the P3.0 port of single-chip microcomputer.
The P3.0 end of C8051F020 type single-chip microcomputer is digital input/output end port, in present embodiment, sets it to digital output port.

Claims (10)

1. single-chip microcomputer condenser type short-duration power device, it is characterized in that: this device comprises the first stabilized voltage power supply integrated circuit (S1), first voltage transitions stabilized voltage power supply integrated circuit (S2), single chip circuit (1) and accessory power supply (2), described accessory power supply (2) comprises the first diode (D1), first electric capacity (C1), inductance (L), field effect transistor (M), second diode (D2), second electric capacity (C2), second stabilized voltage power supply integrated circuit (S3) and the second voltage transitions stabilized voltage power supply integrated circuit (S4),
Two voltage input ends of described first stabilized voltage power supply integrated circuit (S1) are two voltage input ends of described single-chip microcomputer condenser type short-duration power device, two voltage output ends of the first stabilized voltage power supply integrated circuit (S1) connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit (S2) respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit (S2) connect two power supply signal input parts of single chip circuit (1) respectively;
The positive input terminal of described single-chip microcomputer in two voltage input ends of condenser type short-duration power device also connects the positive pole of the first diode (D1) simultaneously, the negative pole of described first diode (D1) connects one end of the first electric capacity (C1) simultaneously, one end of inductance (L) and the A/D converter input port of single chip circuit (1), the other end of inductance (L) connects the drain electrode of field effect transistor (M) and the positive pole of the second diode (D2) simultaneously, the negative pole of described second diode (D2) connects one end of the second electric capacity (C2), the negative input end of single-chip microcomputer in two power supply signal input parts of condenser type short-duration power device connects the other end of the first electric capacity (C1) simultaneously, the source electrode of field effect transistor (M) and the other end of the second electric capacity (C2), the two ends of described second electric capacity (C2) also connect two electrical inputs of the second stabilized voltage power supply integrated circuit (S3) respectively, two electric outputs of described second stabilized voltage power supply integrated circuit (S3) connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit (S4) respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit (S4) connect two power supply signal input parts of single chip circuit (1) respectively, the pwm control signal output port of described single chip circuit (1) connects the grid level of field effect transistor (M),
Described single chip circuit (1) is embedded in the control module of software simulating, and described control module comprises:
Reading device: for reading the data that A/D converter input port is sent, obtain the voltage U C1 at the first electric capacity (C1) two ends;
Calculation element: the voltage U C1 for exporting according to reading device calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM Waveform output device: the duty ratio D for exporting according to calculation element exports PWM wave control signal to field effect transistor (M);
Judgment means: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM Waveform output device to run, terminating power supply, when judged result is no, starting reading device.
2. single-chip microcomputer condenser type short-duration power device according to claim 1, is characterized in that: described field effect transistor (M) adopts N channel enhancement metal-oxide-semiconductor to realize.
3. single-chip microcomputer condenser type short-duration power device according to claim 1, is characterized in that: described single chip circuit (1) adopts C8051F020 type chip microcontroller.
4. single-chip microcomputer condenser type short-duration power device according to claim 3, is characterized in that: the first described voltage transitions stabilized voltage power supply integrated circuit (S2) adopts model to be that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits and realize.
5. single-chip microcomputer condenser type short-duration power device according to claim 4, is characterized in that: the first described stabilized voltage power supply integrated circuit (S1) adopts model to be that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
6. single-chip microcomputer condenser type short-duration power device according to claim 3, is characterized in that: the second described voltage transitions stabilized voltage power supply integrated circuit (S4) adopts model to be that 5 volts of TPS7333 turn 3.3 volts of stabilized voltage power supply integrated circuits and realize.
7. single-chip microcomputer condenser type short-duration power device according to claim 6, is characterized in that: the second described stabilized voltage power supply integrated circuit (S3) adopts model to be that 5 volts of stabilized voltage power supply integrated circuits of TPS7350 realize.
8. single-chip microcomputer condenser type short-duration power device according to claim 3, it is characterized in that: the A/D converter input port of described single chip circuit (1) is the AIN0.0 port of single-chip microcomputer, the digital output port of described single chip circuit (1) is the P3.0 port of single-chip microcomputer.
9. single-chip microcomputer condenser type short-duration power method, the method realizes based on following system, described system comprises the first stabilized voltage power supply integrated circuit (S1), first voltage transitions stabilized voltage power supply integrated circuit (S2), single chip circuit (1) and accessory power supply (2), described accessory power supply (2) comprises the first diode (D1), first electric capacity (C1), inductance (L), field effect transistor (M), second diode (D2), second electric capacity (C2), second stabilized voltage power supply integrated circuit (S3) and the second voltage transitions stabilized voltage power supply integrated circuit (S4),
Two voltage input ends of described first stabilized voltage power supply integrated circuit (S1) are two voltage input ends of described single-chip microcomputer condenser type short-duration power system, two voltage output ends of the first stabilized voltage power supply integrated circuit (S1) connect two voltage input ends of the first voltage transitions stabilized voltage power supply integrated circuit (S2) respectively, and two voltage output ends of described first voltage transitions stabilized voltage power supply integrated circuit (S2) connect two voltage input ends of single chip circuit (1) respectively;
The positive input terminal of described single-chip microcomputer in two voltage input ends of condenser type short-duration power system also connects the positive pole of the first diode (D1) simultaneously, the negative pole of described first diode (D1) connects one end of the first electric capacity (C1) simultaneously, one end of inductance (L) and the A/D converter input port of single chip circuit (1), the other end of inductance (L) connects the drain electrode of field effect transistor (M) and the positive pole of the second diode (D2) simultaneously, the negative pole of described second diode (D2) connects one end of the second electric capacity (C2), the negative input end of single-chip microcomputer in two voltage input ends of condenser type short-duration power system connects the other end of the first electric capacity (C1) simultaneously, the source electrode of field effect transistor (M) and the other end of the second electric capacity (C2), the two ends of described second electric capacity (C2) also connect two electrical inputs of the second stabilized voltage power supply integrated circuit (S3) respectively, two electric outputs of described second stabilized voltage power supply integrated circuit (S3) connect two electrical inputs of the second voltage transitions stabilized voltage power supply integrated circuit (S4) respectively, two electric outputs of described second voltage transitions stabilized voltage power supply integrated circuit (S4) connect two voltage input ends of single chip circuit (1) respectively, the digital output port of described single chip circuit (1) connects the grid level of field effect transistor (M),
It is characterized in that: described method of supplying power to is that described method of supplying power to comprises the following steps by the software simulating be embedded in single chip circuit (1):
Read step: for reading the data that A/D converter input port is sent, obtaining the voltage U C1 at the first electric capacity (C1) two ends, and perform calculation procedure after this step terminates;
Calculation procedure: the voltage U C1 for obtaining according to read step calculates and obtains duty ratio D, D=1-UC1/5.5;
PWM wave form output step: the duty ratio D for obtaining according to calculation procedure exports PWM wave control signal to field effect transistor (M);
Determining step: receive single-chip microcomputer instruction out of service for judging whether, and when judged result is for being, stops PWM wave form output step, terminating power supply, when judged result is no, return execution read step.
10. single-chip microcomputer condenser type short-duration power method according to claim 9, is characterized in that: described single chip circuit (1) adopts C8051F020 type chip microcontroller.
CN201310711622.0A 2013-12-20 2013-12-20 Capacitance-type short-time power supply device and method for a single chip microprocessor Expired - Fee Related CN103633732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310711622.0A CN103633732B (en) 2013-12-20 2013-12-20 Capacitance-type short-time power supply device and method for a single chip microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310711622.0A CN103633732B (en) 2013-12-20 2013-12-20 Capacitance-type short-time power supply device and method for a single chip microprocessor

Publications (2)

Publication Number Publication Date
CN103633732A CN103633732A (en) 2014-03-12
CN103633732B true CN103633732B (en) 2015-05-20

Family

ID=50214470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310711622.0A Expired - Fee Related CN103633732B (en) 2013-12-20 2013-12-20 Capacitance-type short-time power supply device and method for a single chip microprocessor

Country Status (1)

Country Link
CN (1) CN103633732B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202616869U (en) * 2012-05-30 2012-12-19 四川九洲电器集团有限责任公司 Hand-held data instrument power supply device
CN202978723U (en) * 2012-11-28 2013-06-05 滁州学院 Numerical-control stabilized power supply circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010035350A1 (en) * 2008-09-29 2010-04-01 トヨタ自動車株式会社 Vehicle power-supply unit
FR2969846B1 (en) * 2010-12-23 2012-12-21 Valeo Sys Controle Moteur Sas DEVICE AND METHOD FOR CONVERTING DC / DC IN THE INBOARD NETWORK OF A VEHICLE

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202616869U (en) * 2012-05-30 2012-12-19 四川九洲电器集团有限责任公司 Hand-held data instrument power supply device
CN202978723U (en) * 2012-11-28 2013-06-05 滁州学院 Numerical-control stabilized power supply circuit

Also Published As

Publication number Publication date
CN103633732A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN104218646B (en) A kind of portable power source charging circuit
CN103580000A (en) Overvoltage protection method and circuit for switching power supply output and switching power supply provided with the circuit
CN103391010A (en) Switching power supply driving chip and switching power supply driving circuit
CN103219893B (en) Switch power controller and switching power circuit
CN204131210U (en) Power supply switch circuit and portable electric appts
CN110729897B (en) Fast mode conversion for power converters
CN103064376B (en) Centrally connected power supply rack-mount unit functional module hot plug-pull control system
CN102832818A (en) Constant-voltage power circuit based on single chip processor and constant-voltage power supply device
CN104300852A (en) Small-sized electric brushed servo controller
CN203398994U (en) Switching power drive chip and switching power drive device
CN203574422U (en) Power supply chip integrating output control and low voltage detection and enhancing voltage stabilization output
CN205319941U (en) Double - circuit voltage conversion control chip , double - circuit voltage conversion ware and electronic electric energy meter
CN104536333B (en) Control system and method of small electric steering engine
CN103633732B (en) Capacitance-type short-time power supply device and method for a single chip microprocessor
CN204118850U (en) A kind of flowmeter electric power system
CN203289074U (en) Power supply direct-supply protection circuit and set-top box
CN211351757U (en) Low-power consumption standby circuit, mobile power supply and robot
CN202149911U (en) Power supply circuit of external battery for intelligent three-phase charge control electric meter
CN102902336B (en) The power supply link block of mainboard, mainboard and electronic equipment thereof
CN101364771B (en) Single chip controlled power supply apparatus
CN203233312U (en) Switch power supply controller and switch power supply device
CN208971166U (en) A kind of switched charge chip and electronic equipment
CN204597781U (en) A kind of switching power circuit
CN202906769U (en) A computer switching power supply
CN105406711A (en) Two-way voltage conversion control chip, two-way voltage converter and electronic watt-hour meter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20150520

Termination date: 20181220

CF01 Termination of patent right due to non-payment of annual fee