Current sensors for contactless current measurement

By using the oscillation circuit of the magnetic core and the time measurement circuit in the current sensor, combined with the duty cycle amplification circuit, the problem of insufficient accuracy in measuring small currents and difference currents in the existing technology is solved, and high accuracy and high accuracy are achieved. Sensitivity of current measurements.

CN114966159BActive Publication Date: 2024-10-01VACUUMSCHMELZE GMBH & CO KG
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210110104.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-02-26
Filing Date
2022-01-29
Publication Date
2024-10-01
Estimated Expiration
2042-01-29

AI Technical Summary

Technical Problem

Existing current sensors that work based on the fluxgate principle have insufficient accuracy when measuring very small currents or current differences to be measured.

Method used

By arranging an oscillation circuit with a magnetic core in the current sensor, using magnetically coupled primary and secondary conductors, the magnetic core is periodically magnetized in opposite directions until the maximum value, and an oscillation signal is generated, and the oscillation signal is measured in different states. dwell time to determine the effective primary current measurement. At the same time, a time measurement circuit and a duty cycle amplification circuit are used to improve the resolution and accuracy of the measurement.

Benefits of technology

It achieves high-accuracy measurement of very small currents and difference currents, reduces quantization errors, improves the sensitivity of current sensors, and is suitable for applications such as fault current circuit breakers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114966159B_ABST
    Figure CN114966159B_ABST
Patent Text Reader

Abstract

The present invention describes a method for contactless current measurement. According to one embodiment, the method includes controlling at least one secondary conductor magnetically coupled to the magnetic core to alternately magnetize the magnetic core to a maximum value in a positive direction and a negative direction; generating an oscillating signal, the oscillating signal changes back and forth between a first state and a second state, thereby showing an alternating magnetization process; and determining a first measurement value of an effective primary current flowing through at least one primary conductor magnetically coupled to the magnetic core based on the time the oscillating signal stays in the first state and the second state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sensor device and a method for contactless current measurement, in particular to a device and a method based on the fluxgate principle. Background Art

[0002] So-called open-loop current sensors are known for contactless and thus potential-free current measurements. Open-loop current sensors measure the magnetic flux caused by the current to be measured, which depends on the intensity of the current to be measured. The measured magnetic flux value is also a measure of the intensity of the current to be measured. The conductor that conducts the current to be measured is usually surrounded by a magnetic core (for example a toroidal core) that guides the magnetic field. For example, a Hall sensor can be used as a sensor element for the magnetic flux. Current sensors constructed in this way are inexpensive, but have a relatively low accuracy.

[0003] Another group of current sensors forms so-called compensated current sensors, in which the magnetic field caused by the current to be measured in the magnetic core is compensated by means of a compensation winding arranged on the magnetic core, which generates an opposing magnetic field. The compensation winding is controlled with a compensation current by means of a closed control loop, so that the overall magnetic field in the magnetic core approaches zero. The zero point of the magnetic field can be detected by means of a magnetic field sensor element.

[0004] A group of special compensation current sensors form so-called fluxgate current sensors. These current sensors also have a mostly annular magnetic core with (at least one) primary winding that conducts the current to be measured and (at least one) secondary winding that is part of an oscillating circuit. When the oscillating circuit is operating, the magnetic core is periodically remagnetized. For this purpose, the current flowing through the secondary winding can always be reversed in polarity when magnetic saturation occurs in the magnetic core. The current through the secondary winding and the time until magnetic saturation is reached depend on the current to be measured in the primary winding. By suitable subsequent signal processing, the influence of the core hysteresis can be eliminated and thus a very accurate current measurement can be achieved.

[0005] For this reason, fluxgate current sensors are also suitable for differential current measurement. The differential current measurement forms a special case of the sum current measurement. In the sum current measurement, two or more primary conductors are magnetically coupled to a ring core so that the magnetic field of the current flowing in the primary conductors is constructively superimposed on the magnetic field in the core, so that the current sensor measures the sum of the currents flowing in the primary conductors. If the two primary windings are now wound so that the magnetic fields caused by the (primary) currents flowing therein are destructively superimposed in the core, the current sensor then measures the difference between the two primary currents. Current sensors suitable for differential current measurement are often used in fault current circuit breakers.

[0006] An example of a differential current sensor operating according to the fluxgate principle is disclosed in publication US 2016 / 0033555 A1 ( The inventors aimed to improve existing current sensors based on the fluxgate principle, especially in applications where the currents or current differences to be measured are very small. Summary of the invention

[0007] This object is achieved by a circuit according to the claim and by a method according to the claim. Various embodiments and developments are subject matter of the appended claims.

[0008] According to one embodiment, the current sensing circuit comprises an oscillating circuit with a magnetic core, at least one primary conductor magnetically coupled to the magnetic core and at least one secondary conductor magnetically coupled to the magnetic core. The oscillating circuit is configured to magnetize the magnetic core periodically in opposite directions up to a maximum value by controlling the at least one secondary conductor. The oscillating circuit is further configured to generate an oscillating signal, which changes from a first state to a second state or from a second state to a first state when the maximum value is reached. The time for which the oscillating signal stays in the first state and the second state depends on the effective primary current flowing through the at least one primary conductor. The current sensor further comprises a time measuring circuit, which is configured to periodically measure a first duration and a second duration, the oscillating signal staying in the first state for the first duration and in the second state for the second duration in an oscillation cycle. The analyzing unit is configured to measure a difference between the first duration and the second duration and to determine a measured value of the effective primary current based on the difference. In a particular embodiment, the effective primary current may be a difference current.

[0009] According to another embodiment, the current sensing circuit comprises an oscillating circuit with a magnetic core, at least one primary conductor magnetically coupled to the magnetic core and at least one secondary conductor magnetically coupled to the magnetic core. The oscillating circuit is configured to magnetize the magnetic core periodically in opposite directions up to a maximum value by controlling the at least one secondary conductor. The oscillating circuit is further configured to generate an oscillating signal having a duty cycle that depends on an effective primary current in the primary conductor. A duty cycle amplification circuit is configured to increase a deviation of the duty cycle from a reference value that depends on the effective primary current.

[0010] According to another embodiment, the current sensing circuit comprises an oscillating circuit with a magnetic core, at least one primary conductor magnetically coupled to the magnetic core and at least one secondary conductor magnetically coupled to the magnetic core. The oscillating circuit is configured to magnetize the magnetic core periodically in opposite directions up to a maximum value by controlling the at least one secondary conductor. The oscillating circuit is further configured to generate an oscillating signal, which changes from a first state to a second state or from a second state to the first state when the maximum value is reached. An analyzing unit is configured to determine a first measured value of an effective primary current flowing through the at least one primary conductor based on the time the oscillating signal stays in the first state and in the second state, and in parallel to this, to determine a second measured value of the effective primary current based on a secondary current flowing in the secondary conductor.

[0011] Other embodiments relate to a method for current measurement. In one embodiment, the method includes controlling at least one secondary conductor magnetically coupled to the magnetic core to alternately magnetize the magnetic core to a maximum value in a positive direction and a negative direction; generating an oscillating signal that changes back and forth between a first state and a second state, thereby showing an alternating magnetization process; determining a first time length and a second time length, the oscillating signal stays in the first state for the first time length and stays in the second state for the second time length in an oscillation cycle; and determining a measured value of an effective primary current flowing through at least one primary conductor magnetically coupled to the magnetic core based on a difference between the first time length and the second time length.

[0012] In another embodiment, the method includes alternately magnetizing the magnetic core to a maximum value in a positive direction and a negative direction by controlling at least one secondary conductor magnetically coupled to the magnetic core; generating an oscillating signal that changes back and forth between a first state and a second state, thereby showing an alternating magnetization process; and generating a modified oscillating signal having a duty cycle that deviates from a reference value by a greater amount than a corresponding duty cycle of the oscillating signal, the oscillating signal depending on an effective primary current flowing through at least one primary conductor magnetically coupled to the magnetic core.

[0013] In another embodiment, the method includes magnetizing the magnetic core alternately in a positive direction and a negative direction to a maximum value by controlling at least one secondary conductor magnetically coupled to the magnetic core; generating an oscillating signal, which changes back and forth between a first state and a second state, thereby showing an alternating magnetization process; determining a first measurement value of an effective primary current flowing through at least one primary conductor magnetically coupled to the magnetic core based on the time that the oscillating signal stays in the first state and the second state, and in parallel, determining a second measurement value of the effective primary current based on a secondary current signal representing the current flowing through the at least one secondary conductor. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The various embodiments will be explained in detail below with the aid of the drawings. The drawings are not necessarily to scale and the invention is not limited to the aspects shown. Instead, it is important to illustrate the basic principles of the embodiments shown.

[0015] Figure 1 A current sensor operating according to the fluxgate principle is shown in a block diagram.

[0016] Figure 2 The idealized curve of the magnetic susceptibility characteristic curve of the magnetic core in a freely oscillating current sensor with zero primary current is shown as a graph of the magnetic susceptibility over the magnetic field strength.

[0017] Figure 3 The idealized curve of the secondary current in a freely oscillating current sensor is shown in a current-time diagram with zero primary current.

[0018] Figure 4 The diagram of the magnetic susceptibility versus magnetic field strength shows an idealized curve of the magnetic susceptibility characteristic curve of a magnetic core in a freely oscillating current sensor with a primary current greater than zero.

[0019] Figure 5 The idealized curve of the secondary current in a freely oscillating current sensor is shown in a current-time diagram for a primary current greater than zero.

[0020] Figure 6 A current sensor operating according to the fluxgate principle, in particular for differential current measurement and for detecting the intensity of a primary current, is shown in a block diagram.

[0021] Figure 7 is a block diagram of a current sensing circuit according to one embodiment.

[0022] Figure 8 An example of a circuit for matching (amplifying) the duty cycle of a pulse width modulated signal is shown.

[0023] Figure 9-11 To display the Figure 8 A timing diagram of the function of the circuit.

[0024] Fig.12 For example, Figure 7 An example of an alternative implementation of a secondary winding in a current sensing assembly is shown in . DETAILED DESCRIPTION

[0025] exist Figure 1A current sensor operating according to the fluxgate principle is shown as a block diagram in FIG. 1 . In the example shown, the current sensor is to measure the current flowing through the primary conductor 101 , which is referred to below as the primary current i P . The current sensor has a primary conductor 102 and an annular magnetic core 103, for example, which is not slotted and is formed of a soft magnetic material. The magnetic core 103 magnetically couples the primary conductor 101 with the secondary conductor 102. The primary conductor 101 and the secondary conductor 102 can be implemented in an unwound (magnetically effective number of turns equal to 1) or wound (number of turns greater than 1) manner, respectively, wherein the number of turns of the primary conductor 101 and the secondary conductor 102 can be the same or different. The primary conductor 101 passes through the annular core 103, for example, in a straight line (unwound, number of turns equal to 1) and is surrounded by the annular core 103. The secondary conductor 102 can be implemented in a wound manner and have a number of turns N>1. In this case, the secondary conductor 102 is also referred to as a secondary winding.

[0026] The secondary conductor 102 is fed by a controlled voltage source 104 which, for example, generates a nearly rectangular two-pole source voltage ±U S And thereby drive the secondary current i S The voltage source 104 can be realized, for example, by means of a transistor H bridge. In order to measure the secondary current i S A resistor R may be connected between the secondary conductor 102 and the voltage source 104. CS The voltage U occurring across the measuring resistor 105 is extracted and preprocessed (eg digitized) by means of the measuring unit 106. CS and represents the secondary current i S The control unit 107 generates a control signal CTR for the voltage source 104 from it. Other concepts for measuring the secondary current are known. When a transistor bridge circuit is used as the voltage source 104, for example, a so-called sensor transistor can be used for current measurement.

[0027] The following will refer to Figures 2 to 5 Detailed explanation in Figure 1 The operation of the current sensor is shown in Figure 2 The magnetic susceptibility characteristic curve shown in FIG. 1 shows the ferromagnetic properties of the magnetic core 103 at a primary current of zero ampere, wherein the magnetic field strength H is recorded on the abscissa axis and the magnetic susceptibility M is recorded on the ordinate axis. The magnetic susceptibility characteristic curve has a nearly rectangular hysteresis with a coercive field strength H C and saturation magnetic susceptibility M SAT . Corresponding to Ampere's law, for the magnetic field strength H, we can simplify it to H = i S / l FE N, where parameter IFE refers to the effective magnetic path length of the magnetic field lines in the core 103, and N is the number of turns of the secondary conductor 102 when the number of turns of the primary conductor 101 is equal to 1.

[0028] According to Faraday's law, the voltage u induced in the secondary conductor 102 is i have:

[0029] u i =-N·dΦ / dt=-N·A·dB / dt, (1)

[0030] Where A is the (effective) cross-sectional area of ​​the core 103, Φ is the current i S The magnetic flux in the core 103 caused by the magnetic flux density is B, where B = μ0·(H+M), and μ0 is the magnetic field constant. During the remagnetization period of the core 103 (corresponding to Figure 2 The vertical branch on the left or right side of the magnetic susceptibility characteristic curve in the figure), the rate of change of magnetic susceptibility dM / dt is expressed as a function of the induced voltage u i is proportional to the magnetic field strength H and therefore also the secondary current i S is basically a constant, that is,

[0031] u i =-N·A·μ 0 ·dM / dt(remagnetization period) (2)

[0032] In other words, the derivative inductance of the secondary coil 102 during remagnetization is very large (ideally infinite). Once the magnetization in the core 103 has reached the saturation magnetic susceptibility M SAT , then the secondary current i S The increase is limited only by the sum of the ohmic resistance value RM of the secondary conductor 102 and the ohmic resistance value RM of the measuring resistor 105 .

[0033] exist Figure 3 As shown in Figure 1, when the primary current i P When the secondary current i is equal to zero, S The control unit 107 can identify the secondary current i S In the exemplary embodiment described here, once the secondary current i S Exceeding positive threshold +i SMAX or below the negative threshold -i SMAX , the control unit 107 generates a voltage U for the current source 104 SThe signal of the polarity switching is switched, thereby starting the next remagnetization cycle. The voltage source 104, the secondary winding 102, the current measuring circuit 106 and the control unit 107 basically form an oscillating circuit. As already mentioned, the polarity switching of the voltage source 104 is usually carried out when magnetic saturation is reached, thereby theoretically forming a relaxation oscillator. In the concept described here, the specific implementation of the oscillating circuit (such as the implementation of the current source, the current measurement and the magnetic saturation detection) is not repeated. Various possibilities are known per se.

[0034] During the remagnetization process, the secondary current i S is a constant and corresponds to the magnetizing current +i μ or -i μ . Magnetizing current i μ The absolute value of depends on the hysteresis width in the magnetization characteristic curve, that is, on the coercive field strength H C , i.e. i μ = l FE / N·H C (For the primary current i P =0A). Once the magnetic susceptibility in the core 103 reaches the positive or negative saturation magnetic susceptibility ±M SAT , secondary current i S As mentioned above, the secondary current i S The time curve of is symmetrical about the mean value.

[0035] Figure 4 and Figure 5 It is shown that for the primary current i P When the magnetic susceptibility characteristic curve and the secondary current i are not equal to zero, S The time curve of the primary current i P The magnetic field generated in the core 103 interacts with the secondary current i S Superposition, this Figure 4 It is expressed as the displacement of the magnetic susceptibility characteristic curve along the abscissa axis (with Figure 2 Compared with the secondary current i S The relevant time curve is Figure 5 This curve is similar to that in Figure 3 The situation shown in the figure, where the primary current i P is zero, but the difference is that the secondary current i S No longer about the horizontal axis (i S = 0) but extends symmetrically with respect to a straight line offset parallel thereto (where i S =i P / k) symmetric. That is, during the remagnetization process, except for the hysteresis bias ±i μ In addition, the primary current iP and the secondary current i S The ratio k is the same as the number of turns of the primary conductor 101 and the secondary conductor 102. When the number of turns of the primary conductor is 1, the ratio k corresponds to the number of turns N of the secondary conductor 102.

[0036] There are various approaches to determining the measured value of the primary current. A first approach consists in analyzing the secondary current during the remagnetization process. According to this, the secondary current i is measured at the measuring resistor 105 during the remagnetization process. S or voltage u CS Sampling (see Figure 3 ). Through the secondary current i S In the first half of the period (the first measurement cycle), the secondary current i S The signal is sampled and the current measurement value i is obtained. S [n-1]=(i P / N)+i μ , and in the second half of the cycle (the second measurement cycle) the current measurement value i is obtained S [n]=(i P / N)-i μ Then, the hysteresis error caused by the magnetizing current can be eliminated by averaging the first and second measurement cycles. The primary current i at the sampling time n is calculated as follows: P :

[0037] i P (n) = (N / 2)·(i S [n-1]+i S [n]). (3)

[0038] Since the hysteresis of the magnetic susceptibility characteristic curve has practically no influence on the measurement result, this current measurement method is very suitable for measuring very small currents. The measurement range is from a few milliamperes to thousands of milliamperes. During the remagnetization process of the magnetic core 103, the secondary current i S Follow the primary current i in a manner corresponding to the conversion ratio N:1 P During the remagnetization process, the secondary current i S At least one sample is taken to obtain the value used to determine the primary current i P The measured value (i S +i μ or S -i μ ). However, during the remagnetization process, the sampling can also be repeated at a defined sampling rate, which is significantly higher than the oscillation frequency f of the sensor. 传感器 During the remagnetization process and before magnetic saturation occurs in the core 103, the secondary current i S is approximately a constant and equal to (iP / N)±i μ However, this idealized consideration is applicable when the hysteresis characteristic curve of the magnetic core 103 is close to a rectangle.

[0039] References in the above text Figures 1 to 5 The way interpretation works can also be used Figure 1 The current sensor circuit shown in FIG. 1 is used for differential current measurement with only minor modifications. Differential current measurement is used, for example, in fault current circuit breakers. For this purpose, the primary winding 101 is divided into a first sub-winding 101a and (at least one) second sub-winding 101b. Correspondingly, the primary current flowing through the first sub-winding 101a is represented by i P1 The primary current flowing through the second sub-winding 101b is represented by i P2 The partial windings 101a and 101b can also each consist of only a single turn and be oriented such that the primary current i Pa and i Pb The magnetic fields caused at least partially compensate each other (destructive superposition) and only the net primary current i P1 -i P2 (effective primary current) produces a corresponding net magnetic field in the core 103. The net magnetic field is again related to the secondary current i S The magnetic field is superimposed. The correspondingly modified sensor is Figure 6 From Figure 6 The example has two primary windings 101a, 101b, and the effective primary current i P =i P1 -i P2 flows through the primary winding, in addition to Figure 6 Examples from Figure 1 The same is true for the example of . Depending on the orientation of the primary conductors 101a and 101b, instead of a differential current measurement, a sum current measurement can also be performed. It is also possible to provide more than two primary conductors, so that in theory the sum of any number of currents can be measured. The primary current in this case is i P =i P1 ±i P2 ±i P3 In the following, the symbol Δi is used in the case of differential current measurement. P For effective primary current (differential current).

[0040] exist Figure 6 In the example shown in FIG. 1 , the two primary windings 101 a and 101 b are connected upstream or downstream of the load 601 so that the current is only generated when, for example, there is a current corresponding to the difference current Δi in the range of the load 601. P =i P1 -i P2The leakage current (fault current) flows out when the difference (i.e. the net primary current i P1 -i P2 ) is not equal to zero. The difference current Δi P Similar to equation 3, the following is calculated from the sampled value of the secondary current:

[0041] Δi P (n) = N·(i S [n-1]+i S [n]) / 2. (4)

[0042] According to the second approach for determining the measured value of the primary current, the time of the remagnetization process is analyzed. The remagnetization process begins with the polarity reversal of the voltage source 4 and ends when magnetic saturation is reached (which triggers the next polarity reversal of the voltage source 104). One cycle includes two remagnetization processes, for example: from positive saturation of the core until negative saturation is reached and (after the polarity reversal of the voltage source 104) back to positive saturation. Figure 3 These times are indicated by Δt+ and Δt-, where Δt+ is the time until magnetic saturation is reached in the positive direction (that is, +M SAT ) and Δt- refers to the time until magnetic saturation is reached in the negative direction (that is, -M SAT ) time.

[0043] The time interval between Δt+ and Δt- (see Figure 3 ) is not a constant, but depends on the absolute value of the primary current. In addition, the voltage ±U generated by the voltage source 104 S The amplitude U S The higher is the remagnetization speed dM / dt according to equation 2. From equation 2 we get:

[0044] dM / dt=-ui / (N·A·μ 0 )=-(U S -R CS ·is) / (N·A·μ 0 ). (5)

[0045] Therefore, the voltage ±U generated by the voltage source 104 S The amplitude U S The higher the value, the higher the oscillation frequency of the secondary current. The oscillation frequency f of the sensor 传感器 By integrating equation 5 we obtain:

[0046] f 传感器 =1 / (Δt++Δt-), where (6a)

[0047] Δt+=(μ 0 ·ΔM·N·A) / (U S -(iP / Ni μ )·R CS ), (6b)

[0048] Δt-=(μ 0 ·ΔM·N·A) / (U S -(i P / N+i μ )·R RCS ). (6c)

[0049] Here, ΔM refers to the magnetization distance during remagnetization (e.g., ΔM = 2·M SAT ) and i P / N±i μ is the secondary current during the corresponding remagnetization process. From equations 6a to 6c, it can be seen that the oscillation frequency f of the sensor 传感器 The voltage amplitude U φ ... S and the magnetization range ΔM. A third approach for determining the measured value of the primary current can consist in analyzing the oscillation frequency of the oscillating circuit. Figure 5 The signal S is also shown in PMW (t), the signal is a binary signal and shows the polarity of the voltage source 104. PMW (t) can be easily obtained by using a comparator circuit from the secondary current signal i S (t) is generated. When negative saturation (i S ≤-i SMAX ), the signal S PMW (t) changes from a low level to a high level, and when positive saturation (i S ≥+i SMAX ), the signal changes from high level to low level. Switching condition i S ≤-i SMAX and i S ≥+i SMAX For example, it can be detected simply by means of a comparator. Then the signal S PMW (t) is the output signal of the comparator circuit, which is used to detect magnetic saturation (see Figure 7 , saturation detection 108). Signal S PMW (t) is a pulse width modulated (PWM) signal having a variable frequency and whose duty cycle D = Δt+ / (Δt++Δt-) depends on the effective primary current.

[0050] example Figure 7 Shows from Figure 6The signal processing included in the control unit 107 allows a relatively high current sensor sensitivity, so that, for example, very small differential currents can be measured in differential current measurement. The primary conductors 101a, 101b, the magnetic core 103 and the secondary winding 102 are connected to the primary conductors 101a, 101b, the magnetic core 103 and the secondary winding 102. Figure 6 The controllable voltage source 104 is implemented, for example, as an H-bridge having four semiconductor switches S1 , S2 , S3 and S4 . Fig.12 An alternative implementation is shown in FIG. 1 . When the circuit is in operation, switches S1 and S4 are open, while switches S2 and S3 are closed, or vice versa (switches S2 and S3 are open, while switches S1 and S4 are closed). By switching the H-bridge (e.g., turning off S1 and S4 and turning on S2 and S3), the polarity of the voltage applied to the secondary winding 102 is reversed. The secondary current i flowing through the secondary winding 102 is S It also flows through the measuring resistor R CS , and the resistor R CS The voltage drop u CS (current measurement signal) represents the secondary current i S (u CS =R CS ·i S ).

[0051] The current measurement signal u CS is fed to the current measuring unit 106. This current measuring unit is configured to pre-process the current measurement signal u in an analog manner. CS And the preprocessed signal u CS 'Digitalization. The digital signal generated by Figure 7 In the example, use u CS [n] indicates. The analog preprocessing may include, for example, one of the following: amplification, level adaptation, filtering, etc. In the example shown, the digital signal u CS [n] is sent to the microcontroller 115, which is configured to calculate the difference current Δi (for example according to equation 4) P Instead of a microcontroller, other digital computing units (programmable or hard-wired) can also be used.

[0052] In the case of very small (difference) currents, the optionally preprocessed current measurement signal u CS The quantization error produced during digitization is relatively high (compared to the current value measured). The above-mentioned analysis of the times Δt+ and Δt- (see also Figure 5 ) can achieve a slightly more accurate measurement, wherein in a known implementation the duty cycle D is used as a measure of the (difference) current. The duty cycle D corresponds to the ratio Δt+ / (Δt++Δt-) and is usually given as a percentage. Figure 3In the example where the primary current or primary current difference is zero, the duty cycle is 0.5 or 50 percent. Figure 5 In the example where the primary current or primary current difference is positive, the duty cycle is less than 50 percent. In some cases, the ratio R = Δt+ / Δt- can also be analyzed, which is actually equivalent to analyzing the duty cycle, because D = R / (1+R). In both cases, division must be performed to calculate R or D.

[0053] In order to avoid the division for calculating the duty cycle or pulse duty cycle R, which has to be implemented with great complexity in a microcontroller or other digital computing unit, according to one embodiment, the difference Δt=Δt--Δt+ is calculated as a measured value of the effective primary current or the primary current difference. Analysis has shown that there is also a relatively linear relationship between the difference Δt and the effective primary current. At an effective primary current of 0 A, the difference Δt is ideally 0, at a positive effective primary current, the difference Δt is a positive value, and at a negative effective primary current, the difference Δt is a negative value. Figure 7 In the example shown in , the control unit 107 includes a time measurement circuit 110, which is configured to measure the time Δt- and Δt+. The microcontroller can then calculate Δt=Δt--Δt+ very simply and efficiently and thereby generate a measured value of the effective primary current. Suitable time measurement circuits are known per se and are usually implemented with the aid of a clock generator and one or more counters. However, there is also the problem that the time difference Δt becomes very small at very small currents to be measured and therefore the quantization error during time measurement becomes very large compared to the measured value Δt. In order to increase the resolution, the clock frequency of the counter used to operate the time measurement circuit 110 can be increased. However, a higher clock frequency may cause other problems, for example in circuit design and in terms of electromagnetic compatibility (EMC).

[0054] In order to solve the problem of low resolution and reduce the relative quantization error without increasing the clock frequency of the counter used in the time measurement, the embodiment includes a special circuit, which is called a duty cycle amplifier and is arranged to increase the current-dependent modulation of the times Δt- and Δt+. An exemplary embodiment of the duty cycle amplifier circuit is shown in Figure 8 . Thus, a current in the range of, for example, -250 mA to 250 mA can be mapped to a duty cycle of 30% to 70%. Without a duty cycle amplifier, the duty cycle (at a current of -250 mA to 250 mA) is in the range of 45% to 55%. The count values ​​mentioned here are of course only illustrative examples. The actual values ​​depend on the layout of the current sensor.

[0055] From Figure 8The circuit includes a toggle flip-flop for preparing a signal, which is dependent on a PWM signal S which in particular indicates the polarity of the voltage source 104. PMW (t) to generate two complementary binary signals CLK+ and CLK- with defined edge slopes. The complementary binary signals CLK+ and CLK- are fed into a symmetrical low-pass circuit, which is composed of a resistor R 1 and R 2 And capacitor C. Resistor R 1 and R 2 is the same, so that the two low-pass have the same time constant. The output voltage V provided at the two terminals of capacitor C 1 and V 2 Sent to comparator K, when the condition V is met 1 >V 2 When the comparator displays a high level at the output terminal, the output signal of the comparator is expressed as SPMW. ,X At this point it should be noted that instead of a single capacitor C two capacitors can also be used. In this case one capacitor is connected to the resistor R 1 Connect one terminal of another capacitor to the ground and the other terminal to the ground; connect one terminal of another capacitor to the resistor R 2 and the other terminal is connected to the ground. Figures 9 to 11 The operation of duty cycle amplifier 112 is explained in detail with reference to the timing diagram in FIG.

[0056] Fig. 9 The following situation is shown: the effective primary current is 0A and the secondary current i S (t) oscillates symmetrically about the zero line (see Figure 3 ). In this case, the duty cycle D = Δt+ / (Δt++Δt-) is 0.5, that is, Δt+ = Δt- (in an ideal case). Fig. 9 The time curve of the signal CLK+ is included. For reasons of simplicity, the complementary (inverted) signal CLK- is not shown. In addition, the voltage V fed to the comparator K is shown. 1 and V 2 Signal curve. Oscillation frequency f 传感器 In the example shown, this is 2.5 kHz. The period f 传感器 -1 =Δt++Δt- correspondingly lasts for 0.4ms (see Fig. 9 , 1.6-2.0ms on the time axis). In the first part of the cycle, corresponding to the Figure 8 The step response of the RC low-pass voltage V 1The slope of the increase depends on the time constant of the low-pass filter (that is, on the resistance R 1 and R 2 and capacitance C). Similarly, the voltage V 2 The output signal SPWM of comparator K decreases exponentially (with the time constant of the low pass). ,X A high level is used to indicate that the condition V is met. 1 >V 2 The time interval of signal S PWM,X Always in V 1 and V 2 The level is changed only when the signal curves cross each other.

[0057] At a duty cycle of 0.5, the duty cycle amplifier only causes a phase shift, while the duty cycle remains at 0.5. However, the deviation of the duty cycle from the value of 0.5 is amplified. Fig.10 Shown with Fig. 9 Same situation, however with duty cycle D=0.6. Fig.11 The same example is shown with a duty cycle D = 0.4. In both cases ( Fig.10 and Fig.11 ), signal V 1 and V 2 Always symmetrical (with Fig. 9 ) extends similarly, but V 1 and V 2 The intersection point of the signal curve is shifted.

[0058] V 1 and V 2 The change of the intersection of the signal curve is more obvious than the change of the duty cycle, so Fig.10 In the case of SPWM output signal ,X The duty cycle Δtx+ / (Δtx++Δtx-) is significantly greater than 0.6. Fig.11 In the case of SPWM output signal ,X With an "amplified" duty cycle D*=Δtx+ / (Δtx++Δtx-) that is significantly less than 0.4. That is, deviations of the duty cycle from a value of 0.5, which depend on the effective primary current, are amplified (in both directions) by the duty cycle amplifier. Since, with the aid of the duty cycle amplifier, significant changes in the duty cycle can be caused even with small current changes in the effective primary current, in the case of differential current measurement, small changes in the effective primary current and thus also small changes in the differential current can be resolved more accurately without having to increase the clock frequency of the counter. Known solutions for increasing the sensitivity use a plurality of switchable measuring resistors with different resistance values ​​(see Figure 7 , measure the resistance R CS ), which is associated with increased effort and costs.

[0059] In from Figure 7 In the example of , the time measurement circuit 111 is provided for determining the times Δtx+ and Δtx-. The time measurement circuit 111 can be designed identically to the time measurement circuit 110 and, as mentioned, comprise one or more counters. In some embodiments, it is also possible to provide only a single time measurement circuit. In some embodiments, the time measurement circuit 110 can be omitted. In this case, only the times Δtx+ and Δtx- are analyzed for the current measurement (instead of the times Δt+ and Δt-). However, in some embodiments, it makes sense to analyze the output signal SPWM of the duty cycle amplifier 112. ,X Both the time Δtx+ and Δtx- in the input signal SPWM of the duty cycle amplifier 112 and the time Δt+ and Δt- in the input signal SPWM of the duty cycle amplifier 112. In this case, two measuring ranges are realized with different sensitivities without adapting the measuring resistor R CS In some applications it may also be useful to provide a plurality of measuring regions, wherein for each measuring range a different duty cycle amplifier with different characteristics (eg a different low-pass time constant) may be used.

[0060] Microcontroller 115 (see Figure 7 ) receives the measured time values ​​Δtx+ and Δtx- and calculates the difference ΔTx=Δtx--Δtx+ as the measurement of the effective primary current according to one embodiment. In other embodiments, the amplified duty cycle D*=Δtx+ / (Δtx++Δtx-) or the ratio R*=Δtx+ / Δtx- is calculated as the measurement of the effective primary current (e.g., the current difference Δi P ). As already mentioned, the difference can be implemented much more easily in a digital computing circuit than by division. Furthermore, the sensor frequency f can be calculated in the microcontroller 传感器 =(Δtx++Δtx+) -1 . In practice, the calculation of the cycle duration f 传感器 -1 =(Δtx++Δtx-) to avoid calculating the inverse, which again may require division. As mentioned, the sensor frequency or cycle duration also depends on the effective primary current and can be used as a measure of the effective primary current.

[0061] In one embodiment, the microcontroller 115 is configured to perform a plausibility check by determining the primary current in two or more ways. The first measured value may be determined based on a measurement of the secondary current (see Figure 5and equations 3 and 4). The second measurement value may be determined based on the time difference ΔTx=Δtx--Δtx+ (when a duty cycle amplifier is used) or ΔT=Δt--Δt+ (when a duty cycle amplifier is not used). Alternatively, the duty cycle D or D* may be calculated. The sensor frequency f may be 传感器 (or cycle length f 传感器 -1 ) determines the third measured value. The microcontroller 115 can check, for example, whether the first measured value and the second measured value are consistent and (taking into account common tolerances) match. If this is not the case, the microcontroller can display an error or output a warning signal indicating that the measurement result may be unreliable.

[0062] Fig.12 An alternative implementation of the controllable voltage source 104 is shown. Figure 7 The transistor H bridge only requires two separate electronic switches S1 and S2. The secondary coil is in this case two-piece (sub-windings 102a and 102b) or has a measuring resistor R CS The external terminals of the secondary winding are connected to the ground node by means of a switch S 1 and S 2 Alternately with the supply voltage U S To reverse the direction of the secondary current, switch S1 is turned off and switch S2 is turned on, or vice versa. In this case, the secondary current always flows through only a portion of the secondary coil 102. In other respects, the secondary current from Fig.12 Examples and examples from Figure 7 The current sensor described here is a relaxation oscillator (Kippschwinger), and the specific implementation of the oscillator is not described in detail.

[0063] The embodiments described herein are briefly summarized below. No complete list is provided here, but only an exemplary summary of several important aspects. A first embodiment relates to a circuit for current measurement. This circuit comprises an oscillating circuit with a magnetic core, at least one primary conductor magnetically coupled to the magnetic core and at least one secondary conductor magnetically coupled to the magnetic core (see, for example, Figure 7 , magnetic core 103, primary conductors 101a and 101b and secondary conductor 102). The oscillating circuit is configured to periodically magnetize the magnetic core in opposite directions to a maximum value (e.g., saturation magnetization M) by controlling the at least one secondary conductor. SAT , see Figure 2 The oscillating circuit is also configured to generate an oscillating signal (see Figure 7 , signal S PMW ), when the maximum value is reached (in the positive or negative direction), the oscillating signal changes from the first state to the second state or from the second state to the first state (e.g., from a high level to a low level and vice versa). The time for which the oscillating signal stays in the first state and the second state depends on the effective primary current (e.g., the difference current Δi P ).

[0064] According to one embodiment, the circuit for current measurement further comprises a time measurement circuit (see Figure 7 , numeral 110), the time measurement circuit is configured to periodically measure a first duration Δt+ and a second duration Δt-, the oscillation signal staying in the first state for the first duration and in the second state for the second duration during an oscillation cycle. Analysis unit (see Figure 7 , the microcontroller 115 determines a difference ΔT between the first duration Δt+ and the second Δt−. Based on the difference, a measured value of the effective primary current can be determined.

[0065] According to another embodiment, in addition to the oscillating circuit mentioned, the circuit for current measurement also has a duty cycle amplification circuit (see Figure 7 , the number 112, and Figure 8 As mentioned, the oscillator signal changes between two states (high and low) and thus has a duty cycle D=Δt+ / (Δt++Δt-). The duty cycle amplifier circuit is configured to increase the current depending on the effective primary current (e.g. the difference current Δi P ), the deviation of the duty cycle D from a reference value. The reference value is, for example, 0.5, which is equivalent to Δt+=Δt-. The reference value corresponds to the duty cycle value that exists when the effective primary current is zero. In one embodiment, the duty cycle amplifier circuit has at least one low pass. The increase in the duty cycle is essentially determined by the time constant of the low pass. The low pass can be a first-order low pass and / or in particular has one or more RC low passes. The slope of the capacitor charging curve determines the characteristics of the duty cycle amplifier circuit. In order to measure the effective primary current, as in the previous example, the residence times Δtx+ and Δtx- in the high level state or the low level state can be used. The difference ΔTx between the first duration Δtx+ and the second duration Δtx-, the ratio Δtx+ / Δtx- or the "amplified" duty cycle D*=Δtx+ / (Δtx++Δtx-) can be used to determine the measured value of the effective primary current.

[0066] According to another embodiment, the circuit for current measurement has, in addition to the mentioned oscillating circuit and the mentioned time measuring circuit (for measuring the times Δt+ and Δt- and / or Δtx+ and Δtx-). The circuit further comprises an evaluation unit (eg a microcontroller 115, see Figure 7 ), the analysis unit is configured to be used based on the oscillation signal S PMW The first measured value of the effective primary current (for example Δt+-Δt-) is determined based on the time spent in the first state and in the second state (for example Δt+ and Δt-), and in parallel, a secondary current (see Figure 7 , secondary current i S ,and Figure 5 ) to determine a second measured value of the effective primary current.

[0067] The oscillation of the sensor is analyzed by using independent principles simultaneously, namely on the one hand Figure 5 The analysis of the secondary current presented in and on the one hand of the times Δt+ and Δt- of the pulse width modulated oscillating signal (and / or the times Δtx+ and Δtx- of the pulse width modulated output signal of the duty cycle amplifier) ​​can, on the one hand, be used to perform a plausibility check and on the other hand, the accuracy of the measurement result can be improved by averaging (average of the first and second measured values ​​mentioned). The two measured values ​​are compared for the plausibility check and, if the two measured values ​​deviate too much from each other, it can be assumed that the current sensor is not functioning as intended and that the measurement result may be unreliable in certain circumstances. Unlike the average value of a plurality of measured values ​​determined in time one after the other, the average value of two measured values ​​determined in parallel to one another does not reduce the available bandwidth of the current sensor.

[0068] The above-described embodiments can be implemented in different ways. For example, all electronic circuits (except for the primary winding and the secondary winding and a few other separate components) can be integrated in a single application-specific integrated circuit (ASIC). The integrated circuit can in particular include a microcontroller with a processor (see Figure 7 , microcontroller 115), the processor is programmed by means of software instructions to implement the functions described herein. Alternatively, hard-wired or one-time programmable (OTP, one-time programmable) logic circuits can also be used at least in part. The circuit can also be implemented without programmable logic.

[0069] For example, Figure 7Parts of the circuits shown in FIG. 1 , such as the circuit 108 for saturation detection, can also be included in the microcontroller 115. Thus, the circuit 108 for saturation detection can be realized by having two switching thresholds (+i SMAX , -i SMAX , see Figure 5 ) can be realized by a simple comparator. However, it is also possible to detect the maximum current ±i by means of a digitized current signal through a microcontroller. SMAX (Depending on whether its sampling rate is sufficient).

[0070] Finally, it should be mentioned that the above-mentioned embodiments can be combined. The difference Δt+-Δt- mentioned can be used with or without duty cycle amplification. The averaging and the mentioned rationality check can also be performed with and without duty cycle amplification. In all embodiments, instead of the difference Δt+-Δt-, the "amplified" duty cycle or one of the ratios of the two times Δtx+ and Δtx- can also be used to determine the current measurement value. The conversion of the time / counter state can be calibrated and implemented, for example, with the help of a characteristic curve stored in a microcontroller. For example, interpolation between the values ​​stored in a lookup table can also be considered here.

Claims

1. A circuit comprising: An oscillating circuit with a magnetic core (103), the magnetic core having at least one primary conductor (101; 101a, 101b) and at least one secondary conductor (102; 102a, 102b) magnetically coupled to the magnetic core, wherein the oscillating circuit is configured to periodically magnetize the magnetic core in opposite directions to a maximum value by controlling the at least one secondary conductor (102; 102a, 102b), and the oscillating circuit is further configured to generate an oscillating signal (S PWM ), when the maximum value is reached, the oscillation signal changes from the first state to the second state or from the second state to the first state; A time measurement circuit (110), the time measurement circuit is configured to periodically measure a first duration (Δt+) and a second duration (Δt-), the oscillation signal (S PWM ) staying in the first state for the first time period and staying in the second state for the second time period during an oscillation cycle; and an analysis unit (115) configured to determine a difference between the first time duration (Δt+) and the second time duration (Δt-) and to determine, based on the difference, an effective primary current (Δi P )’s measured value.

2. The circuit according to claim 1, characterized in that: The at least one primary conductor comprises a first conductor (101a) and a second conductor (101b), wherein the first conductor and the second conductor are coupled to the magnetic core (103) such that the effective primary current corresponds to a difference between currents flowing through the first conductor (101a) and the second conductor (101b).

3. The circuit according to claim 1 or 2, further comprising: A duty cycle amplifier circuit (112), wherein the duty cycle amplifier circuit is configured to increase the oscillation signal (S PWN ) and a reference value, and providing a modified oscillating signal with an increased duty cycle, the deviation depending on the effective primary current (i P , Δi P ).

4. The circuit according to claim 3, further comprising: A further time measurement circuit (111) is provided for periodically determining a third time duration (Δtx+) and a fourth time duration (Δtx-), the modified oscillating signal (S PWM,x ) staying in the first state for the third time period and staying in the second state for the fourth time period during the oscillation cycle; The analysis unit (115) is further configured to determine the effective primary current (Δi P )’s measured value.

5. The circuit according to claim 1, characterized in that: The analysis unit (115) is configured to determine a first measured value of the effective primary current based on the first time period (Δt+) and the second time period (Δt-) and, in parallel, to determine a first measured value of the effective primary current based on the secondary current (i S ) determines the effective primary current (Δi P )’s second measurement value.

6. A circuit comprising: An oscillating circuit with a magnetic core (103), the magnetic core having at least one primary conductor (101; 101a, 101b) and at least one secondary conductor (102; 102a, 102b) magnetically coupled to the magnetic core, wherein the oscillation circuit is configured to periodically magnetize the magnetic core (103) in opposite directions to a maximum value by controlling the at least one secondary conductor (102; 102a, 102b), and the oscillation circuit is further configured to generate an oscillation signal (S PWM ), the oscillating signal has a value that depends on the effective primary current (i P , Δi P )’s duty cycle; as well as A duty cycle amplifier circuit (112), the duty cycle amplifier circuit being configured to increase a deviation between the duty cycle and a reference value, the deviation being dependent on the effective primary current (i P , Δi P ).

7. The circuit according to claim 6, characterized in that: The reference value corresponds to a duty cycle generated when the effective primary current is zero.

8. The circuit according to claim 6 or 7, characterized in that: The duty cycle amplifier circuit (112) has at least one low pass, and the increase in the duty cycle depends on the time constant of the low pass.

9. The circuit according to claim 6 or 7, further comprising: An analysis unit (115) is configured to determine a measured value of the effective primary current based on a time (Δt+, Δt-), wherein the time (Δt+, Δt-) is a modified oscillation signal (S) provided by the duty cycle amplifier circuit (112). PMW,X ) The time spent in the first state and the second state.

10. A circuit comprising: An oscillating circuit with a magnetic core (103), the magnetic core having at least one primary conductor (101; 101a, 101b) and at least one secondary conductor (102; 102a, 102b) magnetically coupled to the magnetic core, wherein the oscillation circuit is configured to periodically magnetize the magnetic core (103) in opposite directions to a maximum value by controlling the at least one secondary conductor (102; 102a, 102b), and the oscillation circuit is further configured to generate an oscillation signal (S PWM ), when the maximum value is reached, the oscillation signal changes from the first state to the second state or from the second state to the first state; and an analysis unit (115) configured to analyze the oscillation signal (S PMW ) in the first state and in the second state, and in parallel therewith based on the time (Δt+, Δt-) during which the at least one primary conductor (101; 101a, 101b) remains in the first state and in the second state, a first measured value of the effective primary current flowing through the at least one primary conductor (101; 101a, 101b) is determined, S ) to determine a second measured value of the effective primary current.

11. The circuit according to claim 10, characterized in that: The analysis unit (115) is further configured to check the plausibility of the measured value by comparing the first measured value with the second measured value.

12. The circuit according to claim 11, characterized in that: The analysis unit (115) is further configured to calculate a third measured value from the first measured value and the second measured value.

13. The circuit according to claim 11, characterized in that: The analysis unit (115) is further configured to calculate a third measurement value by taking an average of the first measurement value and the second measurement value.

14. A method comprising: By controlling at least one secondary conductor (102; 102a, 102b), magnetizing the magnetic core alternately in positive and negative directions to a maximum value; Generate an oscillating signal (S PWM ), the oscillation signal changes back and forth between the first state and the second state, thereby showing an alternating magnetization process; Determine a first duration (Δt+) and a second duration (Δt-), the oscillation signal (S PWM ) staying in the first state for the first time period and staying in the second state for the second time period during an oscillation cycle; as well as Based on the difference between the first time period (Δt+) and the second time period (Δt-), an effective primary current (Δi) flowing through at least one primary conductor magnetically coupled to the magnetic core (103) is determined. P )’s measured value.

15. A method comprising: By controlling at least one secondary conductor (102; 102a, 102b), magnetizing the magnetic core alternately in positive and negative directions to a maximum value; Generate an oscillating signal (S PWM ), the oscillation signal changes back and forth between the first state and the second state, thereby showing an alternating magnetization process; Generates a modified oscillating signal with a duty cycle (S PWM,X ), the deviation of the duty cycle from the reference value is greater than the oscillation signal (S PWM ), the deviation depending on the effective primary current (Δi ) flowing through at least one primary conductor magnetically coupled to the magnetic core (103). P ).

16. A method comprising: By controlling at least one secondary conductor (102; 102a, 102b), magnetizing the magnetic core alternately in positive and negative directions to a maximum value; Generate an oscillating signal (S PWM ), the oscillation signal changes back and forth between the first state and the second state, thereby showing an alternating magnetization process; Based on the oscillation signal (S PWM ) stays in the first state and the second state for a time (Δt+, Δt-) to determine an effective primary current (Δi) flowing through at least one primary conductor magnetically coupled to the magnetic core (103). P ) of the first measurement, and in parallel therewith determining the effective primary current (Δi P )’s second measurement value.

17. The method according to claim 16, further comprising: calculating a third measurement value based on the first measurement value and the second measurement value of the effective primary current; and / or A plausibility check is performed by comparing the first measured value with the second measured value.

Citation Information

Patent Citations

  • Flux-gate current sensor with additional frequency measuring

    US20160033555A1

  • Current detection device

    CN104067134A

  • Contactless current measurement

    CN109946497A

  • Arrangement and method for galvanically insulated, ac / DC sensitive differential-current measurement

    CN113514689A

  • Current sensor arrangement for measurement of currents in a primary conductor

    US20090315536A1