Method and device for determining pulse width of write-in voltage of MRAM (Magnetic Random Access Memory) chip

By obtaining environmental parameters in real time, adjusting the write voltage pulse width of the MRAM chip, the problem of performance degradation and high write error rate caused by external environment interference is solved, and the number of erasable times and performance of the chip is improved.

CN119068934APending Publication Date: 2024-12-03ZHEJIANG HIKSTOR TECHOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310635370.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Due to the interference of the external environment, the performance of existing MRAM chips is poor, the write error rate is high, and the existing magnetic shielding method is expensive and complex to operate. Turning off the chip will reduce performance.

Method used

By obtaining the current write pulse width and environmental parameters within a predetermined time period, determine the target write pulse width, adjust the chip's write voltage pulse width to adapt to environmental changes, dynamically adjust to reduce the write error rate and extend the number of erasable times .

Benefits of technology

It effectively reduces the impact of the external environment on the write error rate and number of erasable times of the MRAM chip, improves the chip performance, avoids performance degradation caused by environmental interference, and realizes real-time parameter adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119068934A_ABST
    Figure CN119068934A_ABST
Patent Text Reader

Abstract

The invention provides a pulse width determination method and a pulse width determination device for write-in voltage of an MRAM (Magnetic Random Access Memory) chip. The method comprises the steps that firstly, the current write-in pulse width and a plurality of preset parameters in a preset time period are obtained, the preset parameters form a preset parameter set, the preset parameters are used for representing parameters of the environment where the chip is located, and the current write-in pulse width is the current actual pulse width of the chip; then, according to the preset parameter set and the current write-in pulse width, determining a target write-in pulse width which is a pulse width corresponding to the write-in voltage of the chip; and finally, sending the target write-in pulse width to the chip, so that the chip controls the actual pulse width of the write-in voltage to be the target write-in pulse width. According to the embodiment of the invention, the target write-in pulse width is determined through the plurality of preset parameters and the current write-in pulse width, so that the current write-in pulse width can be determined according to the acquired environment parameters, the problem that the MRAM is poor in performance due to interference of an external environment in the prior art is solved, and the performance of an MRAM chip is ensured to be good.
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 determining a pulse width of a write voltage of an MRAM chip, a determination device thereof, a computer-readable storage medium, and a write circuit of the MRAM chip. Background Art

[0002] Spin transfer torque magnetic random access memory (STT-MRAM) is a new type of non-volatile memory with high-speed reading and writing capabilities and the ability to achieve unlimited erasing and writing.

[0003] STT-MRAM is mainly composed of magnetic films, and its stability will be disturbed by external factors such as magnetic field and temperature. In order to allow MRAM products to operate in the presence of external magnetic fields, magnetic shielding and chip shutdown solutions have been proposed. However, magnetic shielding is expensive and complicated to operate, and chip shutdown will reduce chip performance.

[0004] Therefore, there is an urgent need for a method to increase the life span or the number of times a chip can be erased and written (Endurance) while reducing the Word Error Rate (WER) at the same time. Summary of the invention

[0005] The main purpose of the present application is to provide a method for determining the pulse width of a write voltage of an MRAM chip, a determination device thereof, a computer-readable storage medium, and a write circuit of an MRAM chip, so as to at least solve the problem in the prior art that the MRAM has poor performance due to interference from the external environment.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for determining the pulse width of the write voltage of an MRAM chip is provided, the method comprising: obtaining a current write pulse width and a plurality of predetermined parameters within a predetermined time period, the plurality of predetermined parameters forming a predetermined parameter group, the predetermined parameters being used to characterize the environmental parameters of the chip, the current write pulse width being the actual pulse width of the chip at present; determining a target write pulse width according to the predetermined parameter group and the current write pulse width, the target write pulse width being the pulse width corresponding to the write voltage of the chip; and sending the target write pulse width to the chip so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

[0007] Optionally, the multiple predetermined parameters in the predetermined parameter group are arranged in order of acquisition time, and the target write pulse width is determined according to the predetermined parameter group and the current write pulse width, including: calculating the change rate of every two adjacent predetermined parameters in the predetermined parameter group to obtain a change rate group, and determining that the maximum value in the change rate group is a first value; when the first value is greater than a first predetermined value, determining that the chip is located in a dynamic environment, and when the first value is not greater than the first predetermined value, determining that the chip is located in a static environment; when the chip is located in the dynamic environment, determining the target write pulse width according to a predetermined change rate and the current write pulse width, the predetermined change rate being the change rate of the corresponding time in the change rate group that is closest to the current moment; when the chip is located in the static environment, calculating the average value of the multiple predetermined parameters in the predetermined parameter group to obtain a second value, and determining the target write pulse width according to the second value and the current write pulse width.

[0008] Optionally, the target write pulse width is determined based on the second numerical value and the current write pulse width, including: determining whether the second numerical value is less than a second predetermined value; when the second numerical value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; when the second numerical value is not less than the second predetermined value, determining a first pulse width change value based on the second numerical value, the first pulse width change value being proportional to the second numerical value; and calculating the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width.

[0009] Optionally, the target write pulse width is determined based on a predetermined change rate and the current write pulse width, including: determining a second pulse width change value based on the predetermined change rate, the second pulse width change value being proportional to the predetermined change rate; and calculating the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width.

[0010] Optionally, after acquiring a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further comprises: saving the predetermined parameter group.

[0011] Optionally, the predetermined parameter includes one of a magnetic field and a temperature.

[0012] According to another aspect of the present application, a device for determining a pulse width of a write voltage of an MRAM chip is provided, the device comprising an acquisition unit, a determination unit and an issuance unit, wherein the acquisition unit is used to acquire a current write pulse width and a plurality of predetermined parameters within a predetermined time period, the plurality of predetermined parameters constitute a predetermined parameter group, the predetermined parameters are used to characterize the environmental parameters of the chip, the current write pulse width is the actual pulse width of the chip at present; the determination unit is used to determine a target write pulse width according to the predetermined parameter group and the current write pulse width, the target write pulse width is the pulse width corresponding to the write voltage of the chip; the issuance unit is used to issue the target write pulse width to the chip, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for determining the pulse width of the write voltage of the MRAM chip.

[0014] According to another aspect of the present application, a write circuit of an MRAM chip is provided, the write circuit comprising a sensor element, a processor and an MRAM chip, wherein the sensor element is used to collect predetermined parameters, and the predetermined parameters are used to characterize the environmental parameters of the chip; the processor is connected to the sensor element, and the processor is used to execute any one of the methods for determining the pulse width of the write voltage of the MRAM chip; the MRAM chip is connected to the processor, and the MRAM chip is used to receive a target write pulse width, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

[0015] Optionally, the MRAM chip includes a control area and an array area, wherein the control area is used to receive the target write pulse width, and the control area is also used to adjust the actual pulse width of the write voltage of the array area to the target write pulse width.

[0016] Optionally, the sensing element includes one of a magnetic field sensor, a magnetic sensitive element, a temperature sensor and a temperature sensitive element.

[0017] Optionally, the sensor element is located inside the MRAM chip, or the sensor element and the MRAM chip are independently provided.

[0018] By applying the technical solution of the present application, in the method for determining the pulse width of the write voltage of the MRAM chip, first, the current write pulse width and a plurality of predetermined parameters within a predetermined time period are obtained, the plurality of predetermined parameters form a predetermined parameter group, the predetermined parameters are used to characterize the environmental parameters of the chip, and the current write pulse width is the actual pulse width of the chip at present; then, according to the predetermined parameter group and the current write pulse width, the target write pulse width is determined, and the target write pulse width is the pulse width corresponding to the write voltage of the chip; finally, the target write pulse width is sent to the chip, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the method for determining the pulse width of the write voltage of the MRAM chip of the present application determines the target write pulse width by obtaining a plurality of predetermined parameters in real time and the current write pulse width, so that the current write pulse width can be determined according to the environmental parameters obtained in real time, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM in the prior art due to interference from the external environment, and ensuring good performance of the MRAM chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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:

[0020] Figure 1 A hardware structure block diagram of a mobile terminal according to a method for determining a pulse width of a write voltage of an MRAM chip provided in an embodiment of the present application is shown;

[0021] Figure 2 A schematic flow chart of a method for determining a pulse width of a write voltage of an MRAM chip provided in accordance with an embodiment of the present application is shown;

[0022] Figure 3 A flow chart of a method for determining a pulse width of a write voltage of an MRAM chip provided according to an embodiment of the present application is shown;

[0023] Figure 4 A structural block diagram of a device for determining a pulse width of a write voltage of an MRAM chip provided according to an embodiment of the present application is shown;

[0024] Figure 5 A schematic structural diagram of a write circuit of an MRAM chip provided according to an embodiment of the present application is shown;

[0025] Figure 6A structural schematic diagram of a write circuit of another MRAM chip provided according to an embodiment of the present application is shown.

[0026] The above drawings include the following reference numerals:

[0027] 100, sensor element; 102, processor; 104, memory; 106, transmission device; 108, input and output device; 200, processor; 300, MRAM chip; 301, control area; 302, array area. DETAILED DESCRIPTION

[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] As introduced in the background technology, the MRAM in the prior art has the problem of poor performance due to interference from the external environment. To solve the above problem, the embodiments of the present application provide a method for determining the pulse width of the write voltage of an MRAM chip, a determination device thereof, a computer-readable storage medium, and a write circuit of the MRAM chip.

[0032] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0033] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for determining a pulse width of a write voltage of an MRAM chip according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0034] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0035] In this embodiment, a method for determining the pulse width of a write voltage of an MRAM chip running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0036] Figure 2 4 is a flow chart of a method for determining a pulse width of a write voltage of an MRAM chip according to an embodiment of the present application.

[0037] like Figure 2 As shown, the method comprises the following steps:

[0038] Step S201, obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0039] Specifically, the current write pulse width is the actual pulse width of the chip, that is, the actual pulse width value of the write voltage of the chip, and the predetermined parameters are parameters characterizing the chip environment, mainly including magnetic field or temperature.

[0040] Step S202, determining a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0041] Specifically, the target write pulse width is determined according to the magnetic field or temperature of the chip environment.

[0042] Step S203 , sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0043] Specifically, the chip includes a control area and an array area. The target write pulse width is received through the control area, and then the actual pulse width of the array area is controlled by the control area to be the target write pulse width.

[0044] In the above-mentioned method for determining the pulse width of the write voltage of the MRAM chip, first, the current write pulse width and multiple predetermined parameters within a predetermined time period are obtained, the multiple predetermined parameters constitute a predetermined parameter group, the predetermined parameters are used to characterize the environmental parameters of the chip, and the current write pulse width is the actual pulse width of the chip; then, according to the predetermined parameter group and the current write pulse width, the target write pulse width is determined, and the target write pulse width is the pulse width corresponding to the write voltage of the chip; finally, the target write pulse width is sent to the chip, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the method for determining the pulse width of the write voltage of the above-mentioned MRAM chip of the present application determines the target write pulse width by obtaining a plurality of predetermined parameters in real time and the above-mentioned current write pulse width, so that the above-mentioned current write pulse width can be determined according to the environmental parameters obtained in real time, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM in the prior art due to interference from the external environment, and ensuring the good performance of the above-mentioned MRAM chip.

[0045] In the above implementation process, by dynamically adjusting the above target write pulse width of the above chip, the influence of environmental parameters on the chip's erasable and write error rate and other performance can be improved. Specifically, the chip's write voltage pulse width is adjusted in real time according to the environmental parameter group, reducing the influence of the external environment on the MRAM chip's write error rate (WER); according to the changes caused by the environmental parameters, the chip's write voltage pulse width is dynamically adjusted to reduce the influence on the chip's erasable and write endurance.

[0046] Specifically, considering the thermal excitation factor, each MRAM bit MTJ (Magnetic Tunnel Junctions) has a certain non-flip probability under a fixed write voltage, resulting in a write error rate (WER), that is, an error occurs during the chip writing process. When there is a magnetic field around the chip, the flipping process of the MTJ free layer or the direction of the magnetization intensity of the reference layer is disturbed, resulting in an increase in the chip error rate. And under the action of the magnetic field, the distribution of the flip probability of the MTJ becomes wider over time. Therefore, by increasing the pulse width of the write voltage, the flip probability can be effectively increased, thereby reducing the write error rate. The present application obtains the above-mentioned predetermined parameters corresponding to the environmental parameters to judge the changes in the external environment of the chip, and determines the impact of these changes on the WER through logical operations, so as to adjust the write voltage pulse width of the chip according to the result of the operation, that is, calculate the above-mentioned target write pulse width, and control the actual write pulse width of the chip to be the above-mentioned target write pulse width to eliminate the impact of external environmental factors on the WER.

[0047] In order to further ensure that the performance of the above-mentioned MRAM chip is good, the multiple above-mentioned predetermined parameters in the above-mentioned predetermined parameter group are arranged in the order of acquisition time, and the above-mentioned step S202 can be implemented by the following steps: step S2021, calculating the change rate of every two adjacent above-mentioned predetermined parameters in the above-mentioned predetermined parameter group to obtain a change rate group, and determining that the maximum value in the above-mentioned change rate group is a first value; step S2022, when the above-mentioned first value is greater than the first predetermined value, determining that the above-mentioned chip is located in a dynamic environment, and when the above-mentioned first value is not greater than the above-mentioned first predetermined value, determining that the above-mentioned chip is located in a static environment; step S2023, when the above-mentioned chip is located in the above-mentioned dynamic environment, determining the above-mentioned target write pulse width according to the predetermined change rate and the above-mentioned current write pulse width, and the above-mentioned predetermined change rate is the above-mentioned change rate in the above-mentioned change rate group whose corresponding time is closest to the current moment; step S2024, when the above-mentioned chip is located in the above-mentioned static environment, calculating the average value of the above-mentioned multiple above-mentioned predetermined parameters in the above-mentioned predetermined parameter group to obtain a second value, and determining the above-mentioned target write pulse width according to the above-mentioned second value and the above-mentioned current write pulse width. By first calculating the above-mentioned change rate group to obtain the change rate of the adjacent above-mentioned predetermined parameters in the above-mentioned predetermined parameters, it is ensured that the above-mentioned change rate group is the change speed of the above-mentioned predetermined parameters over time, and then by judging whether the above-mentioned first numerical value corresponding to the maximum value in the above-mentioned change rate group is greater than the first predetermined value, it is possible to determine whether the above-mentioned chip is located in a static environment or a dynamic environment according to the above-mentioned predetermined parameter group, that is, to determine whether the change of the environmental parameters in the location of the above-mentioned chip is large, and then according to the different environments where the chip is located, the above-mentioned target write pulse width is determined in different ways, which ensures that the above-mentioned target write pulse width is more in line with the environment where the above-mentioned chip is located, ensures that the above-mentioned target write pulse width is more accurate, and ensures that the above-mentioned chip can avoid the problem of poor performance caused by environmental influence in the prior art when the above-mentioned target write pulse width is used, and further ensures that the performance of the above-mentioned chip is better.

[0048] In the above implementation process, when the above-mentioned predetermined parameter group is to sense the magnitude of the magnetic field in different directions in the chip environment at a frequency of 10 Hz, and the above-mentioned predetermined parameter group includes 10 magnetic field strengths, the above-mentioned first value v0 corresponding to the 10 cached magnetic field strength values ​​and the above-mentioned second value H corresponding to the average value are calculated. When the above-mentioned first value is not greater than the above-mentioned first predetermined value v0, it is considered that the current state is in a static magnetic field, otherwise the control method will fail. When the above-mentioned first value is greater than the above-mentioned first predetermined value v0, it is considered that the current state is in a dynamic magnetic field.

[0049] When the above chip is in the above static environment, in order to further ensure that the performance of the above chip is good, the above step S2024 can be implemented through the following steps: Determine whether the above second value is less than a second predetermined value; when the above second value is less than the above second predetermined value, determine that the above current write pulse width is the above target write pulse width; when the above second value is not less than the above second predetermined value, determine a first pulse width change value according to the above second value, and the above first pulse width change value is proportional to the above second value; calculate the sum of the above current write pulse width and the above first pulse width change value to obtain the above target write pulse width. By first determining whether the above second value is less than the above second predetermined value, that is, determining whether the average value of multiple above predetermined parameters is less than the above second predetermined value, and when the above average value is less than the above second predetermined value, determining that the above current write pulse width is the above target write pulse width, that is, when the average value of the above environmental parameters is small, determining that the above current write pulse width is the above target write pulse width, and when the above average value is greater than the above second predetermined value, calculating the above first pulse width change value, and since the above first pulse width change value is proportional to the above second value, that is, the above first pulse width change value is proportional to the average value of the above environmental parameters, therefore, the greater the influence of the environmental parameters, the greater the above second pulse width change value, and then by determining that the sum of the above current write pulse width and the above first pulse width change value is the above target write pulse width, it is ensured that the above target write pulse width is determined in real time according to the influence of the environmental parameters, ensuring that the above chip can effectively improve the performance of the chip by adjusting to the above target write pulse width, and further ensuring that the performance of the chip is good.

[0050] In the above implementation process, when the above chip is in the above static environment, determine whether the above second value H is less than the above second predetermined value. If H is less than or equal to the above second predetermined value k0, maintain the original write pulse width PW0, that is, determine that the above current write pulse width is the above target write pulse width; if k0 < H < k1, increase the pulse width by i, if k n-1 < H < k n , increase the pulse width by n * i. In addition, when the magnetic field strength is too large and H has exceeded k n , this regulation method will fail. Specifically, k0, k1, k n-1 , k n , i, and n, etc. can be determined according to, including but not limited to, model simulation or chip diamagnetic test results.

[0051] In the case where the chip is located in the dynamic environment, in order to further ensure that the performance of the chip is good, the step S2023 can be implemented by the following steps: according to the predetermined change rate, determine the second pulse width change value, the second pulse width change value is proportional to the predetermined change rate; calculate the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width. By determining the second pulse width change value proportional to the predetermined change rate, when the chip is located in the dynamic environment, the second pulse width change value is determined according to the most recent environmental parameters of the chip, which ensures that the accuracy of the second pulse width change value is high, thereby ensuring that the target write pulse width obtained by calculating the sum of the second pulse width change value and the current write pulse width is high, ensuring that the chip can effectively improve the performance of the chip in a dynamic environment by adjusting to the target write pulse width, and further ensuring that the performance of the chip is good.

[0052] In the above implementation process, when the above chip is located in the above dynamic environment, it is determined whether the current magnetic field change rate, that is, the above predetermined change rate v is greater than v1. If the above predetermined change rate v is less than or equal to v1, the second pulse width change value is increased at a speed of q1 times over time; correspondingly, if v n-1 <v<v n The second pulse width changes with time at q n When the magnetic field changes too fast, that is, the above-mentioned predetermined rate of change exceeds v n , this control method will fail. Specifically, v1, v n-1 、v n , q1 and q n The above-mentioned second pulse width change value is larger when the above-mentioned predetermined change rate is larger.

[0053] In some embodiments, after the above step S201, the above method further comprises the following steps: Step S204, saving the above predetermined parameter group. By saving the above predetermined parameter group, the above target write pulse width can be analyzed according to the longer predetermined parameter in the subsequent use process.

[0054] In the specific implementation process, the predetermined parameter includes one of a magnetic field and a temperature. Since the predetermined parameter includes the magnetic field or the temperature, the target write pulse width can solve the influence of the magnetic field or the temperature on the chip performance, further ensuring the good performance of the chip.

[0055] Of course, the above-mentioned predetermined parameters are not limited to the above-mentioned magnetic field or temperature, and may also be other environmental parameters that may affect the performance of the chip. The specific environmental parameters may be determined according to the specific environment in which the chip is located.

[0056] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for determining the pulse width of the write voltage of the MRAM chip of the present application will be described in detail below in combination with specific embodiments.

[0057] This embodiment relates to a specific method for determining the pulse width of the write voltage of an MRAM chip. Figure 3 As shown, the following steps are included:

[0058] Step S1: obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0059] Step S2: calculating the change rate of every two adjacent predetermined parameters in the predetermined parameter group to obtain a change rate group, and determining the maximum value in the change rate group as the first value;

[0060] Step S3: Determine whether the first value is greater than a first predetermined value;

[0061] Step S4: when the first value is greater than a first predetermined value, determining that the chip is located in a dynamic environment;

[0062] Step S5: when the first value is not greater than the first predetermined value, determining that the chip is located in a static environment;

[0063] Step S6: when the chip is located in the dynamic environment, determining a second pulse width change value according to the predetermined change rate, wherein the second pulse width change value is proportional to the predetermined change rate;

[0064] Step S7: Calculate the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width;

[0065] Step S8: when the chip is located in the static environment, calculating an average value of a plurality of the predetermined parameters in the predetermined parameter group to obtain a second value;

[0066] Step S9: Determine whether the second value is less than a second predetermined value;

[0067] Step S10: when the second value is less than the second predetermined value, determining the current write pulse width as the target write pulse width;

[0068] Step S11: when the second value is not less than the second predetermined value, determining a first pulse width variation value according to the second value, wherein the first pulse width variation value is proportional to the second value;

[0069] Step S12: Calculate the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width;

[0070] Step S13: sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0071] The embodiment of the present application also provides a device for determining the pulse width of the write voltage of an MRAM chip. It should be noted that the device for determining the pulse width of the write voltage of the MRAM chip of the embodiment of the present application can be used to execute the pulse width determination method for the write voltage of the MRAM chip provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0072] The following is an introduction to the device for determining the pulse width of the write voltage of the MRAM chip provided in the embodiment of the present application.

[0073] Figure 4 Schematic diagram of a device for determining the pulse width of a write voltage of an MRAM chip according to an embodiment of the present application. Figure 4 As shown, the device includes an acquisition unit 10, a determination unit 20 and an issuance unit 30, wherein:

[0074] The acquisition unit 10 is used to acquire the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of predetermined parameters constitute a predetermined parameter group, and the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0075] Specifically, the current write pulse width is the actual pulse width of the chip, that is, the actual pulse width value of the write voltage of the chip, and the predetermined parameters are parameters characterizing the chip environment, mainly including magnetic field or temperature.

[0076] The determination unit 20 is used to determine a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0077] Specifically, the target write pulse width is determined according to the magnetic field or temperature of the chip environment.

[0078] The issuing unit 30 is used to issue the target write pulse width to the chip, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

[0079] Specifically, the chip includes a control area and an array area. The target write pulse width is received through the control area, and then the actual pulse width of the array area is controlled by the control area to be the target write pulse width.

[0080] In the above-mentioned device for determining the pulse width of the write voltage of the MRAM chip, the current write pulse width and a plurality of predetermined parameters within a predetermined time period are obtained by the above-mentioned acquisition unit, the plurality of the above-mentioned predetermined parameters constitute a predetermined parameter group, the above-mentioned predetermined parameters are used to characterize the environmental parameters of the chip, and the above-mentioned current write pulse width is the current actual pulse width of the above-mentioned chip; the above-mentioned determination unit determines the target write pulse width according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, and the above-mentioned target write pulse width is the pulse width corresponding to the write voltage of the above-mentioned chip; the above-mentioned sending unit sends the above-mentioned target write pulse width to the above-mentioned chip, so that the actual pulse width of the write voltage controlled by the above-mentioned chip is the above-mentioned target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the pulse width determination device of the write voltage of the MRAM chip of the present application determines the target write pulse width by obtaining a plurality of predetermined parameters in real time and the current write pulse width, so that the current write pulse width can be determined according to the environmental parameters obtained in real time, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM in the prior art due to interference from the external environment, and ensuring the good performance of the MRAM chip.

[0081] In the above implementation process, by dynamically adjusting the above target write pulse width of the above chip, the influence of environmental parameters on the chip's erasable and write error rate and other performance can be improved. Specifically, the chip's write voltage pulse width is adjusted in real time according to the environmental parameter group, reducing the influence of the external environment on the MRAM chip's write error rate (WER); according to the changes caused by the environmental parameters, the chip's write voltage pulse width is dynamically adjusted to reduce the influence on the chip's erasable and write endurance.

[0082] Specifically, considering the thermal excitation factor, each MRAM bit MTJ (Magnetic Tunnel Junctions) has a certain non-flip probability under a fixed write voltage, resulting in a write error rate (WER), that is, an error occurs during the chip writing process. When there is a magnetic field around the chip, the flipping process of the MTJ free layer or the direction of the magnetization intensity of the reference layer is disturbed, resulting in an increase in the chip error rate. And under the action of the magnetic field, the distribution of the flip probability of the MTJ becomes wider over time. Therefore, by increasing the pulse width of the write voltage, the flip probability can be effectively increased, thereby reducing the write error rate. The present application obtains the above-mentioned predetermined parameters corresponding to the environmental parameters to judge the changes in the external environment of the chip, and determines the impact of these changes on the WER through logical operations, so as to adjust the write voltage pulse width of the chip according to the result of the operation, that is, calculate the above-mentioned target write pulse width, and control the actual write pulse width of the chip to be the above-mentioned target write pulse width to eliminate the impact of external environmental factors on the WER.

[0083] In order to further ensure that the performance of the MRAM chip is good, the determination unit includes a calculation module, a first determination module, a second determination module and a third determination module, wherein the calculation module is used to calculate the change rate of every two adjacent predetermined parameters in the predetermined parameter group to obtain a change rate group, and determine that the maximum value in the change rate group is the first value; the first determination module is used to determine that the chip is located in a dynamic environment when the first value is greater than the first predetermined value, and to determine that the chip is located in a static environment when the first value is not greater than the first predetermined value; the second determination module is used to determine the target write pulse width according to the predetermined change rate and the current write pulse width when the chip is located in the dynamic environment, and the predetermined change rate is the change rate of the corresponding time in the change rate group closest to the current moment; the third determination module is used to calculate the average value of multiple predetermined parameters in the predetermined parameter group when the chip is located in the static environment to obtain a second value, and determine the target write pulse width according to the second value and the current write pulse width. By first calculating the above-mentioned change rate group to obtain the change rate of the adjacent above-mentioned predetermined parameters in the above-mentioned predetermined parameters, it is ensured that the above-mentioned change rate group is the change speed of the above-mentioned predetermined parameters over time, and then by judging whether the above-mentioned first numerical value corresponding to the maximum value in the above-mentioned change rate group is greater than the first predetermined value, it is possible to determine whether the above-mentioned chip is located in a static environment or a dynamic environment according to the above-mentioned predetermined parameter group, that is, to determine whether the change of the environmental parameters in the location of the above-mentioned chip is large, and then according to the different environments where the chip is located, the above-mentioned target write pulse width is determined in different ways, which ensures that the above-mentioned target write pulse width is more in line with the environment where the above-mentioned chip is located, ensures that the above-mentioned target write pulse width is more accurate, and ensures that the above-mentioned chip can avoid the problem of poor performance caused by environmental influence in the prior art when the above-mentioned target write pulse width is used, and further ensures that the performance of the above-mentioned chip is better.

[0084] In the above implementation process, when the above-mentioned predetermined parameter group is to sense the magnitude of the magnetic field in different directions in the chip environment at a frequency of 10 Hz, and the above-mentioned predetermined parameter group includes 10 magnetic field strengths, the above-mentioned first value v0 corresponding to the 10 cached magnetic field strength values ​​and the above-mentioned second value H corresponding to the average value are calculated. When the above-mentioned first value is not greater than the above-mentioned first predetermined value v0, it is considered that the current state is in a static magnetic field, otherwise the control method will fail. When the above-mentioned first value is greater than the above-mentioned first predetermined value v0, it is considered that the current state is in a dynamic magnetic field.

[0085] When the above chip is in the above static environment, in order to further ensure better performance of the above chip, the above third determination module includes a first determination sub-module, a second determination sub-module, a third determination sub-module, and a first calculation sub-module. Among them, the above first determination sub-module is used to determine whether the above second value is less than a second predetermined value; the above second determination sub-module is used to determine that the above current write pulse width is the above target write pulse width when the above second value is less than the above second predetermined value; the above third determination sub-module is used to determine a first pulse width change value according to the above second value when the above second value is not less than the above second predetermined value, and the above first pulse width change value is proportional to the above second value; the above first calculation sub-module is used to calculate the sum of the above current write pulse width and the above first pulse width change value to obtain the above target write pulse width. By first determining whether the above second value is less than the above second predetermined value, that is, determining whether the average value of multiple above predetermined parameters is less than the above second predetermined value, and when the above average value is less than the above second predetermined value, determining that the above current write pulse width is the above target write pulse width, that is, when the average value of the above environmental parameters is small, determining that the above current write pulse width is the above target write pulse width, and when the above average value is greater than the above second predetermined value, calculating the above first pulse width change value, and since the above first pulse width change value is proportional to the above second value, that is, the above first pulse width change value is proportional to the average value of the above environmental parameters, therefore, the greater the influence of the environmental parameters, the greater the above second pulse width change value, and then by determining that the sum of the above current write pulse width and the above first pulse width change value is the above target write pulse width, it is ensured that the above target write pulse width is determined in real time according to the influence of the environmental parameters, ensuring that the above chip can effectively improve the performance of the chip by adjusting to the above target write pulse width, and further ensuring better performance of the chip.

[0086] In the above implementation process, when the above chip is in the above static environment, it is judged whether the above second value H is less than the above second predetermined value. If H is less than or equal to the above second predetermined value k0, the original write pulse width PW0 is maintained, that is, it is determined that the above current write pulse width is the above target write pulse width; if k0 < H < k1, the pulse width is increased by i, if k n-1 < H < k n , the pulse width is increased by n * i. In addition, when the magnetic field strength is too large and H has exceeded k n , this regulation method will fail. Specifically, k0, k1, k n-1 , k n , i, and n, etc. can be determined according to, including but not limited to, model simulation or chip diamagnetic test results.

[0087] In the case where the chip is located in the dynamic environment, in order to further ensure that the performance of the chip is good, the second determination module includes a fourth determination submodule and a second calculation submodule, wherein the fourth determination submodule is used to determine the second pulse width change value according to the predetermined change rate, and the second pulse width change value is proportional to the predetermined change rate; the second calculation submodule is used to calculate the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width. By determining the second pulse width change value proportional to the predetermined change rate, when the chip is located in the dynamic environment, the second pulse width change value is determined according to the most recent environmental parameters of the chip, ensuring that the accuracy of the second pulse width change value is high, thereby ensuring that the target write pulse width obtained by calculating the sum of the second pulse width change value and the current write pulse width is high, ensuring that the chip can effectively improve the performance of the chip in a dynamic environment by adjusting to the target write pulse width, and further ensuring that the performance of the chip is good.

[0088] In the above implementation process, when the above chip is located in the above dynamic environment, it is determined whether the current magnetic field change rate, that is, the above predetermined change rate v is greater than v1. If the above predetermined change rate v is less than or equal to v1, the second pulse width change value is increased at a speed of q1 times over time; correspondingly, if v n-1 <v<v n The second pulse width changes with time at q n When the magnetic field changes too fast, that is, the above-mentioned predetermined rate of change exceeds v n , this control method will fail. Specifically, v1, v n-1 、v n , q1 and q n The above-mentioned second pulse width change value is larger when the above-mentioned predetermined change rate is larger.

[0089] In some embodiments, the device further comprises a storage unit, which is used to store the predetermined parameter group after the acquisition unit. By storing the predetermined parameter group, the target write pulse width can be analyzed according to the longer predetermined parameter in subsequent use.

[0090] In the specific implementation process, the predetermined parameter includes one of a magnetic field and a temperature. Since the predetermined parameter includes the magnetic field or the temperature, the target write pulse width can solve the influence of the magnetic field or the temperature on the chip performance, further ensuring the good performance of the chip.

[0091] Of course, the above-mentioned predetermined parameters are not limited to the above-mentioned magnetic field or temperature, and may also be other environmental parameters that may affect the performance of the chip. The specific environmental parameters may be determined according to the specific environment in which the chip is located.

[0092] The pulse width determination device of the write voltage of the MRAM chip includes a processor and a memory, and the acquisition unit, the determination unit, and the issuing unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.

[0093] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and the problem of poor performance of MRAM in the prior art due to interference from the external environment can be solved by adjusting the core parameters.

[0094] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0095] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for determining the pulse width of the write voltage of the MRAM chip.

[0096] Specifically, the method for determining the pulse width of the write voltage of the MRAM chip includes:

[0097] Step S201, obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0098] Specifically, the current write pulse width is the actual pulse width of the chip, that is, the actual pulse width value of the write voltage of the chip, and the predetermined parameters are parameters characterizing the chip environment, mainly including magnetic field or temperature.

[0099] Step S202, determining a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0100] Specifically, the target write pulse width is determined according to the magnetic field or temperature of the chip environment.

[0101] Step S203 , sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0102] Specifically, the chip includes a control area and an array area. The target write pulse width is received through the control area, and then the actual pulse width of the array area is controlled by the control area to be the target write pulse width.

[0103] Optionally, the multiple predetermined parameters in the above-mentioned predetermined parameter group are arranged in the order of acquisition time, and the target write pulse width is determined according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, including: calculating the change rate of every two adjacent predetermined parameters in the above-mentioned predetermined parameter group to obtain a change rate group, and determining the maximum value in the above-mentioned change rate group as the first value; when the above-mentioned first value is greater than the first predetermined value, determining that the above-mentioned chip is located in a dynamic environment, and when the above-mentioned first value is not greater than the above-mentioned first predetermined value, determining that the above-mentioned chip is located in a static environment; when the above-mentioned chip is located in the above-mentioned dynamic environment, determining the above-mentioned target write pulse width according to the predetermined change rate and the above-mentioned current write pulse width, the above-mentioned predetermined change rate is the above-mentioned change rate in the above-mentioned change rate group whose corresponding time is closest to the current moment; when the above-mentioned chip is located in the above-mentioned static environment, calculating the average value of the multiple predetermined parameters in the above-mentioned predetermined parameter group to obtain a second value, and determining the above-mentioned target write pulse width according to the above-mentioned second value and the above-mentioned current write pulse width.

[0104] Optionally, the target write pulse width is determined based on the second numerical value and the current write pulse width, including: determining whether the second numerical value is less than a second predetermined value; when the second numerical value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; when the second numerical value is not less than the second predetermined value, determining a first pulse width change value based on the second numerical value, the first pulse width change value being proportional to the second numerical value; and calculating the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width.

[0105] Optionally, the target write pulse width is determined based on a predetermined change rate and the current write pulse width, including: determining a second pulse width change value based on the predetermined change rate, the second pulse width change value being proportional to the predetermined change rate; calculating the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width.

[0106] Optionally, after acquiring a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further comprises: saving the predetermined parameter group.

[0107] Optionally, the predetermined parameter includes one of a magnetic field and a temperature.

[0108] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the program executes the method for determining the pulse width of the write voltage of the MRAM chip when running.

[0109] Specifically, the method for determining the pulse width of the write voltage of the MRAM chip includes:

[0110] Step S201, obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0111] Specifically, the current write pulse width is the actual pulse width of the chip, that is, the actual pulse width value of the write voltage of the chip, and the predetermined parameters are parameters characterizing the chip environment, mainly including magnetic field or temperature.

[0112] Step S202, determining a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0113] Specifically, the target write pulse width is determined according to the magnetic field or temperature of the chip environment.

[0114] Step S203 , sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0115] Specifically, the chip includes a control area and an array area. The target write pulse width is received through the control area, and then the actual pulse width of the array area is controlled by the control area to be the target write pulse width.

[0116] Optionally, the multiple predetermined parameters in the above-mentioned predetermined parameter group are arranged in the order of acquisition time, and the target write pulse width is determined according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, including: calculating the change rate of every two adjacent predetermined parameters in the above-mentioned predetermined parameter group to obtain a change rate group, and determining the maximum value in the above-mentioned change rate group as the first value; when the above-mentioned first value is greater than the first predetermined value, determining that the above-mentioned chip is located in a dynamic environment, and when the above-mentioned first value is not greater than the above-mentioned first predetermined value, determining that the above-mentioned chip is located in a static environment; when the above-mentioned chip is located in the above-mentioned dynamic environment, determining the above-mentioned target write pulse width according to the predetermined change rate and the above-mentioned current write pulse width, the above-mentioned predetermined change rate is the above-mentioned change rate in the above-mentioned change rate group whose corresponding time is closest to the current moment; when the above-mentioned chip is located in the above-mentioned static environment, calculating the average value of the multiple predetermined parameters in the above-mentioned predetermined parameter group to obtain a second value, and determining the above-mentioned target write pulse width according to the above-mentioned second value and the above-mentioned current write pulse width.

[0117] Optionally, the target write pulse width is determined based on the second numerical value and the current write pulse width, including: determining whether the second numerical value is less than a second predetermined value; when the second numerical value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; when the second numerical value is not less than the second predetermined value, determining a first pulse width change value based on the second numerical value, the first pulse width change value being proportional to the second numerical value; and calculating the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width.

[0118] Optionally, the target write pulse width is determined based on a predetermined change rate and the current write pulse width, including: determining a second pulse width change value based on the predetermined change rate, the second pulse width change value being proportional to the predetermined change rate; calculating the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width.

[0119] Optionally, after acquiring a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further comprises: saving the predetermined parameter group.

[0120] Optionally, the predetermined parameter includes one of a magnetic field and a temperature.

[0121] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0122] Step S201, obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0123] Step S202, determining a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0124] Step S203 , sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0125] Optionally, the multiple predetermined parameters in the above-mentioned predetermined parameter group are arranged in the order of acquisition time, and the target write pulse width is determined according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, including: calculating the change rate of every two adjacent predetermined parameters in the above-mentioned predetermined parameter group to obtain a change rate group, and determining the maximum value in the above-mentioned change rate group as the first value; when the above-mentioned first value is greater than the first predetermined value, determining that the above-mentioned chip is located in a dynamic environment, and when the above-mentioned first value is not greater than the above-mentioned first predetermined value, determining that the above-mentioned chip is located in a static environment; when the above-mentioned chip is located in the above-mentioned dynamic environment, determining the above-mentioned target write pulse width according to the predetermined change rate and the above-mentioned current write pulse width, the above-mentioned predetermined change rate is the above-mentioned change rate in the above-mentioned change rate group whose corresponding time is closest to the current moment; when the above-mentioned chip is located in the above-mentioned static environment, calculating the average value of the multiple predetermined parameters in the above-mentioned predetermined parameter group to obtain a second value, and determining the above-mentioned target write pulse width according to the above-mentioned second value and the above-mentioned current write pulse width.

[0126] Optionally, the target write pulse width is determined based on the second numerical value and the current write pulse width, including: determining whether the second numerical value is less than a second predetermined value; when the second numerical value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; when the second numerical value is not less than the second predetermined value, determining a first pulse width change value based on the second numerical value, the first pulse width change value being proportional to the second numerical value; and calculating the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width.

[0127] Optionally, the target write pulse width is determined based on a predetermined change rate and the current write pulse width, including: determining a second pulse width change value based on the predetermined change rate, the second pulse width change value being proportional to the predetermined change rate; calculating the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width.

[0128] Optionally, after acquiring a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further comprises: saving the predetermined parameter group.

[0129] Optionally, the predetermined parameter includes one of a magnetic field and a temperature.

[0130] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0131] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0132] Step S201, obtaining the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of the predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present;

[0133] Step S202, determining a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to the write voltage of the chip;

[0134] Step S203 , sending the target write pulse width to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

[0135] Optionally, the multiple predetermined parameters in the above-mentioned predetermined parameter group are arranged in the order of acquisition time, and the target write pulse width is determined according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, including: calculating the change rate of every two adjacent predetermined parameters in the above-mentioned predetermined parameter group to obtain a change rate group, and determining the maximum value in the above-mentioned change rate group as the first value; when the above-mentioned first value is greater than the first predetermined value, determining that the above-mentioned chip is located in a dynamic environment, and when the above-mentioned first value is not greater than the above-mentioned first predetermined value, determining that the above-mentioned chip is located in a static environment; when the above-mentioned chip is located in the above-mentioned dynamic environment, determining the above-mentioned target write pulse width according to the predetermined change rate and the above-mentioned current write pulse width, the above-mentioned predetermined change rate is the above-mentioned change rate in the above-mentioned change rate group whose corresponding time is closest to the current moment; when the above-mentioned chip is located in the above-mentioned static environment, calculating the average value of the multiple predetermined parameters in the above-mentioned predetermined parameter group to obtain a second value, and determining the above-mentioned target write pulse width according to the above-mentioned second value and the above-mentioned current write pulse width.

[0136] Optionally, the target write pulse width is determined based on the second numerical value and the current write pulse width, including: determining whether the second numerical value is less than a second predetermined value; when the second numerical value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; when the second numerical value is not less than the second predetermined value, determining a first pulse width change value based on the second numerical value, the first pulse width change value being proportional to the second numerical value; and calculating the sum of the current write pulse width and the first pulse width change value to obtain the target write pulse width.

[0137] Optionally, the target write pulse width is determined based on a predetermined change rate and the current write pulse width, including: determining a second pulse width change value based on the predetermined change rate, the second pulse width change value being proportional to the predetermined change rate; calculating the sum of the current write pulse width and the second pulse width change value to obtain the target write pulse width.

[0138] Optionally, after acquiring a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further comprises: saving the predetermined parameter group.

[0139] Optionally, the predetermined parameter includes one of a magnetic field and a temperature.

[0140] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0141] According to another embodiment of the present application, a write circuit of an MRAM chip is also provided, such as Figure 5 as well as Figure 6As shown, the write circuit includes a sensor element 100, a processor 200 and an MRAM chip 300, wherein the sensor element 100 is used to collect predetermined parameters, and the predetermined parameters are used to characterize the environmental parameters of the chip; the processor 200 is connected to the sensor element 100, and the processor 200 is used to execute any of the above-mentioned methods for determining the pulse width of the write voltage of the MRAM chip; the MRAM chip 300 is connected to the processor 200, and the MRAM chip 300 is used to receive the target write pulse width, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

[0142] The write circuit of the MRAM chip includes a sensor element, a processor and an MRAM chip, wherein the sensor element is used to collect predetermined parameters, and the predetermined parameters are used to characterize the environmental parameters of the chip; the processor is connected to the sensor element, and the processor is used to execute any of the above-mentioned methods for determining the pulse width of the write voltage of the MRAM chip; the MRAM chip is connected to the processor, and the MRAM chip is used to receive the target write pulse width, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width. Compared with the problem that the MRAM in the prior art has poor performance due to interference from the external environment, the write circuit of the MRAM chip of the present application, by setting the sensor element and the processor, can obtain multiple predetermined parameters and the current write pulse width in real time through the sensor element, and then determine the target write pulse width through the processor, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem that the MRAM in the prior art has poor performance due to interference from the external environment, and ensuring the good performance of the MRAM chip.

[0143] Specifically, through an independent or embedded sensor element and the processor, the sensor element can be used to feed back changes in external environmental factors applied to the MRAM chip, and the processor can then convert the environmental parameters sensed by the sensor element into electrical signals and record them to obtain the predetermined parameter group, and further calculations are performed to obtain the corresponding target write pulse width under this environment.

[0144] In the specific implementation process, Figure 5 as well as Figure 6 As shown, the MRAM chip 300 includes a control area 301 and an array area 302, wherein the control area 301 is used to receive the target write pulse width; the control area 301 is also used to adjust the actual pulse width of the write voltage of the array area 302 to the target write pulse width.

[0145] During the above implementation process, the target write pulse width sent by the processor is received by the control area of ​​the chip, and the write voltage pulse width of the write driver of the array area is switched to the target write pulse width, so that the array area of ​​the chip reduces the WER due to the change of the write voltage or pulse width, thereby further ensuring the good performance of the chip.

[0146] In some embodiments, the sensing element includes one of a magnetic field sensor, a magnetic sensitive element, a temperature sensor, and a temperature sensitive element.

[0147] In the specific implementation process, the sensor element is located inside the MRAM chip, or the sensor element and the MRAM chip are independently provided. The sensor element can be located inside or outside the chip, which can be determined according to actual conditions.

[0148] In the above implementation process, Figure 5 FIG. 1 shows a schematic diagram of a structure in which the sensor element 100 and the processor 200 are independently arranged outside the MRAM chip. Figure 6 A schematic diagram of the structure in which the sensor element 100 and the processor 200 are embedded in the MRAM chip.

[0149] Specifically, when the sensor element and the processor are located in the MRAM chip and the predetermined parameter is a magnetic field, Figure 6 As shown, the internal circuit of the MRAM chip 300 is composed of the sensor element 100, that is, the magnetic field sensing area (consisting of 1000 bits), the processor 200, the control area 301 and the array area 302; the storage unit of the sensor element 100 is the same as the array area 302 of the MRAM chip 300. However, compared with the MTJ in the array area 302, the MTJ oxide layer of the sensor element 100 is thicker to ensure a higher number of erasable times. In addition, the free layer of the sensor element 100 is thinner and has weaker perpendicular anisotropy to ensure that it is more sensitive to changes in the magnetic field. When the array area 302 is written, each bit of the sensor element 100 is first written and read. The sensor element 100 caches the bit rate of read and write fail at that moment, and calculates the required increase in the write voltage pulse width based on the bit rate, that is, calculates the first pulse width change value or the second pulse width change value. The control area 301 of the chip receives the signal output by the processor 200, that is, the target write pulse width, and uses the delay circuit to change the write voltage pulse width of the array area 302.

[0150] In addition, when the sensor element and the processor are independent of the MRAM chip and the predetermined parameter is a magnetic field, Figure 5As shown, the circuit includes a sensor element 100, i.e., a magnetic field sensor (consisting of a TMR sensor and a Hall sensor), a processor 200 and an MRAM chip 300; the sensor element 100 senses the magnitude of magnetic fields in different directions in the chip's surrounding environment at a frequency of 10 Hz; the sensor element 100 transmits the real-time magnetic field strength to the processor 200, and the work of the processor 200 is divided into two steps, including data caching and calculation. Among them, the caching includes the processor 200 caching the magnetic field strength sensed by the sensor element 100 within 1 second, and the calculation includes the processor 200 reading the cached data for calculation after 1 second to determine the pulse width of the corresponding write voltage under the current magnetic field strength, i.e., the target write pulse width. There is an interface between the processor 200 and the MRAM chip 300, and the control area 301 of the chip receives the output signal of the processor 200 and uses the delay circuit to change the write voltage pulse width of the array area 302.

[0151] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0152] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0155] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0156] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0157] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0158] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

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

[0160] 1) In the method for determining the pulse width of the write voltage of the above-mentioned MRAM chip of the present application, first, the current write pulse width and multiple predetermined parameters within a predetermined time period are obtained, and the multiple predetermined parameters constitute a predetermined parameter group, and the predetermined parameters are used to characterize the environmental parameters of the chip, and the current write pulse width is the actual pulse width of the above-mentioned chip; then, according to the predetermined parameter group and the current write pulse width, the target write pulse width is determined, and the target write pulse width is the pulse width corresponding to the write voltage of the above-mentioned chip; finally, the target write pulse width is sent to the above-mentioned chip, so that the actual pulse width of the write voltage controlled by the above-mentioned chip is the target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the method for determining the pulse width of the write voltage of the above-mentioned MRAM chip of the present application determines the target write pulse width by obtaining a plurality of predetermined parameters in real time and the above-mentioned current write pulse width, so that the above-mentioned current write pulse width can be determined according to the environmental parameters obtained in real time, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM in the prior art due to interference from the external environment, and ensuring the good performance of the above-mentioned MRAM chip.

[0161] 2) In the pulse width determination device for the write voltage of the above-mentioned MRAM chip of the present application, the current write pulse width and multiple predetermined parameters within a predetermined time period are obtained by the above-mentioned acquisition unit, and the multiple predetermined parameters constitute a predetermined parameter group. The above-mentioned predetermined parameters are used to characterize the environmental parameters of the chip, and the above-mentioned current write pulse width is the current actual pulse width of the above-mentioned chip; the above-mentioned determination unit determines the target write pulse width according to the above-mentioned predetermined parameter group and the above-mentioned current write pulse width, and the above-mentioned target write pulse width is the pulse width corresponding to the write voltage of the above-mentioned chip; the above-mentioned sending unit sends the above-mentioned target write pulse width to the above-mentioned chip, so that the actual pulse width of the write voltage controlled by the above-mentioned chip is the above-mentioned target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the method for determining the pulse width of the write voltage of the above-mentioned MRAM chip of the present application determines the target write pulse width by obtaining a plurality of predetermined parameters in real time and the above-mentioned current write pulse width, so that the above-mentioned current write pulse width can be determined according to the environmental parameters obtained in real time, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM in the prior art due to interference from the external environment, and ensuring the good performance of the above-mentioned MRAM chip.

[0162] 3) The write circuit of the MRAM chip includes a sensor element, a processor and an MRAM chip, wherein the sensor element is used to collect predetermined parameters, and the predetermined parameters are used to characterize the environmental parameters of the chip; the processor is connected to the sensor element, and the processor is used to execute any of the above-mentioned methods for determining the pulse width of the write voltage of the MRAM chip; the MRAM chip is connected to the processor, and the MRAM chip is used to receive the target write pulse width, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width. Compared with the problem of poor performance of MRAM in the prior art due to interference from the external environment, the write circuit of the MRAM chip of the present application, by setting the sensor element and the processor, can obtain multiple predetermined parameters and the current write pulse width in real time through the sensor element, and then determine the target write pulse width through the processor, ensuring that the pulse width of the write voltage of the chip can be adjusted in real time according to the environmental parameters, avoiding the problem of high error rate of writing due to environmental influence in the prior art, solving the problem of poor performance of MRAM due to interference from the external environment in the prior art, and ensuring the good performance of the MRAM chip.

[0163] 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 determining the pulse width of a write voltage of an MRAM chip, It is characterized in that The method comprises: Acquire the current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present; Determine a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to a write voltage of the chip; The target write pulse width is sent to the chip, so that the chip controls the actual pulse width of the write voltage to be the target write pulse width.

2. The method according to claim 1, It is characterized in that Arranging the plurality of predetermined parameters in the predetermined parameter group in the order of acquisition time, and determining the target write pulse width according to the predetermined parameter group and the current write pulse width, comprising: Calculating the change rate of every two adjacent predetermined parameters in the predetermined parameter group to obtain a change rate group, and determining the maximum value in the change rate group as a first value; When the first value is greater than a first predetermined value, it is determined that the chip is located in a dynamic environment; when the first value is not greater than the first predetermined value, it is determined that the chip is located in a static environment; When the chip is in the dynamic environment, determining the target write pulse width according to a predetermined change rate and the current write pulse width, wherein the predetermined change rate is the change rate in the change rate group whose corresponding time is closest to the current moment; When the chip is located in the static environment, an average value of a plurality of the predetermined parameters in the predetermined parameter group is calculated to obtain a second value, and the target write pulse width is determined according to the second value and the current write pulse width.

3. The method according to claim 2, It is characterized in that Determining the target write pulse width according to the second value and the current write pulse width includes: determining whether the second value is less than a second predetermined value; When the second value is less than the second predetermined value, determining the current write pulse width as the target write pulse width; When the second value is not less than the second predetermined value, determining a first pulse width variation value according to the second value, wherein the first pulse width variation value is proportional to the second value; The sum of the current write pulse width and the first pulse width change value is calculated to obtain the target write pulse width.

4. The method according to claim 2, It is characterized in that Determining the target write pulse width according to the predetermined change rate and the current write pulse width includes: Determining a second pulse width change value according to the predetermined change rate, wherein the second pulse width change value is proportional to the predetermined change rate; The sum of the current write pulse width and the second pulse width change value is calculated to obtain the target write pulse width.

5. The method according to claim 1, It is characterized in that After obtaining a plurality of predetermined parameters within a predetermined time period and forming a predetermined parameter group with the plurality of predetermined parameters, the method further includes: The predetermined parameter set is saved.

6. The method according to claim 1, It is characterized in that The predetermined parameter includes one of a magnetic field and a temperature.

7. A device for determining the pulse width of a write voltage of an MRAM chip, It is characterized in that The device comprises: An acquisition unit, used for acquiring a current write pulse width and a plurality of predetermined parameters within a predetermined time period, wherein the plurality of predetermined parameters constitute a predetermined parameter group, wherein the predetermined parameters are used for characterizing the environmental parameters where the chip is located, and the current write pulse width is the actual pulse width of the chip at present; A determination unit, which determines a target write pulse width according to the predetermined parameter group and the current write pulse width, wherein the target write pulse width is a pulse width corresponding to a write voltage of the chip; The issuing unit is used to issue the target write pulse width to the chip, so that the actual pulse width of the write voltage controlled by the chip is the target write pulse width.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for determining the pulse width of the write voltage of the MRAM chip according to any one of claims 1 to 6.

9. A writing circuit for an MRAM chip, It is characterized in that The writing circuit comprises: A sensor element, used to collect predetermined parameters, wherein the predetermined parameters are used to characterize the environmental parameters where the chip is located; A processor connected to the sensor element, the processor being used to execute the method for determining the pulse width of the write voltage of the MRAM chip according to any one of claims 1 to 6; An MRAM chip is connected to the processor, and the MRAM chip is used to receive a target write pulse width, so that the chip controls an actual pulse width of a write voltage to be the target write pulse width.

10. The writing circuit of the MRAM chip according to claim 9, It is characterized in that The MRAM chip comprises: Array area; A control area is used to receive the target write pulse width, and the control area is also used to adjust the actual pulse width of the write voltage in the array area to the target write pulse width.

11. The writing circuit of the MRAM chip according to claim 9, It is characterized in that The sensing element includes one of a magnetic field sensor, a magnetic sensitive element, a temperature sensor and a temperature sensitive element.

12. The writing circuit of the MRAM chip according to claim 9, It is characterized in that The sensor element is located inside the MRAM chip, or the sensor element and the MRAM chip are independently arranged.