CN101895225B - Control method of pulse direction of pulse power supply - Google Patents

Control method of pulse direction of pulse power supply Download PDF

Info

Publication number
CN101895225B
CN101895225B CN 201010132514 CN201010132514A CN101895225B CN 101895225 B CN101895225 B CN 101895225B CN 201010132514 CN201010132514 CN 201010132514 CN 201010132514 A CN201010132514 A CN 201010132514A CN 101895225 B CN101895225 B CN 101895225B
Authority
CN
China
Prior art keywords
value
peak
peak value
base
base value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201010132514
Other languages
Chinese (zh)
Other versions
CN101895225A (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.)
Beijing Wellseen Technology Development Co Ltd
Original Assignee
Beijing Wellseen Technology Development 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 Beijing Wellseen Technology Development Co Ltd filed Critical Beijing Wellseen Technology Development Co Ltd
Priority to CN 201010132514 priority Critical patent/CN101895225B/en
Publication of CN101895225A publication Critical patent/CN101895225A/en
Application granted granted Critical
Publication of CN101895225B publication Critical patent/CN101895225B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention relates to a control method of pulse direction of a pulse power supply, mainly comprising the following steps: A. acquiring a sampling value of a peak value to obtain an OUT peak value (t) as peak value controlled quantity; B. acquiring a sampling value of a base value and calculating an OUT peak-base (t) as controlled quantity of a different value between the peak value and the base value; C. if the OUT peak-base (t) is not less than 0, executing step D, and if the OUT peak-base (t) is less than 0, executing step E; D. subtracting the OUT peak-base (t) from the OUT peak value (t) to obtain a result which is taken as an OUT base value (t) for base value controlled quantity at t time, and then executing step F; E. taking the OUT peak value (t) as the OUT base value (t), and then executing step F; and F. converting and then outputting the OUT peak value (t) and the OUT base value (t). The control method of the pulse direction of the pulse power supply adopts a closed-loop control mode so that the output peak value is always no less than the base value, thus ensuring pulse output accuracy, avoiding reverse pulse direction and being more practical.

Description

The control method of pulse direction of pulse power supply
Technical field
The present invention relates to a kind of control method of the pulse power, particularly relate to a kind of control method of pulse direction of pulse power supply.
Background technology
The pulse power has good advantage when precious metal is electroplated, and the second best in quality pulse output waveform plays vital effect, generally needs the square wave exported as shown in Figure 1, and amplitude and time precision can guarantee electroplating quality in 1%.
Existing pulse power source control system comprises two PID (proportion integration differentiation) controller, control respectively output base value and output peak value, and existing pulse power source control method exists a problem when calculating these two control output valves, when the peak value of A/D sampled voltage and electric current and base value, because the ripple of pulse is larger, so sampling has larger error, even through after filtering, still there is error in control signal, especially in the situation that base value and peak value settings are very approaching.
In addition, although the AD sample rate of DSP (Digital Signal Processing, Digital Signal Processing) is very high, be difficult to control the accurate AD sampling time.If wrong output base value sampled value constantly has been input to arranged in program to be controlled in the PID controller of peak value, the PID controller can wrongly be assigned the base value feedback as the peak value value of feedback so, next the PID controller can attempt to reduce output, the wrong base value feedback of expectation reduces, and exporting like this peak value will constantly reduce, and in like manner exports base value and can constantly increase, pulse inversion as shown in Figure 2 appears, base value is greater than peak value, and whole controller is in the positive feedback state, is easy to damage machine.
How to found a kind of employing closed-loop control, both can guarantee the pulse output accuracy, can avoid again the control method of the new pulse direction of pulse power supply of pulse inversion, real one of the current important subject that belongs to.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of control method of pulse direction of pulse power supply, makes it adopt closed-loop control, and makes the output peak value never less than base value, both can guarantee the pulse output accuracy, can avoid pulse inversion again.
For solving the problems of the technologies described above, the control method of a kind of pulse direction of pulse power supply of the present invention mainly comprises the following steps: A. obtains current time t peak value sampling value constantly by the AD sample circuit, obtains t peak value controlled quentity controlled variable OUT constantly Peak value(t); B. obtain t base value sampled value constantly by the AD sample circuit, and calculate the difference controlled quentity controlled variable OUT of t moment peak value and base value Peak-Ji(t); C. judge OUT Peak-Ji(t), if OUT Peak-Ji(t) 〉=0, if execution in step D is OUT Peak-Ji(t)<0, execution in step E; D. with OUT Peak value(t) deduct OUT Peak-Ji(t), result is as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F; E. with OUT Peak value(t) as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F; F. with OUT Peak value(t) and OUT Base value(t) change and export.
As a modification of the present invention, described steps A comprises that following concrete steps: A1. arranges the peak value set point; A2. obtain current time t peak value sampling value constantly by the AD sample circuit, and calculate the deviate e of this peak value sampling value and peak value set point Peak value(t); A3. utilize the PID controller to process e Peak value(t), obtain Δ OUT Peak value(t); A4. with the peak value controlled quentity controlled variable OUT of a upper sampling instant Peak value(t-1) with Δ OUT Peak value(t) and, as t peak value controlled quentity controlled variable OUT constantly Peak value(t).
Described step B comprises that following concrete steps: B1. arranges the difference set point of peak value and base value; B2. obtain t base value sampled value constantly by the AD sample circuit, calculate the difference of t moment peak value and base value, and further try to achieve this difference with respect to the deviate e of above-mentioned difference set point Peak-Ji(t); B3. utilize another PID controller to process e Peak-Ji(t), obtain Δ OUT Peak-Ji(t); B4. with the difference controlled quentity controlled variable OUT of a upper sampling instant peak value and base value Peak-Ji(t-1), deduct Δ OUT Peak-Ji(t), result is as the difference controlled quentity controlled variable OUT of t moment peak value and base value Peak-Ji(t).
Between described step B3, B4, further comprising the steps of: judgement Δ OUT Peak-Ji(t), if Δ OUT Peak-Ji(t)>10 are with Δ OUT Peak-Ji(t) value is set as 10.
In described PID computing, the span of scale parameter is 5-10, and the span of integral parameter is 10-30, and the span of differential parameter is 2-15.
After adopting such structure, the control method of pulse direction of pulse power supply of the present invention adopts close-loop control mode, makes the output peak value never less than base value, both can guarantee the pulse output accuracy, can avoid pulse inversion again, thereby more be suitable for practicality.
Description of drawings
Fig. 1 is the common pulse output waveform of pulse power schematic diagram.
Fig. 2 is the pulse output waveform schematic diagram of the pulse power when swinging to phenomenon.
Embodiment
Above-mentioned is only the general introduction of technical solution of the present invention, and for can clearer understanding technological means of the present invention, the present invention is described in further detail below in conjunction with embodiment.
The control method of pulse direction of pulse power supply of the present invention mainly comprises six steps of following A~F.
Steps A. obtain current time t peak value sampling value constantly by the AD sample circuit, obtain t peak value controlled quentity controlled variable OUT constantly Peak value(t).
Better, in this step, can also traditional pid algorithm be the basis, adopt following steps to obtain the higher OUT of precision Peak value(t):
A1., the peak value set point is set;
A2. obtain current time t peak value sampling value constantly by the AD sample circuit, and calculate the deviate e of this peak value sampling value and peak value set point Peak value(t);
A3. utilize the PID controller to process e Peak value(t), obtain Δ OUT Peak value(t);
A4. with the peak value controlled quentity controlled variable OUT of a upper sampling instant Peak value(t-1) with Δ OUT Peak value(t) and, as t OUT constantly Peak value(t).
Specifically, can adopt following concrete formula:
Formula one:
Figure GSA00000064611800041
Formula two: OUUT Peak value(t)=OUT Peak value(t-1)+Δ OUT Peak value(t).
Wherein, Δ OUT Peak value(t) be peak value controlled quentity controlled variable deviation; k The p peak valueBe scale parameter, span 5-10; k The i peak valueBe integral parameter, span 10-30; k The d peak valueBe differential parameter, span 2-15.k The p peak value, k The i peak valueWith k The d peak valueCan be by those skilled in the art according to routine operation, adjusting according to power control system draws.
Step B. obtains t base value sampled value constantly by the AD sample circuit, and calculates the difference controlled quentity controlled variable OUT of t moment peak value and base value Peak-Ji(t).
Better, in this step, can pid algorithm be also the basis, adopt following steps to obtain the higher OUT of precision Peak-Ji(t):
B1., the difference set point of peak value and base value is set;
B2. obtain t base value sampled value constantly by the AD sample circuit, calculate the difference of t moment peak value and base value, and further try to achieve this difference with respect to the deviate e of above-mentioned difference set point Peak-Ji(t);
B3. utilize another PID controller to process e Peak-Ji(t), obtain Δ OUT Peak-Ji(t), more excellent, also can increase a pair of Δ OUT Peak-Ji(t) if deterministic process is Δ OUT Peak-Ji(t)>10 are with Δ OUT Peak-Ji(t) value is set as 10, due to base value controlled quentity controlled variable OUT Peak value(t) will be by OUT Peak-Ji(t) draw, to OUT Peak-Ji(t) limit, can prevent that the base value exporting change is too fast, avoid exporting instantaneous variation excessive.
B4. with the difference controlled quentity controlled variable OUT of a upper sampling instant peak value and base value Peak-Ji(t-1), deduct Δ OUT Peak-Ji(t), result is as t OUT constantly Peak-Ji(t).
Specifically, can adopt following concrete formula:
Formula three:
Figure GSA00000064611800051
Formula four: OUT Peak-Ji(t)=OUT Peak-Ji(t-1)-Δ OUT Peak-Ji(t).
Wherein, Δ OUT Peak-Ji(t) be the deviation of peak value and base value controlled quentity controlled variable difference; k P peak-JiBe scale parameter, span 5-10; k I peak-JiBe integral parameter, span 10-30; k D peak-JiBe differential parameter, span 2-15.
C. judge OUT Peak-Ji(t), if OUT Peak-Ji(t) 〉=0, if execution in step D is OUT Peak-Ji(t)<0, execution in step E.
D. with OUT Peak value(t) deduct OUT Peak-Ji(t), result is as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F.
E. with OUT Peak value(t) as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F.
Step C~E can be formulated as:
Formula five:
Figure GSA00000064611800052
F. with OUT Peak value(t) and OUT Base value(t) be converted to analog signal output to PWM (Pulse Width Modulation, pulse width modulation) control chip by the DA transducer, pwm chip process isolation drive transformer driving power pipe is with power stage.
In practice, the user can utilize the present invention to obtain the peak value of curtage/base value controlled quentity controlled variable according to need of production.The present invention has not only improved the pulse output accuracy, and prior improvement is the control procedure that has increased pulse direction, namely passes through OUT Peak-Ji(t) negative value gets 0, keeps OUT Base value(t)≤OUT Peak value(t), thus effectively avoid pulse inversion.
Control method of the present invention can be converted into the form of following C language:
DA_OUT_H+=PID(&PID_H,&PV_H,&PS_H);
DA_H_L_Error-=PID(&PID_L,&PV_L,&PS_L);
if(DA_H_L_Error<10)
{
DA_H_L_Error=10;
}
if(PS_H-DA_H_L_Error<0)
{
DA_H_L_Error=0;
}
DA_OUT_L=PS_H-DA_H_L_Error;
int PID(struct STRUCT_PID_CONTROLLER*p,Uint16*sv,Uint16*pv)
{
long i=0;
long j=0;
(*p).E2=(*p).E1;
(*p).E1=(*p).E0;
(*p).E0=*sv-*pv;
j=(*p).E0-(*p).E1;
i=j *(*p).P;
j=(*p).E0;
j *=(*p).I;
i+=j;
j=(*p).E0-2*(*p).E1+(*p).E2;
j*=(*p).D;
i+=j;
tout+=i;
(*p).OUT=(int)(tout/1000);
tout=tout%1000;
return(*p).OUT;
}
The controlling value that prior art uses the PID formula to calculate is directly for being controlled object, just as the peak value control program in program, DA_OUT_H is the peak value controlled quentity controlled variable, PV_H, PS_H are respectively peak value sampling value and peak value set point, PID_H and PID_L are all a STRUCT_PID_CONTROLLER structure, control parameter for three that have mainly preserved base value and peak value PID controller.The controlling value that we export when calculating pulse base value controlled quentity controlled variable DA_OUT_L for the pulse inversion phenomenon is not the controlling value of base value, but calculate the difference controlled quentity controlled variable DA_H_L_Error of peak value and base value by PID according to base value sampled value PV_L and base value set point PS_L, utilize like this peak value controlled quentity controlled variable to cut this difference and just calculated the base value controlling value, we allow this difference DA_H_L_Error non-ly negative can avoid thoroughly this phenomenon of pulse inversion.By the experiment of adjusting to the control parameter, wherein a bit should be noted that in addition, because the control output valve of base value is that controlling value by peak value draws, these two PID controllers are not what work alone, but interdependence is arranged, therefore require control rate to base value will be slightly slower than control rate to peak value, can avoid like this producing vibration.
The above; it is only preferred embodiment of the present invention; be not that the present invention is done any pro forma restriction; those skilled in the art utilize the technology contents of above-mentioned announcement to make a little simple modification, equivalent variations or modification; perhaps adopt other mathematics, programmed method outside the listed formula of embodiment, program to realize control method of the present invention, all drop in protection scope of the present invention.

Claims (3)

1. the control method of a pulse direction of pulse power supply is characterized in that mainly comprising the following steps:
A. obtain current time t peak value sampling value constantly by the AD sample circuit, obtain t peak value controlled quentity controlled variable OUT constantly Peak value(t);
B. obtain t base value sampled value constantly by the AD sample circuit, and calculate the difference controlled quentity controlled variable OUT of t moment peak value and base value Peak-Ji(t);
C. judge OUT Peak-Ji(t), if OUT Peak-Ji(t) 〉=0, if execution in step D is OUT Peak-Ji(t)<0, execution in step E;
D. with OUT Peak value(t) deduct OUT Peak-Ji(t), result is as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F;
E. with OUT Peak value(t) as t base value controlled quentity controlled variable OUT constantly Base value(t), carry out afterwards step F;
F. with OUT Peak value(t) and OUT Base value(t) change and export;
Described steps A comprises following concrete steps:
A1., the peak value set point is set,
A2. obtain current time t peak value sampling value constantly by the AD sample circuit, and calculate the deviate e of this peak value sampling value and peak value set point Peak value(t),
A3. utilize the PID controller to process e Peak value(t), obtain peak value controlled quentity controlled variable deviation delta OUT Peak value(t),
A4. with the peak value controlled quentity controlled variable OUT of a upper sampling instant Peak value(t-1) with peak value controlled quentity controlled variable deviation delta OUT Peak value(t) and, as t peak value controlled quentity controlled variable OUT constantly Peak value(t);
Described step B comprises following concrete steps:
B1., the difference set point of peak value and base value is set,
B2. obtain t base value sampled value constantly by the AD sample circuit, calculate the difference of t moment peak value and base value, and further try to achieve this difference with respect to the deviate e of above-mentioned difference set point Peak-Ji(t),
B3. utilize another PID controller to process e Peak-Ji(t), obtain the deviation delta OUT of peak value and base value controlled quentity controlled variable difference Peak-Ji(t),
B4. with the difference controlled quentity controlled variable OUT of a upper sampling instant peak value and base value Peak-Ji(t-1), deduct Δ OUT Peak-Ji(t), result is as the difference controlled quentity controlled variable OUT of t moment peak value and base value Peak-Ji(t).
2. the control method of pulse direction of pulse power supply according to claim 1, is characterized in that between described step B3, B4, and is further comprising the steps of:
Judgement Δ OUT Peak-Ji(t), if Δ OUT Peak-Ji(t)>10 are with Δ OUT Peak-Ji(t) value is set as 10.
3. the control method of pulse direction of pulse power supply according to claim 1 and 2, it is characterized in that in the PID computing of described PID controller, the span of scale parameter is 5-10, and the span of integral parameter is 10-30, and the span of differential parameter is 2-15.
CN 201010132514 2010-03-24 2010-03-24 Control method of pulse direction of pulse power supply Expired - Fee Related CN101895225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010132514 CN101895225B (en) 2010-03-24 2010-03-24 Control method of pulse direction of pulse power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010132514 CN101895225B (en) 2010-03-24 2010-03-24 Control method of pulse direction of pulse power supply

Publications (2)

Publication Number Publication Date
CN101895225A CN101895225A (en) 2010-11-24
CN101895225B true CN101895225B (en) 2013-06-19

Family

ID=43104325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010132514 Expired - Fee Related CN101895225B (en) 2010-03-24 2010-03-24 Control method of pulse direction of pulse power supply

Country Status (1)

Country Link
CN (1) CN101895225B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2935621Y (en) * 2006-08-14 2007-08-15 田锡公 Programmable controlled pulse power source

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL1035333C2 (en) * 2008-04-23 2009-10-26 Hypex Electronics B V Method and control circuit for controlling pulse width modulation.

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2935621Y (en) * 2006-08-14 2007-08-15 田锡公 Programmable controlled pulse power source

Also Published As

Publication number Publication date
CN101895225A (en) 2010-11-24

Similar Documents

Publication Publication Date Title
CN100405733C (en) Method and circuit for controlling changing cyclic width lag cyclic current of inventer
CN203021337U (en) Control device for continuously adjusting industrial wastewater microwave treatment power
CN107276405A (en) The fine electric spark pulse power and the Discrete control method based on the power supply
CN106160610B (en) A kind of building method of Active suspension electromagnetic actuator intelligent controller
CN104600753B (en) A kind of micro-capacitance sensor multi-inverter parallel progress control method based on capacitance voltage differential
CN104423311B (en) Process intelligence control system and the method in gap towards electric machining special-purpose numerical control system
CN201906913U (en) Arc length control device for high-speed submerged arc welding process
CN103629095A (en) Small-sized diaphragm pump simulation frequency changing system and control method thereof
CN104821754B (en) The nonshared control unit of intelligent wall plastering machine people
CN103605035A (en) No-load detection circuit structure of self-adaptive switching power supply
CN105024610A (en) Brushless direct current motor control method
CN104393814A (en) Control method for permanent magnet synchronous motor
CN104834219A (en) PMLSM driven XY platform control method based on empirical mode decomposition, and system thereof
CN105159064A (en) Plug-in type rapid repetitive controller and control method
CN106787755A (en) The optimal feed forward control method of the active doube bridge DC DC converters of current source type
CN104539201B (en) General brushless motor current closed-loop control system and method
CN201467068U (en) Intelligent control device of AC linear induction motor
CN106338911A (en) Expert PID control method applied to rotary electromechanical actuator servo system
CN101895225B (en) Control method of pulse direction of pulse power supply
CN202975709U (en) Digital control system for sapphire crystal growth furnace
CN104967380B (en) Voltage Regulator on Doubly-Salient Generator control method with interference rejection ability
CN105137829A (en) Electric servo control method and system for firebrick pressing skip car
CN205304660U (en) Direct current motor servo based on FPGA
CN109660116B (en) 3-phase power converter and its control method, device
CN103684150B (en) A kind of stepping motor reducing power consumption control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130619

Termination date: 20180324