CN102778842A - Method for preparing product based on parameter optimization - Google Patents

Method for preparing product based on parameter optimization Download PDF

Info

Publication number
CN102778842A
CN102778842A CN2011101247243A CN201110124724A CN102778842A CN 102778842 A CN102778842 A CN 102778842A CN 2011101247243 A CN2011101247243 A CN 2011101247243A CN 201110124724 A CN201110124724 A CN 201110124724A CN 102778842 A CN102778842 A CN 102778842A
Authority
CN
China
Prior art keywords
optimized
parameter optimization
parameter
optimization
coming
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.)
Granted
Application number
CN2011101247243A
Other languages
Chinese (zh)
Other versions
CN102778842B (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 Union Medical Technology Co., Ltd.
Original Assignee
Shanghai United Imaging Healthcare 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 Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201110124724.3A priority Critical patent/CN102778842B/en
Publication of CN102778842A publication Critical patent/CN102778842A/en
Application granted granted Critical
Publication of CN102778842B publication Critical patent/CN102778842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for preparing a product based on parameter optimization, wherein a lagrangian function which takes a parameter to be optimized as an independent variable based on the optimization goal of the parameter to be optimized and constraint conditions at first; next, a self-adaptive annealing algorithm is adopted for the lagrangian function to optimize the parameters in order that an optimal solution of the parameter to be optimized is obtained; and at last, a corresponding product is prepared based on the obtained optimal solution of the parameter to be optimized. With the adoption of the method provided by the invention, the problem about overall optimization containing any nonlinear constrain can be treated.

Description

Come the method for preparing product based on parameter optimization
Technical field
The present invention relates to a kind of product preparation method and system, particularly a kind of method and system of coming preparing product based on parameter optimization.
Background technology
Along with the development of technology, all kinds of high in technological content products also arise at the historic moment.For most of high-tech products, it all need pass through accurate design, with practical requirement before preparation.For example, be applied to the ultra magnetic conductor of nuclear resounce imaging system,, how design magnet and make the utilization factor maximization of these superconducting lines just become particularly important because the cost of superconducting line is very high.Usually, superconducting magnet is divided into several coils, and the physical dimension of these coils and position all are difficult to confirm, and their numerical value change is very sensitive to the magnet effect.In addition; Simultaneously must guarantee also that again magnet uniformity coefficient, 5 gaussian lines, critical field etc. satisfy particular requirement minimizing cost. so; The global optimization that how obtains correlation parameter based on these non-linear constrain conditions is separated; So that it is can separate according to this global optimization and prepare corresponding superconducting magnet, especially crucial for superconducting magnet prepares enterprise.
In existing SUPERCONDUCTING MAGNET DESIGN, parameter optimization mainly contains following several kinds of modes:
1, be in the patent documentation of WO 2006/065027 at application number; Proposed to carry out in two steps magnet design; The first step utilizes in the past that experience is optimized the related parameter that has that relates to magnet structure, and second step was that condition is optimized the related parameter that has that relates to magnet stability with coil stress.The drawback of the method is need be by magnet design experience in the past, and the optimization solution that is obtained locally optimal solution just often, and efficient is lower.
2, adopt genetic algorithm to carry out parameter optimization, though the Optimization result that the method obtains is overall, this Optimization result is very sensitive to initial value, and the method operate in the parallel system just more efficient because the time that needs to spend is longer.
3, people such as L.Ingber has proposed a kind of employing adaptive modeling annealing method (ASA) and has carried out parameters optimization method; Though this method efficient is high and optimal speed is fast; But can not handle the optimization problem that comprises any non-linear constrain, thereby cause its application very limited.
Therefore, press for existing parameter optimization method is improved,, and then prepare corresponding superconducting magnet so that can the parameter under any non-linear constrain condition be optimized.
Summary of the invention
The object of the present invention is to provide a kind of method of coming preparing product, so that can handle the global optimization problem that comprises any non-linear constrain based on parameter optimization.
Reach other purposes in order to achieve the above object; Method of coming preparing product based on parameter optimization provided by the invention comprises step: 1) based on Parameter Optimization target to be optimized, and constraint condition to form with parameter to be optimized be the Lagrangian function of independent variable; 2) to said Lagrangian function, adopt the self-adaptation annealing algorithm to carry out Parameter Optimization, separate to obtain Parameter Optimization to be optimized; And 3) separate based on the Parameter Optimization to be optimized that is obtained and prepare corresponding product.
In sum; Method of coming preparing product based on parameter optimization of the present invention is based on generation Lagrangian functions such as optimization aim, constraint conditions; Carry out parameter optimization on this basis; Can handle the global optimization problem that comprises any non-linear constrain thus, it is greatly convenient that each production enterprise is obtained.
Description of drawings
Fig. 1 is the process flow diagram that comes the method for preparing product based on parameter optimization of the present invention.
Embodiment
See also Fig. 1, of the present inventionly come ten thousand methods of preparing product may further comprise the steps based on parameter optimization:
At first, based on Parameter Optimization target to be optimized, and constraint condition to form with parameter to be optimized be the Lagrangian function of independent variable.
For example, for parameter to be optimized: x=(x 1, x 2... x n), wherein, U i≤x i≤V i, i=1,2......n, optimization aim is: minimize f (x 1, x 2... x n), constraint condition comprises: h (x)=[h 1(x), h 2(x) ... h n=0 and g (x)=[g (x)] 1(x), g 2(x) ... g l(x)]≤0, then can form Lagrangian function and be: L (x, λ)=f (x)+H (x, λ)+G (x, λ), wherein,
Figure BDA0000061146310000021
Figure BDA0000061146310000022
λ and r is the Lagrange multiplier.
More specifically say it, for example, prepare one 4 coil superconducting magnet if desired, require its PkPk<15ppm, humorous A10=15 of ball, A30=30, independent variable to be optimized comprises: A1, B1, A2, B2 (coil 1); A1, B1, A2, B2 (coil 2), A1, B1, A2, B2 (coil 3), A1, B1, A2, B2 (coil 4), wherein, A1, A2 represent in coil is respectively, the outermost radius; B1, B2 are respectively coil minimum, maximum position in the axial direction; Thus, based on aforementioned requirement, can confirm:
1, optimization aim is: minimize
Figure BDA0000061146310000031
Wherein, Xi is an independent variable to be optimized, X1, and X2, X3, X4 represent the A1 of coil 1, A2, B1, B2 respectively; X5, X6, X7, X8 represent the A1 of coil 2, A2, B1, B2 respectively; X9, X10, X11, X12 represent the A1 of coil 3, A2, B1, B2 respectively; X13, X14, X15, X16 represent the A1 of coil 4 respectively, A2, B1, B2, Len (Xi) they are the superconducting line total length function of each coil;
2, constraint function is:
G (x)=[g 1(x), g 2(x), g 3(x), g 4(x)], wherein, g j(x)=Pk jPk j-15≤0, j=1,2,3,4, h (x)=[h 1(x), h 2(x), h 3(x), h 4(x)], wherein, h j(x)=(A j 10-15) 2+ (A j 30-15) 2=0, j=1,2,3,4,
Wherein, Pk jPk jBe the sign amount of the magnet uniformity coefficient of coil j, i.e. Peak-Peak can be by A1, A2, and B1, B2 calculates, A j 10Magnetic field H armonics item for coil j
Figure BDA0000061146310000032
Abbreviation; A j 30Magnetic field H armonics item for coil j
Figure BDA0000061146310000033
Abbreviation.Thus, based on above-mentioned optimization aim and constraint function, the Lagrangian function of formation does;
L ( x , λ ) = Σ i = 1 16 Len ( Xi ) + Σ j = 1 4 1 2 r [ ( A j 10 - 15 ) 2 + ( A j 30 - 15 ) 2 ] 2 + Σ j = 1 4 1 2 r [ ( max ( λ + r ( Pk j Pk j - 15 ) , 0 ) 2 - λ 2 ]
Then,, adopt the self-adaptation annealing algorithm to carry out Parameter Optimization, separate to obtain Parameter Optimization to be optimized to said Lagrangian function.
As a kind of optimal way, for Lagrangian function: L (x, λ)=f (x)+H (x, λ)+(x λ), can carry out Parameter Optimization according to existing self-adaptation annealing algorithm to G.
As another kind of optimal way, for Lagrangian function: L (x, λ)=f (x)+H (x, λ)+G (x, λ), can adopt following generation function to confirm the next iteration variable:
x i,k+1=x i,k+y i(V i-U i),
Wherein, y i∈ [1,1], x I, kBe current iteration variable, U iWith V iBe respectively variable x iCoboundary and lower boundary, factor y iCan select at random, also can confirm based on following probability density function:
Figure BDA0000061146310000035
Wherein, annealing temperature T i(k)=T 0iExp (c ik 1/D), C i=m iExp (n i/ D), T 0iBe initial temperature, m i, n iBe and preestablish, D is for optimizing degree of freedom.
And whether can be accepted as new optimization solution for determined iteration variable next time, the judgment criterion that is adopted comprises:
exp[-(L(x k+1)-L(x k))/T cost]>U,
Wherein, and U ∈ [0,1), L (x K+1) for based on next time the Lagrangian function value that iteration variable calculated, L (x k) be the Lagrangian function value that is calculated based on the current iteration variable, T CostFor the predefined value assessment factor, be used to control the complexity of accepting new explanation.
Thus, as cost function, annealing temperature, the probability density function of combining adaptive simulated annealing (ASA), accept the new explanation judgment criterion, can obtain Parameter Optimization to be optimized and separate based on Lagrangian function.
At last, separate based on the Parameter Optimization to be optimized that is obtained and prepare corresponding product.
For example, based on the parameter to be optimized that is obtained: A1, B1, A2, B2 (coil 1), A1, B1, A2, B2 (necklace 2), A1, B1, A2, B2 (coil 3), A1, B1, A2, B2 (necklace 4), optimization solution, can prepare corresponding 4 coil superconducting magnets.
In addition, in order to raise the efficiency, when adopting the self-adaptation annealing algorithm to be optimized, after iteration is carried out preset times, also can adjust annealing temperature, that is: based on following mode
Each variable to be optimized is obtained the differential s of Lagrangian function earlier i:
s i = ∂ L ∂ x i
Then, again based on the maximal value s of differential Max=max (S 1, S 2..S n) calculate annealing temperature, that is:
With k=s Max/ s iSubstitution T i(k)=T 0iExp (c ik 1/D) calculate and obtain T i(k).
In sum; The adaptive modeling annealing algorithm that comes the method for preparing product based on the band non-linear constrain based on parameter optimization of the present invention; Can handle the global optimization problem that comprises any non-linear constrain; For the parameter optimization of superconducting magnet provides a kind of efficient optimization method, and then can satisfy various demands.
The foregoing description is just listed expressivity principle of the present invention and effect is described, but not is used to limit the present invention.Any personnel that are familiar with this technology all can make amendment to the foregoing description under spirit of the present invention and scope.Therefore, rights protection scope of the present invention should be listed like claims.

Claims (7)

1. method of coming preparing product based on parameter optimization is characterized in that comprising step:
1) based on Parameter Optimization target to be optimized, and constraint condition to form with parameter to be optimized be the Lagrangian function of independent variable;
2) to said Lagrangian function, adopt the self-adaptation annealing algorithm to carry out Parameter Optimization, separate to obtain Parameter Optimization to be optimized;
3) separate based on the Parameter Optimization to be optimized that is obtained and prepare corresponding product.
2. method of coming preparing product based on parameter optimization as claimed in claim 1 is characterized in that: for parameter to be optimized: x=(x 1, x 2... x n), wherein, A i≤x i≤B i, i=1,2......n, optimization aim is: minimize f (x 1, x 2... x n), constraint condition comprises: h (x)=[h 1(x), h 2(x) ... h m=0 and g (x)=[g (x)] 1(x), g 2(x) ... g l(x)]≤0, the Lagrangian function that then forms is: and L (x, λ)=f (x)+H (x, λ)+G (x, λ), wherein,
Figure FDA0000061146300000011
Figure FDA0000061146300000012
λ and r is the Lagrange multiplier.
3. method of coming preparing product based on parameter optimization as claimed in claim 1 is characterized in that: for parameter to be optimized: x=(x 1, x 2... x n), wherein, A i≤x i≤B i, i=1,2......n, said step 2) comprising: confirm next iteration variable: x in such a way I, k+1=x I, k+ y i(B i-A i), wherein, y i∈ [1,1], x I, kBe the current iteration variable.
4. method of coming preparing product based on parameter optimization as claimed in claim 3 is characterized in that: based on probability density function be:
Figure FDA0000061146300000013
Confirm the factor y in the next iteration variable i, wherein, annealing temperature T i(k)=T 0iExp (c ik 1/D), C i=m iExp (n i/ D), T 0iBe initial temperature, m i, n iAll preestablish, D is for optimizing degree of freedom.
5. method of coming preparing product based on parameter optimization as claimed in claim 4 is characterized in that: said step 2) also comprise: after iteration is carried out preset times, adjust annealing temperature based on following mode:
Each variable to be optimized is obtained the differential s of Lagrangian function i:
s i = ∂ L ∂ x i
Maximal value s based on differential Max=max (S 1, S 2..S n) calculate annealing temperature, that is:
With k=s Max/ s iSubstitution T i(k)=T 0iExp (c ik 1/D) calculate and obtain T i(k).
6. method of coming preparing product based on parameter optimization as claimed in claim 1 is characterized in that: said step 2) also comprise: confirm based on following judgment criterion whether iteration variable next time can be accepted as new optimization solution:
exp[-(L(x k+1)-L(x k))/T cost]>U,
Wherein, and U ∈ [0,1), L (x K+1) for based on next time the Lagrangian function value that iteration variable calculated, L (x k) be the Lagrangian function value that is calculated based on the current iteration variable, T CostBe the predefined value assessment factor.
7. method of coming preparing product based on parameter optimization as claimed in claim 1 is characterized in that: said product comprises ultra magnetic conductor.
CN201110124724.3A 2011-05-13 2011-05-13 Method for preparing product based on parameter optimization Active CN102778842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110124724.3A CN102778842B (en) 2011-05-13 2011-05-13 Method for preparing product based on parameter optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110124724.3A CN102778842B (en) 2011-05-13 2011-05-13 Method for preparing product based on parameter optimization

Publications (2)

Publication Number Publication Date
CN102778842A true CN102778842A (en) 2012-11-14
CN102778842B CN102778842B (en) 2014-10-01

Family

ID=47123778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110124724.3A Active CN102778842B (en) 2011-05-13 2011-05-13 Method for preparing product based on parameter optimization

Country Status (1)

Country Link
CN (1) CN102778842B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003025685A1 (en) * 2001-09-14 2003-03-27 Ibex Process Technology, Inc. Scalable, hierarchical control for complex processes
WO2006065027A1 (en) * 2004-12-14 2006-06-22 Korea Basic Science Institute A design method of high magnetic field superconducting magnet
CN101216530A (en) * 2007-12-29 2008-07-09 湖南大学 Electronic circuit test and failure diagnosis parameter recognition optimizing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003025685A1 (en) * 2001-09-14 2003-03-27 Ibex Process Technology, Inc. Scalable, hierarchical control for complex processes
WO2006065027A1 (en) * 2004-12-14 2006-06-22 Korea Basic Science Institute A design method of high magnetic field superconducting magnet
CN101216530A (en) * 2007-12-29 2008-07-09 湖南大学 Electronic circuit test and failure diagnosis parameter recognition optimizing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
戎宜生 等: "超声速进气道结构参数优化设计研究", 《力学季刊》 *
赵强: "基于自适应模拟退火算法的CSTR的动态研究", 《科学技术与工程》 *

Also Published As

Publication number Publication date
CN102778842B (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN110232205B (en) Simulation method for controlling new classic tearing model through resonance magnetic disturbance in Tokamak
Bertsimas et al. Robust optimization with simulated annealing
Li et al. Efficient numerical evaluation of Feynman integrals
Mandal et al. Ultraviolet/infrared mixing in non-Fermi liquids
EP3035339A1 (en) Method of synthesizing axial power distributions of nuclear reactor core using neural network circuit and in-core protection system (icops) using the same
CN104268322B (en) A kind of BORDER PROCESSING technology of WENO difference methods
Niu et al. Frequency splitting patterns in wireless power relay transfer
Huang et al. GPU-optimized fast plasma equilibrium reconstruction in fine grids for real-time control and data analysis
Frerichs et al. Exploration of magnetic perturbation effects on advanced divertor configurations in NSTX-U
Carmelito et al. Hosting capacity of electric vehicles on lv/mv distribution grids—a new methodology assessment
Abreu et al. Magnetic effects on spontaneous symmetry breaking/restoration in a toroidal topology
CN102778842B (en) Method for preparing product based on parameter optimization
Lion et al. A deterministic method for the fast evaluation and optimisation of the 3D neutron wall load for generic stellarator configurations
Gerard et al. Optimizing the HSX stellarator for microinstability by coil-current adjustments
Zhao et al. Neural network based fast prediction of β N limits in HL-2M
Bhurt et al. Stochastic Multi-Objective optimal reactive power dispatch with the integration of wind and solar generation
US11677277B2 (en) Shape design system and method for wireless power transmission system
De Haro et al. Sudden singularities in semiclassical gravity
Zhang et al. Research on flatness errors evaluation based on artificial fish swarm algorithm and Powell method
Surdacki et al. Influence of the HTS winding tape on limiting the transient currents in superconducting transformers
Lazerson et al. Numerical optimization of three-dimensional coils for NSTX-U3
Thungsuk et al. The Characterization Analysis of the Oil-Immersed Transformers Obtained by Area Elimination Method Design
Trevisan et al. Effects of two-dimensional magnetic uncertainties and three-dimensional error and perturbation fields on the Small Angle Slot divertor geometry and topology
Zou et al. Energetic particle marginal stability profile for HL-2M integrated simulation based on neural network module
Kwon et al. Multi-scale recurrent transformer model for predicting KSTAR PF superconducting coil temperature

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
TR01 Transfer of patent right

Effective date of registration: 20170324

Address after: 518000 room C, building 202-207, No.1 building, No. six Nanshan District Road, Shenzhen, Guangdong, China

Patentee after: Shenzhen Union Medical Technology Co., Ltd.

Address before: 201203 Jiading Jiading District Industrial Zone, No. Pratt & Whitney Road, room 3, building 1098, room 333

Patentee before: Shanghai United Imaging Healthcare Co., Ltd.

TR01 Transfer of patent right