Specific embodiment
Technical solution of the present invention is illustrated with reference to the accompanying drawing.
As shown in Figure 1, the embodiment of the present invention provides a kind of row's cavity method of cavity body filter, it may include following steps:
S1, selects a resonant cavity as reference cavity, determines that remaining is each one by one according to the topological structure of cavity body filter
Resonant cavity is distributed relative to the initial position of the reference cavity, according to the several first of the initial position distributed acquisition resonant cavity
Begin row's chamber scheme;
The received selectivity of cavity body filter is fine, and coaxial cavity filter is a kind of typical cavity body filter.Cavity
Filter is mainly made of resonant cavity, absorbing cavity, coupling ring, regulating rod and locking device etc..Because cavity body filter is mainly electricity
And magnetic field conversion, rather than the so simple resonator, filter of LC filter, the Out-of-band rejection of cavity body filter and with interior flat
Degree is more much better than common LC filter, so being used in advanced communication equipment mostly.The topological structure of cavity body filter is
The relative positional relationship of each resonant cavity of cavity body filter, including coupled relation, wherein the coupled relation between each resonant cavity
It generally can be divided into two kinds, (a kind of typical coupled relation is one is that between the cavity for having coupling, need to meet specified chamber spacing
It is tangent, in addition to this, can also intersect to a certain extent there are two resonant cavities of coupled relation or mutually from);It is another
It is to need to keep two chambers non-intersecting between the cavity not coupled, i.e. two chamber center spacing are not less than the sum of two chamber radiuses.
This step determines remaining each resonant cavity relative to the reference cavity one by one according to the topological structure of cavity body filter
Initial position distribution, i.e., according to the coupled relation of each resonant cavity determine respectively each resonant cavity relative to reference cavity A can
It can position distribution.For ease of description, the process is briefly explained by taking a simple three chambers situation as an example below.For example, can be with
Using resonant cavity 1 as reference cavity, determine resonant cavity 2 relative to the possible position of resonant cavity 1 according to the topological structure of cavity body filter
Set distribution.Assuming that resonant cavity 2 relative to the possible position distribution of resonant cavity 1 be P1, P2 and P3, then respectively with P1, P2 and P3 this
Position of three positions as resonant cavity 2 determines that resonant cavity 3 can relative to resonant cavity 2 according to the topological structure of cavity body filter
The position distribution of energy.Assuming that resonant cavity 2, at the position P1, resonant cavity 3 is P4 relative to the possible position distribution of resonant cavity 2, humorous
Shake chamber 2 at the position P2, resonant cavity 3 relative to the possible position distribution of resonant cavity 2 be P5 and P6, resonant cavity 2 at the position P3,
Resonant cavity 3 is P7 relative to the possible position distribution of resonant cavity 2, then each resonant cavity is distributed relative to the possible position of reference cavity
For { P1, P4 }, { P2, P5 }, { P2, P6 } and { P3, P7 }.Each above-mentioned possible position distribution can be all used as a kind of initial
Chamber scheme is arranged, then generates 4 kinds of initial row's chamber schemes altogether.The quantity of cavity body filter and possible position distribution in the example above
It is for the ease of statement, actual conditions are without being limited thereto.
Specifically, determining remaining each resonant cavity relative to the base one by one according to the topological structure of cavity body filter
It, can be using the reference cavity as starting point, according to coupled relation determination and the reference cavity when initial position distribution of quasi- chamber
The initial position distribution of each first resonant cavity of coupling;To each first resonant cavity, determined respectively according to the coupled relation
The initial position of each second resonant cavity coupled with first resonant cavity is distributed;It respectively will be in each second resonant cavity
One of be set as the first resonant cavity, and return determined respectively according to the coupled relation coupled with first resonant cavity it is each
The step of initial position distribution of second resonant cavity, until determining that the initial position of all resonant cavities is distributed.
Above scheme is using the cavity of certain one end as datum mark (origin), using this chamber as starting point, analyzes one by one each thereafter
The possible position of cavity.After having analyzed the possible position of each cavity, retain all possibilities, and possible according to each
Chamber scheme is arranged, analyzes the possible position of next cavity respectively.In this process, recursive algorithm, row's chamber of previous chamber have been used
As a result as row's chamber foundation of next chamber.Row's chamber scheme after the completion of the analysis of the last one cavity position is that subsequent optimization calculates
Initial value.In this way, a variety of initial row's chamber schemes can be automatically generated, human intervention, the row's of improving chamber effect are not necessarily to
Rate.
S2, using accommodate all resonant cavities minimum rectangle area as objective function, with the topological structure be constraint item
Part respectively optimizes the position of each resonant cavity in each initial row's chamber scheme, and it is corresponding to obtain each initial row's chamber scheme
Optimization arrange chamber scheme;
In this step, the area for accommodating the minimum rectangle of all resonant cavities can be calculated according to following manner:
S=[max (xi+ri)-min(xi-ri)]*[max(yi+ri)-min(yi-ri)], i=1,2 ..., N (1)
In formula, S is the area for accommodating the minimum rectangle of all resonant cavities, xiAnd yiThe central point of respectively i-th resonant cavity
The coordinate at place, riFor the radius of i-th of resonant cavity, N is the total number of resonant cavity.
Typically, for the cavity body filter including multiple resonant cavities, each resonant cavity should meet the resonance to intercouple
Chamber spacing between chamber meets specified spacing dij, the chamber spacing between resonant cavity that does not couple is greater than the half of the two resonant cavities
The sum of diameter, expression formula are as follows:
In formula, (xi,yi)、(xj,yj) and (xk,yk) it is i-th of resonant cavity, j-th of resonant cavity and k-th of resonant cavity respectively
Coordinate, wherein i-th of resonant cavity and the coupling of j-th resonant cavity, j-th of resonant cavity and k-th of resonant cavity do not couple, dijFor
Make the distance met required for i-th of resonant cavity and j-th of resonant cavity coupling, in one embodiment, dijValue can be with ri+
rjValue it is equal (corresponding i-th of resonant cavity and the tangent situation of j-th of resonant cavity).
In this, as known conditions, can be used interior point method, trusted zones bounce technique, Sequential Quadratic Programming method or active set m ethod into
Row optimization.
S3 obtains the area that the minimum rectangle of all resonant cavities is accommodated in each optimization row chamber scheme, by the face respectively
The corresponding optimization row's chamber scheme of the smallest minimum rectangle of product arranges chamber scheme as target.
Assuming that 4 kinds of initial row's chamber schemes in step S1, chamber scheme, and side are arranged in corresponding 4 kinds of optimizations after step S2 optimization
In the corresponding optimization row chamber scheme of case { P2, P6 }, the area for accommodating the minimum rectangle of all resonant cavities is less than other three kinds of schemes,
{ P2, P6 } corresponding optimization row's chamber scheme is then arranged into chamber scheme as target.
In one further embodiment, if the smallest minimum rectangle of area corresponding optimization row's chamber scheme have it is more
It is a, it can be using the corresponding optimization row chamber scheme of the smallest minimum rectangle of multiple areas as to gather chamber scheme;And it receives to institute
State the selection instruction to gather chamber scheme, according to the selection instruction from it is each to selected in gather chamber scheme at least one as
Target arranges chamber scheme.In this way, can finally determine that target arranges chamber scheme by user.
By taking a simple three chambers situation as an example, this process is briefly explained.Assuming that topological structure requires the first and second chamber phase
It cuts, second and third chamber is tangent, and the first and third chamber is without coupling.In the case where putting so on the basis of the first chamber, the second chamber center of circle may
Position be using the first chamber center be the sum of the center of circle, two chamber radiuses for any point on the circle of radius.It is needed for calculating, I
Need with certain step interval exploitation.As shown in Fig. 2 (a), when using an angle of 90 degrees as step-length value, available A/
Tetra- kinds of possible positions of B/C/D.Next the possible position of third chamber is determined respectively for four kinds of positions of the second chamber.Assuming that second
Chamber is under location A situation, and as shown in Fig. 2 (b), equally using an angle of 90 degrees as step-length value, third chamber has the tri- kinds of possible positions E/F/G
It sets.Similarly, the second chamber possible position of third chamber in other positions is determined.All situations are summarized to obtain several initial row
Chamber scheme, the starting point as second step optimization.It should be noted that this sentence an angle of 90 degrees be step-length carry out value be for the ease of
Statement, practical chamber of arranging can according to need any setting step-length.
In the part for optimizing calculating for each initial row's chamber, objective function is the minimum for accommodating all cavitys
The area of rectangle, constraint condition are to have coupled chamber to meet pitch requirements, cannot intersect without coupled chamber.
Again by taking three chamber situations above as an example, it is assumed that three chamber coordinates are respectively (x1, y1), (x2, y2), (x3, y3), radius point
Not Wei r1, r2, r3, then objective function be accommodate three chambers minimum rectangle area, as shown in Fig. 2 (c), expression formula are as follows:
S=[max (xi+ri)-min(xi-ri)]*[max(yi+ri)-min(yi-ri)], i=1,2 ..., 3 (3)
Constraint condition is that the chamber spacing of the first resonant cavity and the second resonant cavity is the sum of two radius, the second resonant cavity and third
The chamber spacing of resonant cavity is the sum of radius, and the chamber spacing of the first resonant cavity and third resonant cavity is not less than the sum of two radius, table
Up to formula are as follows:
It in this, as known conditions, is optimized using interior point method, shown in obtained final row's chamber figure such as Fig. 2 (d).
In practical application scene, an input interface can be set, the filtering of user's input is received on the input interface
Device resonant cavity quantity n, each resonant cavity size, have coupled chamber pitch requirements (form be n*n tie up upper triangular matrix,
In the numerical value of the i-th row jth column indicate the i-th chamber and jth chamber pitch requirements).The schematic diagram of the input interface of one embodiment such as Fig. 3
It is shown.Program carries out row's chamber calculating after the completion of information input, and user can select most reasonable from several row's chamber results of generation
It is exported, as shown in Figure 4.
It should be pointed out that this example with cylindrical cavity be row chamber base unit, but this method and application range is without being limited thereto,
It can also be applied to the filter row chamber of polygon cavity, only specific programming mode is different.
The invention proposes a kind of completely new cavity body filters to arrange cavity method automatically, can the row of being rapidly completed chamber work, cavity
Waste of material is less, and row's chamber effect substantially conforms to design requirement, and device design effect is improved while alleviating manpower workload
Rate.
As shown in figure 5, the embodiment of the present invention also provides a kind of row's chamber system of cavity body filter, it may include:
Initial row's cavity mold block, for selecting a resonant cavity as reference cavity, according to the topological structure of cavity body filter by
Remaining each resonant cavity of a determination is distributed relative to the initial position of the reference cavity, humorous according to the initial position distributed acquisition
Several initial row's chamber scheme of vibration chamber;
The received selectivity of cavity body filter is fine, and coaxial cavity filter is a kind of typical cavity body filter.Cavity
Filter is mainly made of resonant cavity, absorbing cavity, coupling ring, regulating rod and locking device etc..Because cavity body filter is mainly electricity
And magnetic field conversion, rather than the so simple resonator, filter of LC filter, the Out-of-band rejection of cavity body filter and with interior flat
Degree is more much better than common LC filter, so being used in advanced communication equipment mostly.The topological structure of cavity body filter is
The relative positional relationship of each resonant cavity of cavity body filter, including coupled relation, wherein the coupled relation between each resonant cavity
It generally can be divided into two kinds, (a kind of typical coupled relation is one is that between the cavity for having coupling, need to meet specified chamber spacing
It is tangent, in addition to this, can also intersect to a certain extent there are two resonant cavities of coupled relation or mutually from);It is another
It is to need to keep two chambers non-intersecting between the cavity not coupled, i.e. two chamber center spacing are not less than the sum of two chamber radiuses.
This module determines remaining each resonant cavity relative to the reference cavity one by one according to the topological structure of cavity body filter
Initial position distribution, i.e., according to the coupled relation of each resonant cavity determine respectively each resonant cavity relative to reference cavity A can
It can position distribution.For ease of description, the process is briefly explained by taking a simple three chambers situation as an example below.For example, can be with
Using resonant cavity 1 as reference cavity, determine resonant cavity 2 relative to the possible position of resonant cavity 1 according to the topological structure of cavity body filter
Set distribution.Assuming that resonant cavity 2 relative to the possible position distribution of resonant cavity 1 be P1, P2 and P3, then respectively with P1, P2 and P3 this
Position of three positions as resonant cavity 2 determines that resonant cavity 3 can relative to resonant cavity 2 according to the topological structure of cavity body filter
The position distribution of energy.Assuming that resonant cavity 2, at the position P1, resonant cavity 3 is P4 relative to the possible position distribution of resonant cavity 2, humorous
Shake chamber 2 at the position P2, resonant cavity 3 relative to the possible position distribution of resonant cavity 2 be P5 and P6, resonant cavity 2 at the position P3,
Resonant cavity 3 is P7 relative to the possible position distribution of resonant cavity 2, then each resonant cavity is distributed relative to the possible position of reference cavity
For { P1, P4 }, { P2, P5 }, { P2, P6 } and { P3, P7 }.Each above-mentioned possible position distribution can be all used as a kind of initial
Chamber scheme is arranged, then generates 4 kinds of initial row's chamber schemes altogether.The quantity of cavity body filter and possible position distribution in the example above
It is for the ease of statement, actual conditions are without being limited thereto.
Specifically, determining remaining each resonant cavity relative to the base one by one according to the topological structure of cavity body filter
It, can be by first position determination unit using the reference cavity as starting point, according to the coupling when initial position distribution of quasi- chamber
Relationship determines the initial position distribution of each first resonant cavity coupled with the reference cavity;Pass through second position determination unit pair
Each first resonant cavity determines each second resonant cavity coupled with first resonant cavity according to the coupled relation respectively
Initial position distribution;One of described each second resonant cavity is set as the first resonant cavity respectively by setting unit, and is returned
The function of receipt row second position determination unit, until determining that the initial position of all resonant cavities is distributed.
Above scheme is using the cavity of certain one end as datum mark (origin), using this chamber as starting point, analyzes one by one each thereafter
The possible position of cavity.After having analyzed the possible position of each cavity, retain all possibilities, and possible according to each
Chamber scheme is arranged, analyzes the possible position of next cavity respectively.In this process, recursive algorithm, row's chamber of previous chamber have been used
As a result as row's chamber foundation of next chamber.Row's chamber scheme after the completion of the analysis of the last one cavity position is that subsequent optimization calculates
Initial value.In this way, a variety of initial row's chamber schemes can be automatically generated, human intervention, the row's of improving chamber effect are not necessarily to
Rate.
Optimization module, for being tied with the topology using the area for the minimum rectangle for accommodating all resonant cavities as objective function
Structure is constraint condition, optimizes respectively to the position of each resonant cavity in each initial row's chamber scheme, obtains each initial row
Chamber scheme is arranged in the corresponding optimization of chamber scheme;
In this module, the area for accommodating the minimum rectangle of all resonant cavities can be calculated according to following manner:
S=[max (xi+ri)-min(xi-ri)]*[max(yi+ri)-min(yi-ri)], i=1,2 ..., N (1)
In formula, S is the area for accommodating the minimum rectangle of all resonant cavities, xiAnd yiThe central point of respectively i-th resonant cavity
The coordinate at place, riFor the radius of i-th of resonant cavity, N is the total number of resonant cavity.
Typically, for the cavity body filter including multiple resonant cavities, each resonant cavity should meet the resonance to intercouple
Chamber spacing between chamber is the sum of the radius of the two resonant cavities, and it is humorous that the chamber spacing between the resonant cavity not coupled is greater than the two
The sum of the radius of vibration chamber, expression formula are as follows:
In formula, (xi,yi)、(xj,yj) and (xk,yk) it is i-th of resonant cavity, j-th of resonant cavity and k-th of resonant cavity respectively
Coordinate, wherein i-th of resonant cavity and the coupling of j-th resonant cavity, j-th of resonant cavity and k-th of resonant cavity do not couple, dijFor
Make the distance met required for i-th of resonant cavity and j-th of resonant cavity coupling, in one embodiment, dijValue can be with ri+
rjValue it is equal (corresponding i-th of resonant cavity and the tangent situation of j-th of resonant cavity).
In this, as known conditions, can be used interior point method, trusted zones bounce technique, Sequential Quadratic Programming method or active set m ethod into
Row optimization.
Target arranges cavity mold block, arranges the minimum rectangle that all resonant cavities are accommodated in chamber scheme for obtaining each optimize respectively
Area arranges chamber scheme using the corresponding optimization row's chamber scheme of the smallest minimum rectangle of the area as target.
Assuming that 4 kinds of initial row's chamber schemes initially in row's cavity mold block 10, optimized module 20 corresponding 4 kinds of optimizations row after optimizing
Chamber scheme, and in the corresponding optimization row chamber scheme of scheme { P2, P6 }, the area for accommodating the minimum rectangle of all resonant cavities is less than it
His three kinds of schemes, then by { P2, P6 } corresponding optimization row's chamber scheme as target row's chamber scheme.
In one further embodiment, if the smallest minimum rectangle of area corresponding optimization row's chamber scheme have it is more
It is a, it can be using the corresponding optimization row chamber scheme of the smallest minimum rectangle of multiple areas as to gather chamber scheme;And it receives to institute
State the selection instruction to gather chamber scheme, according to the selection instruction from it is each to selected in gather chamber scheme at least one as
Target arranges chamber scheme.In this way, can finally determine that target arranges chamber scheme by user.
In one embodiment, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence, the program perform the steps of when being executed by processor
It selects a resonant cavity as reference cavity, remaining each resonance is determined according to the topological structure of cavity body filter one by one
Chamber is distributed relative to the initial position of the reference cavity, according to the several initial row of the initial position distributed acquisition resonant cavity
Chamber scheme;
Using accommodate all resonant cavities minimum rectangle area as objective function, using the topological structure as constraint condition,
The position of each resonant cavity in each initial row's chamber scheme is optimized respectively, it is corresponding excellent to obtain each initial row's chamber scheme
Change row's chamber scheme;
The area that the minimum rectangle of all resonant cavities is accommodated in each optimization row chamber scheme is obtained respectively, most by the area
The corresponding optimization row's chamber scheme of small minimum rectangle arranges chamber scheme as target.
In another embodiment, it the present invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor perform the steps of when executing described program
It selects a resonant cavity as reference cavity, remaining each resonance is determined according to the topological structure of cavity body filter one by one
Chamber is distributed relative to the initial position of the reference cavity, according to the several initial row of the initial position distributed acquisition resonant cavity
Chamber scheme;
Using accommodate all resonant cavities minimum rectangle area as objective function, using the topological structure as constraint condition,
The position of each resonant cavity in each initial row's chamber scheme is optimized respectively, it is corresponding excellent to obtain each initial row's chamber scheme
Change row's chamber scheme;
The area that the minimum rectangle of all resonant cavities is accommodated in each optimization row chamber scheme is obtained respectively, most by the area
The corresponding optimization row's chamber scheme of small minimum rectangle arranges chamber scheme as target.
The other embodiments and chamber of method and step performed by above-mentioned computer readable storage medium and computer equipment
The embodiment of row's cavity method of fluid filter is identical, and details are not described herein again.
Row's chamber system of cavity body filter of the invention and row's cavity method of cavity body filter of the invention correspond,
The technical characteristic and its advantages that the embodiment of row's cavity method of above-mentioned cavity body filter illustrates are suitable for cavity body filter
Row chamber system embodiment in, hereby give notice that.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.