CN115526374A - Optical fiber core position adjusting method and device, electronic equipment and medium - Google Patents

Optical fiber core position adjusting method and device, electronic equipment and medium Download PDF

Info

Publication number
CN115526374A
CN115526374A CN202210848826.8A CN202210848826A CN115526374A CN 115526374 A CN115526374 A CN 115526374A CN 202210848826 A CN202210848826 A CN 202210848826A CN 115526374 A CN115526374 A CN 115526374A
Authority
CN
China
Prior art keywords
fiber core
optical fiber
bat
target
adjusting
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.)
Pending
Application number
CN202210848826.8A
Other languages
Chinese (zh)
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.)
Guangdong Power Grid Co Ltd
Heyuan Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Heyuan Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Heyuan Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202210848826.8A priority Critical patent/CN115526374A/en
Publication of CN115526374A publication Critical patent/CN115526374A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Pure & Applied Mathematics (AREA)
  • Marketing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Water Supply & Treatment (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Biophysics (AREA)
  • Evolutionary Biology (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Computing Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Primary Health Care (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)

Abstract

The embodiment of the invention discloses a method and a device for adjusting the position of an optical fiber core, electronic equipment and a medium. The method comprises the following steps: establishing a target function, and determining the fiber core adjusting step length according to the target function; adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until the target coupling position is reached, and butting the optical fiber cores to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function. According to the embodiment of the invention, the fiber core adjusting step length is determined through the target function, and the position of each fiber core reaches the target coupling position according to the fiber core adjusting step length, so that the coupling efficiency of the fiber cores is improved, and the accurate butt joint of the fiber links is realized.

Description

Optical fiber core position adjusting method and device, electronic equipment and medium
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for adjusting the position of an optical fiber core, electronic equipment and a medium.
Background
Optical fiber communication plays an important role in the fields of power dispatching, distribution network automation, relay protection and the like, and is the basis for ensuring dynamic regulation and control and stable operation of a power grid. The power optical fiber communication network is mainly composed of optical fiber jumping, optical fiber wiring, optical cable and other components and transmission, exchange and other equipment, and the reliability, real-time performance and stability of the power optical fiber communication network directly relate to the stability and operation benefits of a power grid.
In recent years, with the large-scale construction and operation of power optical fiber communication networks, the length of a power optical cable and the number of optical fibers are continuously increased, the scale of an optical fiber distribution system is larger and larger, the number of optical fiber link components is large, optical waveguide devices are used in large quantities, and the optical waveguide devices are an important process link in low-loss butt coupling with an optical fiber array.
Therefore, how to improve the coupling efficiency of the optical fiber cores so that the optical fiber links can be accurately butted becomes a problem to be solved urgently.
Disclosure of Invention
The invention provides a method and a device for adjusting the position of an optical fiber core, electronic equipment and a medium, which are used for solving the problem of low coupling efficiency of the optical fiber core and realizing accurate butt joint of an optical fiber link.
According to an aspect of the present invention, there is provided an optical fiber core position adjusting method including:
establishing a target function, and determining the fiber core adjusting step length of the optical fiber according to the target function;
adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until reaching a target coupling position, and butting the optical fiber cores to be butted at the target coupling position; wherein the target coupling position is an optimal solution determined by the objective function
According to another aspect of the present invention, there is provided an optical fiber core position adjusting apparatus including:
the target function establishing module is used for establishing a target function and determining the fiber core adjusting step length according to the target function;
the optical fiber core adjusting module is used for adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until the target coupling position is reached, and butting the optical fibers to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method of adjusting a position of an optical fiber core according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium having stored thereon computer instructions for causing a processor to execute a method of adjusting a position of a fiber core according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the fiber core adjusting step length is determined through the target function, and the position of each fiber core reaches the target coupling position according to the fiber core adjusting step length, so that the coupling efficiency of the fiber cores is improved, the problem of low fiber core coupling efficiency in the prior art is solved, and the accurate butt joint of the fiber links is realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for adjusting the position of a core of an optical fiber according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an optical fiber core position adjusting apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device for implementing a method for positioning a fiber core according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an embodiment of the present invention, which provides a method for adjusting a position of a fiber core, where the embodiment is applicable to a case where a fiber core is coupled, and the method may be performed by a device for adjusting a position of a fiber core, where the device for adjusting a position of a fiber core may be implemented in a form of hardware and/or software, and the device for adjusting a position of a fiber core may be integrally configured in an electronic device. As shown in fig. 1, the method includes:
s110, establishing an objective function, and determining the fiber core adjusting step length according to the objective function.
The objective function may be a function relation for solving the unknown quantity according to known conditions, and in the embodiment of the present invention, the objective function is a function relation for solving the adjustment step length of the optical fiber core according to the input optical power of the optical fiber core, the distance between the optical fiber cores, and the angle deviation between the optical axis of the optical fiber core and the optical axis of the waveguide. The optical fiber core can be a double-layer concentric cylinder made of quartz glass and with a small cross section area, and the double-layer concentric cylinder is fragile and easy to break, so that a protective layer needs to be coated outside. And the fiber cores are coupled in the optical fiber coupler according to the fiber core adjusting step length.
Illustratively, establishing the objective function may include: acquiring input optical power of an optical fiber core at a set adjusting position, and calculating corresponding output optical power according to the input optical power; and establishing a target function according to the interval of the fiber cores of the optical fibers, the angle deviation between the optical axis of the fiber cores of the optical fibers and the optical axis of the strip waveguide and the adjustment step length of the fiber cores of the optical fibers.
The setting and adjusting positions can be the same core adjusting positions of the optical fiber cores and can represent positioning points of the optical fiber cores, the number of the optical fiber cores at the same core adjusting positions can be multiple, and corresponding input optical power needs to be measured under the condition that the optical fiber cores are arranged.
Specifically, the input optical power P at the set alignment position is measured A 、P B A, B is the optical transmission channel A and the optical transmission channel B, and the corresponding output optical power P is calculated by the following formula AO 、P BO
Figure BDA0003752485500000041
Figure BDA0003752485500000042
Wherein W is the beam waist of the fiber mode.
Further, according to the multi-channel array coupling principle, an objective function F is established:
Figure BDA0003752485500000051
wherein D is the interval of the fiber core of the optical fiber, theta is the angle deviation between the optical axis of the optical fiber and the optical axis of the strip waveguide, and S is the adjusting step length of the fiber core.
Illustratively, determining the fiber core adjustment step size from the objective function includes: determining a target value of the target function according to a bat algorithm; and determining the fiber core adjusting step length according to the target value and the target function.
Wherein, the bat algorithm can be one of group intelligent optimization algorithms. The target value is the maximum value of the objective function, and the iteration times of the algorithm reach the maximum iteration times. The fiber core adjusting step length is obtained by substituting the target value into the target function for calculation.
Illustratively, determining the fiber core adjustment step size based on the target value and the target function may include: and when the target function reaches the maximum value and the algorithm iteration times reach the maximum iteration times, determining the adjusting step length of the optical fiber core according to the maximum value of the target function. The maximum value of the objective function is the maximum value that can be reached within its constraints.
The iteration times of the algorithm are the times of circulation in the iterative operation process, and can be preset according to needs.
Exemplarily, determining the target value of the objective function according to the bat algorithm may include: the maximum iteration times are set for the bat individuals in advance, and the number of the bat individuals is randomly set to be one or more; encoding the bat individuals, randomly setting cross points in the encoding, and performing gene exchange on the bat individuals according to the cross points; randomly generating the bat individual positions, and calculating the self-adaptability of the bat individuals according to the bat individual positions; and selecting the optimal bat individual according to the self-adaptation degree.
Specifically, the bat individuals are set as S in advance, the number of the bat individuals is randomly generated, and the maximum iteration number of the bat individuals is set as T. In this embodiment, the bat individuals generated randomly are subjected to cross operation, that is, the bat individuals are subjected to integer coding with random probability to obtain a bat individual code string, a plurality of cross points are set in the individual code string of each bat individual, and then gene exchange is performed, specifically, the genotype X and the phenotype Y of the bat individuals can be converted into each other through coding and decoding programs.
Wherein a bat individual may be understood as an anchor point of the fiber core, a variable may be encoded as a string of binary integers, which are concatenated to form the genotype of the individual, representing a feasible solution, e.g. the variable X1, X2 is encoded as a string of characters, whose genotype is X =101110, whose phenotype is Y = [5,6].
In this embodiment, the position of the bat individual is randomly generated, and the fitness Fit of the bat individual is calculated by using the following formula:
Fit=1/F;
wherein F is an objective function.
Exemplarily, the selecting of the optimal bat individual according to the fitness may include: determining the current position after random disturbance is added according to the bat individual position and the disturbance coefficient, and calculating the self-adaptability of the bat individual at the current position of the bat individual; and selecting the optimal bat individual according to the self-adaptability of the bat individual position and the self-adaptability of the bat individual at the current position.
In the embodiment, the current position of the bat individual can be updated according to the following formula:
X=X q -aD;
wherein X is the updated position of the bat individual, a is the random number of (0,1), D is the distance between the bat and the prey, X q Is a randomly generated bat individual position.
For example, determining the current position after adding the random disturbance according to the bat individual position and the disturbance coefficient may include: and acquiring the current position of the bat individual after random disturbance is added according to the disturbance coefficient, the current iteration times and the maximum value and the minimum value of the disturbance coefficient.
In this embodiment, in order to avoid the bat algorithm from falling into the local optimum, after the position of the bat individual is updated, random disturbance needs to be added, so that the bat algorithm quickly jumps out of the local optimum value, and the convergence accuracy is improved, specifically, the random disturbance may be added by using the following formula:
Figure BDA0003752485500000061
wherein, δ is a disturbance coefficient, t is the current iteration number, and δ max and δ min are respectively the maximum value and the minimum value of δ.
In the embodiment, the randomly disturbed current position X of the bat individuals / Calculated according to the following formula:
X / =δX;
wherein X is the position of the bat individual to which no random disturbance is added.
Optionally, selecting an optimal bat individual according to the adaptability of the bat individual position and the adaptability of the bat individual at the current position may include: obtaining the self-adaptability of each bat individual, comparing the self-adaptability of the bat individuals added with random disturbance with the self-adaptability of the bat individuals not added with the random disturbance, and determining the optimal individual according to the comparison result. Specifically, in this embodiment, the fitness Fit after adding the random disturbance may be calculated by the following formula:
Fit=X/F。
s120, adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until the position reaches a target coupling position, and butting the optical fiber cores to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function.
The optimal solution may be a function optimal solution obtained by terminating the algorithm when the target function reaches the maximum value and the number of iterations of the algorithm is the maximum, or a constraint condition needs to be set, that is, the angle deviation is smaller than a preset value, and the algorithm terminates when the target function reaches the maximum value.
Specifically, the positions of the fiber cores of the optical fibers can be adjusted by one fiber adjusting step in opposite directions at intervals, the adjustment is carried out according to the adjusting step corresponding to the optimal solution, when the fiber cores of the optical fibers to be butted reach the target coupling position, the fiber cores of the optical fibers to be butted at the target coupling position are butted, and when the optimal solution is calculated, accurate linking of the optical fiber links can be realized.
According to the embodiment of the invention, the fiber core adjusting step length is determined through the target function, and the position of each fiber core reaches the target coupling position according to the fiber core adjusting step length, so that the coupling efficiency of the fiber cores is improved, and the accurate butt joint of the optical fiber links is realized.
Example two
Fig. 2 is a schematic structural diagram of an optical fiber core position adjusting device according to a second embodiment of the present invention. As shown in fig. 2, the apparatus includes:
an objective function establishing module 210, configured to establish an objective function, and determine an optical fiber core adjustment step length according to the objective function;
the fiber core position adjusting module 220 is configured to adjust the position of each fiber core according to the fiber core adjustment step length until the target coupling position is reached, and butt-joint the fibers to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function.
Optionally, the establishing the objective function includes: acquiring input optical power of an optical fiber core at a set adjusting position, and calculating corresponding output optical power according to the input optical power; and establishing a target function according to the interval of the fiber cores of the optical fibers, the angle deviation between the optical axis of the fiber cores of the optical fibers and the optical axis of the strip waveguide and the adjustment step length of the fiber cores of the optical fibers.
Optionally, determining the fiber core adjusting step length according to the objective function includes: determining a target value of the target function according to a bat algorithm; and determining the fiber core adjusting step length according to the target value and the target function.
Optionally, determining the fiber core adjustment step length according to the target value and the target function includes: and when the target function reaches the maximum value and the algorithm iteration times reach the maximum iteration times, determining the adjusting step length of the optical fiber core according to the maximum value of the target function.
Optionally, determining the target value of the objective function according to the bat algorithm includes: setting the maximum iteration times for the bat individuals in advance, and randomly setting the number of the bat individuals to be one or more; encoding the bat individuals, randomly setting cross points in the encoding, and performing gene exchange on the bat individuals according to the cross points; randomly generating the bat individual positions, and calculating the self-adaptability of the bat individuals according to the bat individual positions; and selecting the optimal bat individual according to the self-adaptation degree.
Optionally, selecting an optimal bat individual according to the degree of adaptability, including: determining the current position after random disturbance is added according to the bat individual position and the disturbance coefficient, and calculating the self-adaptability of the bat individual at the current position of the bat individual; and selecting the optimal bat individual according to the self-adaptability of the bat individual position and the self-adaptability of the bat individual at the current position.
Optionally, determining the current position after adding the random disturbance according to the bat individual position and the disturbance coefficient, including: and acquiring the current position of the bat individual after random disturbance is added according to the disturbance coefficient, the current iteration times and the maximum value and the minimum value of the disturbance coefficient.
The optical fiber core position adjusting device provided by the embodiment of the invention can execute the optical fiber core position adjusting method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
FIG. 3 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as a fiber core position adjustment method.
In some embodiments, a method of adjusting the position of an optical fiber core may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more steps of a method of adjusting the position of an optical fibre core as described above may be performed when the computer program is loaded into RAM 13 and executed by the processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform a fiber core position adjustment method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of adjusting the position of a core of an optical fiber, comprising:
establishing a target function, and determining the fiber core adjusting step length according to the target function;
adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until reaching a target coupling position, and butting the optical fiber cores to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function.
2. The method of claim 1, wherein establishing an objective function comprises:
acquiring input optical power of the optical fiber core at a set adjusting position, and calculating corresponding output optical power according to the input optical power;
and establishing the target function according to the interval of the fiber cores of the optical fibers, the angle deviation between the optical axis of the fiber cores of the optical fibers and the optical axis of the strip waveguide and the adjustment step length of the fiber cores of the optical fibers.
3. The method of claim 1, wherein said determining a fiber core adjustment step size from said objective function comprises:
determining a target value of the objective function according to a bat algorithm;
and determining the fiber core adjusting step length according to the target value and the target function.
4. The method of claim 3, wherein said determining a fiber core adjustment step size based on said target value and said objective function comprises:
and when the objective function reaches the maximum value and the algorithm iteration times reach the maximum iteration times, determining the adjusting step length of the optical fiber core according to the maximum value of the objective function.
5. A method as claimed in claim 3, wherein said determining a target value of said objective function according to a bat algorithm comprises:
the maximum iteration times are set for the bat individuals in advance, and the number of the bat individuals is randomly set to be one or more;
encoding the bat individuals, randomly setting cross points in the encoding, and performing gene exchange on the bat individuals according to the cross points;
randomly generating the bat individual positions, and calculating the self-adaptability of the bat individuals according to the bat individual positions;
and selecting the optimal bat individual according to the self-adaptation degree.
6. The method of claim 5, wherein said selecting an optimal bat individual based on said fitness comprises:
determining the current position after random disturbance is added according to the bat individual position and the disturbance coefficient, and calculating the self-adaptability of the bat individual at the current position of the bat individual;
and selecting the optimal bat individual according to the self-adaptability of the bat individual position and the self-adaptability of the bat individual at the current position.
7. A method as claimed in claim 6 wherein said determining a current position after adding a random disturbance as a function of said bat individual positions and disturbance coefficients comprises:
and acquiring the current position of the bat individual after random disturbance is added according to the disturbance coefficient, the current iteration times and the maximum value and the minimum value of the disturbance coefficient.
8. An optical fiber core position adjusting apparatus, comprising:
the target function establishing module is used for establishing a target function and determining the fiber core adjusting step length of the optical fiber according to the target function;
the optical fiber core adjusting module is used for adjusting the position of each optical fiber core according to the optical fiber core adjusting step length until the target coupling position is reached, and butting the optical fibers to be butted at the target coupling position; and the target coupling position is the optimal solution determined by the target function.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method of adjusting a position of an optical fiber core as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform a method of adjusting the position of an optical fiber core according to any one of claims 1 to 7 when executed.
CN202210848826.8A 2022-07-19 2022-07-19 Optical fiber core position adjusting method and device, electronic equipment and medium Pending CN115526374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210848826.8A CN115526374A (en) 2022-07-19 2022-07-19 Optical fiber core position adjusting method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210848826.8A CN115526374A (en) 2022-07-19 2022-07-19 Optical fiber core position adjusting method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115526374A true CN115526374A (en) 2022-12-27

Family

ID=84695164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210848826.8A Pending CN115526374A (en) 2022-07-19 2022-07-19 Optical fiber core position adjusting method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115526374A (en)

Similar Documents

Publication Publication Date Title
CN112561078A (en) Distributed model training method, related device and computer program product
CN112597754B (en) Text error correction method, apparatus, electronic device and readable storage medium
CN115860128A (en) Quantum circuit operation method and device and electronic equipment
CN114580645A (en) Simulation method, device and equipment for random quantum measurement and storage medium
CN112948081B (en) Method, device, equipment and storage medium for processing tasks in delayed mode
CN113689868A (en) Training method and device of voice conversion model, electronic equipment and medium
CN115526374A (en) Optical fiber core position adjusting method and device, electronic equipment and medium
CN114937478B (en) Method for training a model, method and apparatus for generating molecules
CN115407150A (en) System, method, meter and medium for determining use condition of protective pressing plate
CN114943384A (en) Transformer substation load prediction method, device, equipment and storage medium
CN115017732A (en) Lightning protection analysis simulation step length calculation method, device, equipment and medium
CN114996930A (en) Modeling method and device, electronic equipment and storage medium
CN114792125A (en) Data processing method and device based on distributed training, electronic equipment and medium
CN112560210A (en) Method for adjusting a power grid structure, associated device and computer program product
CN113255332B (en) Training and text error correction method and device for text error correction model
CN115425646A (en) Power supply planning method and device for low-voltage transformer area, electronic equipment and storage medium
CN117131353B (en) Method and device for determining out-of-tolerance electric energy meter, electronic equipment and storage medium
CN109273122A (en) System parameter method of adjustment, device and terminal device under ELPO operating condition
CN109742754B (en) Method for determining operation efficiency of main equipment of power distribution network and related product
CN115660034B (en) Distributed model training method, device and system
CN114862037A (en) Solving method and solving method of power generation cost optimization function
CN115189798A (en) Resource allocation method and device, electronic equipment and storage medium
CN116087659A (en) Data processing method, device, electronic equipment and storage medium
CN116691341A (en) Vehicle speed adjusting method, device, equipment and storage medium based on vehicle accelerator
CN115906982A (en) Distributed training method, gradient communication method, device and electronic equipment

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