CIRCUIT AND METHOD FOR DETERMINING A DITHER AMPLITUDE
20230224197 · 2023-07-13
Assignee
Inventors
Cpc classification
H04L27/361
ELECTRICITY
International classification
Abstract
A dither amplitude circuit has a current circuit for receiving DC voltage signals and generating a direct current on a basis thereof, and generating a dither signal, and a dither current on the basis thereof, applying the dither current to the direct current in order to obtain a drive current, artificially modulating the amplitude of the dither signal or a directly modulated drive current with an amplitude modulation deviation on a periodic basis such that a quantization threshold is reliably exceeded. The dither amplitude circuit also has a return current detection circuit that generates numerous quantized digital values in a time period on a basis of the drive current flowing through a load, such that the dither amplitude can be determined from the numerous digital values.
Claims
1. A dither amplitude circuit for determining a dither amplitude, comprising: an interface configured to receive DC voltage signals; a return current detection circuit; an output channel; and a current circuit configured to: receive the DC voltage signals; generate a direct current on a basis of the DC voltage signals; generate a dither signal; generate a dither current on a basis of the dither signal; apply the dither current to the direct current in order to obtain a drive current by at least one of combining the direct current and the dither current, or modulating the direct current to obtain a directly modulated drive current, until the directly modulated drive current corresponds to the direct current to which the dither current has been applied, wherein the current circuit comprises at least one quantization threshold, wherein the output channel is configured to control at least one load with the drive current, wherein the current circuit is further configured to artificially modulate an amplitude of at least one of the dither signal or the directly modulated drive current with an amplitude modulation deviation on a periodic basis, wherein the amplitude modulation deviation is such that the at least one quantization threshold is reliably exceeded, wherein the return current detection circuit configured to: generate numerous quantized digital values in a time period on a basis of the drive current flowing through the load; and determine the dither amplitude from the numerous digital values.
2. The dither amplitude circuit according to claim 1, further comprising: a modulator circuit coupled to the current circuit, which is configured to generate a modulated modulation output signal on a basis of: the directly modulated drive current, or the drive current generated by applying the dither signal and a defined pulse-width modulation pattern.
3. The dither amplitude circuit according to claim 1, wherein the return current detection circuit is configured to: detect the directly modulated drive current or the drive current generated on the basis of the applied dither signal; and detect a minimum value as a quantized digital minimum value and a maximum value as a quantized digital maximum value.
4. The dither amplitude circuit according to claim 3, wherein the return current detection circuit is configured to: determine a plurality of digital minimum values and a plurality of digital maximum values over the time period.
5. The dither amplitude circuit according to claim 4, wherein the return current detection circuit is configured to: determine the dither amplitude as a difference between a mean digital minimum value of the plurality of digital minimum values and a mean digital maximum value of the plurality of digital maximum values over the time period.
6. The dither amplitude circuit according to claim 1, wherein the current circuit comprises: a current regulator; and a logic circuit.
7. The dither amplitude circuit according to claim 6, wherein the logic circuit is configured to: generate the dither signal on a basis of the direct current; generate the dither current on the basis of the dither signal; and apply the dither current to the direct current to obtain the drive current, or to artificially modulate the amplitude of the direct current with the amplitude modulation deviation on the periodic basis to obtain the directly modulated drive current.
8. The dither amplitude circuit according to claim 6, wherein the logic circuit is configured to: form the dither signal or the directly modulated drive current such that a shape thereof is either triangular or in the form of a sine wave.
9. The dither amplitude circuit according to claim 1, wherein the return current detection circuit is configured to: determine the drive current flowing through the load on a basis of a voltage drop in a shunt resistor coupled to the load.
10. The dither amplitude circuit according to claim 1, wherein the dither amplitude circuit is configured to: generate the dither signal and the dither current taking the drive current flowing through the load into account, or to modulate the direct current in the form of the directly modulated drive current taking the drive current actually flowing through the load into account.
11. A method for determining a dither amplitude, comprising: receiving, by a current circuit, DC voltage signals; generating, by the current circuit, a direct current on a basis of the DC voltage signals; generating, by the current circuit, a dither signal; generating, by the current circuit, a dither current that is applied to the direct current to obtain a drive current formed by: combining the direct current with the dither current, or modulating the direct current as a directly modulated drive current, until it corresponds to a direct current to which the dither current has been applied, artificially modulating the amplitude of the dither signal or the directly modulated drive current with an amplitude modulation deviation on a periodic basis such that at least one quantization threshold of the current circuit is reliably exceeded; controlling at least one load with the drive current; generating numerous quantized digital values in a time period on a basis of the drive current flowing through the load; and determining a dither amplitude from the numerous digital values.
12. The method according to claim 11, further comprising: detecting minimum values and maximum of the directly modulated drive current or the drive current generated on the basis of the dither signal applied thereto, as quantized digital minimal values and quantized digital maximum values, respectively.
13. The method according to claim 12, further comprising determining mean values for both the digital minimum values and digital maximum values over the time period.
14. The method according to claim 13, further comprising determining the dither amplitude as a difference between the mean digital minimum value and the mean digital maximum value over the time period.
15. The method according to claim 11, wherein the dither signal or the directly modulated drive current is triangular or in the form of a sine wave.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0049]
[0050]
[0051]
DETAILED DESCRIPTION
[0052]
[0053] This circuit contains an interface (not shown), which is connected to a controller unit (not shown), by way of example. The controller unit can be connected to a supply circuit.
[0054] The circuit 1 is also connected to an output channel 2 for controlling at least one load 3, which comprises an actuator, for example. This electric actuator can comprise a coil for generating a magnetic field, for example, wherein the magnetic field acts on a magnetic anchor, the position of which is affected by a drive current flowing through the coil. The electric actuator 3 acts as an electric load in this case.
[0055] The circuit can also be used to control other actuators, etc.
[0056] The current flowing through the coil can be controlled by a current control valve (not shown) in particular, which can only be open or closed. A PWM regulator, i.e. a pulse-width modulator 7 can be used to control the current control valve, which generates a defined modulation pattern (pulse-width modulation) for a modulation output signal for the control. The pulse-width modulator 7 is integrated in the circuit 1 in this case.
[0057] A shunt resistor 4 can be placed upstream of the actuator 3 in the current path (output channel 2).
[0058] The circuit can form an integrated circuit in particular.
[0059] The circuit 1 also contains a logic circuit 5 connected to the interface. DC voltage signals are transmitted from the controller unit to the circuit 1 via the interface.
[0060] The logic circuit 5 then generates a direct current and a dither signal on the basis of the DC voltage signals. The amplitude of the dither signal is artificially modulated. The modulation deviation is selected such that the quantization threshold for the circuit 1 is reliably exceeded.
[0061] The period of the dither signal is either triangular or in the form of a sine wave.
[0062] The logic circuit 5 also generates a dither current on the basis of the dither signal. This is applied by the logic circuit 5 to the direct current such that a drive current I is generated. A summing unit can also be integrated in the logic circuit 5, or connected downstream thereof, which then combines the direct current and the dither current.
[0063] A period drive current I is obtained by the combination, which is sent to the current regulator 6. An arbitrary known control pattern can be implemented in the current regulator 6.
[0064] The current regulator 6 can be a proportional integral (PI) controller, a proportional (P) controller, or a proportional integral differential (PID) controller, or some other type of regulator, by way of example.
[0065] The current regulator 6 determines a desired duty cycle for a control circuit on the basis of the drive current I, in this case a pulse-width modulator 7, for controlling the current flowing through the actuator 3, or load.
[0066] There is also a reverse current detection unit 8 that determines the current that is actually flowing through the actuator 3, e.g. by determining the voltage drop in the shunt resistor 4. This means that the actual current flowing through the actuator is also fed back to the reverse current detection unit 8 and determined there.
[0067] The reverse current detection unit 8 can contain an analog-digital converter with the quantization threshold.
[0068] The reverse current detection unit 8 can detect the minimum value of the drive current I as a quantized digital minimum value and the maximum value of the drive current I as a quantized digital maximum value.
[0069] The reverse current detection unit 8 detects the quantized digital minimum value and the quantized digital maximum value over a predefined time period. The reverse current detection unit 8 also detects the quantized digital minimum value and the quantized digital maximum value continuously.
[0070] Consequently, a mean value can be determined for the digital minimal values and digital maximum values over the predefined time period, and the dither amplitude can be determined as the difference between the mean digital minimum value and the mean digital maximum value over the predefined time period.
[0071] The resolution and therefore the precision of the measurement of the dither amplitude is increased in this manner.
[0072] By precisely determining the dither amplitude, the speed of the actuator 3 can then be derived through a corresponding computation.
[0073]
[0074] This represents a key value for determining actuator speeds.
[0075] A precise determination of the dither amplitude is necessary for determining the speed of the actuator 3. Because circuits 1, e.g. integrated circuits, usually only make imprecise dither amplitudes available, it is not possible to precisely determine actuator speeds therewith. Although a measurement takes place within the circuit, the lowest value bits are cut off during the transmission due to the low bit width in the output register. This results in an artificial raising of the quantization threshold for the circuit, such that the dither amplitude can only be imprecisely determined/indicated.
[0076] In this example, the offset for the direct current is 100. The quantization threshold has a value of 2.5.
[0077] The dither current (dither) generated by the logic circuit 5 is applied to the direct current in obtain the drive current I. The amplitude of the dither signal is artificially modulated by the logic circuit 5 for this. The modulation deviation (amplitude deviation) is selected such that the quantization threshold for the circuit 1 is reliably exceeded. The modulation deviation in this example is 2.6.
[0078] A modified dither (drive current) is therefore obtained by applying the periodic dither current.
[0079] Quantized digital maximum values (Max-Quant) and quantized digital minimum values (Min-Quant) can then be generated by the reverse current detection unit 8 and the artificial amplitude modulation of the drive current I. Furthermore, the reverse current detection unit 8 can also contain a computing unit for obtaining mean values for the quantized digital maximum values (Max-Quant) labeled Max_Avg.
[0080] Max_Avg is therefore the mean digital maximum value obtained by applying the periodic dither current.
[0081] Furthermore, the computing unit can determine a mean value for the quantized digital minimum values (Min-Quant).
[0082] Min_Avg is therefore the mean digital minimum value obtained by applying the periodic dither current.
[0083] The difference between the mean digital minimum value (Min-Quant) and the mean digital maximum value (Max-Quant) corresponds to the amplitude of the dither current that is applied.
[0084] The dither amplitude, and thus the current flowing through the actuator 3, can therefore be determined precisely in this manner. The actuator speed can be determined from this.
[0085]
[0086] Therein, the DC voltage signal is first sent to a logic circuit 5.
[0087] This generates the direct current on the basis of the DC voltage signal. A dither signal and dither current are also generated on the basis of the direct current, which are then applied to the direct current to obtain the drive current I in which the amplitude is artificially modulated. The modulation deviation for this is selected such that the quantization threshold for the circuit 1 is reliably exceeded.
[0088] Alternatively, the logic circuit 5 can also vary the direct current in order to obtain the drive current I, such that it corresponds to if a dither signal were applied thereto.
[0089] The drive current I is subsequently sent to the current regulator 6, which sends a desired duty cycle to a control circuit for a downstream pulse-width modulator 7.
[0090] The drive current I is processed in the pulse-width modulator 7 such that the actuator 3 can be controlled by a magnetic anchor, for example. The pulse-width modulator 7 generates the desired duty cycle in a control circuit for the actuator 3.
[0091] The drive current I flowing through the actuator 3 is subsequently detected on the basis of the voltage drop in the shunt resistor 4 by the reverse current detection unit 8.
[0092] This information is sent to the logic circuit 5, which generates the dither signal and the dither current, or the modulation of the direct current, on the basis thereof.
[0093] Furthermore, the drive current I is then quantized into the digital maximum value Max_Quant and the digital minimum value Min_Quant, this being carried out continuously over a longer period of time.
[0094] The mean maximum value Max_Avg and mean minimum value Min_Avg are then determined by averaging the digital minimal values Min_Quant and digital maximum values Max_Quant.
[0095] The difference between the mean maximum value Max_Avg and mean minimum value Min_Avg therefore represents the dither amplitude with sufficient precision (filtering).
[0096] Despite a low resolution of the dither amplitude in the circuit, a high-resolution current signal for the drive current is generated with the method according to the present disclosure and the circuit 1 according to the present disclosure.
[0097] At the receiver, an averaging of the dither amplitudes that are detected over a predefined time period therefore takes place according to the present disclosure. Consequently, the resolution, and therefore the precision of the dither amplitude measurement, are increased.
REFERENCE SYMBOLS
[0098] 1 circuit
[0099] 2 output signal
[0100] 3 actuator
[0101] 4 shunt
[0102] 5 logic circuit
[0103] 6 current regulator
[0104] 7 pulse-width modulator
[0105] 8 reverse current detection unit
[0106] I drive current