Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ELECTRONIC CIRCUIT FOR MEASURING AN ANGLE AND AN INTENSITY OF AN EXTERNAL MAGNETIC FIELD
Document Type and Number:
WIPO Patent Application WO/2020/188513
Kind Code:
A1
Abstract:
An electronic circuit for measuring an angle and an intensity of an external magnetic field (60), comprising: a first and second magnetic field sensing unit (300, 400) having sensing axis substantially orthogonal to each other; a voltage generator (200) supplying a synchronization signal (101), a first voltage waveform (201) to the first magnetic field sensing unit (300) and a second voltage waveform (202) to the second magnetic field sensing unit (400); a signal conditioning unit (500, 600) configured for adding up the first (301) to the second sensing output signal (401) outputting a conditioned signal (601); wherein the first and second voltage waveforms (201, 202) have substantially the same amplitude and the same frequency and are phase shifted by about 90° with respect to each other; and wherein the conditioned signal (601) and the synchronization signal (101) are inputted into a magnetic field angle detection unit (700) configured for measuring a phase shift between the conditioned signal (601) and the synchronization signal (101) and for determining the angle of the external magnetic field from the measured phase shift. The electronic circuit is also for measuring an intensity of the external magnetic field and each of the first and second magnetic field sensing units comprises a magnetic tunnel junction and is configured such that an amplitude of the first and second sensing output signals varies linearly with a variation of the intensity of the external magnetic field, the electronic circuit further comprising a magnetic field intensity detection unit configured to determine the intensity of the external magnetic field by sampling the amplitude of the summed signal (501) at its maximum to obtain a corresponding sampled magnetic field intensity output (801), the occurrence of the maximum being detected based on the conditioned signal (601) being a digital phase comparator signal of the summed signal (501).

Inventors:
TIMOPHEEV ANDREY (FR)
ALAOUI ALI (FR)
BURMISTROV EVGENY (US)
Application Number:
PCT/IB2020/052517
Publication Date:
September 24, 2020
Filing Date:
March 19, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CROCUS TECHNOLOGY SA (FR)
International Classes:
G01D5/14; G01R33/00; G01R33/06
Foreign References:
EP1918678A22008-05-07
US5880586A1999-03-09
EP3171615A12017-05-24
EP3122070A12017-01-25
EP2682773A12014-01-08
EP1918678A22008-05-07
US5880586A1999-03-09
Other References:
J. LENZ ET AL: "Magnetic sensors and their applications", IEEE SENSORS JOURNAL., vol. 6, no. 3, 1 June 2006 (2006-06-01), US, pages 631 - 649, XP055417848, ISSN: 1530-437X, DOI: 10.1109/JSEN.2006.874493
Attorney, Agent or Firm:
P&TS SA (AG, LTD.) (CH)
Download PDF:
Claims:
Claims

1. An electronic circuit for measuring an angle and an intensity of an external magnetic field (60), comprising:

a first magnetic field sensing unit (300) being configured to output a first sensing output signal (301) and a second magnetic field sensing unit (400) being configured to output a second sensing output signal (401), a first sensing axis (330) of the first magnetic field sensing unit (300) being substantially orthogonal to a second sensing axis (430) of the second magnetic field sensing unit (400);

a voltage generator (200) configured to supply a synchronization signal (101) having a generator frequency (fg) and to supply a first voltage waveform (201) to the first magnetic field sensing unit (300) and a second voltage waveform (202) to the second magnetic field sensing unit (400);

a signal conditioning unit (500, 600) into which the first and second sensing output signals (301, 401) are inputted and configured to add the first sensing output signal (301) to the second sensing output signal (401) and output a conditioned signal (601);

wherein the first and second voltage waveforms (201, 202) have substantially the same amplitude and the same generator frequency (fg), and are phase shifted by about 90° with respect to each other; and

wherein a magnetic field angle detection unit (700), is configured to receive the conditioned signal (601) and the synchronization signal (101), and is configured to measure a phase shift between the conditioned signal (601) and the synchronization signal (101) and to determine the angle (Q) of the external magnetic field from the measured phase shift;

characterized in that

each of the first and second magnetic field sensing units (300,

400) comprises a magnetic tunnel junction and is configured such that an amplitude of the first and second sensing output signals (301, 401) varies linearly with a variation of the intensity of the external magnetic field (60), the electronic circuit further comprising a magnetic field intensity detection unit (800) configured to determine the intensity (H) of the external magnetic field (60) from an amplitude of the conditioned signal (601);

and/or, the magnetic field sensing units (300, 400) comprise magnetic field sensing elements having the reference magnetization (210) in the saturated state so that the intensity of the external magnetic field (60) can be determined.

2. The electronic circuit according to claim 1,

wherein signal conditioning unit (500, 600) is configured to add the first sensing output signal (301) to the second sensing output signal (401) in the ratio 1 :1.

3. The electronic circuit according to any one of claims 1 to 2, wherein each of the first and second magnetic field sensing unit (300, 400) comprises a plurality of magnetic field sensing elements (20-23) arranged in half-bridge or full-bridge circuit acting as a voltage divider, wherein the divider ratio is a function of the angle and field intensity of the external magnetic field.

4. The electronic circuit according to any one of claims 1 to 2, wherein said magnetic field sensing element (20-23) comprises a magnetic tunnel junction.

5. The electronic circuit according to any one of claims 1 to 4, wherein the signal conditioning unit comprises a phase comparator (600); the phase comparator (600) being configured to sum the first sensing output signal (301) to the second output signal (401) and to detect the phase of the summed signal; and

wherein the outputted conditioned signal (601) comprises a digital phase comparator signal.

6. The electronic circuit according to any one of claims 1 to 4, wherein the signal conditioning unit comprises an adder circuit (500) into which the first and second sensing output signals (301, 401) are inputted, the adder circuit (500) being configured to add up the first and second sensing output signals (301, 401) and output a corresponding summed signal (501);

wherein the signal conditioning unit further comprises a phase comparator (600) into which the summed signal (501) is inputted, the phase comparator (600) being configured to detect the phase of the summed signal (501); and wherein the conditioned signal corresponds to a digital phase comparator signal (601) outputted by the phase comparator (600).

7. The electronic circuit according to claim 6,

further comprising a DC blocking capacitor (350) between each of the first magnetic field sensing unit (300) and the second magnetic field sensing unit (400) and the input of the adder circuit (500).

8. The electronic circuit according to claim 6,

further comprising a low-pass filter (900) placed between the output of the adder circuit (500) and the input of the phase comparator (600), said low- pass filter (900) being configured to suppress higher order harmonics, except the first harmonic of the summed signal (501).

9. The electronic circuit according to claim 6,

further comprising a sensor correction module (360) connected to each of the first magnetic field sensing unit (300) and the second magnetic field sensing unit (400).

10. The electronic circuit according to any one of claims 1 to 9, wherein the voltage generator (200) is further configured to supply a generator synchronization signal (203) having the generator frequency (fg) for synchronizing the magnetic field angle detection unit (700).

11. The electronic circuit according to claim 10,

wherein the magnetic field angle detection unit (700) comprises a RS trigger into which the phase comparator signal (601) and the generator synchronization signal (203) are inputted, such that the information corresponding to the magnetic field angle (701) is coded in a pulse width modulated signal. 12. The electronic circuit according to claim 5,

wherein the first and second magnetic field sensing units (300, 400) are connected such as to form a differential magnetic field sensor

arrangement. 13. The electronic circuit according to claim 6,

wherein the phase comparator signal (601) is inputted in the magnetic field intensity detection unit (800) configured to sample the amplitude of the summed signal (501) at its maximum and to obtain a sampled magnetic field intensity output (801) comprising the information about the external field intensity (H).

14. The electronic circuit according to claim 13,

wherein the magnetic field intensity detection unit (800) is configured to sample the amplitude of the summed signal (501) by synchronizing the summed signal (501) with the phase of the summed signal (501) and a predefined delay which is set by the number of clock pulses of the synchronization signal (101) and which corresponds to 90° phase shift with respect to the phase comparator signal (601).

15. The electronic circuit according to claim 12,

further comprising a differential amplifier (650) comprising two analog input terminals to which the first and second sensing output signals (301, 401) are connected; the differential amplifier (650) being configured for outputting a binary digital differential amplifier output signal (651) that is inputted into the magnetic field intensity detection unit (800) such as to determine the intensity (H) of the external magnetic field (60).

Description:
Electronic circuit for measuring an angle and an intensity of an external magnetic field

Field

[0001] The present disclosure concerns an electronic circuit for measuring an angle and an intensity of an external magnetic field and more particularly, to an electronic circuit that can determine the magnetic field angle directly from an analog signal.

Description of related art

[0002] Fig. 1 shows a conventional 2D magnetic sensor for measuring an orientation angle of an external magnetic field 60. Such a 2D magnetic sensor can be formed by combining two 1 D magnetic sensors 130, 131, wherein each 1 D magnetic sensor 130, 131 can be formed from four magnetic sensor elements arranged (not shown) in a full (Wheatstone) - bridge circuit configuration. One of the 1 D magnetic sensor 130 has a sensing axis 136 being orthogonal to the sensing axis 137 of the other 1 D magnetic sensor 131. A constant DC voltage (V) can be supplied to the two 1 D magnetic sensors 130, 131. Each 1 D magnetic sensor 130, 131 generates a first output 132 and a second output 133. The first and second output signals 132, 133 of each of the1 D magnetic sensors 130, 131 are supplied to the input terminals of a respective differential amplifier 650. Each differential amplifier 650 outputs a differential amplifier output signal 651 that is supplied to an analog-to-digital converter 134 in order to obtain two digitized signals 138. The two digitized signals 138 are inputted into a processing unit 139 where software routine solves the arctangent of the ratio of the two digitized signals 138 to extract the external magnetic field angle.

[0003] EP1918678 discloses a displacement sensor using GMR elements for detecting a displacement of a physical quantity such as angle is to be provided wherein a waveform distortion of output voltage is diminished. There are installed at least two Wheatstone bridge circuits having a predetermined angular offset and each comprising a plurality of GMR elements, the GMR elements each having a fixed magnetic layer set to a predetermined magnetization direction. An AC power supply is used as a power supply of the Wheatstone bridge circuits and a displacement of a physical quantity such as a rotational angle is detected on the basis of AC- modulated outputs from the Wheatstone bridge circuits. An anisotropic self-bias effect of a free magnetic layer in each GMR element can be diminished and hence it is possible to remedy a waveform distortion of an output signal based on the anisotropic self-bias effect of the free magnetic layer.

[0004] US5880586 discloses an apparatus for determining rotational position of a rotatable element without contacting it, which includes a sensor device having two Hall or AMR sensor elements for sensing a magnetic field of magnetic field strength (B) generated by or influenced by the rotational position of the rotatable element and for producing output signals according to the magnetic field and thus the rotational position of the rotatable element. In order to easily detect the absolute rotational position of the rotatable element, the sensor device is constructed and positioned with respect to the rotatable element so that in every rotational position the field lines from the rotatable element extend at right angles to the sensor structures defined by the direction of an alternating current in the sensor elements. Using different embodiments of an electronic evaluation circuit, the direction components of the magnetic field are evaluated to determine the rotational position by comparing the input current to one of the sensors and the sum of the output signals of the respective sensor elements. Either sinusoidal or rectangular alternating voltages or direct voltages are input to the sensor elements.

[0005] A disadvantage of the conventional 2D magnetic sensor is that it must perform cumbersome and lengthy mathematical operations which require a powerful processing unit 139. Summary

[0006] According to the invention, an electronic circuit for measuring an angle and a field intensity of an external magnetic field, comprises:

a first magnetic field sensing unit outputting a first sensing output signal and a second magnetic field sensing unit outputting a second sensing output signal, a first sensing axis of the first magnetic field sensing unit being substantially orthogonal to a second sensing axis of the second magnetic field sensing unit;

a periodic voltage generator supplying a synchronization signal having a generator frequency, the periodic voltage generator further supplying a first voltage waveform to the first magnetic field sensing unit and a second voltage waveform to the second magnetic field sensing unit;

a signal conditioning unit configured for adding the first sensing output signal to the second sensing output signal and outputting a conditioned signal;

wherein the first and second voltage waveforms have substantially the same amplitude and the same generator frequency, and are phase shifted by about 90° with respect to each other; and

wherein the conditioned signal and the synchronization signal are inputted into a magnetic field angle detection unit, the magnetic field angle detection unit being configured for measuring a phase shift between the conditioned signal and the synchronization signal and for determining the angle of the external magnetic field from said measured phase shift.

[0007] The electronic circuit according to the invention uses the principle of quadrature amplitude modulation (QAM). The angle of the external magnetic field can be determined directly from the analog conditioned signal.

[0008] The first voltage waveform Q(t) and the second voltage waveform /(f) can be represented, respectively by equations (1) and (2):

(t) = AΊ sin (0 (f)) (1) /(t) = A cos ( Q (t)) (2),

where Q is the angle of the external magnetic field, A- \ is the amplitude of the first magnetic field sensing unit and A2 is the amplitude of the second magnetic field sensing unit. The amplitudes > 4i, A2 of the first and second sensing output signal are modulated by the external magnetic field angle and intensity.

[0009] By combining the two quadrature signals, i.e., the first and second voltage waveforms, each having a defined amplitude, one obtains a new periodic signal (conditioned signal) which phase is defined by arctangent of the amplitudes ratio of initial first and second voltage waveforms.

[0010] The conditioned signal can correspond to a monoharmonic signal having a phase and an amplitude. Both amplitude and phase of the monoharmonic conditioned signal carry the information of the angle and field intensity of the external magnetic field. The phase shift of the conditioned signal relative to the first and second voltage waveform contains information about the angle of the external magnetic field.

[0011] If the amplitudes > 4i, Az are equal, the phase in the conditioned signal is equal to the magnetic field angle f (t) given by equation (3):

0(t) = tan 1 (Q(t /I(t)) = Q (t) (3).

[0012] The amplitude A c of the conditioned signal is then equal to:

(4).

which is independent on the angle of the external magnetic field. Thus, if the first and second magnetic field sensing units work in the linear regime, the amplitude A c of the conditioned signal can be used as a measure of external magnetic field intensity. Otherwise a linearization procedure can be applied to recover magnetic field amplitude.

[0013] In an embodiment, the first voltage waveform comprises a sine wave and the second voltage waveform comprises a cosine wave. [0014] The first and second sensing output signals are substantially in- phase with the first and second voltage waveforms, and the amplitude of the first and second sensing output signal is proportional to the cosine of the angle between the first and second sensing axis and to the angle of the external magnetic field.

[0015] The signal conditioning unit can be configured for adding the first sensing output signal to the second sensing output signal in the ratio 1 :1 or with different ratio which considers possible difference in sensitivity between two sensing units. The signal conditioning unit can also admix a certain part of the input signal driving sensing unit to its output to cancel possible electrical offset stemming from electrical misbalance of four sensing elements comprising a Wheatstone full bridge - i.e. a sensing unit. The signal conditioning unit can also apply a correction to the summed signal in case of non-orthogonal configuration of sensing axes of two sensing units. Finally, the signal conditioning unit can apply filtering to the summed signal to filter out higher order harmonics from the signal and to improve thereby the accuracy of the electronic circuit.

[0016] In an embodiment, the first magnetic field sensing unit and second magnetic field sensing unit are configured such that an amplitude of the first and second sensing output signals varies linearly with a variation of the external magnetic field intensity. The electronic circuit can then comprise a magnetic field intensity detection unit configured for determining the field intensity of the external magnetic field. For fixed amplitude of magnetic field, each sensing unit gives an output differential voltage which is proportional to cosine of the angle between external magnetic field direction and sensing axis direction of a sensing unit.

[0017] The electronic circuit according to the invention does not require lengthy mathematical operations and a powerful processing unit. The angle and field intensity of the external magnetic field can be determined directly from the analog conditioned signal.

Brief Description of the Drawings [0018] The invention will be better understood with the aid of the description of an embodiment given by way of example and illustrated by the figures, in which:

Fig. 1 shows a conventional sensor for measuring an orientation angle of an external magnetic field;

Fig. 2 shows an electronic circuit for measuring an angle and an intensity of an external magnetic field, according to an embodiment.

Figs. 3 to 13 show the electronic circuit, according to other embodiments.

Detailed Description of possible embodiments

[0019] An electronic circuit 10 for measuring an angle Q and an intensity H of an external magnetic field 60 is shown in Fig. 2, according to an embodiment. The circuit comprises a voltage generator 200 configured for supplying a first generator signal 201 and a second generator signal 202. Each of the first and second generator signals 201, 202 has a periodic voltage waveform of fixed generator frequency f g and amplitude. A phase shift between the first generator signal 201 and the second generator signal 202 is of substantially 90°. The voltage generator 200 can further be configured for supplying a synchronization signal 101 having the generator frequency f g . Alternatively, the electronic circuit 10 can further comprise a clock generator 100 generating the clock synchronization signal 101. The synchronization signal 101 synchronizes the operation of the voltage generator 200.

[0020] The electronic circuit 10 further comprises a first magnetic field sensing unit 300 outputting a first sensing output signal 301 and a second magnetic field sensing unit 400 outputting a second sensing output signal 401. The first magnetic field sensing unit 300 has a sensing axis 330 that is substantially orthogonal to a sensing axis 430 of the second magnetic field sensing unit 400. [0021] The first generator signal 201 is supplied to an input of the first magnetic field sensing unit 300 and the second generator signal 202 is supplied to an input of the second magnetic field sensing unit 400. The first magnetic field sensing unit 300 outputs a first sensing output signal 301 and the second magnetic field sensing unit 400 outputs a second sensing output signal 401. The amplitude of the first and second sensing output signals 301, 401 is changed relative to the amplitude of the first and second generator signals 201, 202, depending on the orientation of the external magnetic field 60, i.e., relative to the angle Q of the external magnetic field 60 and its intensity when the sensor is operating in the linear range.

[0022] The electronic circuit 10 further comprises a signal conditioning unit 500, 600 into which the first and second sensing output signals 301,

401 are inputted. The signal conditioning unit 500, 600 is configured for adding (or summing) the first sensing output signal 301 to the second output signal 401 and outputting a conditioned signal 601. The

conditioned signal 601 can correspond to a monoharmonic signal having the generator frequency f g .

[0023] The first generator signal 201 and the second generator signal 202 can also be inputted into the signal conditioning unit 500, 600 in order to compensate possible Wheatstone bridge electrical misbalance in modules 300, 400, to compensate possible misorthogonality between sensing axes 330 and 430 and to filter higher order harmonics from the summed signal.

[0024] The electronic circuit 10 further comprises a magnetic field angle detection unit 700. The conditioned signal 601 and the clock

synchronization signal 101 are supplied to an input of the magnetic field angle detection unit 700. The synchronization signal 101 thus further synchronizes the operation of the magnetic field angle detection unit 700. The magnetic field angle detection unit 700 is configured for measuring a phase shift between the conditioned signal 601 and the synchronization signal 101. The magnetic field angle detection unit 700 is further configured for determining the angle Q of the external magnetic field 60 from the measured phase shift. The magnetic field angle detection unit 700 outputs a digital angle output 701 comprising the information about the determined angle Q.

[0025] The first magnetic field sensing unit 300 and second magnetic field sensing unit 400 are configured such that an amplitude of the first and second sensing output signals varies linearly with a variation of the external magnetic field intensity H. In that case, the electronic circuit can comprise a magnetic field intensity detection unit 800 configured for determining the external field intensity. The magnetic field intensity detection unit 800 can be configured for measuring an amplitude of the conditioned signal 601, supplied to an input of the magnetic field intensity detection unit 800, and determining the external field intensity H from the conditioned signal 601. The magnetic field intensity detection unit 800 outputs a digital magnetic field intensity output 801 comprising the information about the determined external field intensity H. The synchronization signal 101 further synchronizes the operation of the magnetic field intensity detection unit 800.

[0026] Each of the first magnetic field sensing unit 300 and second magnetic field sensing unit 400 can comprise a plurality of magnetic field sensing elements (20-23). Preferably, the magnetic field sensing elements are arranged in half-bridge or full (Wheatstone) -bridge circuit. In such configuration, the first and second magnetic field sensing units 300, 400 can act as a voltage divider, where the divider ratio is a function of intensity H and angle Q of the external magnetic field 60.

[0027] As used herein, the term "magnetic field sensing element" is used to describe a variety of electronic elements that can sense a magnetic field. The magnetic field sensing element can be, but is not limited to, a Hall Effect element, a magnetoresistance element, or a magnetotransistor. As is known, there are different types of magnetoresistance elements, for example, a semiconductor magnetoresistance element such as Indium Antimonide (InSb), a giant magnetoresistance (GMR) element, an anisotropic magnetoresistance element (AMR), a tunneling magnetoresistance (TMR) element, a magnetic tunnel junction (MTJ), a spin-valve, etc.

[0028] In a possible configuration illustrated in Fig. 3, the plurality of magnetic field sensing elements can comprise four magnetic field sensing elements arranged in a full-bridge circuit, comprising two magnetic field sensing elements 20, 21 connected in series in parallel to two other magnetic field sensing elements 22, 23 connected in series.

[0029] For example, the magnetic field sensing element 20-23 can comprise a MTJ, such as a self-referenced MTJ, comprising a reference layer having a reference magnetization 210 and a sense layer having a sense magnetization (not represented in Fig. 3) that can be oriented relative to the (pinned) reference magnetization 210, according to the orientation of the external magnetic field 60. A sensing axis 230 of the magnetic field sensing unit 300, 400 coincides with the direction of the reference magnetization 210. The sensing axis 330 of the first magnetic field sensing unit 300 substantially orthogonal to the sensing axis 430 of the second magnetic field sensing unit 400 can be obtained by programming the (pinning) direction of the reference magnetization 210.

[0030] In a possible variant, the signal conditioning unit 500, 600 can be configured for filtering out higher order harmonics from the conditioned signal 601. The signal conditioning unit 500, 600 can be further configured for performing amplitude and offset correction of the first and second sensing output signals 301, 401.

[0031] In another variant, the magnetic field angle detection unit 700 is configured for using linear mathematical operations in order to determine the magnetic field angle Q. The magnetic field angle detection unit 700 can be further configured for determining the angle Q of the external magnetic field 60 from the measured phase shift, and outputting the corresponding digital angle output 701. [0032] In yet another variant, the magnetic field intensity detection unit 800 is configured for digitizing and linearizing the magnetic field strength value H when generating the digital magnetic field intensity output 801.

[0033] Fig. 4 shows the electronic circuit 10, according to an

embodiment. Here, the voltage generator 200 is configured for supplying the first and second voltage waveforms 201, 202 having the same

generator frequency f g . The first and second voltage waveforms 201, 202 can comprise quadrature signals. For instance, the first voltage waveform 201 comprises a sine waveform and the second voltage waveform 202 comprises a cosine waveform. The voltage generator 200 can be further configured for supplying a generator synchronization signal 203 having the generator frequency f g , thus the same frequency as the one of the first and a second generator signals 201, 202.

[0034] In the configuration of Fig. 4, the signal conditioning unit comprises an adder circuit 500 into which the first and second sensing output signals 301, 401 are inputted. The adder circuit 500 is configured for adding up the first and second sensing output signals 301, 401 and outputting a corresponding summed signal 501. The adder circuit 500 can be configured for adding the first sensing output signal to the second sensing output signal in the ratio 1 :1

[0035] The signal conditioning unit comprises a phase comparator 600 into which the summed signal 501 is inputted. The phase comparator 600 is configured for detecting the phase of the summed signal 501 and output a digital phase comparator signal 601 that is inputted in the magnetic field angle detection unit 700. The phase comparator signal 601 may be a pulse width modulated signal wherein the duty period varies in proportion to the determined phase difference.

[0036] The magnetic field angle detection unit 700 can function as a counter that starts counting the pulses of the synchronization signal 101 coming from the clock generator 100 when comparator output 601 changes its state. The magnetic field angle detection unit 700 can stop counting the pulses of the synchronization signal 101 when the generator synchronization signal 203 arrives from the voltage generator 200. The number of counted pulses is proportional to the phase shift of the summed signal 501.

[0037] In the configuration of Fig. 4, the summed signal 501 and the phase comparator signal 601 are further inputted in the magnetic field intensity detection unit 800. The magnetic field intensity detection unit 800 can be configured for sampling the amplitude of the summed signal 501 at its maximum and obtaining a corresponding sampled magnetic field intensity output 801. This is performed thanks to synchronization with the phase of the summed signal 501 and predefined delay which is set by the number of clock pulses and which corresponds to 90° phase shift with respect to the phase comparator signal 601. The sampled magnetic field intensity output 801 can be digitized and linearized.

[0038] Figs. 5 to 10 show the electronic circuit 10 according to other embodiments, wherein the magnetic field sensing units 300, 400 comprise magnetic field sensing elements having the reference magnetization 210 in the saturated state. In such configuration, the electronic circuit 10 does not require the magnetic field intensity detection unit 800.

[0039] In the embodiment of Fig. 5, the electronic circuit 10 corresponds to the one of Fig. 4 without the magnetic field intensity detection unit 800. The summed signal 501 is inputted only in the phase comparator 600 and the phase comparator signal 601 is inputted only in the magnetic field angle detection unit 700.

[0040] Fig. 6 shows the electronic circuit 10 according to another embodiment. The electronic circuit 10 corresponds to the one of Fig. 5, wherein a DC blocking capacitor 350 is provided at each input of the adder circuit 500, i.e., in the electrical path of the first and second sensing output signals 301, 401. The capacitors 350 increases the angular resolution of the electronic circuit 10, i.e., increases the resolution of the determined angle Q of the external magnetic field 60. [0041] Fig. 7 shows the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to the one of Fig. 5, further comprising a low-pass filter 900 placed between the output of the adder circuit 500 and the input of the phase comparator 600. The low-pass filter 900 is configured for suppressing higher order harmonics, except the first harmonic (fundamental frequency) of the summed signal 501. The higher order harmonics can be introduced by the voltage generator 200 and/or by first and second magnetic field sensing units 300, 400. The low- pass filter 900 increases the angular resolution of the electronic circuit 10, i.e., increases the resolution of the determined angle Q of the external magnetic field 60.

[0042] Fig. 8 represents the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to the one of Fig. 5, further comprising a sensor correction module 360 connected to the output of the first magnetic field sensing unit 300 and the second magnetic field sensing unit 400. The sensor correction module 360 is configured for alleviating the imperfections of the first and second magnetic field sensing units 300, 400. In particular, the sensor correction module 360 can be used for matching the sensitivity of the first and second magnetic field sensing units 300, 400 by setting the internal gain (or resistive divider ratio).

[0043] In practice, a conventional magnetic field sensor has offsets that affect the voltage across the sensor. The presence of the voltage offset in the magnetic field sensing unit 300, 400 reduces the precision with which the logic state of the magnetic field sensing unit is read. The sensor correction module 360 can be used for at least partially eliminating that offset. The sensor correction module 360 can further be used for adding or subtracting part of the signal coming from the voltage generator 200.

[0044] The sensor correction module 360 can further be used for reducing departure in the orthogonality between the sensing axis 330 of the first magnetic field sensing unit 300 and the sensing axis 430 of the second magnetic field sensing unit 400. Reducing departure in the orthogonality between the sensing axis 330 and 430 can be further, or alternatively, realized either by programming the reference magnetization 210 of the magnetic field sensing element 20-23, or by resistor trimming, for example using laser trimming.

[0045] Fig. 9 represents the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to the one of Fig. 5, wherein the first sensing output signal 301 from the first magnetic field sensing unit 300 and the second output signal 401 form the second magnetic field sensing unit 400 are inputted directly into the phase comparator 600. The phase comparator 600 provides the functions of summing the first sensing output signal 301 to the second output signal 401 and of detecting the phase of the summed signal. The conditioned signal corresponds to a digital phase comparator signal 601 outputted by the phase comparator 600. The electronic circuit 10 is simpler than the other circuit configurations.

[0046] Fig. 10 shows the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to the one of Fig. 5, wherein the magnetic field angle detection unit 700 comprises a RS trigger (or RS flip flop) circuit into which the phase comparator signal 601 and the generator synchronization signal 203 are inputted. In this configuration, the information corresponding to the determined angle Q of the external magnetic field 60 is coded in a pulse width modulated signal. The electronic circuit 10 configuration of Fig. 9 can be advantageously used in auto regulating applications.

[0047] Fig. 11 illustrates the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to the one of Fig. 4, wherein the first and second magnetic field sensing units 300, 400 are connected such as to form a differential magnetic field sensor arrangement. In this configuration, summing the first sensing output signal 301 to the second output signal 401 is performed by the direct connection of the first sensing output signal 301 to the second output signal 401. The electronic circuit 10 further comprises a differential amplifier 650 comprising two analog input terminals to which the first and second sensing output signals 301, 401 are connected. The differential amplifier 650 outputs a binary digital differential amplifier output signal 651 that is inputted into the magnetic field intensity detection unit 800 such as to determine the intensity H of the external magnetic field 60 and output the magnetic field intensity 801.

[0048] The configuration of the electronic circuit 10 shown in Fig. 11 simpler that the circuit of Fig. 4. This configuration further avoids the use of a single-ended-to-differential transformation circuit.

[0049] Fig. 12 shows the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to a simplified variant of the circuit of Fig. 11, wherein the magnetic field sensing units 300, 400 comprise magnetic field sensing elements having the reference

magnetization 210 in the saturated state. In comparison with the

configuration of Fig. 11, the electronic circuit 10 does not comprise the differential amplifier 650 and does also not comprise the magnetic field intensity detection unit 800.

[0050] Fig. 13 shows the electronic circuit 10 according to yet another embodiment. The electronic circuit 10 corresponds to a simplified variant of the circuit of Fig. 5, wherein the voltage generator 200 comprises a single output monoharmonic voltage generator. In other words, the voltage generator 200 is configured for supplying the first generator signal

201, for example a sine waveform, and for supplying a generator

synchronization signal 203 having the same frequency as the first and a generator second signals 201. The electronic circuit 10 further comprises a phase shifter (or quadrature booster) 250 configured for phase-shifting by 90° the first generator signal 201 and generate the second generator signal

202.

[0051] In the case of embodiments shown on Fig. 2, 4, 5, 6, 7, 8, 9,10 and 13, the first and second magnetic field sensing units 300, 400 form a differential magnetic field sensor arrangement and it is a differential-to- single-ended transformation circuit is included in the electronic circuit 10. [0052] Having described various embodiments, which serve to illustrate various concepts, structures and techniques, which are the subject of this patent, it will now become apparent to those of ordinary skill in the art that other embodiments incorporating these concepts, structures and techniques may be used. Accordingly, it is submitted that that scope of the patent should not be limited to the described embodiments but rather should be limited only by the spirit and scope of the following claims.

Reference numbers and symbols

10 electronic circuit

20, 21 , 22, 23 magnetic field sensing element

60 external magnetic field

100 clock generator

101 clock synchronization signal

130 1 D magnetic sensor

131 1 D magnetic sensor

132 first output signal

133 second output signal

134 analog-to-digital converter

136, 137 sensing axis

138 digitized signal

139 processing unit

200 periodic voltage generator

201 first voltage waveform

202 second voltage waveform

203 generator synchronization signal

250 phase shifter

300 first magnetic field sensing unit

301 first sensing output signal

330 first sensing axis

350 capacitor

360 sensor correction module

400 second magnetic field sensing unit

401 second sensing output signal

430 second sensing axis

500 signal conditioning unit, adder circuit

501 summed signal

600 phase comparator

601 conditioned signal, phase comparator signal

650 differential amplifier

651 differential amplifier output signal

700 magnetic field angle detection unit

701 digital angle output

800 magnetic field intensity detection unit 801 digital magnetic field intensity output 900 low-pass filter

q magnetic field angle

fg fixed frequency, generator frequency

H magnetic field intensity

V voltage