[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TWI633319B - Magnetic field sensing apparatus and detection method thereof - Google Patents

Magnetic field sensing apparatus and detection method thereof Download PDF

Info

Publication number
TWI633319B
TWI633319B TW106123158A TW106123158A TWI633319B TW I633319 B TWI633319 B TW I633319B TW 106123158 A TW106123158 A TW 106123158A TW 106123158 A TW106123158 A TW 106123158A TW I633319 B TWI633319 B TW I633319B
Authority
TW
Taiwan
Prior art keywords
magnetic field
field sensing
voltage difference
anisotropic
setting
Prior art date
Application number
TW106123158A
Other languages
Chinese (zh)
Other versions
TW201831918A (en
Inventor
袁輔德
高培鈞
賴孟煌
Original Assignee
愛盛科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 愛盛科技股份有限公司 filed Critical 愛盛科技股份有限公司
Priority to CN201710784912.6A priority Critical patent/CN108469595B/en
Priority to US15/719,586 priority patent/US10436857B2/en
Application granted granted Critical
Publication of TWI633319B publication Critical patent/TWI633319B/en
Publication of TW201831918A publication Critical patent/TW201831918A/en

Links

Landscapes

  • Measuring Magnetic Variables (AREA)

Abstract

磁場感測裝置及感測方法。磁場感測裝置包括異向性磁電阻、電流產生器以及運算器。異向性磁電阻透過磁化方向設定動作,使其在第一磁場感測階段依據受測磁場提供第一電阻值,並且在第二磁場感測階段依據受測磁場提供第二電阻值。電流產生器提供電流依據電流方向以流經異向性磁電阻的兩端。運算器針對第一磁場感測階段以及第二磁場感測階段中,異向性磁電阻依據電流分別產生的第一電壓差以及第二電壓差進行算術運算並藉以產生磁場感測電壓結果。Magnetic field sensing device and sensing method. The magnetic field sensing device includes an anisotropic magnetoresistance, a current generator, and an arithmetic unit. The anisotropic magnetoresistance acts through the magnetization direction to provide a first resistance value according to the measured magnetic field during the first magnetic field sensing phase and a second resistance value according to the measured magnetic field during the second magnetic field sensing phase. The current generator supplies current in accordance with the direction of the current to flow across the ends of the anisotropic magnetoresistance. The operator performs an arithmetic operation on the first magnetic field sensing phase and the second magnetic field sensing phase according to the first voltage difference and the second voltage difference respectively generated by the current and generates a magnetic field sensing voltage result.

Description

磁場感測裝置及感測方法Magnetic field sensing device and sensing method

本發明是有關於一種磁場感測裝置及感測方法,且特別是有關於一種由異向性磁電阻所構成的磁場感測裝置及感測方法。 The present invention relates to a magnetic field sensing device and a sensing method, and more particularly to a magnetic field sensing device and a sensing method composed of an anisotropic magnetoresistance.

磁場感測裝置是提供羅盤和運動跟踪系統的基本裝置。對於諸如智能手機,平板電腦或智能手錶以及商用或工業系統(如無人機)的便攜式系統,磁場感測裝置必須非常精確,封裝尺寸小,在高輸出時非常節能數據速率。這些要求使包括異向性磁電阻(Anisotropic MagnetoResistive,AMR),巨磁電阻(Giant MagnetoResistive,GMR)和隧道磁電阻(Tunneling MagnetoResistive,TMR)感測器在內的磁電阻感測器成為主流。其中異向性磁阻感測器是最早開發的磁電阻技術。雖然異向性磁電阻感測器的靈敏度低於巨磁電阻和隧道磁電阻感測器,但生產成本低,磁滯遲低,雙向磁設定運行模式等優點,仍然具有競爭力。 The magnetic field sensing device is the basic device that provides a compass and motion tracking system. For portable systems such as smartphones, tablets or smart watches, and commercial or industrial systems such as drones, the magnetic field sensing device must be very accurate, with a small package size and a very energy efficient data rate at high output. These requirements have made magnetoresistive sensors including anisotropic magneto-resistance (AMR), giant magneto-resistance (GMR), and tunneling magneto-resistance (TMR) sensors mainstream. Among them, the anisotropic magnetoresistive sensor is the earliest developed magnetoresistance technology. Although the sensitivity of the anisotropic magnetoresistive sensor is lower than that of the giant magnetoresistance and the tunnel magnetoresistive sensor, the production cost is low, the hysteresis is low, and the bidirectional magnetic setting operation mode is still competitive.

在習知技術中,異向性磁電阻感測器以完整的惠斯登電橋(Wheatstone bridge)結構為主。然而,在惠斯登電橋結構的異向性磁電阻感測器中,需要有四個異向性磁阻,如此會增加生產成本以及需要較大的設計布局面積。 In the prior art, the anisotropic magnetoresistive sensor is dominated by a complete Wheatstone bridge structure. However, in an anisotropic magnetoresistive sensor of a Wheatstone bridge structure, four anisotropic magnetoresistances are required, which increases production costs and requires a large design layout area.

本發明提供一種磁場感測裝置及感測方法,可降低生產成本並降低設計布局面積。 The invention provides a magnetic field sensing device and a sensing method, which can reduce production cost and reduce design layout area.

本發明的磁場感測裝置包括異向性磁電阻、電流產生器以及運算器。異向性磁電阻透過磁化方向設定動作,使其在第一磁場感測階段依據受測磁場提供第一電阻值,並且在第二磁場感測階段依據受測磁場提供第二電阻值,第一電阻值與第二電阻值不相同。電流產生器耦接異向性磁電阻,提供電流依據電流方向以流經異向性磁電阻的兩端。運算器具有第一輸入端與第二輸入端分別耦接至異向性磁電阻的兩端,針對第一磁場感測階段以及第二磁場感測階段中,異向性磁電阻依據電流所分別產生的第一電壓差以及第二電壓差進行算術運算,並且藉以產生磁場感測電壓結果。 The magnetic field sensing device of the present invention includes an anisotropic magnetoresistance, a current generator, and an arithmetic unit. The anisotropic magnetoresistance acts through the magnetization direction to provide a first resistance value according to the measured magnetic field during the first magnetic field sensing phase, and provides a second resistance value according to the measured magnetic field during the second magnetic field sensing phase, first The resistance value is different from the second resistance value. The current generator is coupled to the anisotropic magnetoresistance to provide a current according to the direction of the current to flow through both ends of the anisotropic magnetoresistance. The operator has a first input end and a second input end respectively coupled to opposite ends of the anisotropic magnetoresistance. For the first magnetic field sensing phase and the second magnetic field sensing phase, the anisotropic magnetoresistance is respectively determined according to the current The generated first voltage difference and the second voltage difference are arithmetically operated and thereby generate a magnetic field sensing voltage result.

本發明的磁場感測方法包括:提供電流依據電流方向以流經異向性磁電阻的兩端;在第一磁場感測階段透過磁化方向設定動作,使異向性磁電阻依據受測磁場提供第一電阻值,並且依據電流產生第一電壓差;在第二磁場感測階段透過磁化方向設定 動作,使異向性磁電阻依據受測磁場提供第二電阻值,並且依據電流產生第二電壓差;以及依據第一電壓差以及第二電壓差進行算術運算,並藉以產生磁場感測電壓結果。 The magnetic field sensing method of the present invention comprises: providing a current according to a current direction to flow through both ends of the anisotropic magnetoresistance; and setting an action through the magnetization direction in the first magnetic field sensing phase, so that the anisotropic magnetoresistance is provided according to the measured magnetic field a first resistance value, and a first voltage difference is generated according to the current; and a magnetization direction is set in the second magnetic field sensing phase Acting to cause the anisotropic magnetoresistance to provide a second resistance value according to the measured magnetic field, and generating a second voltage difference according to the current; and performing an arithmetic operation according to the first voltage difference and the second voltage difference, thereby generating a magnetic field sensing voltage result .

基於上述,本發明所述的磁場感測裝置是藉由一個異向性磁電阻透過磁化方向設定動作,使其在第一磁場感測階段依據受測磁場提供第一電阻值,運算器依據外加電流以產生第一磁場感測階段的第一電壓差。在第二磁場感測階段依據受測磁場提供第二電阻值,運算器依據外加電流以產生第二磁場感測階段的第二電壓差。並且運算器依據第一電壓差與第二電壓差,產生磁場感測電壓結果。解此可針對磁場感測裝置中所具有的電壓偏移產生補償作用,並降低環境干擾的影響。並且透過兩階段的偵測方式,本發明實施例的磁場感測裝置的電路面積可以有效的減小,降低電路成本。 Based on the above, the magnetic field sensing device of the present invention provides an action of the magnetizing direction through an anisotropic magnetoresistance to provide a first resistance value according to the measured magnetic field during the first magnetic field sensing phase, and the computing device adds The current is generated to generate a first voltage difference of the first magnetic field sensing phase. A second resistance value is provided in accordance with the measured magnetic field during the second magnetic field sensing phase, and the operator generates a second voltage difference in the second magnetic field sensing phase based on the applied current. And the operator generates a magnetic field sensing voltage result according to the first voltage difference and the second voltage difference. This solution can compensate for the voltage offset present in the magnetic field sensing device and reduce the effects of environmental interference. Moreover, the circuit area of the magnetic field sensing device of the embodiment of the present invention can be effectively reduced and the circuit cost can be reduced through the two-stage detection mode.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100、400、500‧‧‧磁場感測裝置 100, 400, 500‧‧‧ magnetic field sensing device

110、410、510‧‧‧異向性磁電阻 110, 410, 510‧ ‧ anisotropic magnetoresistance

120、420、520‧‧‧電流產生器 120, 420, 520‧‧‧ current generator

130、430、530‧‧‧運算器 130, 430, 530‧‧‧ arithmetic

I‧‧‧電流 I‧‧‧current

D‧‧‧電流方向 D‧‧‧current direction

H‧‧‧受測磁場 H‧‧‧Measured magnetic field

Ha‧‧‧磁場值 Ha‧‧‧ magnetic field value

V1、V2、△V‧‧‧電壓差 V1, V2, △V‧‧‧ voltage difference

Vo‧‧‧磁場感測電壓結果 Vo‧‧‧ Magnetic field sensing voltage results

132、432、532‧‧‧誤差放大器 132, 432, 532‧‧‧ error amplifier

134‧‧‧暫存裝置 134‧‧‧ temporary storage device

136‧‧‧算術運算器 136‧‧‧Arithmetic Operator

411、412、511、512、513、514‧‧‧子異向性磁電阻 411, 412, 511, 512, 513, 514 ‧ ‧ sub-anterior magnetoresistance

GND‧‧‧接地參考電位 GND‧‧‧ Ground Reference Potential

C1、C2‧‧‧區域 C1, C2‧‧‧ area

D1、D2、D3、D4‧‧‧設定方向 D1, D2, D3, D4‧‧‧ set direction

CV1、CV2‧‧‧曲線 CV1, CV2‧‧‧ curve

S210、S220、S230、S240‧‧‧步驟 S210, S220, S230, S240‧‧‧ steps

圖1繪示本發明第一實施例的磁場感測裝置的示意圖。 1 is a schematic view of a magnetic field sensing device according to a first embodiment of the present invention.

圖2繪示本發明一實施例的磁場感測方法的流程圖。 2 is a flow chart of a magnetic field sensing method according to an embodiment of the invention.

圖3繪示本發明一實施例的運算器的示意圖。 FIG. 3 is a schematic diagram of an arithmetic unit according to an embodiment of the present invention.

圖4繪示本發明第二實施例的磁場感測裝置的示意圖。 4 is a schematic view of a magnetic field sensing device according to a second embodiment of the present invention.

圖5A與圖5B繪示本發明第三實施例的磁場感測裝置的示意圖。 5A and 5B are schematic views of a magnetic field sensing device according to a third embodiment of the present invention.

圖6A繪示本發明第三實施例的磁場感測裝置的磁場偵測的波形圖。 6A is a waveform diagram of magnetic field detection of a magnetic field sensing device according to a third embodiment of the present invention.

圖6B繪示本發明第三實施例的磁場感測裝置的磁場偵測結果的波形圖。 FIG. 6B is a waveform diagram showing magnetic field detection results of the magnetic field sensing device according to the third embodiment of the present invention.

請參照圖1,圖1是繪示本發明一實施例的磁場感測裝置的示意圖。磁場感測裝置100包括異向性磁電阻110、電流產生器120以及運算器130。異向性磁電阻110透過磁化方向設定動作,依據受測磁場H而提供第一電阻值以及第二電阻值。電流產生器120耦接異向性磁電阻110,提供電流I依據電流方向D以流經異向性磁電阻110的兩端。運算器130具有運算器輸入端分別耦接至異向性磁電阻110的兩端,針對異向性磁電阻所提供的第一電阻值以及第二電阻值依據電流所分別產生的第一電壓差以及第二電壓差進行算術運算,並且藉以產生磁場感測電壓結果Vo。 Please refer to FIG. 1. FIG. 1 is a schematic diagram of a magnetic field sensing device according to an embodiment of the present invention. The magnetic field sensing device 100 includes an anisotropic magnetoresistor 110, a current generator 120, and an arithmetic unit 130. The anisotropic magnetoresistance 110 transmits a magnetization direction setting operation to provide a first resistance value and a second resistance value in accordance with the measured magnetic field H. The current generator 120 is coupled to the anisotropic magnetoresistive resistor 110 to provide a current I according to the current direction D to flow through both ends of the anisotropic magnetoresistive resistor 110. The computing device 130 has an input end of the computing device coupled to the two ends of the anisotropic magnetoresistive resistor 110, and a first resistance value provided for the anisotropic magnetoresistance and a first voltage difference generated by the second resistance value according to the current respectively. And the second voltage difference performs an arithmetic operation, and thereby generates a magnetic field sensing voltage result Vo.

在圖1的實施例中,異向性磁電阻110可以是具有理髮店招牌(barber pole)狀結構,並且具有鐵磁膜(ferromagnetic film)材質的主體。也就是異向性磁電阻110表面被設有相對於異向性磁電阻相對於異向性磁電阻的延伸方向傾斜延伸的多組短路棒(shorting bar),上述的短路棒彼此相間隔且平行設置於主體上。 而本發明並不以此為限。 In the embodiment of FIG. 1, the anisotropic magnetoresistor 110 may be a body having a barber pole-like structure and having a ferromagnetic film material. That is, the surface of the anisotropic magnetoresistive resistor 110 is provided with a plurality of sets of shorting bars extending obliquely with respect to the direction in which the anisotropic magnetoresistance extends with respect to the anisotropic magnetoresistance, and the shorting bars are spaced apart from each other and parallel Set on the main body. The invention is not limited thereto.

說明磁場感測裝置的操作方式,圖2是繪示本發明一實施例的磁場感測方法的流程圖。請參照圖1與圖2,在步驟S210中,電流產生器120提供電流I,並且依據電流方向D流經異向性磁電阻110的兩端。接著,開始進行受測磁場H的感測,在圖1與圖2的實施例中,受測磁場H的感測動作在時間上可區分為第一磁場感測階段以及第二磁場感測階段。在步驟S220中,磁場感測裝置100進行第一磁場感測階段,在第一磁場感測階段中可透過針對異向性磁電阻110進行磁化方向設定動作,並設定異向性磁電阻110的磁化方向為第一設定方向,如此,異向性磁電阻110依據受測磁場H可提供第一電阻值,並可依據電流產生器120所提供的電流I而產生第一電壓差。在步驟S220中,磁場感測裝置100進行第二磁場感測階段。在第二磁場感測階段中可先針對異向性磁電阻110進行磁化方向設定動作,並設定異向性磁電阻110的磁化方向為第二設定方向,如此,異向性磁電阻110依據受測磁場H可提供第二電阻值,並且可依據電流產生器120所提供的電流I而產生第二電壓差。其中,第一設定方向與第二設定方向相反。 The operation mode of the magnetic field sensing device will be described. FIG. 2 is a flow chart showing the magnetic field sensing method according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2, in step S210, the current generator 120 supplies a current I and flows through both ends of the anisotropic magnetoresistor 110 according to the current direction D. Next, the sensing of the measured magnetic field H is started. In the embodiment of FIGS. 1 and 2, the sensing action of the measured magnetic field H can be temporally distinguished into a first magnetic field sensing phase and a second magnetic field sensing phase. . In step S220, the magnetic field sensing device 100 performs a first magnetic field sensing phase, and in the first magnetic field sensing phase, the magnetization direction setting action is performed for the anisotropic magnetoresistive resistor 110, and the anisotropic magnetoresistive resistor 110 is set. The magnetization direction is the first set direction. Thus, the anisotropic magnetoresistor 110 can provide a first resistance value according to the measured magnetic field H, and can generate a first voltage difference according to the current I provided by the current generator 120. In step S220, the magnetic field sensing device 100 performs a second magnetic field sensing phase. In the second magnetic field sensing phase, the magnetization direction setting action may be first performed on the anisotropic magnetoresistive resistor 110, and the magnetization direction of the anisotropic magnetoresistive resistor 110 is set to a second set direction. Thus, the anisotropic magnetoresistor 110 is subjected to The magnetic field H can provide a second resistance value and can generate a second voltage difference depending on the current I provided by the current generator 120. Wherein, the first setting direction is opposite to the second setting direction.

接著在步驟S240中,運算器130依據異向性磁電阻110在第一磁場感測階段所提供的第一電壓差與第二磁場感測階段所提供的第二電壓差來進行算數運算,並藉以產生磁場感測電壓結果Vo。 Next, in step S240, the arithmetic unit 130 performs an arithmetic operation according to the first voltage difference provided by the anisotropic magnetoresistive resistor 110 in the first magnetic field sensing phase and the second voltage difference provided in the second magnetic field sensing phase, and Thereby generating a magnetic field sensing voltage result Vo.

關於本實施例的磁化方向設定動作,異向性磁電阻110在第一磁場感測階段與第二磁場感測階段,可透過磁化方向設定元件分別進行磁化方向設定動作。磁化方向設定元件可鄰近於異向性磁電阻進行設置,沒有特別的限制。請參照圖1與圖2,異向性磁電阻110的磁化方向藉由磁化方向設定元件(未示出)的設定,以使異向性磁電阻110的磁化方向在步驟S220中被設定為第一設定方向,並且異向性磁電阻110的磁化方向在步驟S230中被設定為第二設定方向。其中,第一設定方向與第二設定方向可以是相反的方向。 With respect to the magnetization direction setting operation of the present embodiment, the anisotropic magnetoresistance 110 can perform the magnetization direction setting operation through the magnetization direction setting elements in the first magnetic field sensing phase and the second magnetic field sensing phase. The magnetization direction setting element can be disposed adjacent to the anisotropic magnetoresistance without particular limitation. Referring to FIGS. 1 and 2, the magnetization direction of the anisotropic magnetoresistive resistor 110 is set by a magnetization direction setting member (not shown) such that the magnetization direction of the anisotropic magnetoresistive resistor 110 is set to be the first in step S220. A direction is set, and the magnetization direction of the anisotropic magnetoresistive resistor 110 is set to the second set direction in step S230. Wherein, the first setting direction and the second setting direction may be opposite directions.

請參照圖1與圖2,在步驟S220中異向性磁電阻110在第一磁場感測階段的磁化方向與電流產生器120所提供的電流I的電流方向D可以是相同的,在步驟S230中異向性磁電阻110在第二磁場感測階段的磁化方向則與電流產生器120所提供的電流I的電流方向D可以是相反的。上述的作法只是一種範例,在本發明其他實施例中,第一磁場感測階段中的第一設定方向與電流方向D可以是相反的,而在第二磁場感測階段中的第二設定方向與電流方向D則可以是相同。 Referring to FIG. 1 and FIG. 2, the magnetization direction of the anisotropic magnetoresistive resistor 110 in the first magnetic field sensing phase and the current direction D of the current I provided by the current generator 120 may be the same in step S220, in step S230. The magnetization direction of the intermediate anisotropic magnetoresistive resistor 110 in the second magnetic field sensing phase may be opposite to the current direction D of the current I supplied by the current generator 120. The above described method is only an example. In other embodiments of the present invention, the first set direction in the first magnetic field sensing phase may be opposite to the current direction D, and the second set direction in the second magnetic field sensing phase. It can be the same as the current direction D.

異向性磁電阻110在未接收受測磁場H時,異向性磁電阻110會維持一個固定的原始電阻值。而當異向性磁電阻110接收受測磁場H時,異向性磁電阻110的電阻值會隨受測磁場H的大小而變化。舉例來說明,當異向性磁電阻110在第一磁場感測階段所提供的第一電阻值R1因受測磁場H的影響而使第一電阻值 R1增加為R1=R0+△R。其中R0為原始電阻值而△R為變化值。由於異向性磁電阻110磁化方向在第一磁場感測階段與第二磁場感測階段是相反的,因此異向性磁電阻110在第二磁場感測階段所提供的第二電阻值R2因相同的受測磁場H的影響而對應減少,也就是第二電阻值R2減少為R2=R0-△R。而相反的,當異向性磁電阻110在第一磁場感測階段所提供的第一電阻值因受測磁場H的影響而減小時,在第二磁場感測階段所提供的第二電阻值則會對應增加。 When the anisotropic magnetoresistive resistor 110 does not receive the measured magnetic field H, the anisotropic magnetoresistive resistor 110 maintains a fixed original resistance value. When the anisotropic magnetoresistive resistor 110 receives the measured magnetic field H, the resistance value of the anisotropic magnetoresistor 110 varies with the magnitude of the measured magnetic field H. For example, when the first resistance value R1 provided by the anisotropic magnetoresistive resistor 110 in the first magnetic field sensing phase is caused by the measured magnetic field H, the first resistance value is used. R1 is increased to R1=R0+ΔR. Where R0 is the original resistance value and ΔR is the change value. Since the magnetization direction of the anisotropic magnetoresistive resistor 110 is opposite to the second magnetic field sensing phase during the first magnetic field sensing phase, the second resistance value R2 provided by the anisotropic magnetoresistive resistor 110 during the second magnetic field sensing phase is The same measured magnetic field H has a corresponding decrease, that is, the second resistance value R2 is reduced to R2=R0-ΔR. Conversely, when the first resistance value provided by the anisotropic magnetoresistive resistor 110 during the first magnetic field sensing phase is reduced by the influence of the measured magnetic field H, the second resistance value provided during the second magnetic field sensing phase It will increase accordingly.

並且,異向性磁電阻110接收受測磁場H時,電流產生器120提供電流I依據電流方向D流經具有第一電阻值的異向性磁電阻110的兩端,使異向性磁電阻110在第一磁場感測階段產生對應於第一電阻值的第一電壓差。並且,在第二磁場感測階段,使具有第二電阻值的異向性磁電阻110產生對應於第二電阻值的第二電壓差。運算器130則可藉由耦接異向性磁電阻110的兩端以在第一、二磁場感測階段分別接收上述的第一、二電壓差,並使上述的第一、二電壓差進行算數運算(例如減法運算)以產生磁場感測電壓結果Vo。 Moreover, when the anisotropic magnetoresistive resistor 110 receives the measured magnetic field H, the current generator 120 provides a current I flowing through the two ends of the anisotropic magnetoresistive resistor 110 having the first resistance value according to the current direction D, so that the anisotropic magnetoresistance The first voltage difference corresponding to the first resistance value is generated during the first magnetic field sensing phase. And, in the second magnetic field sensing phase, the anisotropic magnetoresistive resistor 110 having the second resistance value generates a second voltage difference corresponding to the second resistance value. The operator 130 can respectively receive the first and second voltage differences in the first and second magnetic field sensing stages by coupling the two ends of the anisotropic magnetoresistive 110, and the first and second voltage differences are performed. An arithmetic operation (eg, a subtraction operation) to generate a magnetic field sensing voltage result Vo.

如此一來,本發明實施例的磁場感測裝置100藉由運算器130接收第一、二電壓差並且進行算數運算以產生磁場感測電壓結果Vo,可針對運算器130的電路中所具有的電壓偏移產生補償作用,並降低環境干擾的影響。並且,透過分時偵測的方式,本發明實施例的磁場感測裝置100的電路面積可以有效的減小, 降低電路成本。 As such, the magnetic field sensing device 100 of the embodiment of the present invention receives the first and second voltage differences by the arithmetic unit 130 and performs an arithmetic operation to generate the magnetic field sensing voltage result Vo, which may be used in the circuit of the computing unit 130. The voltage offset creates a compensating effect and reduces the effects of environmental interference. Moreover, the circuit area of the magnetic field sensing device 100 of the embodiment of the present invention can be effectively reduced by means of time-sharing detection. Reduce circuit costs.

請參照圖3,圖3是繪示本發明實施例的運算器的實施方式的示意圖。在圖3的實施例中,運算器130包括誤差放大器132、暫存裝置134以及算術運算器136。誤差放大器132的輸入端分別耦接至異向性磁電阻的兩端,用以在第一磁場感測階段,依據異向性磁電阻的兩端的電壓差異運算出電壓差V1。並且,誤差放大器132在第二磁場感測階段依據異向性磁電阻的兩端的電壓差異運算出電壓差V2。暫存裝置134可以是任何型態的揮發性或非揮發性的記憶體,或其他任意本領域具通常知識者熟知的資料儲存裝置。暫存裝置134耦接至誤差放大器132的輸出端,可用以儲存電壓差V1。算術運算器136耦接至誤差放大器132以及暫存裝置134,用以由暫存裝置134接收電壓差V1以及由誤差放大器132直接接收電壓差V2,並且針對電壓差V1以及電壓差V2進行算術運算以產生磁場感測電壓結果Vo。在其他實施例中,暫存裝置134可用以儲存電壓差V1以及電壓差V2,算術運算器136則可由暫存裝置134中讀取電壓差V1以及電壓差V2以進行算數運算,來產生磁場感測電壓結果Vo。 Please refer to FIG. 3. FIG. 3 is a schematic diagram showing an embodiment of an arithmetic unit according to an embodiment of the present invention. In the embodiment of FIG. 3, the arithmetic unit 130 includes an error amplifier 132, a temporary storage device 134, and an arithmetic operator 136. The input ends of the error amplifiers 132 are respectively coupled to the two ends of the anisotropic magnetoresistors for calculating the voltage difference V1 according to the voltage difference between the two ends of the anisotropic magnetoresistance in the first magnetic field sensing phase. Further, the error amplifier 132 calculates the voltage difference V2 in accordance with the voltage difference across the anisotropic magnetoresistance in the second magnetic field sensing phase. The temporary storage device 134 can be any type of volatile or non-volatile memory, or any other data storage device known to those of ordinary skill in the art. The temporary storage device 134 is coupled to the output of the error amplifier 132 and can be used to store the voltage difference V1. The arithmetic operator 136 is coupled to the error amplifier 132 and the temporary storage device 134 for receiving the voltage difference V1 by the temporary storage device 134 and directly receiving the voltage difference V2 by the error amplifier 132, and performing arithmetic operations for the voltage difference V1 and the voltage difference V2. To generate a magnetic field sensing voltage result Vo. In other embodiments, the temporary storage device 134 can be used to store the voltage difference V1 and the voltage difference V2, and the arithmetic operator 136 can read the voltage difference V1 and the voltage difference V2 from the temporary storage device 134 to perform an arithmetic operation to generate a magnetic field sense. Measure the voltage result Vo.

圖4繪示本發明另一實施例的磁場感測裝置進行第一磁場感測階段的示意圖。與圖1不同的是,圖4的實施例的異向性磁電阻410具有包括子異向性磁電阻411、412,並且子異向性磁電阻411、412串接於運算器430的第一輸入端與第二輸入端之間。也就是說,異向性磁電阻410是由子異向性磁電阻411、412、 所形成的單一磁電阻結構,並且異向性磁電阻410的兩端分別耦接至運算器430的兩端。並且運算器430的第二輸入端可耦接至接地參考電位GND。 4 is a schematic diagram of a magnetic field sensing device performing a first magnetic field sensing phase according to another embodiment of the present invention. Different from FIG. 1, the anisotropic magnetoresistive resistor 410 of the embodiment of FIG. 4 has the first and second anisotropic magnetoresistances 411, 412, and the sub- anisotropy magnetoresistors 411, 412 are connected in series with the operator 430. Between the input and the second input. That is, the anisotropic magnetoresistive resistor 410 is composed of sub- anisotropy magnetoresistors 411, 412, A single magnetoresistive structure is formed, and both ends of the anisotropic magnetoresistive 410 are coupled to both ends of the arithmetic unit 430, respectively. The second input end of the operator 430 can be coupled to the ground reference potential GND.

在圖4的實施例中,異向性磁電阻410在第一磁場感測階段可透過磁化方向設定動作,以使異向性磁電阻410中的子異向性磁電阻411、412具有相同或是相反的磁化方向並依據受測磁場而產生第一電阻值,並且運算器430中的誤差放大器432可依據電流產生器420所提供的電流I而產生電壓差V1。其中子異向性磁電阻411的磁化方向與電流方向相同或相反。接著異向性磁電阻410在第二磁場感測階段可透過磁化方向設定動作,以使子異向性磁電阻411、412具有相同或是相反的磁化方向並依據相同受測磁場而產生第二電阻值,並且運算器430中的誤差放大器432可依據電流產生器420所提供的電流I而產生電壓差V2。其中各子異向性磁電阻411、412在第一磁場感測階段的磁化方向與第二磁場感測階段的磁化方向相反。運算器430針對電壓差V1、V2進行算術運算以產生磁場感測電壓結果。 In the embodiment of FIG. 4, the anisotropic magnetoresistive resistor 410 can be oscillated by the magnetization direction during the first magnetic field sensing phase such that the anisotropic magnetoresistors 411, 412 in the anisotropic magnetoresistive resistor 410 have the same or The opposite magnetization direction and the first resistance value are generated according to the measured magnetic field, and the error amplifier 432 in the operator 430 can generate the voltage difference V1 according to the current I supplied by the current generator 420. The magnetization direction of the sub anisotropy 411 is the same as or opposite to the current direction. Then, the anisotropic magnetoresistive resistor 410 can pass the magnetization direction setting action during the second magnetic field sensing phase, so that the anisotropic magnetoresistors 411, 412 have the same or opposite magnetization directions and generate a second according to the same measured magnetic field. The resistance value, and the error amplifier 432 in the operator 430 can generate a voltage difference V2 according to the current I supplied by the current generator 420. The magnetization direction of each of the anisotropic magnetoresistors 411, 412 in the first magnetic field sensing phase is opposite to the magnetization direction of the second magnetic field sensing phase. The arithmetic unit 430 performs an arithmetic operation on the voltage differences V1, V2 to generate a magnetic field sensing voltage result.

圖5A與圖5B繪示本發明另一實施例的磁場感測裝置的示意圖。與圖1、圖4的實施例不同的是,在圖5A與圖5B的實施例中,磁場感測裝置500中的異向性磁電阻510包括子異向性磁電阻511、512、513、514。並且子異向性磁電阻511、512、513、514串接於運算器的第一輸入端與第二輸入端之間。也就是說,異向性磁電阻510是由子異向性磁電阻511、512、513、514所形成 的單一磁電阻結構,並且異向性磁電阻510的兩端分別耦接至運算器530的兩端。 5A and 5B are schematic views of a magnetic field sensing device according to another embodiment of the present invention. Different from the embodiment of FIG. 1 and FIG. 4, in the embodiment of FIGS. 5A and 5B, the anisotropic magnetoresistance 510 in the magnetic field sensing device 500 includes sub- anisotropy magnetoresistors 511, 512, and 513. 514. And the sub- anisotropy magnetoresistors 511, 512, 513, 514 are connected in series between the first input end and the second input end of the arithmetic unit. That is, the anisotropic magnetoresistance 510 is formed by the sub anisotropy magnetoresistors 511, 512, 513, and 514. A single magnetoresistive structure, and two ends of the anisotropic magnetoresistance 510 are respectively coupled to both ends of the arithmetic unit 530.

在本實施例中,異向性磁電阻510可經配置以致使子異向性磁電阻511、512配置在區域C1中,並且子異向性磁電阻513、514配置在區域C2中。本發明的子異向性磁電阻的數量、串接順序以及區域數量並不以此為限。 In the present embodiment, the anisotropic magnetoresistance 510 may be configured to cause the anisotropic magnetoresistances 511, 512 to be disposed in the region C1, and the anisotropic magnetoresistances 513, 514 are disposed in the region C2. The number, series connection order, and number of regions of the sub-anthogonal magnetoresistance of the present invention are not limited thereto.

請參照圖5A,圖5A繪示本實施例的磁場感測裝置500進行第一磁場感測階段的示意圖。在圖5A中,磁場感測裝置500進行第一磁場感測階段,透過磁化方向設定動作設定區域C1中的子異向性磁電阻511、512的磁化方向為第一設定方向D1,設定區域C2中的子異向性磁電阻513、514的磁化方向為第二設定方向D2。使異向性磁電阻510依據受測磁場提供第一電阻值,並且依據電流產生器520所提供的電流I而產生電壓差V1。 Referring to FIG. 5A, FIG. 5A is a schematic diagram of the magnetic field sensing device 500 of the embodiment performing a first magnetic field sensing phase. In FIG. 5A, the magnetic field sensing device 500 performs a first magnetic field sensing phase, and the magnetization direction of the sub-anisotropy magnetoresistors 511, 512 in the magnetization direction setting action setting region C1 is the first setting direction D1, and the setting region C2 The magnetization directions of the intermediate anisotropic magnetoresistances 513 and 514 are the second set direction D2. The anisotropic magnetoresistance 510 is caused to provide a first resistance value in accordance with the measured magnetic field, and a voltage difference V1 is generated in accordance with the current I supplied from the current generator 520.

在本實施例中,第一設定方向D1與第二設定方向D2相反,並且第一設定方向D1與電流方向D可以是相同或相反。而在其他實施例中,第一設定方向D1與第二設定方向D2可相同。 In the present embodiment, the first set direction D1 is opposite to the second set direction D2, and the first set direction D1 and the current direction D may be the same or opposite. In other embodiments, the first setting direction D1 and the second setting direction D2 may be the same.

請參照圖5B,圖5B繪示與圖5A相同實施例的磁場感測裝置進行第二磁場感測階段的示意圖。磁場感測裝置500在第二磁場感測階段中可透過磁化方向設定動作設定區域C1中的子異向性磁電阻511、512的磁化方向為第三設定方向D3,設定區域C2中的子異向性磁電阻513、514的磁化方向為第四設定方向D4,使異向性磁電阻510依據受測磁場提供第二電阻值,並且依據電 流產生器520所提供的電流I而產生電壓差V2。在此實施例中,第三設定方向D3與第四設定方向D4相反。而在其他實施例中,第三設定方向D3與第四設定方向D4可相同。 Referring to FIG. 5B, FIG. 5B is a schematic diagram showing a second magnetic field sensing phase performed by the magnetic field sensing device of the same embodiment as FIG. 5A. The magnetic field sensing device 500 can change the magnetization direction of the sub-anisotropy magnetoresistors 511 and 512 in the magnetization direction setting action setting region C1 to the third setting direction D3 in the second magnetic field sensing phase, and set the sub-differentiation in the region C2. The magnetization direction of the directional magnetic resistances 513, 514 is the fourth set direction D4, so that the anisotropic magnetoresistance 510 provides the second resistance value according to the measured magnetic field, and is based on the electric The current I provided by the stream generator 520 produces a voltage difference V2. In this embodiment, the third set direction D3 is opposite to the fourth set direction D4. In other embodiments, the third setting direction D3 and the fourth setting direction D4 may be the same.

在此應注意的是,第三設定方向D3與第一設定方向D1相反,以及第四設定方向D4與第二設定方向D2相反。 It should be noted here that the third setting direction D3 is opposite to the first setting direction D1, and the fourth setting direction D4 is opposite to the second setting direction D2.

以圖5A、5B的實施例來說明,當在圖5A的第一磁場感測階段的實施例中,第一設定方向D1與第二設定方向D2為頭對頭(head to head)的相反方向關係,則在圖5B的第二磁場感測階段的實施例中,第三設定方向D3與第四設定方向D4為尾對尾(tail to tail)的相反方向關係。 5A, 5B, in the embodiment of the first magnetic field sensing phase of FIG. 5A, the first set direction D1 and the second set direction D2 are head-to-head opposite directions. Then, in the embodiment of the second magnetic field sensing phase of FIG. 5B, the third set direction D3 and the fourth set direction D4 are opposite directions of tail to tail.

關於誤差放大器532的硬體架構部分,凡本領域具通常知識者所熟知的差動放大器架構皆可實施以做為本發明的誤差放大器532,沒有特殊的限制。關於電流產生器520的部分,凡本領域具通常知識者所熟知的電流產生器電路皆可用以實施以做為本發明的電流產生器520,同樣沒有特殊的限制。 Regarding the hardware architecture portion of the error amplifier 532, a differential amplifier architecture well known to those skilled in the art can be implemented as the error amplifier 532 of the present invention without particular limitation. Regarding the portion of the current generator 520, a current generator circuit well known to those skilled in the art can be used to implement the current generator 520 of the present invention, and there is no particular limitation.

請參照圖6A,圖6A是繪示本發明圖5A、5B實施例的磁場感測裝置的磁場偵測的波形圖。在圖6A中,縱軸為第一磁場偵測結果VO的電壓值,而橫軸則為受測磁場H的大小。請同時參照圖5A與圖6A,當磁場感測裝置400在第一磁場感測階段的期間,接收到受測磁場H,並且當第一磁場感測階段的第一設定方向與第二設定方向為頭對頭的相反方向關係時,固定範圍的受測磁場H大小與異向性磁電阻510所提供的第一電阻值呈現線性的 正相關關係,如曲線CV1。當第一磁場感測階段的期間感測到受測磁場H等於Ha時,運算器530中的誤差放大器532藉由接收異向性磁電阻510的兩端的電壓差異而運算出對應於受測磁場H等於Ha時的第一電壓差V1=△V,並且將第一電壓差V1的結果儲存到暫存裝置中。 Please refer to FIG. 6A. FIG. 6A is a waveform diagram of magnetic field detection of the magnetic field sensing device of the embodiment of FIGS. 5A and 5B of the present invention. In FIG. 6A, the vertical axis represents the voltage value of the first magnetic field detection result V O , and the horizontal axis represents the magnitude of the measured magnetic field H. Referring to FIG. 5A and FIG. 6A simultaneously, when the magnetic field sensing device 400 receives the measured magnetic field H during the first magnetic field sensing phase, and when the first magnetic field is in the first set direction and the second set direction In the opposite direction relationship of the head-to-head, the fixed range of the measured magnetic field H has a linear positive correlation with the first resistance value provided by the anisotropic magnetoresistor 510, such as the curve CV1. When the measured magnetic field H is equal to Ha during the first magnetic field sensing phase, the error amplifier 532 in the operator 530 calculates the corresponding magnetic field by receiving the voltage difference across the anisotropic magnetoresistance 510. The first voltage difference V1 = ΔV when H is equal to Ha, and the result of the first voltage difference V1 is stored in the temporary storage device.

在此值得一提的是,誤差放大器針對異向性磁電阻410兩端的電壓差異所進行的第一電壓差V1運算,可降低在第一磁場感測階段時的系統電性偏移和環境干擾的影響,因此感測精度能得以提升。 It is worth mentioning here that the first voltage difference V1 of the error amplifier for the voltage difference across the anisotropic magnetoresistive 410 can reduce the system electrical offset and environmental interference during the first magnetic field sensing phase. The impact, so the sensing accuracy can be improved.

再請同時參照圖5B與圖6A,在第一磁場感測階段的期間接收到受測磁場H,並且當第二磁場感測階段的第一設定方向與第二設定方向為尾對尾的相反方向關係時,受測磁場H的大小與異向性磁電阻510所提供的第二電阻值呈現線性的負相關的關係,如曲線CV2。當第二磁場感測階段的期間感測到受測磁場H等於Ha時,運算器530中的誤差放大器532藉由接收異向性磁電阻510的兩端的電壓差異而運算出對應於受測磁場H等於Ha時的第二電壓差V2=-△V。 Referring to FIG. 5B and FIG. 6A simultaneously, the measured magnetic field H is received during the first magnetic field sensing phase, and when the first set direction of the second magnetic field sensing phase is opposite to the second set direction In the directional relationship, the magnitude of the measured magnetic field H exhibits a linear negative correlation with the second resistance value provided by the anisotropic magnetoresistor 510, such as curve CV2. When the measured magnetic field H is equal to Ha during the second magnetic field sensing phase, the error amplifier 532 in the arithmetic unit 530 calculates the corresponding magnetic field by receiving the voltage difference across the anisotropic magnetoresistance 510. The second voltage difference V2 when H is equal to Ha = -ΔV.

在此值得一提的是,誤差放大器532針對異向性磁電阻510兩端的電壓差異所進行的第二電壓差V2運算,可降低在第一磁場感測階段時的系統電性偏移和環境干擾的影響,因此感測精度能得以提升。 It is worth mentioning here that the error amplifier 532 operates on the second voltage difference V2 of the voltage difference across the anisotropic magnetoresistance 510 to reduce the system electrical offset and environment during the first magnetic field sensing phase. The influence of interference, so the sensing accuracy can be improved.

請參照圖6B,圖6B是繪示本發明圖5A、5B實施例的 磁場感測裝置的磁場偵測結果的波形圖。在圖6B中,縱軸為第一磁場偵測結果VO的電壓值,而橫軸則為受測磁場H的大小。當完成第二磁場感測階段並且運算出第二電壓差V2之後,運算器內部的算術運算器接收來自於暫存裝置所儲存的第一電壓差V1以及來自於誤差放大器的第二電壓差V2,並且針對第一電壓差V1以及第二電壓差V2進行算術運算,藉以產生磁場感測電壓結果Vo。在其他實施例中,可將第二電壓差的結果儲存到暫存裝置中,運算器內部的算術運算器接收來自於暫存裝置所儲存的第一電壓差以及第二電壓差,並且針對第一電壓差以及第二電壓差進行算術運算,藉以產生磁場感測電壓結果。 Please refer to FIG. 6B. FIG. 6B is a waveform diagram showing magnetic field detection results of the magnetic field sensing device of the embodiment of FIGS. 5A and 5B of the present invention. In FIG. 6B, the vertical axis represents the voltage value of the first magnetic field detection result V O , and the horizontal axis represents the magnitude of the measured magnetic field H. After the second magnetic field sensing phase is completed and the second voltage difference V2 is calculated, the arithmetic operator inside the arithmetic unit receives the first voltage difference V1 stored from the temporary storage device and the second voltage difference V2 from the error amplifier. And performing an arithmetic operation on the first voltage difference V1 and the second voltage difference V2, thereby generating a magnetic field sensing voltage result Vo. In other embodiments, the result of the second voltage difference may be stored in the temporary storage device, and the arithmetic operator inside the computing device receives the first voltage difference and the second voltage difference stored from the temporary storage device, and A voltage difference and a second voltage difference are arithmetically operated to generate a magnetic field sensing voltage result.

接下來詳細來說明算術運算以產生磁場感測電壓結果。在圖5A、5B的實施例中,受測磁場H大小在第一磁場感測階段與異向性磁電阻510所提供的第一電阻值呈現接近線性的正相關關係,並且受測磁場H的大小在第二磁場感測階段與異向性磁電阻510所提供的第二電阻值呈現接近線性的負相關關係。因此在相同的電流與電流方向供應下,異向性磁電阻510於第一磁場感測階段所產生的電壓差V1與第二磁場感測階段所產生的電壓差V2對應於受測磁場H大小,具有呈現相反的波形,也就是如果電壓差V1為正值時,而電壓差V2則為負值。當第一磁場感測階段與第二磁場感測階段的期間感測到磁場Ha時,運算器內部的算術運算器可針對對應於Ha所產生的第一電壓差V1=△V與第二電壓差V2=-△V。也因此運算器內部的算術運算器可針對第一電壓 差V1與第二電壓差V2,進行包括減法運算的算術運算,而獲得磁場感測電壓結果Vo=V1-V2=△V-(-△V)=2×△V,進而得到磁場感測電壓結果的加倍輸出效果。 Next, an arithmetic operation will be described in detail to generate a magnetic field sensing voltage result. In the embodiment of FIGS. 5A, 5B, the magnitude of the measured magnetic field H exhibits a nearly linear positive correlation with the first resistance value provided by the anisotropic magnetoresistor 510 during the first magnetic field sensing phase, and the measured magnetic field H The magnitude exhibits a nearly linear negative correlation with the second resistance value provided by the anisotropic magnetoresistor 510 during the second magnetic field sensing phase. Therefore, under the same current and current direction supply, the voltage difference V1 generated by the anisotropic magnetoresistance 510 in the first magnetic field sensing phase and the voltage difference V2 generated in the second magnetic field sensing phase correspond to the magnitude of the measured magnetic field H. It has an opposite waveform, that is, if the voltage difference V1 is a positive value, and the voltage difference V2 is a negative value. When the magnetic field Ha is sensed during the first magnetic field sensing phase and the second magnetic field sensing phase, the arithmetic operator inside the operator may target the first voltage difference V1=ΔV and the second voltage corresponding to Ha The difference V2 = - ΔV. Therefore, the arithmetic operator inside the operator can be directed to the first voltage. The difference V1 and the second voltage difference V2 are subjected to an arithmetic operation including a subtraction operation, and a magnetic field sensing voltage result Vo=V1-V2=ΔV-(−ΔV)=2×ΔV is obtained, thereby obtaining a magnetic field sensing voltage. The result doubles the output.

在此值得一提的是,在本實施例中藉由上述的算術運算方式,也可再一次降低第一磁場感測階段與第二磁場感測階段的系統電性偏移和環境干擾的影響。並且當受測磁場H為0時,磁場感測裝置則實質上為零輸出。 It is worth mentioning that in the embodiment, the above-mentioned arithmetic operation manner can also reduce the influence of system electrical offset and environmental interference in the first magnetic field sensing phase and the second magnetic field sensing phase. . And when the measured magnetic field H is 0, the magnetic field sensing device is substantially zero output.

綜上所述,本發明的磁場感測裝置包括異向性磁電阻、電流產生器以及運算器。磁場感測裝置藉由一個異向性磁電阻透過磁化方向設定動作,使其在第一磁場感測階段依據受測磁場提供第一電阻值,運算器依據電流產生器所提供的外加電流以產生第一磁場感測階段的第一電壓差。在第二磁場感測階段依據受測磁場提供第二電阻值,運算器依據電流產生器所提供的外加電流以產生第二磁場感測階段的第二電壓差。並且運算器依據第一電壓差與第二電壓差,產生磁場感測電壓結果。本發明的磁場感測裝置僅需要一個即可完成磁場感測操作,降低了設計布局面積。並且在本發明的磁場感測裝置具有降低系統電性偏移和環境干擾的影響,提高了感測裝置的信雜比。 In summary, the magnetic field sensing device of the present invention includes an anisotropic magnetoresistance, a current generator, and an arithmetic unit. The magnetic field sensing device is configured to move through the magnetization direction by an anisotropic magnetoresistance to provide a first resistance value according to the measured magnetic field during the first magnetic field sensing phase, and the operator generates the current according to the applied current provided by the current generator. The first voltage difference of the first magnetic field sensing phase. A second resistance value is provided in accordance with the measured magnetic field during the second magnetic field sensing phase, and the operator generates a second voltage difference in the second magnetic field sensing phase according to the applied current provided by the current generator. And the operator generates a magnetic field sensing voltage result according to the first voltage difference and the second voltage difference. The magnetic field sensing device of the present invention requires only one to complete the magnetic field sensing operation, reducing the design layout area. Moreover, the magnetic field sensing device of the present invention has the effects of reducing system electrical offset and environmental interference, and improves the signal-to-noise ratio of the sensing device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

Claims (14)

一種磁場感測裝置,包括:一異向性磁電阻,透過一磁化方向設定動作,使其在一第一磁場感測階段依據一受測磁場提供一第一電阻值,並且在一第二磁場感測階段依據該受測磁場提供一第二電阻值,該第一電阻值與該第二電阻值不相同,其中該磁化方向設定動作在該第一磁場感測階段設定該異向性磁電阻的磁化方向為一第一設定方向,並且在該第二磁場感測階段設定該異向性磁電阻的磁化方向為一第二設定方向,該第一設定方向與該第二設定方向相反;一電流產生器,耦接該異向性磁電阻,提供一電流依據一電流方向以流經該異向性磁電阻的兩端;以及一運算器,具有第一輸入端與第二輸入端分別耦接至該異向性磁電阻的兩端,針對該第一磁場感測階段以及該第二磁場感測階段中,該異向性磁電阻依據該電流所分別產生的一第一電壓差以及一第二電壓差進行減法運算,並藉以產生一磁場感測電壓結果。 A magnetic field sensing device includes: an anisotropic magnetoresistance that is set in a magnetization direction to provide a first resistance value according to a measured magnetic field during a first magnetic field sensing phase, and a second magnetic field The sensing phase provides a second resistance value according to the measured magnetic field, the first resistance value is different from the second resistance value, wherein the magnetization direction setting action sets the anisotropic magnetoresistance in the first magnetic field sensing phase The magnetization direction is a first set direction, and the magnetization direction of the anisotropic magnetoresistance is set to a second set direction in the second magnetic field sensing phase, the first set direction is opposite to the second set direction; a current generator coupled to the anisotropic magnetoresistor to provide a current according to a current direction to flow through both ends of the anisotropic magnetoresistance; and an operator having a first input end coupled to the second input end Connected to both ends of the anisotropic magnetoresistance, in the first magnetic field sensing phase and the second magnetic field sensing phase, a first voltage difference generated by the anisotropic magnetoresistance according to the current and a First Subtraction voltage difference, and so as to generate a magnetic field sensing voltage results. 如申請專利範圍第1項所述的磁場感測裝置,其中該第一設定方向與該電流方向相同或相反。 The magnetic field sensing device of claim 1, wherein the first set direction is the same as or opposite to the current direction. 如申請專利範圍第1項所述的磁場感測裝置,其中該運算器包括:一誤差放大器,該誤差放大器的第一輸入端與第二輸入端分 別耦接至該異向性磁電阻的兩端,用以在該第一磁場感測階段依據該異向性磁電阻的兩端的電壓提供該第一電壓差以及在第二磁場感測階段依據該異向性磁電阻的兩端的電壓提供該第二電壓差;一暫存裝置,耦接至該誤差放大器的輸出端,用以儲存該第一電壓差;以及一算術運算器,耦接至該暫存裝置以及該誤差放大器,用以接收該第一電壓差以及該第二電壓差,並且針對該第一電壓差以及該第二電壓差進行算術運算以產生該磁場感測電壓結果。 The magnetic field sensing device of claim 1, wherein the operator comprises: an error amplifier, the first input end and the second input end of the error amplifier Not coupled to both ends of the anisotropic magnetoresistor for providing the first voltage difference according to the voltage across the anisotropic magnetoresistive resistor during the first magnetic field sensing phase and according to the second magnetic field sensing phase The voltage across the anisotropic magnetoresistance provides the second voltage difference; a temporary storage device coupled to the output of the error amplifier for storing the first voltage difference; and an arithmetic operator coupled to The temporary storage device and the error amplifier are configured to receive the first voltage difference and the second voltage difference, and perform an arithmetic operation on the first voltage difference and the second voltage difference to generate the magnetic field sensing voltage result. 如申請專利範圍第3項所述的磁場感測裝置,其中該暫存裝置用以儲存該第一電壓差以及該第二電壓差。 The magnetic field sensing device of claim 3, wherein the temporary storage device is configured to store the first voltage difference and the second voltage difference. 如申請專利範圍第1項所述的磁場感測裝置,其中該異向性磁電阻包括至少一第一子異向性磁電阻以及至少一第二子異向性磁電阻,該至少一第一子異向性磁電阻以及該至少一第二子異向性磁電阻串接於該運算器的第一輸入端以及第二輸入端間。 The magnetic field sensing device of claim 1, wherein the anisotropic magnetoresistance comprises at least a first anisotropic magnetoresistance and at least a second anisotropic magnetoresistance, the at least one first The sub anisotropy magnetoresist and the at least one second sub anisotropy magnetoresistor are connected in series between the first input end and the second input end of the arithmetic unit. 如申請專利範圍第5項所述的磁場感測裝置,其中該磁化方向設定動作在該第一磁場感測階段設定該至少一第一子異向性磁電阻的磁化方向為該第一設定方向,設定該至少一第二子異向性磁電阻的磁化方向為該第二設定方向,並且在該第二磁場感測階段設定該至少一第一子異向性磁電阻的磁化方向為該第三設定方向,設定該至少一第二子異向性磁電阻的磁化方向為該第四設定方向, 其中該第一設定方向與該第二設定方向相同或相反,其中該第一設定方向與該第三設定方向相反以及該第二設定方向與該第四設定方向相反。 The magnetic field sensing device of claim 5, wherein the magnetization direction setting operation sets a magnetization direction of the at least one first anisotropic magnetoresistor to the first set direction in the first magnetic field sensing phase And setting a magnetization direction of the at least one second sub-antotropic magnetoresistance to the second set direction, and setting a magnetization direction of the at least one first anisotropic magnetoresistance to the second magnetic field sensing stage Setting a direction of three, setting a magnetization direction of the at least one second sub-anisotropy magnetoresor to the fourth set direction, The first setting direction is the same as or opposite to the second setting direction, wherein the first setting direction is opposite to the third setting direction and the second setting direction is opposite to the fourth setting direction. 如申請專利範圍第6項所述的該磁場感測裝置,其中該第一設定方向與該電流方向相同或相反。 The magnetic field sensing device of claim 6, wherein the first set direction is the same as or opposite to the current direction. 一種磁場感測方法,包括:提供一電流依據一電流方向以流經一異向性磁電阻的兩端;在一第一磁場感測階段透過一磁化方向設定動作,使該異向性磁電阻依據一受測磁場提供一第一電阻值,並且依據該電流產生一第一電壓差,其中,在該第一磁場感測階段透過該磁化方向設定動作設定該異向性磁電阻的磁化方向為一第一設定方向;在一第二磁場感測階段透過該磁化方向設定動作,使該異向性磁電阻依據該受測磁場提供一第二電阻值,並且依據該電流產生一第二電壓差,其中,在該第二磁場感測階段透過該磁化方向設定動作設定該異向性磁電阻的磁化方向為一第二設定方向,其中該第一設定方向與該第二設定方向相反;以及依據該第一電壓差以及該第二電壓差進行減法運算,並藉以產生一磁場感測電壓結果。 A magnetic field sensing method includes: providing a current according to a current direction to flow through both ends of an anisotropic magnetoresistance; and setting an action through a magnetization direction in a first magnetic field sensing phase to cause the anisotropic magnetoresistance Providing a first resistance value according to a measured magnetic field, and generating a first voltage difference according to the current, wherein a magnetization direction of the anisotropic magnetoresistor is set by the magnetization direction setting action during the first magnetic field sensing phase a first setting direction; a magnetizing direction setting action in a second magnetic field sensing phase, the anisotropic magnetoresistance providing a second resistance value according to the measured magnetic field, and generating a second voltage difference according to the current The magnetizing direction of the anisotropic magnetoresistor is set to a second set direction by the magnetization direction setting operation, wherein the first set direction is opposite to the second set direction; and The first voltage difference and the second voltage difference are subtracted and thereby generate a magnetic field sensing voltage result. 如申請專利範圍第8項所述的磁場感測方法,其中該第一設定方向與該電流方向相同或相反。 The magnetic field sensing method of claim 8, wherein the first set direction is the same as or opposite to the current direction. 如申請專利範圍第8項所述的磁場感測方法,其中,在該第一磁場感測階段透過該磁化方向設定動作,使該異向性磁電 阻依據該受測磁場提供該第一電阻值,並且依據該電流產生該第一電壓差的步驟更包括:在該第一磁場感測階段,依據比較該異向性磁電阻的兩端的電壓的差值以提供該第一電壓差;以及暫存該第一電壓差;在該第二磁場感測階段透過該磁化方向設定動作,使該異向性磁電阻依據該受測磁場提供該第二電阻值,並且依據該電流產生該第二電壓差的步驟更包括:在該第二磁場感測階段依據比較該異向性磁電阻的兩端的電壓的差值以提供該第二電壓差。 The magnetic field sensing method of claim 8, wherein the magnetizing direction is set in the first magnetic field sensing phase to cause the anisotropic magnetoelectric The step of providing the first resistance value according to the measured magnetic field, and generating the first voltage difference according to the current further comprises: comparing the voltages of the two ends of the anisotropic magnetoresistance during the first magnetic field sensing phase a difference is provided to provide the first voltage difference; and the first voltage difference is temporarily stored; and the magnetizing direction setting action is performed in the second magnetic field sensing phase, so that the anisotropic magnetoresistance provides the second according to the measured magnetic field And the step of generating the second voltage difference according to the current further comprises: comparing the difference between the voltages across the anisotropic magnetoresistance in the second magnetic field sensing phase to provide the second voltage difference. 如申請專利範圍第10項所述的磁場感測方法,更包括:暫存該第二電壓差。 The magnetic field sensing method of claim 10, further comprising: temporarily storing the second voltage difference. 如申請專利範圍第8項所述的磁場感測方法,更包括:提供相互串接的至少一第一子異向性磁電阻以及至少一第二子異向性磁電阻以形成該異向性磁電阻。 The magnetic field sensing method of claim 8, further comprising: providing at least one first sub-anisotropy magnetoresistance and at least one second sub-anisotropy magnetoresistance connected in series to form the anisotropy Magnetoresistance. 如申請專利範圍第12項所述的磁場感測方法,其中,在該第一磁場感測階段透過該磁化方向設定動作,使該異向性磁電阻依據該受測磁場提供該第一電阻值的步驟包括:在該第一磁場感測階段透過該磁化方向設定動作設定該至少一第一子異向性磁電阻的磁化方向為該第一設定方向,並且設定該至少一第二子異向性磁電阻的磁化方向為該第二設定方向,其中該第一設定方向與該第二設定方向相同或相反;以及 在該第二磁場感測階段透過該磁化方向設定動作,使該異向性磁電阻依據該受測磁場提供該第二電阻值的步驟包括:在該第二磁場感測階段透過該磁化方向設定動作設定該至少一第一子異向性磁電阻的磁化方向為該第三設定方向,並且設定該至少一第二子異向性磁電阻的磁化方向為該第四設定方向,其中該第一設定方向與該第三設定方向相反以及該第二設定方向與該第四設定方向相反。 The magnetic field sensing method of claim 12, wherein the magnetizing direction setting action is performed during the first magnetic field sensing phase, so that the anisotropic magnetoresistance provides the first resistance value according to the measured magnetic field. The step of: setting, in the first magnetic field sensing phase, the magnetization direction of the at least one first anisotropic magnetoresistor to the first set direction, and setting the at least one second sub-inotropic direction The magnetization direction of the magnetoresistance is the second set direction, wherein the first set direction is the same as or opposite to the second set direction; The step of setting the magnetization direction through the magnetization direction during the second magnetic field sensing phase, the step of providing the anisotropic magnetoresistance according to the measured magnetic field includes: setting the magnetization direction through the second magnetic field sensing phase The action sets the magnetization direction of the at least one first anisotropic magnetoresistance to the third set direction, and sets the magnetization direction of the at least one second sub-anisotropy magnetoresistor to the fourth set direction, wherein the first The set direction is opposite to the third set direction and the second set direction is opposite to the fourth set direction. 如申請專利範圍第13項所述的磁場感測方法,其中該第一設定方向與該電流方向相同或相反。 The magnetic field sensing method of claim 13, wherein the first set direction is the same as or opposite to the current direction.
TW106123158A 2017-02-23 2017-07-11 Magnetic field sensing apparatus and detection method thereof TWI633319B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710784912.6A CN108469595B (en) 2017-02-23 2017-09-04 Magnetic field sensing device and sensing method
US15/719,586 US10436857B2 (en) 2017-02-23 2017-09-29 Magnetic field sensing apparatus and sensing method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762462354P 2017-02-23 2017-02-23
US62/462,354 2017-02-23

Publications (2)

Publication Number Publication Date
TWI633319B true TWI633319B (en) 2018-08-21
TW201831918A TW201831918A (en) 2018-09-01

Family

ID=63959709

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106123158A TWI633319B (en) 2017-02-23 2017-07-11 Magnetic field sensing apparatus and detection method thereof

Country Status (1)

Country Link
TW (1) TWI633319B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723412B (en) * 2019-06-05 2021-04-01 愛盛科技股份有限公司 Magnetic field sensing apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN210142176U (en) * 2019-03-18 2020-03-13 爱盛科技股份有限公司 Magnetic field sensing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201337302A (en) * 2012-03-05 2013-09-16 Ind Tech Res Inst Magnetic field sensing method and magnetic field sensing apparatus using tunneling magneto-resistor device
JP2014016346A (en) * 2012-07-06 2014-01-30 Senis Ag Magnetic converter and current converter for measuring electric current
CN103703382A (en) * 2011-05-30 2014-04-02 株式会社东海理化电机制作所 Detecting device and current sensor
CN104246445A (en) * 2012-04-26 2014-12-24 三菱电机株式会社 Magnetic position detecting apparatus
US20150260805A1 (en) * 2014-03-13 2015-09-17 Kabushiki Kaisha Toshiba Magnetic sensor, magnetic inspection device, and sheet processing apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703382A (en) * 2011-05-30 2014-04-02 株式会社东海理化电机制作所 Detecting device and current sensor
TW201337302A (en) * 2012-03-05 2013-09-16 Ind Tech Res Inst Magnetic field sensing method and magnetic field sensing apparatus using tunneling magneto-resistor device
CN104246445A (en) * 2012-04-26 2014-12-24 三菱电机株式会社 Magnetic position detecting apparatus
JP2014016346A (en) * 2012-07-06 2014-01-30 Senis Ag Magnetic converter and current converter for measuring electric current
US20150260805A1 (en) * 2014-03-13 2015-09-17 Kabushiki Kaisha Toshiba Magnetic sensor, magnetic inspection device, and sheet processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723412B (en) * 2019-06-05 2021-04-01 愛盛科技股份有限公司 Magnetic field sensing apparatus

Also Published As

Publication number Publication date
TW201831918A (en) 2018-09-01

Similar Documents

Publication Publication Date Title
US11085952B2 (en) Current sensor using modulation of or change of sensitivity of magnetoresistance elements
US8847591B2 (en) Current sensor
US7969149B2 (en) Magnetic sensor, magnetic direction sensor, method of detecting magnetic field and method of detecting magnetic direction
JP4719257B2 (en) Magnetic angle measuring method and apparatus
US9360533B2 (en) Reading circuit for a magnetic field sensor with sensititivy calibration, and related reading method
US9588134B2 (en) Increased dynamic range sensor
TWI431301B (en) Magnetic field sensing method and magnetic field sensing apparatus using tunneling magneto-resistor device
US8957676B2 (en) Magnetic field sensor having a control node to receive a control signal to adjust a threshold
US10571296B2 (en) Circuit, method and sensor for obtaining information on a physical quantity
US20160291097A1 (en) Tunneling magneto-resistor device for sensing a magnetic field
US11262422B2 (en) Stray-field-immune coil-activated position sensor
JP2021014986A (en) Current sensor and manufacturing method of current sensor
TWI633319B (en) Magnetic field sensing apparatus and detection method thereof
JP6321323B2 (en) Magnetic sensor
CN103312269A (en) Frequency doubling of xmr signals
JP7273876B2 (en) Magnetic sensor device, inverter device and battery device
US11835601B2 (en) Magnetoresistive magnetic field sensor bridge with compensated cross-axis effect
US20200300943A1 (en) Magnetic field sensing device
CN108469595B (en) Magnetic field sensing device and sensing method
CN100510624C (en) Magnetism detecting device and electronic azimuth meter using the same
JP2016142652A (en) Power sensor
JP4614856B2 (en) Magnetic detection device and electronic azimuth meter using the same