Testing method for reversing magnetic field

By connecting multiple resistive switching devices in series and applying a test magnetic field, the mean value and standard deviation of the flipping magnetic field of the magnetic layer are obtained, which solves the problem of long time in obtaining the distribution curve in the existing technology and improves the test efficiency.

CN112444764BActive Publication Date: 2024-08-23CETHIK GRP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910817850.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-30
Publication Date
2024-08-23
Estimated Expiration
2040-02-17

AI Technical Summary

Technical Problem

In the prior art, it takes a long time to obtain the distribution curve of the flipping magnetic field, resulting in low test efficiency.

Method used

By connecting multiple resistive switching devices to be tested in series to form a device group to be tested, and applying a test magnetic field multiple times in the space until part of the magnetic layer flips, the relationship between the test resistance and the test magnetic field is obtained, thereby obtaining the flipping magnetic field. mean and standard deviation.

Benefits of technology

It greatly shortens the test time, reduces the amount of data processing, improves the test efficiency, and can quickly obtain the distribution curve of the flipping magnetic field of the magnetic layer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112444764B
    Figure CN112444764B
Patent Text Reader

Abstract

The present application provides a method for testing a reversing magnetic field, which includes the following steps: connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, each resistive switching device including at least one magnetic layer; applying a test magnetic field in the space where the device group to be tested is located, and measuring the test resistance of the device group to be tested; repeatedly applying the test magnetic field until at least part of the magnetic layer of the device group to be tested is reversed, and a first relationship is obtained, which is a relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and in each repetition process, the latter test magnetic field is greater than or less than the previous test magnetic field; obtaining relevant parameters of the device group to be tested at least according to the first relationship, and the relevant parameters include the mean of the reversing magnetic field of the device group to be tested and the standard deviation of the reversing magnetic field. Compared with the method of measuring multiple devices multiple times, this test method can effectively save test time and greatly improve test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of memory, and in particular to a method for testing a switching magnetic field. Background Art

[0002] The magnetic random access memory (MRAM) that has developed rapidly in recent years has excellent characteristics. For example, it overcomes the shortcomings of SRAM, such as large area and high leakage after size reduction; it overcomes the shortcomings of DRAM, such as the need to constantly refresh data and high power consumption; and compared with Flash memory, its read and write time and number of read and write times are several orders of magnitude superior.

[0003] Although it has many significant advantages, the core storage cells of current MRAM memories generally use magnetic tunnel junctions with perpendicular magnetization characteristics, which have at least three magnetic layers, namely a magnetic storage layer, a magnetic reference layer, and a magnetic pinning layer.

[0004] The functions of these magnetic layers are different. In order to meet the various performance indicators of MRAM, the key parameters of each functional layer, such as coercive field (Hc) and coupling field (Hex), need to meet certain conditions. As a magnetic storage device, the magnetic reversal field of each layer of MTJ reflects its interlayer coupling strength, stability and other properties, and also plays an important role in device failure analysis. Therefore, the test of the reversal magnetic field is particularly important.

[0005] During the research and development stage, in order to obtain the magnetic reversal field distribution of the MTJ device and analyze the performance and failure mechanism of the MTJ, a large number of MTJ samples will be tested. Generally, the samples will be tested one by one, and then the test data will be processed and analyzed.

[0006] Specifically, the resistance versus magnetic field relationship (R_H) curves of a large number of MTJ devices are measured in the prior art:

[0007] Step S1, applying an external magnetic field to each MTJ, from H start Scan to H end , and then from H end Scan to H start Get an R_H curve and obtain the magnetic field value H corresponding to the MTJ state change i (subscript i represents the i-th test);

[0008] Step S2, repeat step S1 to test the resistance-magnetic field relationship (R_H) curves of N MTJs, such as Figure 1 As shown;

[0009] Step S3, processing the data to obtain a large number of MTJ Hc probability distribution curves, such as Figure 2 shown.

[0010] The above-mentioned test method requires testing multiple MTJs one by one, and several RH curve scans are required to statistically obtain the distribution curve of the magnetic reversal field. The test takes a very long time.

[0011] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention

[0012] The main purpose of the present application is to provide a method for testing a switching magnetic field to solve the problem in the prior art that it takes a long time to obtain a distribution curve of the switching magnetic field.

[0013] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for testing a switching magnetic field is provided, comprising: step S1, connecting multiple resistive switching devices to be tested in series to form a device group to be tested, each of the resistive switching devices comprising at least one magnetic layer; step S3, applying a test magnetic field in the space where the device group to be tested is located, and measuring the test resistance of the device group to be tested; step S4, repeating step S3 multiple times until at least part of the magnetic layer of the device group to be tested is reversed, and a first relationship is obtained, wherein the first relationship is a relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and in each repetition process, the test magnetic field of the latter time is greater than or less than the test magnetic field of the previous time; step S6, obtaining relevant parameters of the device group to be tested at least according to the first relationship, and the relevant parameters include the mean of the switching magnetic field of the device group to be tested and the standard deviation of the switching magnetic field.

[0014] Furthermore, between step S1 and step S3, the test method further includes: step S2, initializing each of the resistive switching devices so that each of the resistive switching devices is in the same resistance state.

[0015] Further, the step S2 includes at least one of the following: applying a predetermined voltage to both ends of the device under test group, applying a predetermined current to both ends of the device under test group, and applying a predetermined magnetic field in the space where the device under test group is located.

[0016] Furthermore, in the step S2, each of the resistive switching devices is initialized by applying a predetermined magnetic field in the space where the device group to be tested is located, the test magnetic field applied in the step S3 is an initial test magnetic field having the same direction and the same absolute value as the predetermined magnetic field, and the test magnetic field applied in the step S4 is smaller than or larger than the initial test magnetic field.

[0017] Furthermore, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistance state. Step S4 includes: repeating step S3 multiple times until all the free layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices is changed to a second resistance state, thereby obtaining the first relationship.

[0018] Further, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistance state. Step S4 includes: repeating step S3 multiple times until all the free layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices is changed to a second resistance state; repeating step S3 multiple times until all the fixed layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices is changed to the first resistance state, thereby obtaining the first relationship.

[0019] Further, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistance state. Step S4 includes: repeating step S3 multiple times until all of the free layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices changes from the first resistance state to the second resistance state; repeating step S3 multiple times until all of the fixed layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices changes from the second resistance state to the first resistance state; repeating step S3 multiple times until at least part of the pinned layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices remains in the first resistance state, thereby obtaining the first relationship.

[0020] Furthermore, in the step S4, the test magnetic field applied for the last time is the endpoint test magnetic field, and the test method also includes: step S5, repeating the step S3 multiple times until at least part of the magnetic layer of the device group to be tested is flipped, and a second relationship is obtained, the second relationship is the relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and during multiple repetitions, the difference between the latter test magnetic field and the previous test magnetic field is a first difference, and the difference between the latter test magnetic field and the previous test magnetic field in step S4 is a second difference, and one of the first difference and the second difference is greater than 0, and the other is less than 0.

[0021] Furthermore, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a second resistance state. Step S5 includes: repeating step S3 multiple times until all the free layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices becomes the first resistance state, thereby obtaining the second relationship.

[0022] Further, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a first resistance state. Step S5 includes: repeating step S3 multiple times until all of the fixed layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices becomes a second resistance state; repeating step S3 multiple times until all of the free layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices becomes the first resistance state, thereby obtaining the second relationship.

[0023] Further, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a first resistance state. Step S5 includes: repeating step S3 multiple times until at least part of the pinned layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices remains in the first resistance state; repeating step S3 multiple times until all of the fixed layers in at least part of the device group to be tested are flipped, and the resistance state of at least part of the resistive switching devices changes from the first resistance state to the second resistance state; repeating step S3 multiple times until all of the free layers in the device group to be tested are flipped, and the resistance state of at least part of the resistive switching devices changes from the second resistance state to the first resistance state, thereby obtaining the second relationship.

[0024] Further, in step S4, the difference between the later test magnetic field and the previous test magnetic field is a first predetermined difference, and in step S5, the difference between the later test magnetic field and the previous test magnetic field is a second predetermined difference, and the first predetermined difference is equal to the second predetermined difference.

[0025] Furthermore, the step S6 includes: fitting at least the first relationship to obtain at least one fitting formula; and acquiring the relevant parameters according to the fitting formula.

[0026] Furthermore, fitting the first relationship to obtain at least one fitting formula includes: differentiating the first relationship with the magnetic field corresponding to the test magnetic field as a variable to obtain a third relationship, and fitting the third relationship with a normal distribution to obtain the fitting formula.

[0027] Furthermore, fitting the first relationship to obtain at least one fitting formula includes: fitting the first relationship with a cumulative probability distribution to obtain the fitting formula.

[0028] Furthermore, the step S6 includes: fitting the first relationship and the second relationship to obtain a fitting formula; obtaining the relevant parameters according to the fitting formula, and the relevant parameters include the mean value of the switching magnetic field of the magnetic layer and the standard deviation of the switching magnetic field.

[0029] Applying the technical solution of the present application, in the above-mentioned test method, multiple resistive switching devices to be tested are connected in series to form a device group to be tested, and a test magnetic field is applied multiple times in the space where the device group to be tested is located and the test resistance of the device group to be tested is measured, and the latter test magnetic field is greater than or less than the previous test magnetic field, until at least part of the magnetic layer of the device group to be tested is flipped, and a relationship between the test resistance and the test magnetic field is obtained, and at least the mean value of the flip magnetic field of at least one magnetic layer and the standard deviation of the flip magnetic field are obtained according to the relationship. The test method connects multiple resistive switching devices to be tested in series or in parallel to form a device group to be tested, avoids testing multiple resistive switching devices one by one, greatly shortens the test time, obtains a first relationship according to the test results, thereby obtaining the mean value of the flip magnetic field of at least one magnetic layer and the standard deviation of the flip magnetic field, that is, obtaining the distribution curve of the flip magnetic field of at least one magnetic layer, reducing the data required to process to obtain the distribution curve of the flip magnetic field, and reducing the processing time, thereby solving the problem of a long time required to obtain the distribution curve of the flip magnetic field in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0031] Figure 1 A schematic diagram of a curve between the resistance and the test magnetic field of an MTJ in the prior art is shown;

[0032] Figure 2 A schematic diagram showing a distribution curve of a switching magnetic field of an MTJ in the prior art is shown;

[0033] Figure 3 A schematic flow chart of a testing method according to an embodiment of the present application is shown;

[0034] Figure 4 A schematic diagram of a curve between a test resistance and a test magnetic field according to an embodiment of the present application is shown;

[0035] Figure 5 A schematic diagram showing a distribution curve of a switching magnetic field of a magnetic layer according to an embodiment of the present application is shown;

[0036] Figure 6 A curve diagram showing a test resistance and a test magnetic field according to another embodiment of the present application is shown;

[0037] Figure 7 A schematic diagram showing a distribution curve of a switching magnetic field of a magnetic layer according to another embodiment of the present application; and

[0038] Figure 8 A schematic diagram of a curve between a test resistance and a test magnetic field according to yet another embodiment of the present application is shown. DETAILED DESCRIPTION

[0039] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0041] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.

[0042] As introduced in the background technology, it takes a long time to obtain the distribution curve of the switching magnetic field in the prior art. In order to solve this technical problem, according to an embodiment of the present application, a method for testing a switching magnetic field is provided.

[0043] Figure 3 The flowchart of the test method of the switching magnetic field of the embodiment of the present application is shown. The test method includes:

[0044] Step S1, connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, each of the resistive switching devices comprising at least one magnetic layer;

[0045] Step S3, applying a test magnetic field in the space where the device group under test is located, and measuring the test resistance of the device group under test;

[0046] Step S4, repeating the above step S3 for multiple times until at least part of the above magnetic layer of the above device group to be tested is flipped, and a first relationship is obtained, wherein the above first relationship is a relationship between the above test resistance and the above test magnetic field, and at least part of the above test resistance obtained is different, and in each repetition process, the above test magnetic field of the subsequent time is greater than or less than the above test magnetic field of the previous time, that is, in this step, each of the above test magnetic fields of the subsequent time is greater than the above test magnetic field of the corresponding previous time, or each of the above test magnetic fields of the subsequent time is less than the above test magnetic field of the corresponding previous time;

[0047] Step S6, obtaining relevant parameters of the device under test group at least according to the first relational expression, wherein the relevant parameters include a mean value of the switching magnetic field of the device under test group and a standard deviation of the switching magnetic field.

[0048] In the above test method, multiple resistive switching devices to be tested are connected in series to form a device group to be tested, and a test magnetic field is applied multiple times in the space where the device group to be tested is located and the test resistance of the device group to be tested is measured, and the latter test magnetic field is greater than or less than the previous test magnetic field, until at least part of the magnetic layer of the device group to be tested is flipped, and a relationship between the test resistance and the test magnetic field is obtained, and at least the mean value of the flip magnetic field of the device group to be tested and the standard deviation of the flip magnetic field are obtained according to the relationship. The test method connects multiple resistive switching devices to be tested in series or in parallel to form a device group to be tested, avoiding testing multiple resistive switching devices one by one, greatly shortening the test time, and obtaining a first relationship according to the test results, thereby obtaining the mean value of the flip magnetic field and the standard deviation of the flip magnetic field of at least one magnetic layer, that is, obtaining the distribution curve of the flip magnetic field of at least one magnetic layer, reducing the data required to be processed to obtain the distribution curve of the flip magnetic field, reducing the processing time, and thus solving the problem of a long time required to obtain the distribution curve of the flip magnetic field in the prior art.

[0049] It should be noted that the test magnetic field in the present application can be positive or negative. It is not the size of the applied test magnetic field (i.e., the absolute value). The specific size relationship between the previous test magnetic field and the next test magnetic field is the size relationship when it is positive or negative, for example, -5000Oe<-3000Oe.

[0050] Moreover, the above-mentioned test method only needs to perform one or two magnetic field scans on the device group to be tested to obtain the test results. Compared with the existing test methods, the test time is greatly shortened. The test results directly reflect the statistical information of the resistive switching device array. When the magnetic parameters of the device deviate from the design values, the test method can simultaneously process the relationship between the different types of test resistors and the test magnetic field in the same way, and the flip field distribution curve can be obtained without eliminating the failed devices. The data processing is simple and saves data processing work time. The test method uses very few test resources and does not require hardware improvements to the existing test machine or the addition of hardware equipment.

[0051] In order to ensure that the magnetic layer of each of the above-mentioned resistive switching devices can be flipped during the test process to obtain more test data, thereby obtaining a more accurate mean and standard deviation of the flipping magnetic field, in one embodiment of the present application, between the above-mentioned step S1 and the above-mentioned step S3, the above-mentioned test method also includes: step S2, initializing each of the above-mentioned resistive switching devices so that each of the above-mentioned resistive switching devices is in the same resistance state. Specifically, the above-mentioned resistive switching devices generally have two resistance states, namely a high resistance state and a low resistance state. When initializing each of the above-mentioned resistive switching devices, each of the above-mentioned resistive switching devices can be in a low resistance state, or each of the above-mentioned resistive switching devices can be in a high resistance state. One of the high resistance state and the low resistance state is a first resistance state, and the other is a second resistance state.

[0052] In the actual test process, there are many ways to initialize each of the above-mentioned resistive switching devices, and those skilled in the art can choose any one of the ways that can make each of the above-mentioned resistive switching devices be in the same resistance state. In one embodiment of the present application, the above-mentioned step S2 includes at least one of the following: applying a predetermined voltage to both ends of the above-mentioned device group to be tested, applying a predetermined current to both ends of the above-mentioned device group to be tested, and applying a predetermined magnetic field in the space where the above-mentioned device group to be tested is located. That is, it can be any one of the above-mentioned three types, or it can be a mixture of multiple types, as long as the magnetization directions of the magnetic layers of the above-mentioned resistive switching devices can be the same, so that the above-mentioned resistive switching devices are in the same resistance state.

[0053] In a specific embodiment of the present application, in the above step S2, each of the above resistive switching devices is initialized by applying a predetermined magnetic field in the space where the above-mentioned device group to be tested is located. The predetermined magnetic field can make the magnetization direction of the magnetic layer of each of the above-mentioned resistive switching devices the same, so that each of the above-mentioned resistive switching devices is in the same resistance state. The above-mentioned test magnetic field applied in the above step S3 is an initial test magnetic field with the same direction and the same absolute value as the above-mentioned predetermined magnetic field, ensuring that each of the above-mentioned resistive switching devices is in an initialized state when the magnetic field starts to scan. The above-mentioned test magnetic field applied in the above step S4 is less than or greater than the above-mentioned initial test magnetic field. Specifically, when the initial test magnetic field applied in the above step S3 is a forward magnetic field, the above-mentioned test magnetic field applied in the above step S4 is less than the above-mentioned initial test magnetic field; when the initial test magnetic field applied in the above step S3 is a reverse magnetic field, the above-mentioned test magnetic field applied in the above step S4 is greater than the above-mentioned initial test magnetic field.

[0054] In the actual testing process, the resistive switching device includes multiple magnetic layers with different corresponding switching conditions. Testing the multiple magnetic layers can obtain multiple different first relationship equations, thereby obtaining different switching magnetic field distribution curves.

[0055] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S3, each of the resistive switching devices is in a first resistance state. The step S4 includes: repeating the step S3 for multiple times until all of the free layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices is changed to a second resistance state, thereby obtaining the first relationship. According to the first relationship obtained in the step S4, the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field can be obtained, and the distribution curve of the switching magnetic field of the free layer can also be obtained.

[0056] Specifically, the above-mentioned first relationship can be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± is a plus sign in the above-mentioned first relationship, Prob(H) increases with the change of the magnetic field, and when ± is a minus sign in the above-mentioned first relationship, Prob(H) decreases with the change of the magnetic field. According to the above-mentioned first relationship, a relationship curve between the above-mentioned test resistance and the above-mentioned test magnetic field can also be obtained, that is, a first RH curve, such as Figure 4The first RH curve has only one section where the test resistance changes, namely, section A. During the test process corresponding to section A, as the test magnetic field gradually decreases, the free layer in the device group under test flips, and each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device group under test gradually increases, until all of the free layers in the device group under test flip, and the resistance state of each of the resistive switching devices changes to the second resistance state, and the test resistance of the device group under test no longer increases.

[0057] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S3, each of the resistive switching devices is in a first resistance state. The step S4 includes: repeating the step S3 for multiple times until all of the free layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices changes to the second resistance state; repeating the step S3 for multiple times until all of the fixed layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices changes to the first resistance state, thereby obtaining the first relationship. According to the first relationship obtained in the step S4, the mean of the switching magnetic field of the free layer and the fixed layer and the standard deviation of the switching magnetic field can be obtained, and the distribution curve of the switching magnetic field of the free layer and the fixed layer can also be obtained.

[0058] Specifically, the first relational expression may be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± in the first relational expression is a plus sign, Prob(H) increases with the change of the magnetic field, and when ± in the first relational expression is a minus sign, Prob(H) decreases with the change of the magnetic field. According to the first relationship, a relationship curve between the test resistance and the test magnetic field, i.e., a first RH curve, can also be obtained. The first RH curve has two sections where the test resistance changes, i.e., section A and section B. In the test process corresponding to section A, as the test magnetic field gradually decreases, the free layer in the device under test group flips, and each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device under test group gradually increases, until all of the free layers in the device under test group flip, and the resistance state of each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device under test group no longer increases. In the test process corresponding to section B, as the test magnetic field further decreases, the direction of the test magnetic field is changed after it drops to zero and gradually increases, the fixed layer in the device under test group flips, and each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device under test group gradually decreases, until all of the fixed layers in the device under test group flip, and the resistance state of each of the resistive switching devices changes to the first resistance state, and the test resistance of the device under test group no longer decreases.

[0059] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S3, each of the resistive switching devices is in a first resistance state. The step S4 includes: repeating the step S3 for multiple times until all of the free layers in the device group under test are flipped, and the resistance state of each of the resistive switching devices changes from the first resistance state to the second resistance state; repeating the step S3 for multiple times until all of the fixed layers in the device group under test are flipped, and the resistance state of each of the resistive switching devices changes from the second resistance state to the first resistance state; repeating the step S3 for multiple times until all of the pinned layers in the device group under test are flipped, and the resistance state of each of the resistive switching devices changes from the first resistance state to the second resistance state, and obtaining the first relationship. According to the first relationship obtained in the step S4, the mean of the switching magnetic field of the free layer, the fixed layer and the pinned layer and the standard deviation of the switching magnetic field can be obtained, thereby obtaining the distribution curve of the switching magnetic field of the free layer, the fixed layer and the pinned layer.

[0060] Specifically, the above-mentioned first relationship can be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± is a plus sign in the above-mentioned first relationship, Prob(H) increases with the change of the magnetic field, and when ± is a minus sign in the above-mentioned first relationship, Prob(H) decreases with the change of the magnetic field. According to the above-mentioned first relationship, a relationship curve between the above-mentioned test resistance and the above-mentioned test magnetic field can also be obtained, that is, a first RH curve, such as Figure 8 shown. The first RH curve has three sections, namely, section A, section B and section C. In the test process corresponding to section A, as the test magnetic field gradually decreases, the free layer in the device under test group flips, and each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device under test group gradually increases, until all of the free layers in the device under test group flip, and the resistance state of each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device under test group no longer increases. In the test process corresponding to section B, as the test magnetic field further gradually decreases, the direction of the test magnetic field is changed after it drops to zero and gradually increases, the fixed layer in the device under test group flips, and each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device under test group gradually decreases, until all of the fixed layers in the device under test group flip, and the resistance state of each of the resistive switching devices changes to the first resistance state, and the test resistance of the device under test group no longer decreases. In the test process corresponding to section C, as the test magnetic field further gradually increases, the pinned layer in the device under test group flips, and each of the resistive switching devices maintains the first resistance state, so that the test resistance of the device under test group remains unchanged.

[0061] In order to obtain the mean and standard deviation of the switching magnetic field under the reverse magnetic field scan, in one embodiment of the present application, in the above-mentioned step S4, the above-mentioned test magnetic field applied for the last time is the endpoint test magnetic field, and the above-mentioned test method also includes: step S5, repeating the above-mentioned step S3 multiple times until at least part of the above-mentioned magnetic layer of the above-mentioned device group to be tested is reversed, and a second relationship is obtained, the above-mentioned second relationship is a relationship between the above-mentioned test resistance and the above-mentioned test magnetic field, and at least part of the above-mentioned test resistance obtained is different. During multiple repetitions, the difference between the above-mentioned test magnetic field of the latter time and the above-mentioned test magnetic field of the previous time is the first difference, and the difference between the above-mentioned test magnetic field of the latter time and the above-mentioned test magnetic field of the previous time in the above-mentioned step S4 is the second difference, and one of the above-mentioned first difference and the above-mentioned second difference is greater than 0, and the other is less than 0, that is, the positive and negative conditions of the two are opposite.

[0062] In the actual testing process, the resistive switching device includes multiple magnetic layers with different corresponding switching conditions. Testing the multiple magnetic layers can obtain multiple different second relationship equations, thereby obtaining different switching magnetic field distribution curves.

[0063] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S5, each of the resistive switching devices is in a second resistance state. The step S5 includes: repeatedly executing the step S3 for multiple times until all of the free layers in the device group to be tested are flipped, and the resistance state of each of the resistive switching devices is changed to the first resistance state, thereby obtaining the second relationship. According to the second relationship obtained in the step S5, the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field can be obtained, thereby obtaining the distribution curve of the switching magnetic field of the free layer.

[0064] Specifically, the second relationship may be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± in the second relationship is a plus sign, Prob(H) increases with the change of the magnetic field, and when ± in the second relationship is a minus sign, Prob(H) decreases with the change of the magnetic field. According to the second relationship, a relationship curve between the test resistance and the test magnetic field may be obtained, i.e., a second RH curve, such as Figure 4 The second RH curve has only one section where the test resistance changes, namely, section B. During the test process corresponding to section B, as the test magnetic field gradually decreases, the free layer in the device group under test flips, and each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device group under test gradually decreases, until all of the free layers in the device group under test flip, and the resistance state of each of the resistive switching devices changes to the first resistance state, and the test resistance of the device group under test no longer decreases.

[0065] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S5, each of the resistive switching devices is in a first resistance state. The step S5 includes: repeating the step S3 for multiple times until all of the fixed layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices changes to a second resistance state; repeating the step S3 for multiple times until all of the free layers in the device group to be tested are flipped and the resistance state of each of the resistive switching devices changes to the first resistance state, thereby obtaining the second relationship. According to the second relationship obtained in the step S5, the mean of the switching magnetic field of the free layer and the fixed layer and the standard deviation of the switching magnetic field can be obtained, thereby obtaining the distribution curve of the switching magnetic field of the free layer and the fixed layer.

[0066] Specifically, the second relationship may be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± in the second relationship is a plus sign, Prob(H) increases with the change of the magnetic field, and when ± in the second relationship is a minus sign, Prob(H) decreases with the change of the magnetic field. According to the second relationship, a relationship curve between the test resistance and the test magnetic field may be obtained, i.e., a second RH curve, such as Figure 6 As shown. The second RH curve has two sections where the test resistance changes, namely, section C and section D. In the test process corresponding to section C, as the test magnetic field gradually decreases, the fixed layer in the device group to be tested flips, and each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device group to be tested gradually increases, until all of the free layers in the device group to be tested flip, and the resistance state of each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device group to be tested no longer increases. In the test process corresponding to section D, as the test magnetic field further gradually decreases, the direction of the test magnetic field is changed after it drops to zero and gradually increases, the free layer in the device group to be tested flips, and each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device group to be tested gradually decreases, until all of the fixed layers in the device group to be tested flip, and the resistance state of each of the resistive switching devices changes to the first resistance state, and the test resistance of the device group to be tested no longer decreases.

[0067] In a specific embodiment of the present application, the resistive switching device includes a free layer, a fixed layer and a pinned layer. Before the step S5, each of the resistive switching devices is in a first resistance state. The step S5 includes: repeating the step S3 for multiple times until all of the pinned layers in the device group under test are flipped, and the resistance state of each of the resistive switching devices remains in the first resistance state; repeating the step S3 for multiple times until at least all of the fixed layers in at least part of the device group under test are flipped, and the resistance state of at least part of the resistive switching devices changes from the first resistance state to the second resistance state; repeating the step S3 for multiple times until all of the free layers in the device group under test are flipped, and the resistance state of at least part of the resistive switching devices changes from the second resistance state to the first resistance state, and the second relationship is obtained. According to the second relationship obtained in the step S5, the mean of the switching magnetic field of the free layer, the fixed layer and the pinned layer and the standard deviation of the switching magnetic field can be obtained, thereby obtaining the distribution curve of the switching magnetic field of the free layer, the fixed layer and the pinned layer.

[0068] Specifically, the second relationship may be R=Rint±∫Prob(H)dH(Rmax-Rmin), wherein Rint is the test resistance of the device group to be tested during initialization, Prob(H) is the probability of deflection of the magnetic layer, Rmax is the maximum value of the test resistance of the device group to be tested, and Rmin is the maximum value of the test resistance of the device group to be tested. When ± in the second relationship is a plus sign, Prob(H) increases with the change of the magnetic field, and when ± in the second relationship is a minus sign, Prob(H) decreases with the change of the magnetic field. According to the second relationship, a relationship curve between the test resistance and the test magnetic field may be obtained, i.e., a second RH curve, such as Figure 8shown. The first RH curve has three sections, namely, section D, section E and section F. In the test process corresponding to section D, as the test magnetic field gradually decreases, the pinned layer in the device under test group flips, and each of the resistive switching devices maintains the first resistance state, so that the test resistance of the device under test group remains unchanged. In the test process corresponding to section E, as the test magnetic field further gradually decreases, the direction of the test magnetic field is changed and gradually increased after it drops to zero, the fixed layer in the device under test group flips, and each of the resistive switching devices changes to the second resistance state, so that the test resistance of the device under test group gradually decreases, until all of the fixed layers in the device under test group flip, the resistance state of each of the resistive switching devices changes to the second resistance state, and the test resistance of the device under test group no longer decreases. In the test process corresponding to section F, as the test magnetic field further gradually increases, the free layer in the device under test group flips, and each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device under test group gradually increases, until all of the free layers in the device under test group flip, the resistance state of each of the resistive switching devices changes to the first resistance state, so that the test resistance of the device under test group no longer increases.

[0069] In one embodiment of the present application, in the above step S4, the difference between the above test magnetic field of the latter time and the above test magnetic field of the previous time is a first predetermined difference, and in the above step S5, the difference between the above test magnetic field of the latter time and the above test magnetic field of the previous time is a second predetermined difference, and the above first predetermined difference is equal to the above second predetermined difference. When the first predetermined difference is equal to the above second predetermined difference, the change amplitude of the test magnetic field in step S4 and step S5 is the same, that is, the magnetic field value of each increase or decrease of the magnetic field is the same, and the mean value of the switching magnetic field of the magnetic layer and the standard deviation of the above switching magnetic field are obtained according to the above first relationship and the above second relationship, so as to obtain the mean value and standard deviation of the switching magnetic field of the magnetic layer during positive and negative magnetic field scanning.

[0070] In one embodiment of the present application, the step S6 includes: fitting at least the first relational expression to obtain at least one fitting formula; and obtaining the relevant parameters according to the fitting formula. Those skilled in the art can select a suitable method to fit the first relational expression according to actual conditions, for example, normal distribution fitting and cumulative probability distribution fitting.

[0071] It should be noted that, in the above step S6, the first relationship is decomposed and fitted to obtain a first fitting formula or multiple fitting formulas. When multiple fitting formulas are obtained, each fitting formula corresponds to a flipping situation of a magnetic layer.

[0072] It should be noted that the true coercive force Hc and magnetic bias field Hoffset of the resistive switching device can be calculated based on the switching magnetic field, Hc = (Hc1 + Hc2) / 2, Hoffset = (Hc1 - Hc2) / 2, where Hc1 and Hc2 are the absolute values ​​of the average switching field of a magnetic layer under positive and negative fields, respectively.

[0073] It should also be noted that the average high and low resistance state difference deltaR, the average tunneling magnetoresistance TMR and the effective average coupling fields Hex1 and Hex2 of the resistive switching device can be calculated based on the switching magnetic field, deltaR = (Rmax-Rmin) / N, TMR = (Rmax-Rmin) / Rmin, Hex1 = (Hcr1+Hcf1) / 2, Hex2 = (Hcr2+Hcf2) / 2, where N is the number of devices in series, Hcr1, Hcr2, Hcf1, Hcf2 are the absolute values ​​of the average switching fields of the free layer and the fixed layer under positive and negative fields, respectively.

[0074] In addition, if there are failed devices in the series structure, it will not affect the magnetic reversal field distribution curve.

[0075] In a specific implementation of the present application, fitting the above-mentioned first relationship to obtain at least one fitting formula includes: taking the magnetic field corresponding to the above-mentioned test magnetic field as a variable to differentiate the above-mentioned first relationship to obtain a third relationship, and fitting the above-mentioned third relationship to obtain the above-mentioned fitting formula. Specifically, numerically differentiate the above-mentioned first relationship R = Rint ± ∫ Prob (H) dH (Rmax-Rmin) to obtain the relationship between dR / dH and H, that is, The above third relationship is fitted with a normal distribution to obtain the above fitting formula, that is, in, σ is the standard deviation of the switching magnetic field, and μ is the mean of the switching magnetic field.

[0076] In a specific implementation of the present application, fitting the first relationship to obtain at least one fitting formula includes: fitting the first relationship to obtain the fitting formula by cumulative probability distribution. The fitting formula obtained by fitting the cumulative probability distribution is: in, σ0 is the standard deviation of the switching magnetic field, and μ0 is the mean of the switching magnetic field.

[0077] In order to improve the accuracy of the mean value of the switching magnetic field of the magnetic layer obtained by testing and the standard deviation of the above-mentioned switching magnetic field, in one embodiment of the present application, the above-mentioned step S6 includes: fitting the above-mentioned first relationship and the above-mentioned second relationship to obtain a fitting formula; obtaining the above-mentioned related parameters according to the above-mentioned fitting formula, and the above-mentioned related parameters include the mean value of the switching magnetic field of the above-mentioned magnetic layer and the standard deviation of the above-mentioned switching magnetic field.

[0078] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the technical solution of the present application will be explained below in conjunction with specific embodiments.

[0079] Example 1

[0080] The testing method of this embodiment includes:

[0081] Step S1, connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, wherein each of the resistive switching devices comprises a free layer, a fixed layer and a pinned layer;

[0082] Step S2, initializing each of the resistive switching devices by applying a predetermined magnetic field of -5500 Oe in the space where the device group under test is located, so that each of the resistive switching devices is in a first resistance state;

[0083] Step S3, applying a test magnetic field in the space where the device group under test is located, measuring the test resistance of the device group under test, and measuring that the test resistance after initialization is 840000 kΩ;

[0084] Step S4, repeating the step S3 for multiple times until all the free layers in the device group to be tested are flipped, the resistance state of each of the resistive switching devices is changed to the second resistance state, and the first relationship is obtained, the first relationship is a relationship between the test resistance and the test magnetic field, and at least part of the test resistances obtained are different, the maximum test resistance is 1700000 kΩ, and in each repetition process, the latter test magnetic field is reduced by 40 Oe than the previous test magnetic field, until the test magnetic field becomes 5500 Oe;

[0085] Step S5, repeating the step S3 for multiple times until all the free layers in the device under test group are flipped, the resistance state of each resistive switch device is changed to the first resistance state, and the second relationship is obtained, the second relationship is a relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and in each repetition process, the latter test magnetic field is increased by 40Oe than the previous test magnetic field, until the test magnetic field becomes -5500Oe;

[0086] Step S6, obtaining the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field according to the first relational expression and the second relational expression.

[0087] The test results are analyzed, and a relationship curve between the test resistance and the test magnetic field, i.e., an RH curve, is obtained according to the first relationship and the second relationship, such as Figure 4 As shown, a normal distribution fitting is performed according to the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field to obtain a fitting formula, and the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field as well as the distribution curve of the switching magnetic field of the free layer are obtained according to the fitting formula, as shown in FIG. Figure 5 shown.

[0088] Example 2

[0089] The testing method of this embodiment includes:

[0090] Step S1, connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, wherein each of the resistive switching devices comprises a free layer, a fixed layer and a pinned layer;

[0091] Step S2, initializing each of the resistive switching devices by applying a predetermined magnetic field of -5500 Oe in the space where the device group under test is located, so that each of the resistive switching devices is in a first resistance state;

[0092] Step S3, applying a test magnetic field in the space where the device under test group is located, the test magnetic field being an initial test magnetic field having a direction opposite to the predetermined magnetic field and having an absolute value equal to that of the predetermined magnetic field, measuring the test resistance of the device under test group, and measuring that the test resistance after initialization is 840000 kΩ;

[0093] Step S4, repeating the above step S3 for multiple times until all the above free layers in the above device group are flipped, and the resistance state of each of the above resistive switching devices is changed to the second resistance state, repeating the above step S3 for multiple times until all the above fixed layers in the above device group are flipped, and the resistance state of each of the above resistive switching devices is changed to the first resistance state, and obtaining the above first relationship, which is a relationship between the above test resistance and the above test magnetic field, and at least part of the above test resistances obtained are different, and the maximum test resistance is 1700000 kΩ, and in each repetition process, the latter test magnetic field is reduced by 40 Oe than the previous test magnetic field, until the test magnetic field becomes 5500 Oe;

[0094] Step S5, repeating the above step S3 for multiple times until all the above fixed layers in the above device group are flipped, and the resistance state of each of the above resistive switching devices is changed to the second resistance state, repeating the above step S3 for multiple times until all the above free layers in the above device group are flipped, and the resistance state of each of the above resistive switching devices is changed to the first resistance state, and the above second relationship is obtained, the above second relationship is the relationship between the above test resistance and the above test magnetic field, and at least part of the above test resistances obtained are different, and in each repetition process, the latter test magnetic field is increased by 40Oe than the previous test magnetic field, until the above test magnetic field becomes -5500Oe;

[0095] Step S6, obtaining the mean value of the switching magnetic field of the free layer and the fixed layer and the standard deviation of the switching magnetic field according to the first relational expression and the second relational expression.

[0096] The test results are analyzed, and a relationship curve between the test resistance and the test magnetic field, i.e., an RH curve, is obtained according to the first relationship and the second relationship, such as Figure 6 As shown, a normal distribution fitting is performed according to the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field to obtain a fitting formula, and the mean value of the switching magnetic field of the free layer and the standard deviation of the switching magnetic field as well as the distribution curve of the switching magnetic field of the free layer are obtained according to the fitting formula, as shown in FIG. Figure 7 shown.

[0097] Example 3

[0098] The testing method of this embodiment includes:

[0099] Step S1, connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, wherein each of the resistive switching devices comprises a free layer, a fixed layer and a pinned layer;

[0100] Step S2, initializing each of the resistive switching devices by applying a predetermined magnetic field of 10000 Oe in the space where the device group under test is located, so that each of the resistive switching devices is in a first resistance state;

[0101] Step S3, applying a test magnetic field in the space where the device group under test is located, measuring the test resistance of the device group under test, and measuring that the test resistance after initialization is 400000 kΩ;

[0102] Step S4, repeating the above step S3 for multiple times until all the above free layers in the above device under test group are flipped, and the resistance state of each of the above resistive switching devices changes from the above first resistance state to the second resistance state, repeating the above step S3 for multiple times until all the above fixed layers in the above device under test group are flipped, and the resistance state of each of the above resistive switching devices changes from the above second resistance state to the above first resistance state, repeating the above step S3 for multiple times until part of the above pinned layers in the above device under test group are flipped, and the resistance state of each of the above resistive switching devices remains in the first resistance state, and obtaining the above first relationship, the above first relationship is the relationship between the above test resistance and the above test magnetic field, and at least part of the above test resistances obtained are different, and the maximum test resistance is 800000 kΩ, and in each repetition process, the latter test magnetic field is reduced by 100 Oe than the previous test magnetic field, until the test magnetic field becomes -5500 Oe;

[0103] Step S5, repeating the above step S3 for multiple times until part of the above pinned layers in the above device group is flipped, and the resistance state of each of the above resistive switching devices remains in the above second resistance state, repeating the above step S3 for multiple times until all the above fixed layers in at least part of the above device group are flipped, and the resistance state of at least part of the above resistive switching devices changes from the above second resistance state to the first resistance state, repeating the above step S3 for multiple times until all the above free layers in the above device group are flipped, and the resistance state of at least part of the above resistive switching devices changes from the above first resistance state to the above second resistance state, and obtaining the above second relationship, which is a relationship between the above test resistance and the above test magnetic field, and at least part of the above test resistances obtained are different, and in each repetition process, the latter test magnetic field increases by 100Oe than the previous test magnetic field, until the test magnetic field becomes 10000Oe;

[0104] Step S6, obtaining the mean value of the switching magnetic field of the free layer, the fixed layer and the pinned layer and the standard deviation of the switching magnetic field according to the first relational expression and the second relational expression.

[0105] The test results are analyzed, and a relationship curve between the test resistance and the test magnetic field, i.e., an RH curve, is obtained according to the first relationship and the second relationship, such as Figure 8 It should be noted that the flipping of the pinned layer will change the magnetic field required for the flipping of the fixed layer, that is, part of the pinned layer of the device group to be tested flips, so that the fixed layer corresponding to this part of the pinned layer is easy to flip when the magnetic field is reversed, so that the test resistance changes faster when the fixed layer corresponding to this part of the pinned layer flips. Therefore, the RH curve obtained in the magnetic field reverse scanning process corresponds to the multi-segment test curve of the two parts of the device.

[0106] It should also be noted that in step S5 of this embodiment, when the negative magnetic field is scanned from -5500 Oe at a speed of 100 Oe / step, part of the pinned layers in the test device group do not flip. Figure 8 The resistance values ​​corresponding to the three platforms with approximately constant test resistance from high to low in the middle RH curve are R1, R2 and R3 respectively. Under the magnetic field of -5500Oe, the probability of flipping the pinned layer in the test device group is R2 / R1, and the probability of not flipping the pinned layer in the test device group is R3 / R1.

[0107] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0108] In the test method of the present application, multiple resistive switching devices to be tested are connected in series to form a device group to be tested, and a test magnetic field is applied multiple times in the space where the device group to be tested is located and the test resistance of the device group to be tested is measured, and the test magnetic field of the latter test is greater than or less than the test magnetic field of the previous test, until at least part of the magnetic layer of the device group to be tested is flipped, and a relationship between the test resistance and the test magnetic field is obtained, and at least the mean value of the flip magnetic field of the device group to be tested and the standard deviation of the flip magnetic field are obtained according to the relationship. The test method connects multiple resistive switching devices to be tested in series or in parallel to form a device group to be tested, avoiding testing multiple resistive switching devices one by one, greatly shortening the test time, and obtaining a first relationship according to the test results, thereby obtaining the mean value of the flip magnetic field and the standard deviation of the flip magnetic field of at least one magnetic layer, that is, obtaining the distribution curve of the flip magnetic field of at least one magnetic layer, reducing the data required to be processed to obtain the distribution curve of the flip magnetic field, and reducing the processing time, thereby solving the problem of a long time required to obtain the distribution curve of the flip magnetic field in the prior art.

[0109] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for testing a reversal magnetic field, characterized in that: include: Step S1, connecting a plurality of resistive switching devices to be tested in series to form a device group to be tested, each of the resistive switching devices comprising at least one magnetic layer; Step S3, applying a test magnetic field in the space where the device group under test is located, and measuring the test resistance of the device group under test; Step S4, repeatedly executing step S3 for multiple times until at least part of the magnetic layers of the device under test group are flipped, and a first relationship is obtained, wherein the first relationship is a relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and in each repetition process, the subsequent test magnetic field is greater than or less than the previous test magnetic field; In the step S4, the test magnetic field applied for the last time is the end point test magnetic field, and the test method further includes: Step S5, repeating step S3 for multiple times until at least part of the magnetic layers of the device under test group are flipped, and a second relationship is obtained, wherein the second relationship is a relationship between the test resistance and the test magnetic field, and at least part of the test resistance obtained is different, and during multiple repetitions, the difference between the latter test magnetic field and the previous test magnetic field is a first difference, and the difference between the latter test magnetic field and the previous test magnetic field in step S4 is a second difference, and one of the first difference and the second difference is greater than 0, and the other is less than 0; Step S6, obtaining relevant parameters of the device under test group at least according to the first relationship, wherein the relevant parameters include a mean value of the switching magnetic field of the device under test group and a standard deviation of the switching magnetic field; Fitting the first relational expression and the second relational expression to obtain a fitting formula; The relevant parameters are obtained according to the fitting formula, and the relevant parameters include a mean value of the switching magnetic field of the magnetic layer and a standard deviation of the switching magnetic field.

2. The testing method according to claim 1, characterized in that: Between step S1 and step S3, the testing method further includes: Step S2, initializing each of the resistive switching devices so that each of the resistive switching devices is in the same resistance state.

3. The testing method according to claim 2, characterized in that: The step S2 includes at least one of the following: applying a predetermined voltage to both ends of the device under test group, applying a predetermined current to both ends of the device under test group, A predetermined magnetic field is applied in the space where the device under test group is located.

4. The testing method according to claim 2, characterized in that: In the step S2, each of the resistive switching devices is initialized by applying a predetermined magnetic field in the space where the device group under test is located. The test magnetic field applied in step S3 is an initial test magnetic field having the same direction and the same absolute value as the predetermined magnetic field, and the test magnetic field applied in step S4 is smaller than or larger than the initial test magnetic field.

5. The testing method according to any one of claims 1 to 4, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistive state. Step S4 comprises: The step S3 is repeatedly performed for multiple times until all the free layers in the device group to be tested are flipped, the resistance state of each resistive switching device is changed to the second resistance state, and the first relationship is obtained.

6. The testing method according to any one of claims 1 to 4, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistive state. Step S4 comprises: Repeating step S3 for multiple times until all the free layers in the device group to be tested are flipped and the resistance state of each resistive switching device changes to a second resistance state; The step S3 is repeatedly performed for multiple times until all the fixed layers in the device group under test are flipped, the resistance state of each resistive switching device is changed to the first resistance state, and the first relationship is obtained.

7. The testing method according to any one of claims 1 to 4, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S3, each of the resistive switching devices is in a first resistive state. Step S4 comprises: Repeating step S3 for multiple times until all the free layers in the device group under test are flipped and the resistance state of each resistive switching device changes from the first resistance state to the second resistance state; Repeating step S3 for multiple times until all the fixed layers of the device group under test are flipped and the resistance state of each resistive switching device changes from the second resistance state to the first resistance state; The step S3 is repeatedly performed for multiple times until at least part of the pinned layers of the device group under test are flipped, and the resistance state of each resistive switch device remains at the first resistance state change, thereby obtaining the first relationship.

8. The testing method according to claim 1, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a second resistive state. Step S5 comprises: The step S3 is repeatedly performed for multiple times until all the free layers in the device group to be tested are flipped, the resistance state of each resistive switching device is changed to the first resistance state, and the second relationship is obtained.

9. The testing method according to claim 1, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a first resistive state. Step S5 comprises: Repeating step S3 for multiple times until all the fixed layers in the device group under test are flipped and the resistance state of each resistive switching device changes to the second resistance state; The step S3 is repeatedly performed for multiple times until all the free layers in the device group to be tested are flipped, the resistance state of each resistive switching device is changed to the first resistance state, and the second relationship is obtained.

10. The testing method according to claim 1, characterized in that: The resistive switching device comprises a free layer, a fixed layer and a pinned layer. Before step S5, each of the resistive switching devices is in a first resistive state. Step S5 comprises: Repeating step S3 for multiple times until at least part of the pinned layers in the device group under test are flipped and the resistance state of each resistive switching device remains in the first resistance state; Repeating step S3 for multiple times until all the fixed layers in at least part of the device groups under test are flipped, and the resistance state of at least part of the resistive switching devices is changed from the first resistance state to the second resistance state; The step S3 is repeatedly performed multiple times until all the free layers in the device group under test are flipped, and the resistance state of at least part of the resistive switching devices is changed from the second resistance state to the first resistance state, thereby obtaining the second relationship.

11. The testing method according to claim 1, characterized in that: In step S4, the difference between the subsequent test magnetic field and the previous test magnetic field is a first predetermined difference. In step S5, the difference between the subsequent test magnetic field and the previous test magnetic field is a second predetermined difference, and the first predetermined difference is equal to the second predetermined difference.

12. The testing method according to claim 1, characterized in that: The step S6 comprises: Fitting at least the first relationship to obtain at least one fitting formula; The relevant parameters are obtained according to the fitting formula.

13. The testing method according to claim 12, characterized in that: Fitting the first relationship to obtain at least one fitting formula includes: The first relational expression is differentiated with the magnetic field corresponding to the test magnetic field as a variable to obtain a third relational expression: A normal distribution fitting is performed on the third relationship to obtain the fitting formula.

14. The testing method according to claim 12, characterized in that: Fitting the first relationship to obtain at least one fitting formula includes: The first relationship is fitted with a cumulative probability distribution to obtain the fitting formula.