Information processing device, closed magnetic circuit computing method, and closed magnetic circuit computing system
10794966 ยท 2020-10-06
Assignee
Inventors
Cpc classification
International classification
Abstract
A device includes a memory that stores a measurement-result of a first magnetization of a permanent-magnet corresponding to an external-magnetic field in an open-magnetic circuit; and a processor to divide the permanent-magnet into meshes, generate a function based on the measurement-result, the function indicating a second magnetization corresponding to the external-magnetic field in a closed-magnetic circuit, the function including a parameter having a value, calculate a diamagnetic-field corresponding to the external-magnetic field based on the second magnetization for each of the meshes, calculate a third magnetization of the permanent-magnet, calculate an average of the third magnetizations, calculate an error between the first magnetization and the calculated average, correct the value of the parameter, and repeat the calculation of the second magnetization, the diamagnetic-field, the third magnetizations, the average, and the error, and the correction of the value of the parameter until the error falls below a threshold.
Claims
1. An information processing device comprising: a memory configured to store a measurement result of a first magnetization of a permanent magnet corresponding to an external magnetic field in an open magnetic circuit environment; and a processor configured to: divide the permanent magnet into a plurality of meshes, generate a function based on the measurement result, the function indicating a second magnetization corresponding to the external magnetic field in a closed magnetic circuit environment, the function including a parameter having a value corresponding to the external magnetic field, calculate the second magnetization corresponding to the external magnetic field based on the function for each of the meshes, calculate a diamagnetic field corresponding to the external magnetic field based on the second magnetization for each of the meshes, calculate, for each of the meshes based on the function, a third magnetization of the permanent magnet corresponding to the external magnetic field in the open magnetic circuit environment in a state where influence of the diamagnetic field is applied to the external magnetic field, calculate an average of the third magnetizations of the meshes corresponding to the external magnetic field, calculate an error between the first magnetization indicated by the measurement result and the calculated average of the third magnetizations, correct the value of the parameter corresponding to the external magnetic field based on the error, and repeat the calculation of the second magnetization, the calculation of the diamagnetic field, the calculation of the third magnetizations, the calculation of the average, the calculation of the error, and the correction of the value of the parameter until the error falls below a threshold.
2. The information processing device according to claim 1, wherein, when the error falls below the threshold, the processor further outputs the second magnetization corresponding to the external magnetic field calculated based on the function after the correction of the value of the parameter.
3. The information processing device according to claim 1, wherein, in the calculation of the third magnetization, for each of the meshes, the processor sets the second magnetization as an initial value of a provisional third magnetization, repeats calculation of the diamagnetic field based on the provisional third magnetization and update of the provisional third magnetization to a magnetization corresponding to the external magnetic field and the diamagnetic field based on the function until a difference between the pre-update provisional third magnetization and the post-update provisional third magnetization falls below the threshold of the error, and sets, as the third magnetization, the provisional third magnetization where the difference between the pre-update provisional third magnetization and the post-update provisional third magnetization falls below the threshold of the error.
4. The information processing device according to claim 1, wherein, in the generation of the function, the processor generates the function with which a value of the second magnetization in a state where the external magnetic field is 0 equals to a value of the first magnetization in a state where the external magnetic field in the measurement result is 0 and a value of the external magnetic field in which the second magnetization is 0 equals to a value of the external magnetic field in which the first magnetization in the measurement result is 0.
5. The information processing device according to claim 1, wherein the function is a hyperbolic tangent function.
6. A non-transitory computer-readable recording medium storing therein a program for causing a computer to execute a process, the process comprising: storing a measurement result of a first magnetization of a permanent magnet corresponding to an external magnetic field in an open magnetic circuit environment; and dividing the permanent magnet into a plurality of meshes, generating a function based on the measurement result, the function indicating a second magnetization corresponding to the external magnetic field in a closed magnetic circuit environment, the function including a parameter having a value corresponding to the external magnetic field, calculating the second magnetization corresponding to the external magnetic field based on the function for each of the meshes, calculating a diamagnetic field corresponding to the external magnetic field based on the second magnetization for each of the meshes, calculating, for each of the meshes based on the function, a third magnetization of the permanent magnet corresponding to the external magnetic field in the open magnetic circuit environment in a state where influence of the diamagnetic field is applied to the external magnetic field, calculating an average of the third magnetizations of the meshes corresponding to the external magnetic field, calculating an error between the first magnetization indicated by the measurement result and the calculated average of the third magnetizations, correcting the value of the parameter corresponding to the external magnetic field based on the error, and repeating the calculation of the second magnetization, the calculation of the diamagnetic field, the calculation of the third magnetizations, the calculation of the average, the calculation of the error, and the correction of the value of the parameter until the error falls below a threshold.
7. A closed magnetic circuit computing system comprising: a memory; a magnetic field sensor; a controller configured to measure a first magnetization of a permanent magnet corresponding to an external magnetic in an open magnetic circuit environment by using the magnetic field sensor; a processor coupled to the memory and the processor configured to: store a measurement result of the first magnetization in the memory, divide the permanent magnet into a plurality of meshes, generate a function based on the measurement result, the function indicating a second magnetization corresponding to the external magnetic field in a closed magnetic circuit environment, the function including a parameter having a value corresponding to the external magnetic field, calculate the second magnetization corresponding to the external magnetic field based on the function for each of the meshes, calculate a diamagnetic field corresponding to the external magnetic field based on the second magnetization for each of the meshes, calculate, for each of the meshes based on the function, a third magnetization of the permanent magnet corresponding to the external magnetic field in the open magnetic circuit environment in a state where influence of the diamagnetic field is applied to the external magnetic field, calculate an average of the third magnetizations of the meshes corresponding to the external magnetic field, calculate an error between the first magnetization indicated by the measurement result and the calculated average of the third magnetizations, correct the value of the parameter corresponding to the external magnetic field based on the error, and repeat the calculation of the second magnetization, the calculation of the diamagnetic field, the calculation of the third magnetizations, the calculation of the average, the calculation of the error, and the correction of the value of the parameter until the error falls below a threshold.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DESCRIPTION OF EMBODIMENTS
(19) In a correction method for a diamagnetic field in the past, for example, a value of magnetization is corrected using a uniform correction coefficient for various kinds of permanent magnets. However, accuracy is insufficient in the correction method for a diamagnetic field in the past. Therefore, the influence of the diamagnetic field is not appropriately excluded and measurement accuracy of a magnetic characteristic is insufficient.
(20) Embodiments are explained below with reference to the drawings. The embodiments may be combined and carried out in a range without contradiction.
First Embodiment
(21) First, a first embodiment is explained. In the first embodiment, a measurement result in an open magnetic circuit environment is corrected and a magnetic characteristic with influence of a diamagnetic field excluded is highly accurately calculated according to a numerical calculation by a finite element method in which a mesh model of a permanent magnet is used.
(22)
(23) The storing unit 11 stores a measurement result 1 of a first magnetization a permanent magnet corresponding to an external magnetic field H in an open magnetic circuit environment. Since the first magnetization is measured in the open magnetic circuit environment, the first magnetization is affected by a diamagnetic field H.sub.d. When a magnetization corresponding to the external magnetic field H indicated by the measurement result 1 is plotted on a graph having the external magnetic field H and the magnetization M as axes, an open magnetic circuit curve 4 indicating a magnetic characteristic in an open magnetic circuit environment is obtained. The open magnetic circuit curve 4 is a curve indicating a magnetic characteristic obtained from a measured value.
(24) First, the processing unit 12 generates a mesh model 2 in which the permanent magnet is divided into a plurality of meshes. Subsequently, based on the measurement result 1, the processing unit 12 generates a function (g(H)) indicating a second magnetization (M(H)) of the permanent magnet corresponding to the external magnetic field H in a closed magnetic circuit environment, the function (g(H)) including a parameter (a correction coefficient N(H)) having a value corresponding to the external magnetic field H. For example, with the generated function (g(H)), a value of second magnetization in the state where the external magnetic field H is 0 equals to a value of first magnetization (a residual magnetization value: M.sub.r.sup.open) in the state where the external magnetic field H in a measurement result is 0. With the function (g(H)), a value of the external magnetic field H in which the second magnetization is 0 equals to a value (a coercive force H.sub.c.sup.open) of the external magnetic field H in which the first magnetization is 0 in the measurement result. The function (g(H)) is, for example, a hyperbolic tangent function.
(25) The function (g(H)) represents a provisional closed magnetic circuit curve 3. The processing unit 12 corrects the provisional closed magnetic circuit curve 3 indicated by the function (g(H)) to generate a closed magnetic circuit curve highly accurately indicating a magnetic characteristic of the permanent magnet. For example, the processing unit 12 changes the value corresponding to the external magnetic field H of the parameter (the correction coefficient N(H)) to correct the provisional closed magnetic circuit curve 3.
(26) In order to correct the provisional closed magnetic circuit curve 3, for example, the processing unit 12 assumes that all the meshes of the permanent magnet have the same closed magnetic circuit curve. The processing unit 12 calculates, based on the function (g(H)), according to the finite element method, a magnetization (third magnetization) of each of the meshes corresponding to the external magnetic field H and reflecting the influence of the diamagnetic field H.sub.d. For example, for each of a plurality of values of the external magnetic field H indicated by the measurement result 1, the processing unit 12 calculates the third magnetizations of the meshes.
(27) In the calculation of the third magnetizations, for each of the meshes, the processing unit 12 first calculates the second magnetization corresponding to the external magnetic field H based on the function (g(H)). At this stage, in the second magnetization, the influence of the diamagnetic field H.sub.d is not taken into account. Therefore, for each of the meshes, the processing unit 12 calculates the diamagnetic field H.sub.d corresponding to the external magnetic field H based on the second magnetization. Subsequently, for each of the meshes, the processing unit 12 calculates, based on a function, the third magnetizations of the permanent magnet corresponding to the external magnetic field H in the open magnetic circuit environment where the influence of the diamagnetic field H.sub.d is applied to the external magnetic field H.
(28) In the calculation of the third magnetizations, for example, the processing unit 12 performs the following processing for each of the meshes. First, the processing unit 12 sets the second magnetization calculated by the function (g(H)) as an initial value of a provisional third magnetization. Subsequently, the processing unit 12 repeats calculation of the diamagnetic field H.sub.d based on the provisional third magnetization, calculation of a magnetization corresponding to the external magnetic field H and the diamagnetic field H.sub.d based on the function, and update of the provisional third magnetization to the magnetization until a difference between the pre-update provisional third magnetization and the post-update provisional third magnetization falls below an error threshold . The processing unit 12 sets, as the third magnetization, the provisional third magnetization where the difference between the pre-update provisional third magnetization and the post-update provisional third magnetization falls below the error threshold .
(29) After the third magnetizations of the meshes are calculated, the processing unit 12 calculates an average (average magnetization M.sub.ave(H)) of the third magnetizations of the meshes corresponding to the external magnetic field H. For example, the processing unit 12 calculates an arithmetic mean of the calculated third magnetizations of the meshes corresponding to each of the values of the external magnetic field H indicated by the measurement result 1. The average magnetization M.sub.ave(H) calculated in this way represents an open magnetic circuit curve 5 obtained as a calculation result based on the provisional closed magnetic circuit curve 3. If the open magnetic circuit curve 5 obtained as the calculation result is equal to the open magnetic circuit curve 4 obtained as the measured value, the provisional closed magnetic circuit curve 3, based on which the open magnetic circuit curve 5 is calculated, correctly represents the magnetic characteristic of the permanent magnet.
(30) Therefore, the processing unit 12 calculates a magnetization difference dM.sub.ave(H) indicating a difference between the first magnetization indicated by the measurement result and the calculated average (the average magnetization M.sub.ave(H)) of the third magnetizations. A value of the magnetization difference dM.sub.ave(H) changes according to the value of the external magnetic field H. If a maximum value of the magnetization difference dM.sub.ave(H) is equal to or more than a threshold , the processing unit 12 corrects a value of a parameter corresponding to the external magnetic field H based on the magnetization difference dM.sub.ave(H). For example, the processing unit 12 corrects a value of the correction coefficient N(H) to a value obtained by adding the magnetization difference dM.sub.ave(H) to a present value of the correction coefficient N(H).
(31) Thereafter, the processing unit 12 repeats the calculation of the second magnetization, the calculation of the diamagnetic field H.sub.d, the calculation of the third magnetizations, the calculation of the average, the calculation of the error, and the correction of the value of the parameter until the error falls below the threshold . When the error falls below the threshold , the processing unit 12 outputs the second magnetization corresponding to the external magnetic field H calculated based on the function (g(H)) after the correction of the value of the parameter.
(32) In this way, the information processing device 10 may correct the provisional closed magnetic circuit curve 3 such that the open magnetic circuit curve 5 obtained as a calculation result is equal to a measured open magnetic circuit curve 4. The corrected provisional closed magnetic circuit curve 3 is output as a closed magnetic circuit curve indicating the magnetic characteristic of the permanent magnet by the information processing device 10. If the influence of the diamagnetic field H.sub.d is added to the output closed magnetic circuit curve, the closed magnetic circuit curve is equal to the open magnetic circuit curve 4, which is the measured value. Therefore, the closed magnetic circuit curve is considered to highly accurately represent a magnetic characteristic of the permanent magnet in the closed magnetic circuit environment.
(33) The magnetic characteristic in the closed magnetic circuit environment may be highly accurately calculated based on the measurement result 1 in the open magnetic circuit environment. Therefore, a correct magnetic characteristic may be obtained for a magnet having a strong magnetic force for which measurement in the closed magnetic circuit environment is difficult such as a neodymium magnet.
Second Embodiment
(34) A second embodiment is explained.
(35)
(36)
(37) The control unit 31 detects, using a magnetic field sensor 34, a magnetic field generated by magnetization of the permanent magnet 41. The control unit 31 measures a magnetization of the permanent magnet corresponding to the external magnetic field based on the detected magnetic field. The magnetization is represented by a unit such as gauss (G).
(38) For example, the control unit 31 generates a strong external magnetic field and magnetizes the permanent magnet 41 until the magnetization is saturated. The magnetic-characteristic measuring device 30 measures the magnetization of the permanent magnet 41 corresponding to the external magnetic field while reducing the intensity of the external magnetic field. After the intensity of the external magnetic field decreases to 0, the magnetic-characteristic measuring device 30 intensifies the external magnetic field (a diamagnetic field) in the opposite direction of a direction during the magnetizing and measures magnetization of the permanent magnet 41 corresponding to the external magnetic field. Consequently, a measurement result indicating a demagnetization curve is obtained.
(39) The control unit 31 stores a value of the measured magnetization in a storage device 35 as a measurement result. The control unit 31 transmits the measurement result to the computer 100 via the network 20 according to a request from the computer 100.
(40) In
(41)
(42) The memory 102 is used as a main storage device of the computer 100. In the memory 102, a program of an operating system (OS) and at least a part of application programs executed by the processor 101 are temporarily stored. In the memory 102, various data used for processing by the processor 101 are stored. As the memory 102, a volatile semiconductor storage device such as a random access memory (RAM) is used.
(43) As the peripheral devices connected to the bus 109, there are a storage device 103, a graphic processing device 104, an input interface 105, an optical drive device 106, a device connection interface 107, and a network interface 108.
(44) The storage device 103 electrically or magnetically writes data in and reads out data from a recording medium incorporated in the storage device 103. The storage device 103 is used as an auxiliary storage device of the computer. A program of an OS, application programs, and various data are stored in the storage device 103. As the storage device 103, for example, a hard disk drive (HDD) and a solid state drive (SSD) may be used.
(45) A monitor 21 is connected to the graphic processing device 104. The graphic processing device 104 causes, according to a command from the processor 101, the monitor 21 to display an image on a screen of the monitor 21. As the monitor 21, there are an organic electroluminescence display device, a liquid crystal display device, and the like.
(46) A keyboard 22 and a mouse 23 are connected to the input interface 105. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the processor 101. The mouse 23 is an example of a pointing device. Other pointing devices may also be used. As the other pointing devices, there are a touch panel, a tablet, a touch pad, a trackball, and the like.
(47) The optical drive device 106 reads data recorded in an optical disk 24 using a laser beam or the like. The optical disk 24 is a portable recording medium in which data is recorded to be readable by reflection of light. As the optical disk 24, there are a digital versatile disc (DVD), a DVD-RAM, a compact disc read only memory (CD-ROM), a CD-R (Recordable)/RW (Rewritable), and the like.
(48) The device connection interface 107 is a communication interface for connecting peripheral devices to the computer 100. For example, a memory device 25 and a memory reader writer 26 may be connected to the device connection interface 107. The memory device 25 is a recording medium implemented with a communication function for communication with the device connection interface 107. The memory reader writer 26 is a device that writes data in and reads out data from a memory card 27. The memory card 27 is a card-type recording medium.
(49) The network interface 108 is connected to the network 20. The network interface 108 performs transmission and reception of data between the network interface 108 and other computers or communication devices via the network 20.
(50) The computer 100 may realize processing functions in the second embodiment with the hardware configuration explained above. The information processing device 10 explained in the first embodiment may be realized by the same hardware as the computer 100 illustrated in
(51) The computer 100 realizes the processing functions in the second embodiment by, for example, executing programs recorded in a computer-readable recording medium. Programs describing processing contents to be executed by the computer 100 may be recorded in various recording media. For example, programs to be executed by the computer 100 may be stored in the storage device 103. The processor 101 loads at least a part of the programs in the storage device 103 to the memory 102 and executes the programs. The programs to be executed by the computer 100 may be recorded in a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The programs stored in the portable recording medium may be executed after being installed in the storage device 103 according to, for example, control from the processor 101. The processor 101 may directly read out the programs from the portable recording medium and execute the programs.
(52) The computer 100 having such a hardware configuration may highly accurately calculate a magnetic characteristic of the permanent magnet 41.
(53)
(54) The measurement-result acquiring unit 110 acquires a measurement result in an open magnetic circuit environment from the magnetic-characteristic measuring device 30 via the network 20. The measurement-result acquiring unit 110 stores the acquired measurement result in the storing unit 120.
(55) The storing unit 120 stores the measurement result. The storing unit 120 is, for example, a part of a storage region of the storage device 103.
(56) The closed-magnetic-circuit computing unit 130 applies correction to the measurement result by the magnetic-characteristic measuring device 30 to exclude the influence of a diamagnetic field and calculates a closed magnetic circuit curve indicating a magnetic characteristic in a closed magnetic circuit environment. For example, based on the measurement result in the open magnetic circuit environment, the closed-magnetic-circuit computing unit 130 calculates a correction coefficient of the permanent magnet 41 used as a specimen for excluding the influence of the diamagnetic field in the measurement result. For example, the closed-magnetic-circuit computing unit 130 calculates an appropriate correction coefficient for each level of the intensity of an external magnetic field used for measurement. Subsequently, the closed-magnetic-circuit computing unit 130 corrects, with the correction coefficient, magnetization data of the permanent magnet 41 indicated by the measurement result to calculate a closed magnetic circuit curve indicating a magnetic characteristic in a closed magnetic circuit of the permanent magnet 41. The closed-magnetic-circuit computing unit 130 outputs the calculated closed magnetic circuit curve. For example, the closed-magnetic-circuit computing unit 130 stores data of the closed magnetic circuit curve in the storage device 103. The closed-magnetic-circuit computing unit 130 displays the calculated closed magnetic circuit curve on the monitor 21 as a graph.
(57) The functions of the elements illustrated in
(58)
(59) The measurement result 121 acquired from the magnetic-characteristic measuring device 30 represents a magnetic characteristic including the influence of a diamagnetic field.
(60)
(61) The measurement result 121 by the open magnetic circuit environment represents a magnetic characteristic of the permanent magnet including the influence of the diamagnetic field. A demagnetization curve representing such a magnetic characteristic is an open magnetic circuit curve. On the other hand, when a magnetic characteristic may be measured in the closed magnetic circuit environment, a demagnetization curve with the influence of the diamagnetic field excluded is obtained. Such a demagnetization curve is a closed magnetic circuit curve.
(62)
(63) Therefore, the open magnetic circuit curve 42 is corrected to calculate the closed magnetic circuit curve 43 using the computer 100. As a correction formula for excluding the influence of the diamagnetic field, for example, a method of subtracting contribution of the diamagnetic field from a value of the external magnetic field of the measurement result 121 is conceivable. As a simple method, there is a method of deciding a fixed correction coefficient in advance and correcting the value of the external magnetic field using the correction coefficient.
(64)
(65) Therefore, the closed-magnetic-circuit computing unit 130 of the computer 100 performs correction of the open magnetic circuit curve using numerical calculation by the finite element method in which a mesh model of the permanent magnet 41 is used.
(66)
(67) The closed-magnetic-circuit computing unit 130 divides a region where the permanent magnet 41 is present into a plurality of meshes and generates a mesh model 50. The closed-magnetic-circuit computing unit 130 assumes that all the meshes have the same provisional closed magnetic circuit curves 45. At this time, it is assumed that the provisional closed magnetic circuit curve 45 is deformed in each of the meshes by the influence of the diamagnetic field and an average of the deformed provisional closed magnetic circuit curves 45 in all the meshes is an open magnetic circuit curve. Therefore, the closed-magnetic-circuit computing unit 130 adds the deformation due to the influence of the diamagnetic field to the provisional closed magnetic circuit curves 45 of the meshes. The closed-magnetic-circuit computing unit 130 calculates an average of provisional closed magnetic circuit curves of the meshes after the deformation and calculates an open magnetic circuit curve 46. If the closed magnetic circuit curves 45 calculated first are accurate, the calculated open magnetic circuit curve 46 may substantially equal to the open magnetic circuit curve 42 obtained as the measured value.
(68) Therefore, the closed-magnetic-circuit computing unit 130 calculates an error (a magnetization difference dM.sub.ave(H)) of magnetization between the open magnetic circuit curve 46 obtained as the calculation result and the open magnetic circuit curve 42 obtained as the measured value. If the error of the magnetization is not less than the threshold , the closed-magnetic-circuit computing unit 130 corrects the provisional closed magnetic circuit curves 45 such that the open magnetic circuit curve 46 of the calculation result approaches the measured open magnetic circuit curve 42. For example, the closed-magnetic-circuit computing unit 130 corrects the provisional closed magnetic circuit curves 45 by performing correction for adding the magnetization difference dM.sub.ave(H) to a value of the correction coefficient N(H) included in the expression used for calculation of the provisional closed magnetic circuit curves 45.
(69) The closed-magnetic-circuit computing unit 130 repeats the calculation of the open magnetic circuit curve 46 based on the provisional closed magnetic circuit curves 45 and the correction of the provisional closed magnetic circuit curves 45 for reducing the error until the error falls below the predetermined threshold . The closed-magnetic-circuit computing unit 130 sets, as a closed magnetic circuit curve obtained by correcting the open magnetic circuit curve 42, the provisional closed magnetic circuit curves 45 obtained when the error falls below the predetermined threshold .
(70) A correction method for the open magnetic circuit curve 42 illustrated in
(71) First, a calculation method for the provisional closed magnetic circuit curves 45 is explained.
(72)
(73)
(74) M.sub.r.sup.open represents a value of magnetization (a residual magnetization value) in an external magnetic field=0 of an open magnetic circuit curve. H.sub.c.sup.open represents a value of the external magnetic field (a coercive force value) in the state where the magnetization of the open magnetic circuit curve is 0. N(H) represents a correction coefficient corresponding to the value of the external magnetic field. The correction of the provisional closed magnetic circuit curves 45 is performed by correcting a function of N(H). An initial state of N(H) is, for example, a state in which a value of N(H) is 0 for all external magnetic fields H.
(75) Subsequently, the closed-magnetic-circuit computing unit 130 calculates magnetization of the meshes.
(76)
(77) The diamagnetic field H.sub.d.sup.i of an i-th (i is an integer equal to or larger than 1) mesh is represented by the following expression, where the external magnetic field is H.sub.a.
.sup.i=.Math.M.sup.i (2)
H.sub.d.sup.i=.sup.i (3)
(78) In Expression (2), of represents Laplacian, represents nabla indicating a differential operation of a vector, M.sup.i represents magnetization of the i-th mesh and is calculated by g(H.sub.a) based on Expression (1), and .sup.i represents a magnetic potential of the i-th mesh. The closed-magnetic-circuit computing unit 130 calculates diamagnetic fields of the meshes according to the finite element method using Expression (2) and Expression (3).
(79) The closed-magnetic-circuit computing unit 130 calculates magnetization M.sup.i including the influence of the diamagnetic field using the function of the provisional closed magnetic circuit curve indicated by Expression (1). That is, for example, the closed-magnetic-circuit computing unit 130 performs calculation of M.sup.i=g(H.sub.a+H.sub.d.sup.i).
(80) The closed-magnetic-circuit computing unit 130 determines whether an error between the magnetization M.sup.i calculated including the diamagnetic field and the magnetization M.sup.i is less than an error threshold . If the error is equal to or more than the error threshold , the closed-magnetic-circuit computing unit 130 substitutes the magnetization M.sup.i into the magnetization M.sup.i and performs the calculation of the diamagnetic field H.sub.d.sup.i by the finite element method again. The closed-magnetic-circuit computing unit 130 repeats the calculation of the diamagnetic field H.sub.d.sup.i and the calculation of the magnetization M.sup.i until the error falls below the error threshold . For all the meshes, the closed-magnetic-circuit computing unit 130 sets, as a calculation result of the magnetization under the external magnetic field of H.sub.a, the magnetization M.sup.i of each of the meshes where the error falls below than the error threshold .
(81) When the magnetization of the meshes is successfully calculated, the closed-magnetic-circuit computing unit 130 calculates an average of the magnetization of the meshes.
(82)
(83) In Expression (4), n represents the number of meshes (n is an integer equal to or larger than 1). The closed-magnetic-circuit computing unit 130 obtains average magnetization M.sub.ave(H) corresponding to the external magnetic field by calculating the average magnetization M.sub.ave while changing the external magnetic field. The closed-magnetic-circuit computing unit 130 calculates an error between the calculated average magnetization M.sub.ave(H) and the measurement result and sets the error as a magnetization difference dM.sub.ave(H).
(84) The closed-magnetic-circuit computing unit 130 repeatedly performs the calculation of the magnetization difference dM.sub.ave(H) while changing the value of the external magnetic field H little by little. As a result, the magnetization difference dM.sub.ave(H) in each of a large number of values of external magnetic fields H at a predetermined interval width is obtained.
(85) The closed-magnetic-circuit computing unit 130 corrects the correction coefficient N(H) using the magnetization differences dM.sub.ave(H) for each of the external magnetic fields H. For example, the closed-magnetic-circuit computing unit 130 sets, as a new correction coefficient N(H), a value obtained by adding the magnetization difference dM.sub.ave(H) to the present correction coefficient N(H).
(86) The closed-magnetic-circuit computing unit 130 repeats the update of the correction coefficient N(H) until the magnetization difference dM.sub.ave(H) falls below a magnetization difference threshold . When the magnetization difference dM.sub.ave(H) is less than the magnetization difference threshold , the closed-magnetic-circuit computing unit 130 calculates a closed magnetic circuit curve according to Expression (1) using the correction coefficient N(H) at that point in time.
(87) Details of a procedure of correction processing for an open magnetization circuit curve by the closed-magnetic-circuit computing unit 130 is explained below with reference to a flowchart.
(88)
(89) Step S101
(90) The closed-magnetic-circuit computing unit 130 extracts data from the measurement result 121 stored in the storing unit 120. For example, the closed-magnetic-circuit computing unit 130 extracts a value of magnetization corresponding to an external magnetic field 0 from the measurement result 121. The closed-magnetic-circuit computing unit 130 stores the extracted magnetization value in the memory 102 as the residual magnetization value M.sub.r.sup.open. The closed-magnetic-circuit computing unit 130 extracts a value of an external magnetic field corresponding to magnetization 0 from the measurement result 121. The closed-magnetic-circuit computing unit 130 stores the extracted value of the external magnetic field in the memory 102 as the coercive force value H.sub.c.sup.open. The closed-magnetic-circuit computing unit 130 extracts a maximum value H.sub.max of the external magnetic field and a minimum value H.sub.min of the external magnetic field from the measurement result 121. The closed-magnetic-circuit computing unit 130 stores the extracted maximum value H.sub.max and the extracted minimum value H.sub.min in the memory 102.
(91) The closed-magnetic-circuit computing unit 130 sets, as an initial value, 0 in a correction coefficient N(H.sub.a) {H.sub.aH.sub.minH.sub.1H.sub.max} in an external magnetic field H.sub.a (N(H.sub.a)=0).
(92) Step S102
(93) The closed-magnetic-circuit computing unit 130 sets an initial value of the external magnetic field H.sub.a as the maximum value H.sub.max.
(94) Step S103
(95) The closed-magnetic-circuit computing unit 130 calculates magnetization M.sub.a.sup.i {i|1in} of each of n meshes based on the external magnetic field H.sub.a and the correction coefficient N(H.sub.a). For example, the closed-magnetic-circuit computing unit 130 calculates M.sub.a.sup.i=g(H.sub.a) for i=1, 2, . . . , and n. In M.sub.a.sup.i=g(H.sub.a), g(H.sub.a) is represented by the following expression.
(96)
(97) Step S104
(98) The closed-magnetic-circuit computing unit 130 calculates the diamagnetic field H.sub.d.sup.i of each of the meshes based on M.sub.a.sup.i according to the finite element method.
(99) Step S105
(100) The closed-magnetic-circuit computing unit 130 calculates the magnetization M.sub.a.sup.i for each of the meshes based on the diamagnetic field H.sub.d.sup.i. For example, the closed-magnetic-circuit computing unit 130 calculates M.sub.a.sup.i=g(H.sub.a+H.sub.d.sup.i) for i=1, 2, . . . , and n. In M.sub.a.sup.i=g(H.sub.a+H.sub.d.sup.i), g(H.sub.a+H.sub.d.sup.i) is represented by the following expression.
(101)
(102) Step S106
(103) The closed-magnetic-circuit computing unit 130 calculates a magnetization error maximum value dM.sub.err_max among all the meshes based on the magnetization M.sub.a.sup.i, and the magnetization M.sub.a.sup.i. The magnetization error maximum value dM.sub.err_max is represented by an expression dM.sub.err_max=max(|M.sub.a.sup.iM.sub.a.sup.i|) {i|1in}.
(104) Step S107
(105) The closed-magnetic-circuit computing unit 130 determines whether the magnetization error maximum value dM.sub.err_max is less than the error threshold . If the magnetization error maximum value dM.sub.err_max is less than the error threshold , the closed-magnetic-circuit computing unit 130 advances the processing to step S109. If the magnetization error maximum value dM.sub.err_max is equal to or more than the error threshold , the closed-magnetic-circuit computing unit 130 advances the processing to step S108.
(106) Step S108
(107) The closed-magnetic-circuit computing unit 130 updates a value of M.sub.a.sup.i to a value of M.sub.a.sup.i concerning respective i=1, 2, . . . , and n. Thereafter, the closed-magnetic-circuit computing unit 130 advances the processing to step S104.
(108) Step S109
(109) The closed-magnetic-circuit computing unit 130 determines that the magnetization M.sub.a.sup.i of each of the meshes where the condition of step S107 is satisfied is a value of magnetization of the mesh reflecting influence of a diamagnetic field in the external magnetic field H.sub.a. Therefore, the closed-magnetic-circuit computing unit 130 calculates average magnetization M.sub.ave(H.sub.a) of the magnetizations M.sub.a.sup.i of all the meshes. M.sub.ave(H.sub.a) is represented by the following expression.
(110)
(111) Step S110
(112) The closed-magnetic-circuit computing unit 130 calculates the magnetization difference dM.sub.ave(H.sub.a) {H.sub.a|H.sub.minH.sub.aH.sub.max} based on the average magnetization M.sub.ave(H.sub.a) and M.sub.open(H.sub.a). The magnetization difference is represented by an expression dM.sub.ave(H.sub.a)=M.sub.ave(H.sub.a)M.sub.open(H.sub.a).
(113) Step S111
(114) The closed-magnetic-circuit computing unit 130 subtracts a value of the external magnetic field H.sub.a by an interval width H of the external magnetic field. That is, for example, the closed-magnetic-circuit computing unit 130 updates the value of the external magnetic field H.sub.a to H.sub.aH. The interval width H of the external magnetic field is a preset value. For example, the interval width H of the external magnetic field is the same as a difference among continuing values of the external magnetic field included in the measurement result 121.
(115) Step S112
(116) The closed-magnetic-circuit computing unit 130 determines whether the value of the external magnetic field H.sub.a is smaller than the minimum value H.sub.min of the external magnetic field. If the value of the external magnetic field H.sub.a is smaller than the minimum value H.sub.min of the external magnetic field, the closed-magnetic-circuit computing unit 130 advances the processing to step S113. If the value of the external magnetic field H.sub.a is equal to or larger than the minimum value H.sub.min of the external magnetic field, the closed-magnetic-circuit computing unit 130 advances the processing to step S103.
(117) Step S113
(118) The closed-magnetic-circuit computing unit 130 corrects the correction coefficient N(H.sub.a) using the magnetization difference dM.sub.ave(H.sub.a). Specifically, for example, the closed-magnetic-circuit computing unit 130 sets N(H.sub.a)+dM.sub.ave(H.sub.a) in the correction coefficient N(H.sub.a) {H.sub.a|H.sub.minH.sub.aH.sub.max}.
(119) Step S114
(120) The closed-magnetic-circuit computing unit 130 determines whether the magnetization differences dM.sub.ave(H.sub.a) {H.sub.a|H.sub.minH.sub.aH.sub.max} concerning all the external magnetic fields H.sub.a are less than the magnetization difference threshold . If the magnetization differences dM.sub.ave(H.sub.a) concerning all the external magnetic fields H.sub.a are less than the magnetization difference threshold , the closed-magnetic-circuit computing unit 130 advances the processing to step S115. If there is at least one external magnetic field H.sub.a in which the magnetization difference dM.sub.ave(H.sub.a) is equal to or more than the magnetization difference threshold , the closed-magnetic-circuit computing unit 130 advances the processing to step S102.
(121) Step S115
(122) The closed-magnetic-circuit computing unit 130 calculates the magnetizations M(H.sub.a) concerning the respective external magnetic fields H.sub.a {H.sub.a|H.sub.minH.sub.aH.sub.max} based on the correction coefficient N(H.sub.a). For example, the closed-magnetic-circuit computing unit 130 performs calculation of M(H.sub.a)=g(H.sub.a) based on Expression (1). The closed-magnetic-circuit computing unit 130 outputs the magnetizations M(H.sub.a).
(123)
(124) In this way, it is possible to calculate an appropriate correction coefficient N(H.sub.a) and calculate the magnetization M(H.sub.a) of a closed magnetic circuit based on the correction coefficient N(H.sub.a). A value of the correction coefficient N(H.sub.a) is different for each of the values of the external magnetic field. Therefore, it is possible to highly accurately correct an open magnetic circuit curve obtained as a measured value to a correct closed magnetic circuit curve. That is, for example, it is possible to obtain a highly accurate closed magnetic circuit curve with the influence of a diamagnetic field excluded based on the measurement result 121 measured in the open magnetic circuit environment.
(125)
(126) As illustrated in
(127) If the highly accurate closed magnetic circuit curve 63 is obtained, it is possible to correctly grasp a magnetic characteristic of the permanent magnet 41. The computer 100 displays a state of magnetization of the permanent magnet 41 corresponding to the external magnetic field on the monitor 21 with, for example, a contour diagram (an isoplethic curve).
(128)
(129) In this way, a magnetization characteristic of the permanent magnet 41, in which the influence of a diamagnetic field is removed, is accurately seen based on a measurement result of the magnetization in the open magnetic circuit environment. Therefore, it is possible to accurately learn a magnetic characteristic of a strong magnet such as a neodymium magnet. Consequently, it is easy to design a high-performance motor. For example, by calculating a magnetic force generated in a motor using the computer 100, it is possible to calculate performance of the motor.
(130)
Other Embodiments
(131) In the second embodiment, an end condition (a determination condition in step S107) for the repeated processing of the magnetization calculation for each of the meshes is that the magnetization error maximum value dM.sub.err_max is less than the error threshold . However, another end condition may be applied. For example, if the average of the magnetization of the meshes is less than the error threshold , the closed-magnetic-circuit computing unit 130 may determine to end the repeated processing of the magnetization calculation (YES in step S107).
(132) In the second embodiment, an end condition (a determination condition in step S114) for the repeated processing of the correction coefficient update is that the magnetization difference dM.sub.ave(H.sub.a) is less than the threshold in all the external magnetic fields. However, another end condition may be applied. For example, if the average of the magnetization differences dM.sub.ave(H.sub.a) corresponding to the external magnetic fields is less than the threshold , the closed-magnetic-circuit computing unit 130 may determine to end the repeated processing of the correction coefficient update (YES in step S114).
(133) The embodiments are illustrated above. However, the components of the units explained in the embodiments may be replaced with components having the same functions. Any other components and steps may be added. Any two or more components (characteristics) in the embodiments may be combined.
(134) All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.