CN108521229B - A kind of high-precision pwm signal modulator approach and its modulating device, power supply device - Google Patents

A kind of high-precision pwm signal modulator approach and its modulating device, power supply device Download PDF

Info

Publication number
CN108521229B
CN108521229B CN201810214242.9A CN201810214242A CN108521229B CN 108521229 B CN108521229 B CN 108521229B CN 201810214242 A CN201810214242 A CN 201810214242A CN 108521229 B CN108521229 B CN 108521229B
Authority
CN
China
Prior art keywords
pwm signal
output quantity
duty ratio
power supply
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810214242.9A
Other languages
Chinese (zh)
Other versions
CN108521229A (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.)
Shenzhen Xtar Electronics Co Ltd
Original Assignee
Shenzhen Xtar Electronics 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 Shenzhen Xtar Electronics Co Ltd filed Critical Shenzhen Xtar Electronics Co Ltd
Priority to CN201810214242.9A priority Critical patent/CN108521229B/en
Publication of CN108521229A publication Critical patent/CN108521229A/en
Application granted granted Critical
Publication of CN108521229B publication Critical patent/CN108521229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/02Conversion of ac power input into dc power output without possibility of reversal
    • H02M7/04Conversion of ac power input into dc power output without possibility of reversal by static converters
    • H02M7/12Conversion of ac power input into dc power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/21Conversion of ac power input into dc power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M7/217Conversion of ac power input into dc power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only

Abstract

A kind of high-precision pwm signal modulator approach and its modulating device, power supply device, due to being provided with the step of selecting pwm signal modulating mode according to the output quantity of power supply in the pwm signal modulator approach, so that during using pwm signal modulation output quantity, it can be with flexible choice coarse mode and fine mode, power supply output quantity can be quickly adjusted when selecting the former close to set amount, select the output accuracy that output quantity can be further adjusted when the latter, it is allowed to avoid the situation that output accuracy of measurement is not high in the prior art closest to set amount.In addition, provided pwm signal modulating device and power supply device are only integrated with necessary functional unit, the output quantity of power supply is adjusted by the way of negative-feedback, structure is simple, at low cost, can be widely applied to conventional power-supply device.

Description

A kind of high-precision pwm signal modulator approach and its modulating device, power supply device
Technical field
The present invention relates to pulse modulation technologies, and in particular to a kind of high-precision pwm signal modulator approach and its modulation dress It sets, power supply device.
Background technique
It is a kind of analog control method that pulse width, which modulates (abbreviation PWM), is the digital signal using microprocessor to mould A kind of very effective technology that quasi- circuit is controlled, according to the variation of respective loads come modulation transistor base stage or MOS The bias voltage of tube grid to change the output quantity of power supply, and then controls to change the turn-on time of transistor or metal-oxide-semiconductor The operating status of external loading.PWM modulation technology is mainly used in power electronic technique industry, including wind-power electricity generation, motor tune The fields such as speed, direct current supply, power control.
Existing Switching Power Supply multi-pass crosses PWM waveform to control the adjustment circuit with metal-oxide-semiconductor, and then regulating switch power supply Centainly to require output voltage, electric current or power, the duty ratio of PWM waveform (pulse occupies in cycle time time and total The ratio of time) determine the turn-on time of metal-oxide-semiconductor, the final output quantity for influencing Switching Power Supply.
Existing Switching Power Supply has the following deficiencies:
(1) it is limited to the frequency of the machine clock of power supply itself, the duty ratio of PWM waveform can only achieve a lesser essence Degree, can not play the role of further Precise control to the metal-oxide-semiconductor in power supply, can not also make power supply output one ideal defeated Output.For example, the ideal output quantity of the one of power supply needs 37.4% duty ratio, and the precision of the duty ratio of practical PWM waveform is 1%, then in PWM modulation control process, duty ratio can beat back and forth between 38% and 37%, so that the output quantity one of power supply The straight state in dynamic adjustment, and it is unable to reach ideal output quantity, so that external load equipment is because receiving larger ripple Electric energy and be in unstable working state.
(2) precision of duty ratio is further increased by way of improving power supply machine clock frequency, it is ideal defeated to obtain When output, the machine clock for the higher frequency that needs to change the outfit and relevant auxiliary circuit will increase the cost of power supply, moreover, machine There are upper frequency limits for clock, are still unable to get smaller duty ratio precision.
Summary of the invention
For the defect for solving above-mentioned power supply, the present invention provides a kind of high-precision pwm signal modulator approach and its modulation Device, power supply device.
According in a first aspect, the present invention provides a kind of high-precision pwm signal modulator approaches, comprising the following steps:
The output quantity of power supply is detected, the output quantity is modulated by input quantity of the pwm signal to power supply and is obtained;
According to set amount and the output quantity, pwm signal modulating mode is selected;
The output quantity is adjusted to the set amount according to the pwm signal modulating mode
According to the second invention, the present invention provides a kind of high-precision pwm signal modulating devices, comprising:
Detection unit, for detecting the output quantity of power supply, the output quantity is adjusted by input quantity of the pwm signal to power supply It makes and obtains;
Mode controlling unit, for selecting pwm signal modulating mode according to set amount and the output quantity;
Adjustment unit, for adjusting the output quantity to the set amount according to the pwm signal modulating mode.
According to the third aspect, the present invention provides a kind of power supply devices, fill including above-mentioned High-Accuracy PWM signal modulation It sets.
A kind of high-precision pwm signal modulator approach and pwm signal modulating device, power supply dress according to above-described embodiment It sets, due to being provided with the step of selecting PWM signal modulation mode according to the output quantity of power supply in the pwm signal modulator approach, makes During using pwm signal modulation output quantity, can be with flexible choice coarse mode and fine mode, can when selecting the former Power supply output quantity is quickly adjusted close to set amount, selects further adjust output quantity closest to set amount when the latter, make So that output quantity and the error of set amount in a lesser setting error range, avoid can not adjust in the prior art it is defeated Output to ideal output quantity situation.In addition, provided pwm signal modulating device and power supply device are only integrated with necessary function Energy unit, adjusts the output quantity of power supply, structure is simple, at low cost, can be widely applied to routine by the way of negative-feedback Power-supply device.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of one power supply device of embodiment;
Fig. 2 is the circuit diagram of two High-Accuracy PWM modulating apparatus of embodiment;
Fig. 3 is the flow diagram of two High-Accuracy PWM signal modulating method of embodiment;
Fig. 4 is the operation principle schematic diagram of mode controlling unit;
Fig. 5 is the flow diagram of coarse mode;
Fig. 6 is the flow diagram of fine mode;
Fig. 7 is the schematic illustration of fine mode;
Fig. 8 is the schematic illustration of another fine mode.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.Wherein different embodiments Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to The application is better understood.However, those skilled in the art can recognize without lifting an eyebrow, part of feature It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen Please it is relevant it is some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they Relevant operation can be completely understood according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way Kind embodiment.Meanwhile each step in method description or movement can also can be aobvious and easy according to those skilled in the art institute The mode carry out sequence exchange or adjustment seen.Therefore, the various sequences in the description and the appended drawings are intended merely to clearly describe a certain A embodiment is not meant to be necessary sequence, and wherein some sequentially must comply with unless otherwise indicated.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object, Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and It is indirectly connected with (connection).
Embodiment one, referring to FIG. 1, this application discloses a kind of power supply device, which includes rectification unit A0 With a high-precision pwm signal modulating device 1, rectification unit A0 is used to convert in the alternating current of outside access or direct current To be conveyed to pwm signal modulating device 1 compared with stable DC, pwm signal modulating device 1 is used for the direct current that will be inputted The electric energy of default output quantity is converted to so that external load equipment D1 is worked normally.The power supply device further includes such as terminals (inversion unit is used for the DC inverter of the output of power supply for mouth, overload protection unit, intelligent display unit, inversion unit For alternating current adapt to external load equipment power requirement) etc. common functions unit, due to these functional units be the prior art, Therefore, the present embodiment no longer carries out attached drawing mark and explanatory note to it.In addition, rectification unit A0 is also the prior art, no longer It is described in detail, and pwm signal modulating device 1 will be described in detail in example 2.
Embodiment two, a kind of high-precision pwm signal modulating device, are shown in Fig. 1, which includes detection Unit 15, mode controlling unit 17, adjustment unit 11 and filter unit 13, illustrate separately below.
Detection unit 15 is set on the back end of line of pwm signal modulating device 1, for detecting the output quantity of power supply, here Output quantity include voltage, electric current and power any one.In one embodiment, see Fig. 2, detection unit 15 includes surveying pressure Circuit 151 and flow measurement circuit 152 will illustrate respectively the two.
Surveying volt circuit 151 includes resistance R1, resistance R2 and capacitor C2, and resistance R1 and resistance R2 are formd point after being connected in series Breaking the bridge, the one end for dividing bridge are connect with the positive output line road of pwm signal modulating device 1, the other end and ground connection, resistance Partial pressure output end is formd at the series connection of R1 and resistance R2, capacitor C2 and resistance R2 are connected in parallel to stablize partial pressure output The voltage at end, the partial pressure output end are used for a signal input port VL of connection mode control unit 17, mode controlling unit 17 According to formula VVL* (R1+R2)/R2 obtains the voltage on positive output line road, which will be as pwm signal modulating device 1 One output quantity.
Flow measurement circuit 152 includes resistance R3, resistance R4 and capacitor C4, and resistance R4 accesses the output of pwm signal modulating device 1 To form a voltage on route, preferably by resistance R4 access negative output line road, resistance R3 and capacitor C4 series connection after route It is connected in parallel with resistance R4 to export the partial pressure, a voltage output end is formd at the series connection of resistance R3 and capacitor C4, used In a signal input port of the voltage output that will test to mode controlling unit 17, mode controlling unit 17 is according to formula VIL/ R4 obtains the electric current on negative output line road, and the electric current is by another output quantity as pwm signal modulating device 1.
Mode controlling unit 17 is used to select pwm signal modulating mode according to the output quantity and set amount of power supply, selects PWM The process of signal modulation mode are as follows: output quantity compared with set amount, is obtained a difference by mode controlling unit 17, by the difference with One preset range compares, when the difference exceed preset range when, select coarse mode, when difference within a preset range when, selection Fine mode.Here coarse mode and fine mode is a kind of situation of pwm signal modulating mode, and coarse mode includes: Change the duty ratio of the pwm signal according to minimum adjustment duty ratio stepping, it is every to change once, then the output quantity of power supply is detected, Until the output quantity is close to the set amount;Fine mode includes: that the pwm signal in every N number of period is divided into one group, will be several Group is divided into a set, changes in a set pwm signal in several periods in each group every time according to minimum adjustment duty ratio Duty ratio, comprising: change the duty ratio of the pwm signal of a cycle in each group in first set, power supply to be detected for the first time Output quantity after changed next time, change in next set and once change in previous set each group than preceding in each group In more a cycles pwm signal duty ratio, continue to test the output quantity of power supply, until the output quantity most proximity described in set It is quantitative, so that the output quantity and the error of the set amount are in a setting error range;Alternatively, the fine mode packet It includes: the pwm signal in every N period being divided into one group, several groups are divided into a set, change every time according to minimum adjustment duty ratio Become the duty ratio of the pwm signal in several periods in each group in a set, comprising: change in first set each group for the first time The output quantity of the duty ratio of the pwm signal in middle a cycle or multiple periods, power supply to be detected is changed next time later, The duty ratio for changing the PWM signal in the period changed in each group in next set, continues to test the output of power supply Amount, until set amount described in the output quantity most proximity, so that the output quantity and the error of the set amount are missed in a setting In poor range.In one embodiment, see that Fig. 2, mode controlling unit 17 can be the logic processing devices such as single-chip microcontroller, PLC, It includes multiple signal input/output end ports, and signal input port VL is for connecting survey volt circuit 151 and being obtained according to correlation formula To the voltage of the positive route of pwm signal modulating device 1, signal input port IL is for connecting flow measurement circuit 152 and according to phase It closes formula and obtains the electric current in the anode circuit of pwm signal modulating device 1, moreover, the signal output end of mode controlling unit 17 Mouth PWML, PWMH are used for output pwm signal.In addition, mode controlling unit 17 further includes the devices such as clock, here no longer into Row is described in detail.
Adjustment unit 11 is set on the route of pwm signal modulating device 1, for gradually being adjusted according to pwm signal modulating mode The output quantity in economize on electricity source is to set amount.In one embodiment, see that Fig. 2, adjustment unit 11 include PMOS tube Q1 and NMOS tube Q2, PMOS tube Q1 access the positive route of pwm signal modulating device 1, the anode input of source electrode and pwm signal modulating device 1 Port electrical connection, drain electrode access positive route, and grid is connect with the port PWMH of mode controlling unit 17, for receiving PWM signal is to control the turn-on time of PMOS tube Q1;The drain electrode of NMOS tube Q2 is connect with the drain electrode of PMOS tube Q2, source electrode and ground Connection, grid are connect with the port PWML of mode controlling unit 17, for receiving pwm signal to control leading for NMOS tube Q2 The logical time.PMOS tube Q1 and NMOS tube Q2 in adjustment unit 11 receive the letter of the PWM from the port PWMH, the port PWML respectively After number, according to the respective turn-on time of the duty cycle adjustment of corresponding pwm signal, electric current is flowed through to control electrode line road Size, and then influence the voltage of electrode line road.
The access of filter unit 13 is on the route between adjustment unit 11 and detection unit 15, for receiving the modulation of power supply Amount (i.e. the output electric energy of adjustment unit 11) afterwards, obtains final output quantity after modulated amount is filtered, should Final output quantity is delivered to external load equipment D1 after passing through detection unit 15.In one embodiment, see Fig. 4, filter Unit 13 includes LC filter circuit, which includes inductance L1 and capacitor C1, and inductance L1 accesses positive route, capacitor C1 Anode connect with the rear end of inductance L1, cathode with connection;Filter circuit 13 is used not only for filtering conductive track because of electricity Magnetic disturbance and the clutter formed to enhance anti-interference ability, be also used to stablize the output quantity of the slight fluctuations of adjustment unit 11 so that Obtaining output quantity has stable output effect.
Correspondingly, this application discloses a kind of high-precision pwm signal modulator approach, referring to FIG. 3, the pwm signal tune Method processed includes step S100 to S300.
S100 obtains the output quantity of power supply using detection device, which includes any of voltage, electric current and power Person, the size of these output quantities is modulated by output quantity of the pwm signal to power supply to be obtained, the related adjustment unit in power supply Itself turn-on time is controlled after receiving pwm signal, to influence the voltage of electric energy, electric current or power in route.It is specific one In embodiment, see that Fig. 2, mode controlling unit 17 obtain the voltage on the route of pwm signal modulating device 1 by detection unit 15 And electric current.
S200 selects pwm signal modulating mode according to output quantity and set amount, and pwm signal modulating mode includes coarse adjustment mould Formula and fine mode, the former is for rapidly adjusting output quantity close to set amount, and the latter is for subtly adjusting output quantity most Close to set amount, and reach default error range.For example, the output voltage for presetting PWM adjustment device 1 is 28V with suitable Answer the power requirement of load equipment cells D 1, need at this time mode controlling unit 17 export 37.4% duty ratio pwm signal with The turn-on time of adjustment unit 11 is adjusted, mode controlling unit 17 can first be held according to coarse mode according to 1% duty ratio precision The continuous duty ratio for adjusting PWM signal is 37% or 38%, and the duty ratio for then gradually adjusting pwm signal according to fine mode is 37.4%.
S300 adjusts output quantity to set amount according to pwm signal modulating mode.In one embodiment, scheme control The voltage according to obtained in step S100 of unit 17 selects coarse mode or fine mode, in different modes, scheme control Unit 17 exports the pwm signal of different duty, and adjustment unit 11 changes the turn-on time of itself according to the pwm signal, in turn It adjusts and by adjusting unit 11 flows through electric current, the voltage of positive route is adjusted during curent change to a predeterminated voltage Value.
Wherein, step S200 includes the selection method of pwm signal modulating mode, and step S300 is according to PWM signal modulation mould The adjusting method of formula, wherein selection method includes step S210 to S240, and adjusting method includes step S310 to S340, can be joined Examine Fig. 4.
The selection method of pwm signal modulating mode includes:
S210 obtains a difference by output quantity obtained in step S100 compared with set amount, the set amount refer to outside The parameter value that electric energy needed for section load equipment D1 matches, can be a preset voltage value, current value or performance number, Moreover, the forms such as this presets including being manually set, autonomous setting.In one embodiment, mode controlling unit 17 from The voltage V of route is obtained at detection unit 15load, by voltage VloadWith preset voltage value VsetIt makes comparisons, obtains voltage difference Vgap =Vload-Vset
S220, by difference obtained in step S210 compared with preset range, for example, by VgapWith preset range (- 100mV Compare to+100mV).
S230 enters this step when difference exceeds preset range, as mode controlling unit 17 judges voltage difference VgapIt is super Out when the preset range of -100mV to+100mV, coarse mode is selected, as voltage difference VgapWhen in the preset range, selection Fine mode.
Coarse mode includes: to change the duty ratio of the pwm signal according to minimum adjustment duty ratio stepping, every to change one It is secondary, then the output quantity of power supply is detected, until the output quantity is close to the set amount.Step S231 to S233 is specifically included, such as Shown in Fig. 5.
S231 judges the positive and negative property of difference in the form of selecting to change the duty ratio of pwm signal.
S232, when difference, which is positive, to be worth, into this step, i.e. voltage difference VgapWhen for positive value, then accounted for according to minimum adjustment Sky is than (the i.e. Adjustment precision of duty ratio, it is assumed that reduce the duty ratio of pwm signal for 1%) stepping.Detailed process are as follows: if desired will Current duty ratio is adjusted to 51.4% by 60% to adjust the output voltage V that PWM adjusts device 1load, then in each adjustment week (adjustment process that the adjustment period refers to one specific time or a negative-feedback) subtracts the duty ratio of pwm signal in phase It is small by 1%, until duty ratio is decreased to 52%, at this point, the output voltage V of PWM adjustment device 1loadClosest to preset voltage value Vset
S233, when difference, which is negative, to be worth, into this step, i.e. voltage difference VgapWhen for negative value, then accounted for according to minimum adjustment Sky increases the duty ratio of pwm signal than (if being 1%) stepping.Detailed process are as follows: if desired by current duty ratio by 40% 51.4% is adjusted to adjust the output voltage V that PWM adjusts device 1load, then make accounting for for pwm signal within each adjustment period Sky is than increasing 1%, until duty ratio increases to 51%, at this point, the output voltage V of PWM adjustment device 1loadClosest to default Voltage value Vset
Fine mode includes: that the pwm signal in every N number of period is divided into one group, several groups is divided into a set, according to minimum Adjustment duty ratio changes the duty ratio of the pwm signal in several periods in each group in a set every time, comprising: changes for the first time In first set in each group the pwm signal of a cycle duty ratio, carry out next time after the output quantity of power supply to be detected Change, changes in next set in each group than the preceding pwm signal for once changing more a cycles in each group in previous set Duty ratio, continue to test the output quantity of power supply, until the output quantity most proximity described in set amount so that the output quantity and The error of the set amount is in a setting error range;Alternatively, the fine mode includes: by the pwm signal in every N number of period It is divided into one group, several groups is divided into a set, changes several in each group in a set every time according to minimum adjustment duty ratio The duty ratio of the pwm signal in period, comprising: change in first set a cycle in each group or multiple periods for the first time The duty ratio of pwm signal is changed next time after the output quantity of power supply to be detected, is changed in next set in each group The duty ratio of the pwm signal in the period through changing continues to test the output quantity of power supply, until described in the output quantity most proximity Set amount, so that the output quantity and the error of the set amount are in a setting error range.Specifically include step S241 extremely S243, as shown in Fig. 6.
S241 judges the positive and negative property of difference in the form of selecting to change the duty ratio of PWM.
S242, when difference, which is positive, to be worth, into this step, i.e. voltage difference VgapWhen for positive value, then by every N period Pwm signal is divided into one group, and every several groups are divided into a set, reduces in a set every time in each group according to minimum adjustment duty ratio The duty ratio of the pwm signal in several periods, it is every to change primary, then detect the output quantity of power supply, until the output quantity until Set amount described in the output quantity most proximity, so that the output quantity and the error of the set amount set error range one It is interior.
In the present embodiment, N is an integer, is obtained by following calculating process:
Every group of frequency is after grouping
Fn=1/ (N*T) (1)
The cutoff frequency of LC filter circuit is in filter unit 13
To guarantee that the pwm signal in N number of period in every group can be filtered completely, then need to meet
fn>f (3)
Formula (1), (2), (3) are subjected to simultaneous and obtain N value
L, C in above-mentioned formula are respectively the related parameter values of LC filter circuit in filter unit 13, i.e. L is inductance L1 Inductance value, C be capacitor C1 capacitance, in addition, T be pwm signal periodic quantity (periodic quantity is usually by mode controlling unit 17 own hardware characteristic determines, related with the frequency of clock).
In the present embodiment, the pwm signal in every N number of period is divided into one group, several groups is divided into a set, according to minimum Adjustment duty ratio changes the process of the duty ratio of the pwm signal in several periods in each group in a set every time, comprising: first The secondary duty ratio for changing the pwm signal of a cycle in each group in set, the output quantity of power supply to be detected carry out second later Secondary change changes the duty ratio of the pwm signal in two periods in each group in second set for the second time, changes next collection next time (M is M '+1 here, and the M ' expression last time here changes the duty ratio in a upper set in every group M in each group in closing Number) period PWM signal duty ratio.Only change the PWM letter of a cycle in each group in set due to adjusting each time Number duty ratio, therefore, during adjusting each time, every group of change in duty cycle amount is D0/ N, wherein D0Indicate minimum adjustment Duty ratio (or referring to duty ratio precision), M can progressive whole number values for one.
It should be noted that mode controlling unit 17 generates the rate of pwm signal far faster than logical during adjusting each time The rate that output quantity acquiring unit 15 detects power supply output quantity is crossed, first obtain the output of power supply before adjusting every time Amount is to determine whether this adjustment continues to change the duty ratio of the pwm signal in several periods in each group in next set, It proposes and several groups is divided into a set, and generation period and detection electricity of the total quantity organized in each set by pwm signal The time interval of source output quantity determines.For example, the generation period of pwm signal is t0 (assuming that 1ms), detection power supply output quantity Time interval is t1 (assuming that 100ms), then the group number of t1/t0/N (i.e. 100/N) should be included at least in each set.In this way, It enables to during adjusting every time, all groups of overall duty ratio is consistent in a set, only in detection power supply output After amount, the overall duty ratio of next all groups of set is just adjusted to another consistent state.
The detailed process of this step are as follows: current duty ratio is if desired adjusted to 51.45% by 52% to adjust PWM Adjust the output voltage V of device 1load, as shown in Figure 7.
The pwm signal in every N number of period is divided into one group, every t1/t0/N group is divided into a set, each week in each group The duty ratio of the pwm signal of phase is 52%, is next changed every time according to minimum adjustment duty ratio (i.e. 1%) every in a set The duty ratio of the pwm signal in several periods in one group: when adjusting first time, by 1 period in first set each group The duty ratio of pwm signal be reduced to 51%, the duty ratio in remaining period is constant;It, will be in second set when adjusting for second The duty ratio of the pwm signal in 2 periods is reduced to 51% in each group, and the duty ratio in remaining period is constant;It is adjusted in third time When, the duty ratio of the pwm signal in 3 periods interior in each group in third set is reduced to 51%, the duty ratio in remaining period It is constant;In the M times adjustment, the duty ratio that M is gathered to the pwm signal in M period in organizing in each group interior is reduced to 51%, The duty ratio in remaining period is constant.It is every once to be adjusted, then detect the output quantity V of power supplyload, re-start the anti-of next round Feedback adjustment, until output quantity VloadClosest to set amount Vset, so that the output quantity VloadWith set amount VsetError one It sets in error range.For example it is assumed that N is 10, then after 5 adjustment, current duty ratio is that 51.4% (duty ratio changes The change value of output quantity is corresponded to when becoming 0.1% as Vmin, and can not carry out adjustment of the duty ratio in 0.01% precision), then recognize It is 51.4% closest to 51.42%, at this point, in the range of can setting error range restriction-Vmin~+Vmin, so that defeated Output VloadAlso closest to set amount Vset.Later, mode controlling unit 17 will be continuously to the output of adjustment unit 17 and the M times tune Whole the same pwm signal, to maintain the output quantity of the turn-on time of adjustment unit 17 and filter unit 13 at this time.
In another embodiment, current duty ratio is if desired adjusted to 51.45% by 52% to adjust PWM tune The output voltage V of engagement positions 1load, it is adjusted using method as shown in Figure 8.The pwm signal in every N number of period is divided into one T1/t0/N group is divided into a set (concept of the set is with related content above) by group, (can according to minimum adjustment duty ratio For the duty ratio for 1%) changing the pwm signal in several periods in each group in a set every time, comprising: change first for the first time In set in each group the pwm signal in a cycle or multiple periods duty ratio, the output quantity of power supply to be detected it is laggard Row changes next time, changes the duty ratio of the pwm signal in the period changed in each group in next set, continues to test The output quantity of power supply, until set amount described in the output quantity most proximity, so that the error of the output quantity and the set amount In a setting error range.Specific process are as follows: when adjusting first time, by 1 period in first set each group The duty ratio of pwm signal is reduced to 51%, and the duty ratio in remaining period is constant;Detect the output quantity V of power supplyloadIs carried out later When secondary adjustment, the duty ratio of the pwm signal in the period having changed in second set each group is reduced to 51%, remaining The duty ratio in period remains unchanged;Detect the output quantity V of power supplyloadIt, will be every in third set when carrying out third time adjustment later The duty ratio of the pwm signal in the period having changed in one group is reduced to 50%, and the duty ratio in remaining period, which is appointed, so to be kept not Become;Detect the output quantity V of power supplyloadWhen carrying out the M times adjustment later, by what is had changed in group in each group in M set The duty ratio of the pwm signal in period is reduced to (52-M) %, and the duty ratio in remaining period also remains unchanged.It is assumed that N is 10, then pass through After crossing 5 adjustment, the duty ratio for the pwm signal having changed in each group is 46%, and every group of overall duty ratio is 51.4%, Then think 51.4% closest to 51.42%, and output quantity VloadWith set amount VsetError in-Vmin~+Vmin range It is interior, it is believed that output quantity VloadAlso closest to set amount Vset, reach adjustment purpose.Later, mode controlling unit 17 will be continuously to tune Pwm signal the whole output of unit 17 and the M times adjustment, to maintain the turn-on time of adjustment unit 17 at this time and filtering single The output quantity of member 13.It will be understood to those skilled in the art that being not limited to only change in set during adjusting each time The duty ratio of the pwm signal in 1 period in each group, can also change the duty ratio of the pwm signal in multiple periods, for example, the The primary duty ratio for changing the pwm signal in 2 periods in each group in first set is to 51%, the output quantity of power supply to be detected Changed next time later, changes the duty ratio of the pwm signal in 2 periods changed in each group in next set To 50%, the duty ratio for changing the pwm signal in one of each group of 2 period having changed in next set for the third time is 49%, so that current every group of overall duty ratio is 51.4%, also reach identical adjustment result.
S243, when difference, which is negative, to be worth, into this step, i.e. voltage difference VgapWhen for negative value, then by every N period Pwm signal is divided into one group, increases the duty ratio of the pwm signal in several periods in one group every time according to minimum adjustment duty ratio, It is every to increase primary, then detect the output quantity of power supply, until set amount described in the output quantity most proximity so that the output quantity and The error of the set amount is in a setting error range.Detailed process can refer to step S242, by current duty ratio by 51% is adjusted to 51.4% to adjust the output voltage V that PWM adjusts device 1load, it will not be described here.
In the present embodiment, coarse mode and fine mode are all made of progressive mode, by adjust one by one the period by The secondary output quantity for adjusting power supply to set amount, this regulative mode avoids directly output quantity is adjusted to set amount during Reconciliation loop is crossed because caused by significantly adjusting and shakes problem, is advantageously implemented stable regulating effect, or even set in outside Standby load is adjustable the output quantity of power supply also when changing at any time to match the load of external equipment.
In another embodiment, in step S200, control unit 17 selects pwm signal according to set amount and output quantity Modulating mode, comprising: by output quantity compared with set amount, when output quantity and set amount difference, then select fine mode.One In specific embodiment, when control unit 17 judges that the value of output quantity and set amount is unequal, only fine mode is selected to adjust power supply Output quantity, until output quantity is closest to set amount, so that reaching error setting range, detailed process between the two are as follows: false It such as needs to change into current 60% duty ratio 37.4% duty ratio and load equipment unit is adapted to the output quantity of modulation power source The duty ratio of pwm signal is reduced to by the power requirement of D1, mode controlling unit 17 by 60% for the first time according to fine mode 59%, it is reduced to 58% again for the second time, until proceeding to the 9th time is reduced to 51.4% by 52% for the duty ratio of pwm signal. This adjusting method only with fine mode remains to achieve the purpose that accurately to adjust output quantity to set amount, moreover, adjusting speed Degree is slower, is advantageously implemented more stable regulating effect.
It can refer to Fig. 4, the adjusting method according to pwm signal modulating mode includes:
S310, mode controlling unit 17 are limited according to fine mode in coarse mode in step S230 or step S240 Adjusting method, generate the pwm signal that has been changed of duty ratio, the concrete form of the pwm signal can refer to step S232 and S233 and step S242 and S243.
S320, adjustment unit 11 can change the turn-on time of itself, specific mistake according to the pwm signal from control unit 17 Journey are as follows: when pwm signal is generated by coarse mode, adjustment unit 11 adjusts duty ratio D according to minimum within an adjustment period0 Increase or reduce the turn-on time of itself with definitely amplitude;When pwm signal is generated by fine mode, adjustment unit 11 The change in duty cycle amount D according to every group is understood in adjusting the period at one0/ N is increased or is reduced the conducting of itself with certain amplitude Time.Finally, adjustment unit 11 exports modulated amount.
S330 is filtered to obtain the output quantity of power supply, detailed process are as follows: filter unit 13 receives modulated amount simultaneously It is filtered, to obtain relatively stable output quantity.
S340 continues next negative-feedback adjustment until the output quantity for adjusting power supply reaches setting value and completes pwm signal Modulation to power supply output quantity.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple It deduces, deform or replaces.

Claims (13)

1. a kind of high-precision pwm signal modulator approach, which comprises the following steps:
The output quantity of power supply is detected, the output quantity is modulated by input quantity of the pwm signal to power supply and is obtained;
According to set amount and the output quantity, pwm signal modulating mode is selected;
The output quantity is adjusted to the set amount according to the pwm signal modulating mode;
The pwm signal modulating mode includes coarse mode and/or fine mode;The coarse mode includes: according to most ditty Whole duty ratio stepping changes the duty ratio of the pwm signal, every to change once, then detects the output quantity of power supply, until described defeated Output is close to the set amount;The fine mode includes: that the pwm signal in every N number of period is divided into one group, and several groups are divided into One set changes the duty ratio of the pwm signal in several periods in each group in a set according to minimum adjustment duty ratio every time.
2. High-Accuracy PWM signal modulating method as described in claim 1, which is characterized in that the output quantity includes voltage, electricity Any one of stream and power.
3. High-Accuracy PWM signal modulating method as claimed in claim 2, which is characterized in that
In the fine mode, the pwm signal by every N number of period is divided into one group, and several groups are divided into a set, according to Minimum adjustment duty ratio changes the duty ratio of the pwm signal in several periods in each group in a set every time, comprising: for the first time Change the duty ratio of the pwm signal of a cycle in each group in first set, is carried out down after the output quantity of power supply to be detected It is primary to change, change in next set in each group than the preceding PWM for once changing more a cycles in each group in previous set The duty ratio of signal continues to test the output quantity of power supply, until set amount described in the output quantity most proximity, so that the output Amount and the error of the set amount are in a setting error range;
Alternatively, the pwm signal by every N number of period is divided into one group in the fine mode, several groups are divided into a collection It closes, changes the duty ratio of the pwm signal in several periods in each group in a set, packet every time according to minimum adjustment duty ratio It includes: changing the duty ratio of the pwm signal in a cycle or multiple periods in each group in first set, electricity to be detected for the first time Changed next time after the output quantity in source, changes the pwm signal in the period changed in each group in next set Duty ratio, continue to test the output quantity of power supply, until the output quantity most proximity described in set amount so that the output quantity and The error of the set amount is in a setting error range.
4. High-Accuracy PWM signal modulating method as claimed in claim 3, which is characterized in that the N is by formulaIt determines, L, C in the formula are respectively the inductance value and capacitance of a LC filter circuit, and T is described The periodic quantity of pwm signal.
5. High-Accuracy PWM signal modulating method as claimed in claim 3, which is characterized in that described according to set amount and described Output quantity selects pwm signal modulating mode, comprising:
By the output quantity compared with the set amount, a difference is obtained;
By the difference compared with a preset range, when the difference exceeds the preset range, the coarse mode is selected, When the difference is in the preset range, the fine mode is selected.
6. High-Accuracy PWM signal modulating method as claimed in claim 3, which is characterized in that described according to set amount and described Output quantity selects pwm signal modulating mode, comprising:
By the output quantity compared with the set amount, when the output quantity and the error of the set amount are missed beyond the setting When poor range, then fine mode is selected.
7. High-Accuracy PWM signal modulating method as claimed in claim 5, which is characterized in that
It is described when the difference exceed the preset range when, select the coarse mode, comprising: the difference be positive value when, Reduce the duty ratio of the pwm signal according to minimum adjustment duty ratio stepping, it is every to reduce once, then the output quantity of power supply is detected, Until the output quantity is close to the set amount;When the difference is negative value, according to described in minimum adjustment duty ratio stepping increase The duty ratio of pwm signal, it is every to increase primary, then the output quantity of power supply is detected, until the output quantity is close to the set amount;
It is described when the difference is in the preset range, select the fine mode, comprising: the difference be positive value when, Reduce the duty ratio of the pwm signal in several periods in each group in set every time according to minimum adjustment duty ratio, it is every to reduce one It is secondary, then the output quantity of power supply is detected, until the output quantity and the error of the set amount are in the setting error range;Institute When to state difference be negative value, according to minimum adjustment duty ratio increases every time set it is each group interior in several periods pwm signal Duty ratio, it is every to increase once, then the output quantity of power supply is detected, until the output quantity and the error of the set amount are set described Determine in error range.
8. the High-Accuracy PWM signal modulating method as described in any one of claims 1 to 7, which is characterized in that described according to institute It states pwm signal modulating mode and adjusts the output quantity to the set amount, comprising:
Pwm signal is generated according to the pwm signal modulating mode;
It is modulated according to input quantity of the pwm signal to power supply to obtain modulated amount;
It is filtered the modulated amount to obtain the output quantity of power supply.
9. a kind of high-precision pwm signal modulating device characterized by comprising
Detection unit, for detecting the output quantity of power supply, the output quantity be modulated by input quantity of the pwm signal to power supply and It obtains;
Mode controlling unit, for selecting pwm signal modulating mode according to set amount and the output quantity;
Adjustment unit, for adjusting the output quantity to the set amount according to the pwm signal modulating mode;
The pwm signal modulating mode includes coarse mode and/or fine mode;The coarse mode includes: according to most ditty Whole duty ratio stepping changes the duty ratio of the pwm signal, every to change once, then detects the output quantity of power supply, until described defeated Output is close to the set amount;The fine mode includes: that the pwm signal in every N number of period is divided into one group, and several groups are divided into One set changes the duty ratio of the pwm signal in several periods in each group in a set according to minimum adjustment duty ratio every time.
10. High-Accuracy PWM modulating apparatus as claimed in claim 9, which is characterized in that
In the fine mode, the pwm signal by every N number of period is divided into one group, and several groups are divided into a set, according to Minimum adjustment duty ratio changes the duty ratio of the pwm signal in several periods in each group in a set every time, comprising: for the first time Change the duty ratio of the pwm signal of a cycle in each group in first set, is carried out down after the output quantity of power supply to be detected It is primary to change, change in next set in each group than the preceding PWM for once changing more a cycles in each group in previous set The duty ratio of signal continues to test the output quantity of power supply, until set amount described in the output quantity most proximity, so that the output Amount and the error of the set amount are in a setting error range;
Alternatively, the pwm signal by every N number of period is divided into one group in the fine mode, several groups are divided into a collection It closes, changes the duty ratio of the pwm signal in several periods in each group in a set, packet every time according to minimum adjustment duty ratio It includes: changing the duty ratio of the pwm signal in a cycle or multiple periods in each group in first set, electricity to be detected for the first time Changed next time after the output quantity in source, changes the pwm signal in the period changed in each group in next set Duty ratio, continue to test the output quantity of power supply, until the output quantity most proximity described in set amount so that the output quantity and The error of the set amount is in a setting error range.
11. High-Accuracy PWM modulating apparatus as claimed in claim 10, which is characterized in that the mode controlling unit will The output quantity obtains a difference compared with the set amount, by the difference compared with a preset range, when the difference is super Out when the preset range, the coarse mode is selected, when the difference is in the preset range, selects the fine tuning mould Formula.
12. such as the described in any item High-Accuracy PWM modulating apparatus of claim 9 to 11, which is characterized in that further include filtering The modulated amount is filtered for receiving the modulated amount to obtain electricity by unit, the filter unit The output quantity in source.
13. a kind of power supply device, which is characterized in that including the described in any item High-Accuracy PWM signal modulations of claim 9 to 12 Device.
CN201810214242.9A 2018-03-15 2018-03-15 A kind of high-precision pwm signal modulator approach and its modulating device, power supply device Active CN108521229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810214242.9A CN108521229B (en) 2018-03-15 2018-03-15 A kind of high-precision pwm signal modulator approach and its modulating device, power supply device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810214242.9A CN108521229B (en) 2018-03-15 2018-03-15 A kind of high-precision pwm signal modulator approach and its modulating device, power supply device

Publications (2)

Publication Number Publication Date
CN108521229A CN108521229A (en) 2018-09-11
CN108521229B true CN108521229B (en) 2019-08-23

Family

ID=63433750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810214242.9A Active CN108521229B (en) 2018-03-15 2018-03-15 A kind of high-precision pwm signal modulator approach and its modulating device, power supply device

Country Status (1)

Country Link
CN (1) CN108521229B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI760766B (en) * 2020-06-11 2022-04-11 瑞鼎科技股份有限公司 Pulse-width modulation detection circuit and method for power saving and anti-noise

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7388358B2 (en) * 2006-05-17 2008-06-17 Winbond Electronics Corporation Method and apparatus for a pulse width modulated DC-DC converter
CN101645654A (en) * 2009-08-21 2010-02-10 西安英洛华微电子有限公司 Full digital pulse regulation method for voltage-stabilizing control of switching power supply
CN102035514A (en) * 2010-11-11 2011-04-27 东南大学 Control method for digital pulse width modulation (DPWM) circuit
CN102195483A (en) * 2010-03-04 2011-09-21 矽创电子股份有限公司 Dead zone adjusting circuit with coarse adjustment function and fine adjustment function and method
CN107222189A (en) * 2017-05-03 2017-09-29 中国科学院微电子研究所 A kind of digital pulse width modulator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7388358B2 (en) * 2006-05-17 2008-06-17 Winbond Electronics Corporation Method and apparatus for a pulse width modulated DC-DC converter
CN101645654A (en) * 2009-08-21 2010-02-10 西安英洛华微电子有限公司 Full digital pulse regulation method for voltage-stabilizing control of switching power supply
CN102195483A (en) * 2010-03-04 2011-09-21 矽创电子股份有限公司 Dead zone adjusting circuit with coarse adjustment function and fine adjustment function and method
CN102035514A (en) * 2010-11-11 2011-04-27 东南大学 Control method for digital pulse width modulation (DPWM) circuit
CN107222189A (en) * 2017-05-03 2017-09-29 中国科学院微电子研究所 A kind of digital pulse width modulator

Also Published As

Publication number Publication date
CN108521229A (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN103260318B (en) LED drive circuit capable of adjusting light and light adjusting method thereof
CN103023326B (en) Constant time control method, control circuit and switching regulator using same
CN104734470B (en) Constant on-time controller
US8432712B2 (en) Single switch high efficiency power supply
US20130201731A1 (en) Power factor correction device, and controller and thd attenuator used by same
CN108604860A (en) DC/DC resonance converters and the PFC using resonance converter and corresponding control method
CN103759773B (en) Field voltage method of adjustment, control circuit and electromagnetic flowmeter field circuit
CN104135151B (en) DC-DC switching controller
CN104902648A (en) LED light-adjustment circuit with silicon controlled rectifier, and light-adjustment method
CN103874283A (en) Led current control
CN107210676A (en) Power supply semiconductor device
CN102005923A (en) Power supply controller with an input voltage compensation circuit
CN108702085A (en) DC/DC resonance converters and the PFC using resonance converter and corresponding control method
WO2020061727A1 (en) Load current detection method and circuit for inductive switching power converter
CN108199424A (en) Multi-phase charging circuit and control method thereof
US20230231497A1 (en) Power Supply and Method of Supplying Power To Load
CN108459651A (en) Constant-current controller and its power conditioning circuitry
CN100492839C (en) DC-DC converter and its controller and control method and device containing same
CN108702086A (en) DC/DC resonance converters and the PFC using resonance converter and corresponding control method
CN108521229B (en) A kind of high-precision pwm signal modulator approach and its modulating device, power supply device
CN111245238A (en) Three-level Boost circuit control method and system
CN100492843C (en) DC-DC converter and circuit device for configuring the converter
CN101599692B (en) Quick response device and method of switching power converter
CN108604861A (en) DC/DC resonance converters and the PFC using resonance converter and corresponding control method
CN106130347B (en) Switch converter and controller thereof

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
GR01 Patent grant
GR01 Patent grant