Utility model content
One purpose of the utility model embodiment aims to provide a kind of charging device, which solves existing charging device and exists
When detecting load current, the technical problem that power consumption causes the temperature of product to rise greatly.
In order to solve the above technical problems, the utility model embodiment provides following technical scheme:
In a first aspect, the utility model embodiment discloses a kind of charging device, the charging device includes at least one
Output port of power source, power supply, at least one first switch, at least one electric capacity and current detection circuit;The power supply includes electricity
Source output terminal, the first switch includes first input end, the first output end and the first control end, the first of the first switch
The power output end connection of input and the power supply, the first output end of the first switch and the output port of power source connect
Connect, first control end is used to input control signal;The first output of one end of the electric capacity respectively with the first switch
End and output port of power source connection, the other end ground connection of the electric capacity;The current detection circuit is connected to described first
Between the first input end of switch and the first output end of the first switch, and the current detection circuit and the power supply
Connection.
Alternatively, the current detection circuit includes:At least one second switch, resistance and current detection module;It is described
Second switch includes the second input, the second output end and the second control end;One end of the resistance and the first switch
First input end is connected, the second input connection of the other end of the resistance and the second switch, the second switch
The first output end connection of second output end and the first switch, first control end and second control end are used for defeated
Enter control signal, the current detection module and the resistor coupled in parallel.
Alternatively, the current detection module includes:First amplifier, it includes the first amplification input and the first amplification
Output end, the first amplification input and the resistor coupled in parallel, the first amplification output end and power supply connection.
Alternatively, the current detection module also includes:First analog-digital converter, itself and first amplifier are connected.
Alternatively, the current detection module includes:Second amplifier, it includes the second amplification input and the second amplification
Output end, the first amplification input and the resistor coupled in parallel;Integrator, it amplifies defeated with the second of second amplifier
Go out end connection.
Alternatively, the current detection module also includes:Second analog-digital converter, it is connected with the integrator.
Alternatively, the charging device also includes:Memory module for storing predetermined current table;For according to the electricity
Hinder the corresponding first voltage in two ends and inquire about the predetermined current table, to calculate the processing module of the load current, it is distinguished
It is connected with the memory module and the current detection module.
Alternatively, the processing module includes processor;The memory module includes:For storing the first predetermined current table
First memory;Second memory for storing the second predetermined current table;The 3rd for storing the 3rd predetermined current table
Memory;The processor is connected with the first memory, the second memory and the 3rd memory respectively.
Alternatively, the first switch is the first N-channel MOS pipe, and the first input end is the first N-channel MOS pipe
Drain electrode, first output end is the source electrode of the first N-channel MOS pipe, and first control end is the grid of the first N-channel MOS pipe
Pole.
Alternatively, the second switch is the second N-channel MOS pipe, and second input is the second N-channel MOS pipe
Drain electrode, second output end is the source electrode of the second N-channel MOS pipe, and second control end is the grid of the second N-channel MOS pipe
Pole.
In the utility model each embodiment, power supply provides load current, current detecting by first switch to load
Circuit can extract the electric current for flowing through first switch from the current path of load current, and be carried out according to the electric current extracted
Handle and feed back to power supply, so that power supply is adjusted to export expectation load current, because the electric current extracted is much small
In load current, it can reach a microampere rank, but load current can reach a milliampere rank, accordingly, with respect to existing skill
Art, charging device is when detecting load current, its small power consumption, and relatively reduces the bulk temperature of charging device.
Embodiment
In order that the purpose of this utility model, technical scheme and advantage are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the utility model is further elaborated.It should be appreciated that specific embodiment described herein is only to explain this
Utility model, is not used to limit the utility model.
Fig. 1 is that the utility model embodiment provides a kind of circuit structure block diagram of charging device.As shown in figure 1, charging dress
Put 10 include at least one output port of power source 101, power supply 102, at least one first switch 103, at least one electric capacity 104 and
Current detection circuit 105.Wherein, power supply 102 includes power output end 102a, and first switch 103 includes first input end
103a, the first output end 103b and the first control end 103c, the first input end 103a of first switch 103 and the electricity of power supply 102
Source output terminal 102a connections, the first output end 103b of first switch 103 and output port of power source 102a connections, the first control end
103c is used to input control signal.First output end 103b and power supply of the one end of electric capacity 104 respectively with first switch 103 are defeated
Exit port 101 is connected, the other end ground connection of electric capacity 104.Current detection circuit 105 is connected to the first input of first switch 103
Hold between 103a and the first output end 103b of first switch 103, and current detection circuit 105 and power supply 102 are connected.
Referring again to Fig. 1, when power supply 102 by first switch 103 to the offer load current of load 106, current detecting is electric
Road 105 can extract the electric current for flowing through first switch 103 from the current path of load current, and according to the electric current extracted
Handled and feed back to power supply 102, so that power supply 102 is adjusted to export expectation load current, due to what is extracted
Electric current is far smaller than load current, and it can reach a microampere rank, but load current can reach a milliampere rank, therefore, phase
For prior art, charging device 10 is when detecting load current, its small power consumption, and relatively reduces the entirety of charging device
Temperature.
In certain embodiments, output port of power source 101 can be USB interface, Type-C interfaces and all kinds of support numbers
According to the interface of host-host protocol.
In certain embodiments, power supply 102 can be constant-current supply, and it can progressively be exported with certain stair step current value
Load current, and the size of the load current is known.For example, power supply can be with stair step current value 5mA progressively from 30mA
Electric current increases to 35mA, and increases to 50mA.
In certain embodiments, first switch 103 can be that insulating gate type field effect tube MOSFET or insulated-gate type are double
Bipolar transistor IGBT or bipolar transistor and any it can be operated in the switching tube of output voltage.
In certain embodiments, charging device 10 can be portable power source or adapter.As shown in Fig. 2 when charging dress
When to put 10 be the portable power source of three ports, the power-supply device 10 can connect three loads.Each port has independent switch to enter
Row control, fills agreement such as USB PD2.0 soon, supports different output port to export different voltages, and limit each end
Mouth allows the maximum current of output.Therefore, it is that each port is made independent current detecting and is necessary.Current detecting electricity
Road 105 is by detecting the load current that each branch current road is passed through, each load current feedback detected to power supply 102,
So that power supply 102 exports desired load current.
In certain embodiments, as shown in figure 3, current detection circuit 105 includes at least one second switch 1051, resistance
R1 and current detection module 1052.Second switch 1051 includes the second input 1051a, the second output end 1051b and the second control
End 1051c processed.Resistance R1 one end and the first input end 103a connections of first switch 103, the resistance R1 other end and second
The of second input 1051a connections of switch 1051, the second output end 1051b of second switch 1051 and first switch 103
One output end 103b connections, the first control end 103c and the second control end 1051c are used to input control signal Vgate, electric current inspection
Survey module 1052 and resistance R1 is in parallel.It is in control signal Vgate Synchronization Controls first switch 103 and second switch 1051
During closure state, current detection module 1052 detects to flow through resistance R1 two from the electric current that the current path of load current is extracted
The first voltage at end.In certain embodiments, current detection module 1052 is handled the first voltage detected, to transmit
To power supply 102, power supply 102 is adjusted according to the resistance R1 of feedback both end voltage, to export desired load current, its
In, the process of the processing resistance of current detection module 1052 R1 both end voltage includes putting the first voltage at resistance R1 two ends
Greatly, and by the voltage signal after amplification power supply 102 is transferred to, or, current detection module 1052 can also be by after amplification
Voltage signal is integrated, to export integrated signal to power supply 102.Further, current detection module 1052 both can be to electricity
Source 102 export analog signal, again can to the output digit signals of power supply 102, wherein, in output digit signals, current detecting
Voltage signal after amplification or integrated signal are also carried out analog-to-digital conversion by module 1052.Because the electric current extracted is far smaller than
Load current, it can reach a microampere rank, but load current can reach a milliampere rank, accordingly, with respect to prior art,
Charging device 10 is when detecting load current, its small power consumption, and relatively reduces the bulk temperature of charging device.Further
, it also reduces product for radiating and increased cost.
In certain embodiments, first switch 103 is the first N-channel MOS pipe, and first input end is the first N-channel MOS pipe
Drain electrode, the first output end be the first N-channel MOS pipe source electrode, first control end be the first N-channel MOS pipe grid.
Alternatively, the first N-channel MOS pipe is depletion type N-channel MOS pipe.
In certain embodiments, second switch 1051 is the second N-channel MOS pipe, and the second input is the second N-channel MOS
The drain electrode of pipe, the second output end is the source electrode of the second N-channel MOS pipe, and the second control end is the grid of the second N-channel MOS pipe.Can
Selection of land, the second N-channel MOS pipe is depletion type N-channel MOS pipe.
In certain embodiments, as shown in figure 4, current detection module 1052 includes the first amplifier 20.First amplifier
20 include the first amplification input 20a and the first amplification output end 20b, and in parallel with resistance R1, the first amplification input
20a is used to load first voltage, and first voltage is amplified place by the first amplification output end 20b outputs via the first amplifier 20
Voltage amplification signal after reason.Wherein, the voltage amplification signal directly inputs power supply 102,102 pairs of the power supply voltage amplification signal
Analog-to-digital conversion is carried out, and load current is expected according to logic of propositions output.
In certain embodiments, it is with the embodiment difference shown in Fig. 4, current detection module 1052 is to power supply
Before 102 input voltage amplified signals, it can walk around voltage amplification signal progress modulus, so as to power supply 102
Input data signal.Specifically, as shown in figure 5, current detection module 1052 also includes the first analog-digital converter 21, the first modulus
The amplifier 20 of converter 21 and first is connected.The receiving voltage amplified signal of first analog-digital converter 21, and voltage amplification is believed
Number it is converted into data signal.Further, when power supply 102 adjusts load current, current detection module 1052 believes the numeral
Number it is transferred to power supply 102.
In certain embodiments, the difference from the embodiment shown in Fig. 4 or Fig. 5 is, for convenience power supply 102 or
Subsequent conditioning circuit resume module first voltage, in addition to the first voltage is amplified into processing, current detection module 1052 is also
It can be based on being integrated on the basis of amplification first voltage.As shown in fig. 6, current detection module 1052 includes the second amplifier
22 and integrator 23.Second amplifier 22 includes the second amplification input 22a and the second amplification output end 22b, and the second amplification is defeated
Enter to hold 22a and resistance R1 in parallel.Integrator 23 is connected with the second amplification output end 22b of the second amplifier 22.Second amplification is defeated
Enter to hold 22a to be used to load first voltage, the second amplification output end 22b outputs are put first voltage via the second amplifier 22
Voltage amplification signal after big processing.Integrator 23 is connected with the second amplifier 22, for receiving voltage amplified signal, and right
Voltage amplification signal is integrated, output voltage integrated signal.Therefore, current detection module 1052 passes through to voltage amplification signal
It is integrated, it can effective filter out noise signal, and be conducive to power supply to handle the voltage integrating meter signal.
In certain embodiments, the difference from the embodiment shown in Fig. 6 is, current detection module 1052 is to power supply
Before 102 input voltage integrated signals, it can walk around voltage integrating meter signal progress modulus, so as to power supply 102
Input data signal.Specifically, as shown in fig. 7, current detection module 1052 also includes the second analog-digital converter 24, the second modulus
Converter 24 is connected with integrator 23, for receiving voltage integrated signal, and voltage integrating meter signal is converted into data signal.
Further, when power supply 102 adjusts load current, current detection module 1052 is by the digital data transmission to power supply 102.
In order to accurately calculate load current so that power supply accurate adjustment goes out desired load current, work as current detecting
During 1052 output digit signals of module, load current can be calculated according to data signal.Alternatively, as shown in figure 8, charging dress
Putting 10 also includes memory module 106 and processing module 107, and memory module 106 is used to store predetermined current table, processing module
107 are connected with memory module 106 and current detection module 1052 respectively, and processing module 107 is according to resistance R1 two ends corresponding
One voltage inquires about predetermined current table, to calculate load current.
The load current that power supply 102 is exported every time is converted into corresponding digital voltage signal by charging device 10, further
, the digital voltage signal and known load current are built into predetermined current table again, and by the predetermined current table of structure
It is stored on corresponding memory.When current detecting chip detects the load current of different product, it is intended to according to above-mentioned steps structure
Corresponding predetermined current table is built, so that current detecting chip correcting load current is used.Table 1 is referred to, table 1 is that this practicality is new
Type embodiment provides a kind of schematic diagram of predetermined current table.As shown in table 1:
As shown in table 1, when load is product a period of time, it is " 6 " that processing module 107, which detects digital voltage signal, due to production
The predetermined current table digital voltage signal " 6 " of product one correspondence load current " 5mA ", therefore processing module 107 corrects and exported representative
Present load current is 5mA ideal digital voltage signal 5 to power supply 102.Similarly, when load is product two, processing module
107 to detect digital voltage signal be " 13 ", due to the predetermined current table digital voltage signal " 13 " of product two correspondence load current
" 10mA ", thus processing module 107 correct and export represent present load current be 10mA ideal digital voltage signal 10 to
Power supply 102.It is negative corresponding to digital voltage signal of simply two different products during the correcting current described by table 1
Electric current is carried, designer can set up digital voltage signal and load current in predetermined current table in advance according to the type of product
Between corresponding relation.
In certain embodiments, it is default electric in order to facilitate processing module 107 to be inquired about rapidly according to digital voltage signal
The load current for belonging to different number ranges can be respectively divided into different predetermined currents by flow table to calculate load current
Subtype, and set up the corresponding relation of each predetermined current subtype and particular preset ammeter.Wherein, predetermined current table
Multiple different types of predetermined current tables can be included, each predetermined current subtype corresponds predetermined current table, and each is pre-
If ammeter is respectively stored in different memories, so that processing module 107 accesses corresponding memory according to first voltage, from
And obtain corresponding predetermined current table.For example, the scope of the first predetermined current subtype is 0mA-45mA, it is pre- that it correspond to first
If ammeter, as shown in table 1, the first predetermined current table stores the numeral electricity corresponding between 0mA-45mA with load current
Press the numerical value of signal and load current.The scope of second predetermined current subtype is 45mA-150mA, and it correspond to second and presets
Ammeter.The scope of 3rd predetermined current subtype is 0mA-500mA, and it correspond to the 3rd predetermined current table.
Therefore, charging device 10 can be by inquiring about predetermined current table, correcting current detection error, and from predetermined current
Meter calculates load current, so as to be accurately detected load current.
In certain embodiments, the present load current that power supply 102 can feed back according to processing module 107 is adjusted,
To export desired load current.Further, power supply 102 can also be by controlling the on off state of first switch 103, to control
Charged state processed.Wherein, during charging, power supply 102 sends closing control signal to first switch 103, to close first switch
103, load current is flowed through first switch 103 and provide load current to load 40.At the same time, power supply 102 is also to filling
Electric installation 10, which is sent, starts control signal, and detection load current is carried out to start charging device 10.
As shown in figure 9, processing module 107 includes processor 1071.Processor 1071 is detecting load current matching in advance
If during current type, predetermined current table corresponding with predetermined current type is inquired about according to first voltage, to calculate load current.
Referring again to Fig. 9, memory module 106 includes first memory 1061, the memory 1063 of second memory 1062 and the 3rd, the
One memory 1061 stores the first predetermined current table, and second memory 1062 stores the second predetermined current table, the 3rd memory
1063 the 3rd predetermined current tables of storage.First voltage is converted into digital voltage signal by processor 1071, according to the digital voltage
Signal judges the predetermined current type belonging to load current indirectly, is deposited according to the predetermined current type of access judged is corresponding
Reservoir, predetermined current table is transferred from memory, and load current is inquired by the predetermined current table.For example, processor 1071 is sentenced
Break and the scope 45mA-150mA that load current belongs to the second predetermined current subtype, then access second memory 1062, from the
Two memories 1062 transfer the second predetermined current table, and calculate load current according to the second predetermined current meter.
In certain embodiments, first memory 1061 or the memory 1063 of second memory 1062 or the 3rd can be with right and wrong
Volatile ram.Designer can build multiple memories with multiple different types of predetermined currents that prestore according to business demand
Table, is not limited to three shown by embodiment memories and the three predetermined current tables prestored herein.
In certain embodiments, when the corresponding predetermined current table of the determination load current of processor 1071, according to the first electricity
Pressure, progressively scans predetermined current table, to inquire load current according to default step value.As shown in table 1, default stepping herein
It is worth for 5mA, first voltage has been converted to corresponding digital voltage signal, processor 1071 is swept in scanning since 0mA
Retouch, be that 5mA progressively scans predetermined current table, the corresponding digital voltage letter of first voltage of such as product one according to default step value
Number it is " 6 ", then corresponding load current is " 5mA ".
In certain embodiments, processor 1071 is not when predetermined current table inquires load current, according to interpolation method
Calculate load current.Referring again to table 1.When corresponding first digital voltage signal of the load current of product one is 13, place
Reason device 1071 not yet can inquire the corresponding load current of the first digital voltage signal 13, then, processor 1071 according to table 1
Detect two digital voltage signals that are closest and being stored in predetermined current table with first digital voltage signal, example
Such as, processor 1071 can determine that immediate two digital voltage signals of the first digital voltage signal 13 are respectively 12 and 18,
Then, processor 1071 makees interpolation method between digital voltage signal 12 and digital voltage signal 18, to calculate the first number
Load current corresponding to word voltage signal 13, for example, (18-12)/5+10=11.2mA.
In certain embodiments, predetermined current type includes the three different predetermined current subclasses defined by number range
Type, predetermined current table includes multiple different types of predetermined current tables, a predetermined current subtype one predetermined current table of correspondence.Its
In, the maximum of the number range of the first predetermined current subtype is less than or equal to the number range of the second predetermined current subtype
Minimum value, the number range of the 3rd predetermined current subtype is covered each by the first predetermined current subtype and the second predetermined current
The number range of subtype.For example, the scope of the first predetermined current subtype is 0mA-45mA, it correspond to the first predetermined current
Table.The scope of second predetermined current subtype is 45mA-150mA, and it correspond to the second predetermined current table.3rd predetermined current
The scope of type is 0mA-500mA, and it correspond to the 3rd predetermined current table.Or, in certain embodiments, the first predetermined current
The scope of subtype is 0mA-45mA, and the scope of the second predetermined current subtype is 60mA-150mA, the 3rd predetermined current subclass
The scope of type is 0mA-500mA.
Refer to Figure 10 a.When processor 1071 detects the numerical value model that load current falls into the first predetermined current subtype
When enclosing, load current the first predetermined current table of correspondence is determined.First predetermined current table is stored with:The corresponding numeral electricity of first voltage
Press the corresponding relation of signal and load current.For example, in the number range of the first predetermined current subtype is 0mA-45mA, when
Processor 1071 analyze the corresponding digital voltage signal of first voltage for 40 when, processor 1071 determine first voltage correspondence
Load current fall into the first predetermined current subtype, further, processor 1071 determine load current correspondence first preset
Ammeter, in trimming process, current detection circuit accesses first memory 1061 according to digital voltage signal " 40 ", from first
Memory look-up the first predetermined current table, so as to calculate load current.
It can similarly obtain, when processor 1071 detects the number range that load current falls into the second predetermined current subtype
When, determine load current the second predetermined current table of correspondence.Second predetermined current table is stored with:The corresponding digital voltage of first voltage
The corresponding relation of signal and load current.For example, in the number range of the second predetermined current subtype is 45mA-150mA, when
Processor 1071 analyze the corresponding digital voltage signal of first voltage for 80 when, processor 1071 determine first voltage correspondence
Load current fall into the second predetermined current subtype, further, processor 1071 determine load current correspondence second preset
Ammeter, in trimming process, current detection circuit accesses second memory 1062 according to digital voltage signal " 80 ", from second
Memory 1062 searches the second predetermined current table, so as to calculate load current.
It can similarly obtain, the first predetermined current subtype not fallen within and second default when processor 1071 detects load current
During the number range of electric current subtype, load current the 3rd predetermined current table of correspondence is determined.3rd predetermined current table is stored with:The
The corresponding relation of the corresponding digital voltage signal of one voltage and load current.For example, in the numerical value of the 3rd predetermined current subtype
Scope be 0mA-500mA in, when processor 1071 analyze the corresponding digital voltage signal of first voltage for 300 when, processor
The corresponding load current of 1071 determination first voltages falls into the 3rd predetermined current subtype, and further, processor 1071 is determined
Load current the 3rd predetermined current table of correspondence, in trimming process, current detection circuit is accessed according to digital voltage signal " 300 "
3rd memory 1063, from the predetermined current table of the 3rd memory look-up the 3rd, so as to calculate load current.
Referring again to Figure 10 a.In detection, load current can overflow the maximum of the first predetermined current subtype sometimes,
Or, load current can overflow the minimum value of the second predetermined current subtype, however, the stabilization in order to safeguard current detection circuit
Property and accuracy, when the overflow value is not more than default allowance current range, current detection circuit still determines present load
The original predetermined current table of electric current correspondence.Specifically, when processor 1071 detects load current from the first predetermined current subclass
The number range of type jumps to the number range of the second predetermined current subtype, and load current falls into the first allowance electric current model
When enclosing interior, load current the first predetermined current table of correspondence is determined.Wherein, the number range covering first of the first allowance electric current is preset
The number range of electric current subtype, and the maximum of the number range of the first allowance electric current is more than the first predetermined current subtype
Number range maximum.Further, the first predetermined current table is stored with:In the number range of the first allowance electric current,
The corresponding relation of the corresponding digital voltage signal of first voltage and load current.
For example, the number range of the first predetermined current subtype is 0mA-45mA, the numerical value of the second predetermined current subtype
Scope is 45mA-150mA, and the number range of the first allowance electric current is 0mA-50mA.When original load current is 40mA,
Processor 1071 detect load current from 40mA rise to 48mA when, processor 1071 detects present load current and falls into
In one allowance current range, then processor 1071 determines load current the first predetermined current table of correspondence, and according to load current
The corresponding first voltages of 48mA inquire about the first predetermined current table, to calculate load current.
Referring again to Figure 10 a.When processor 1071 detects load current from the numerical value model of the second predetermined current subtype
Enclose the number range for jumping to the first predetermined current subtype, and load current is when falling into the second allowance current range, really
Fixed load electric current the second predetermined current table of correspondence.Wherein, the number range of the second allowance electric current covers the second predetermined current subclass
The number range of type, and numerical value model of the minimum value less than the second predetermined current subtype of the number range of the second allowance electric current
The minimum value enclosed, and the maximum of the number range of the second allowance electric current are more than the number range of the second predetermined current subtype
Maximum.Further, the second predetermined current table is stored with:In the number range of the second allowance electric current, first voltage correspondence
Digital voltage signal and load current corresponding relation.
For example, the number range of the first predetermined current subtype is 0mA-45mA, the numerical value of the second predetermined current subtype
Scope is 45mA-150mA, and the number range of the second allowance electric current is 40mA-155mA.When original load current is 46mA
When, processor 1071 detect load current from 46mA drop to 42mA when, processor 1071 detects present load current and fallen
Enter in the second allowance current range, then processor 1071 determines load current the first predetermined current table of correspondence, and according to load
The corresponding first voltages of electric current 42mA inquire about the second predetermined current table, to calculate load current.
Referring again to Figure 10 a.Meet other shown in each above-mentioned embodiment when processor 1071 detects load current
During condition, i.e.,:Although present load current is fallen into the second allowance current range, the last time of the present load current is born
It is the number range for not falling within the first predetermined current subtype and the second predetermined current subtype, therefore, processor to carry electric current
1071 still determine load current the 3rd predetermined current table of correspondence.
Referring again to Figure 10 a.In certain embodiments, each memory can store each predetermined current subtype correspondence
Predetermined current table, the corresponding predetermined current table of the first allowance current range and the corresponding predetermined current of the second allowance current range
Table.Or, each memory can also only store the corresponding predetermined current table of corresponding first allowance current range, the second allowance
The corresponding predetermined current table of current range and the 3rd predetermined current table.
By such a mode, it can avoid processor 1071 from continually being selected first to preset according to first voltage saltus step
Ammeter and the second predetermined current table, so as to effectively safeguard the stability of current detection circuit.
Figure 10 b are referred to, the difference of embodiment and the embodiment shown in Figure 10 a shown in Figure 10 b is:Processor
1071 are additionally operable to:Load current is being detected in preset times in the first predetermined current subtype and the second predetermined current subclass
Saltus step between type, and the number of times of saltus step is when being more than default saltus step threshold value, determines load current the 3rd predetermined current table of correspondence.Its
In, the 3rd predetermined current table is prestored:The corresponding relation of the corresponding digital voltage signal of first voltage and load current.Designer
Can voluntarily select preset times and default saltus step threshold value according to business demand, preset times can be 10 or 12 or 16 or 20 with
And etc..Default saltus step threshold value can be 2 or 3 or 4 and etc..For example, current detection circuit has finished the electric current of 10 times
Detection, in the past current detecting of 10 times, processor 1071 detects load current and jumped to from the first predetermined current subtype
Second predetermined current subtype, and then jumps to the first predetermined current subtype, tightly from the second predetermined current subtype again
Then load current is detected once more jumps to the second predetermined current subtype from the first predetermined current subtype, therefore,
In preset times 10, processor 1041 is consecutively detected load current in the first predetermined current subtype and the second predetermined current
The number of times of saltus step is 3 times between type, and default saltus step threshold value now is 2, then processor 1071 determines that load current is
Unstable, and load current the 3rd predetermined current table of correspondence is determined, in computational load electric current, second can be inquired about and preset
Ammeter.In another example, in the past current detecting of 10 times, processor 1071 is consecutively detected load current from the second default electricity
Stream subtype jumps to the first predetermined current subtype, and then jumps to the second default electricity from the first predetermined current subtype again
Subtype is flowed, then processor 1071 determines that load current is unstable, and determine load current the 3rd predetermined current of correspondence
Table.Designer can be used for the rule for the stable state for describing load current according to business demand self-defining.
In the embodiment shown in Figure 10 a, the predetermined current subtype that processor is matched according to load current is to select
Corresponding predetermined current table is selected, or, allowance current range that can also be according to belonging to the load current after change is to select pair
The predetermined current table answered, the selection mode can follow the change of load current to respond.In the embodiment shown in Figure 10 b
In, processor is in addition to selection mode as shown in Figure 10 a, and it can also be selected pair according to the stable state of load current
The predetermined current table answered.Wherein, when judging the stable state of load current, processor is according to load current in preset times
The continuous saltus step between the first predetermined current subtype and the second predetermined current subtype, and the number of times of saltus step is more than default jump
Become threshold value to judge.Therefore, the current detection circuit of the present embodiment provides at two kinds of detection modes, to tackle all kinds of states
Load current.
Therefore, by judging that it is unstable that load current is in, the 3rd predetermined current table is inquired about, it can be more accurately
Calculate load current.
In certain embodiments, processor can be by general processor, digital signal processor (DSP), special integrated
Circuit (AS I C), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, point
Any combinations of vertical nextport hardware component NextPort or these parts.Further, processor can also be any conventional processors, controller,
Microcontroller or state machine.Processor can also be implemented as the combination of computing device, for example, the combination of DSP and microprocessor,
Multi-microprocessor, one or more microprocessors combination DSP core or any other this configuration.
Finally it should be noted that:Above example is only to illustrate the technical solution of the utility model, rather than its limitations;
Under thinking of the present utility model, it can also be combined between the technical characteristic in above example or non-be the same as Example,
Step can be realized with random order, and there are many other changes of different aspect of the present utility model as described above, be
Simplicity, they provide not in details;Although the utility model is described in detail with reference to the foregoing embodiments, this
The those of ordinary skill in field should be understood:It can still modify to the technical scheme described in foregoing embodiments,
Or equivalent substitution is carried out to which part technical characteristic;And these modifications or replacement, do not make the sheet of appropriate technical solution
Matter departs from the scope of each embodiment technical scheme of the application.