A self-excited oscillation method and current measuring device for driving an inductive load
By using two identical comparators in the self-excited oscillator circuit driven by inductive load and performing subtraction operations, the problem of detection result offset caused by non-ideal factors in traditional circuits is solved, and the measurement accuracy and stability are improved.
Patent Information
- Application Number
- CN202110770405.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-07
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-07-07
AI Technical Summary
In actual applications, traditional inductive load-driven self-excitation oscillation circuits have non-ideal factors such as power supply voltage asymmetry, comparator output asymmetry, oscillation waveform rate and delay, which leads to offset detection results, making it difficult to completely eliminate these effects, and affect them. Measurement accuracy and stability.
Two identical comparators are used to form a self-excitation oscillation circuit. The subtraction operation eliminates the influence of non-ideal factors, and the output signals of the two comparators are used as differential mode signals to improve measurement accuracy and stability.
By eliminating the influence of common mode signals, measurement accuracy and stability are improved and the accuracy of related measurements is enhanced.
Smart Images

Figure CN113640570B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic circuits, and in particular to a circuit self-oscillation method and a current measuring device for driving an inductive load. Background Art
[0002] There are many ways to achieve circuit self-oscillation. Self-oscillation circuits for inductive loads are an important type of circuits and play an important role in scientific research and industrial fields.
[0003] For example, one of the solutions for non-contact measurement of direct current widely used in industry is to use magnetic modulation to measure current. These types of magnetic measurement technologies are theoretically very sensitive and can meet the needs of precision measurement, so they are the focus and hotspot of industry research. On the other hand, magnetic modulation magnetic measurement technologies are mainly aimed at static magnetic field measurement. Because static magnetic field itself cannot generate electromagnetic induction, such technologies require periodic excitation of magnetic circuits before detection.
[0004] Among them, the method of treating the magnetic circuit and the excitation coil as an inductive load and using a self-excited oscillation circuit to achieve periodic excitation has been widely used due to its simple structure and low cost.
[0005] Compared with traditional circuits, the method for realizing self-oscillation of an inductive load circuit proposed in the present invention can improve measurement accuracy when applied to relevant measurement fields.
[0006] Figure 1a This is the schematic diagram of the self-excited oscillation circuit that realizes inductive load driving in all the public data. It is essentially a self-excited square wave oscillation circuit built around a comparator and must work under dual power supply. 1 , R 2 A hysteresis comparator is formed, and the hysteresis width is determined by R 1 and R 2 The resistance value determines the inductive load and the resistance R 3 Form an RL integrator circuit, and R 3 Detect the current on the inductive load. The working principle can be understood in two steps:
[0007] 1. Assuming that the comparator is ideal, when its output is positive, the output can be regarded as the positive power supply voltage V CC , R 1 and R 2 The voltage at the dividing point is the threshold voltage V TH for:
[0008]
[0009] At this time, the comparator drives the inductive load in a positive direction. 3 The current on the circuit will gradually increase positively over time, and the current detection voltage V D (i.e. R 3 The voltage on the TH When , the comparator flips and outputs a reverse voltage.
[0010] 2. When the comparator outputs inversely, the output can be regarded as a negative power supply voltage V EE , at this time the threshold voltage V TH for:
[0011]
[0012] At this time, the comparator drives the inductive load in reverse, and the inductive load and R 3 The current on the circuit will gradually change in the opposite direction over time, and the current detection voltage V D It also changes in the opposite direction. When the threshold voltage V is reached, TH When , the comparator flips and outputs a positive voltage, completing an oscillation cycle.
[0013] The waveform changes of the relevant node voltages are shown in Figure 1b middle.
[0014] From the above analysis, we can see that this traditional self-oscillation method has two obvious characteristics. One is that only one comparator is used, and the other is that the threshold voltage V TH It varies with the output of the comparator. In addition, when the device is ideal and the power supply voltage is ideally symmetrical, the output waveform of the comparator is a standard square wave with a duty cycle of 50%.
[0015] Figure 2 This is a schematic diagram of the circuit structure when the above traditional method is applied to the field of current measurement. At this time, the inductive load is composed of a magnetic circuit and a driving current coil wound thereon, and the current to be measured flows through the core of the magnetic circuit; since the current to be measured will generate magnetic induction in the magnetic circuit, the duty cycle of the comparator output waveform will also change at this time; through a simple integral averaging circuit, this change can be detected to characterize the magnitude of the current to be measured. This is the basic principle of current detection using the magnetic modulation effect.
[0016] The principle of magnetic modulation is irrelevant to the present invention and will not be discussed in detail here.
[0017] The above analysis is idealized. In practical applications, this simple method has some obvious disadvantages. For example, the asymmetry of the power supply voltage, the asymmetry of the positive and negative voltages output by the comparator, the rise (fall) rate and delay of the oscillation waveform, etc., will cause the oscillation signal to change, thereby generating an offset in the detection result. In the actual circuit, even if the power supply is supplemented with a positive and negative bidirectional voltage stabilization (or clamping) circuit and a zero adjustment circuit, it is difficult to completely eliminate the influence of these non-ideal factors. Summary of the invention
[0018] In response to the problems discussed above, the present invention proposes an improved idea: using two identical comparators to form a self-excited oscillation circuit; all non-ideal factors have the same influence on the two comparators, then for the oscillation signals output by the two comparators, the influence of these non-ideal factors can be regarded as a "common-mode signal" in electronics; and the influence of the magnetic modulation signal in the relevant measurement circuit can be regarded as a "differential-mode signal"; therefore, the output signals of the two comparators can be subtracted once to eliminate the influence of all non-ideal factors, thereby improving the accuracy and stability in the relevant measurements.
[0019] According to this idea, the present invention proposes a self-excited oscillation method with two comparators suitable for driving an inductive load. The method is applied to a specific circuit, comprising: two comparators A and comparator B with the same threshold voltage, whose output ends are connected to a current detection unit and connected to an inductive load to be driven; the current detection unit comprises a forward current detection module and a reverse current detection module, and detects the forward current and reverse current in the inductive load; a forward current detection signal is input into the comparator B, and a reverse current detection signal is input into the comparator A; the comparator forms two states of forward driving and reverse driving for the inductive load; in the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage, when the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage, when the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form self-excited oscillation.
[0020] Compared with the traditional method described above, an important feature of the method proposed in the present application is that it includes two comparators; the two comparators must be understood in a broad sense, that is, they refer to electronic devices and combinations of electronic devices whose output states will change when the input signal reaches a certain value; at the same time, the two comparators have the same threshold voltage, and compared with the traditional method, the threshold voltage does not change when the circuit is working; the threshold voltage can be introduced externally and set artificially, or it can be an intrinsic characteristic of the device.
[0021] When the circuit is working, the two comparators will alternately apply forward and reverse drives to the inductive load; the forward and reverse drive states can be distinguished and defined by the direction of current change in the inductive load, rather than specifically referring to the voltage on the inductive load or the direction of the current in the inductive load.
[0022] In addition, the self-excited oscillation method proposed in the present invention application is applied to a specific circuit, comprising a current detection unit; the current detection unit comprises a forward current detection module and a reverse current detection module, which are respectively used to detect the current on the inductive load in the forward driving state and the reverse driving state; in electronic circuits, linear elements, such as resistors, are generally used for current detection, but the forward current detection module and the reverse current detection module are not necessarily required to be linear.
[0023] The self-excited oscillation method for driving an inductive load proposed in the present invention application has an advantageous application field of current measurement. The present invention method can be used to directly construct a current measurement device, including:
[0024] An inductive load, the inductive load is composed of a magnetic circuit and a driving current coil wound thereon, and the current to be measured flows through the core of the magnetic circuit; two comparators A and comparator B with the same threshold voltage, whose output ends are connected to a current detection unit and connected to the inductive load to be driven; the current detection unit includes a forward current detection module and a reverse current detection module, which detect the forward current and reverse current in the inductive load; the forward current detection signal is input into the comparator B, and the reverse current detection signal is input into the comparator A; the comparator forms two states of forward drive and reverse drive for the inductive load; In the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage. When the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage. When the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form a self-excited oscillation;
[0025] The current to be measured will generate magnetic induction intensity in the magnetic circuit, changing the time of the forward driving state and the reverse driving state; the time difference between the forward driving state and the reverse driving state contains information about the size of the current to be measured; the oscillation signals of the comparator A and the comparator B are then input into a subtractor; the output of the subtractor can represent the size of the current to be measured.
[0026] The above-mentioned current measuring device can also be further improved to construct a magnetic balance current measuring device, including: an inductive load, the inductive load is composed of a magnetic circuit and a driving current coil wound thereon, and the current to be measured flows through the core of the magnetic circuit; a feedback current coil is also wound on the magnetic circuit for magnetic balance control; two comparators A and comparator B with the same threshold voltage, whose output ends are connected to the current detection unit and connected to the inductive load to be driven; the current detection unit includes a forward current detection module and a reverse current detection module, which detect the forward current and reverse current in the inductive load; the forward current detection signal is input to the comparator B, and the reverse current detection signal is input to the comparator A; the comparator forms two states of forward driving and reverse driving for the inductive load; in the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage. When the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage. When the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form self-excited oscillation;
[0027] The magnetic induction intensity in the magnetic circuit is the superposition of the current to be measured and the current in the feedback current coil, which will affect the time of the forward driving state and the reverse driving state; the oscillation signals of the comparator A and the comparator B are input into a subtractor; the output of the subtractor represents the superposition of the current to be measured and the current in the feedback current coil;
[0028] The output of the subtractor is used to control the current in the feedback current coil; through the control of the deep negative feedback circuit, the magnetic induction intensity in the magnetic circuit is always zero or a constant value; the magnitude of the current in the feedback current coil represents the magnitude of the current to be measured.
[0029] Compared with the current measuring device constructed by the traditional method described in the background technology introduction above, in the current measuring device constructed by the method of the present invention and the magnetic balance current measuring device, the comparator A and the comparator B are the same, and the signal changes caused by factors such as the delay, output level and rise (fall) rate contained in the oscillation signal can be regarded as common mode signals and eliminated by the subtractor, thereby improving the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the methods, embodiments or technical solutions in the prior art described in the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some specific structures and embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings without creative work. As shown in the accompanying drawings, the above and other purposes, features and advantages of the present application will be clearer. The same reference numerals indicate the same parts in all the drawings. The drawings are not deliberately scaled to the actual size, and the focus is on showing the main purpose of the present application.
[0031] Figure 1(a) is the structure of a self-excited oscillation circuit driven by a conventional inductive load;
[0032] FIG1( b ) is a schematic diagram of the waveform of a self-excited oscillation circuit driven by a conventional inductive load;
[0033] Figure 2 It is a schematic diagram of the traditional self-excited oscillation method for current measurement;
[0034] Figure 3 is a flow chart of the method of the present invention;
[0035] Figure 4 It is a schematic diagram of the circuit structure of the method of the present invention;
[0036] FIG5(a) is a self-excited oscillation circuit structure constructed by an operational amplifier of Example 1;
[0037] FIG5(b) is a schematic diagram of the waveform of the self-excited oscillation circuit constructed by the operational amplifier of Example 1
[0038] Figure 6 The collector (drain) open comparator of embodiment 2 constructs a self-excited oscillation circuit structure;
[0039] Figure 7 It is a self-excited oscillation circuit structure derived from the collector (drain) open circuit comparator of embodiment 2 by adding an electronic switch;
[0040] FIG8(a) is a circuit structure of self-oscillation realized by using a single-tube device in Example 3;
[0041] FIG8( b ) is a circuit structure of self-oscillation realized by cascading a single tube in Example 3;
[0042] Fig. 9 The self-oscillation circuit structure of embodiment 4 is realized by using an inverter;
[0043] Fig.10 is a schematic diagram of a current measuring device of Example 5;
[0044] Fig.11It is a schematic diagram of the magnetic balance current measuring device of Example 6.
[0045] Description of reference numerals:
[0046] 201: Comparator A;
[0047] 202: Comparator B;
[0048] 30: current detection unit;
[0049] 301: forward current detection module;
[0050] 302: reverse current detection module;
[0051] 40: Inductive load;
[0052] 401: magnetic circuit;
[0053] 402: driving current coil;
[0054] 403: feedback current coil;
[0055] 50: Subtractor. DETAILED DESCRIPTION
[0056] In order to better illustrate the method of the present invention and show its characteristics, the method of the present invention and the various parts and functional modules mentioned will be described in detail below in conjunction with some actual circuit structures. Therefore, the specific circuits provided in the following description and the accompanying drawings are not intended to limit the scope of the invention claimed for protection, but are merely selected special cases for describing the principles of the present invention. Other features and advantages of the present application will be described in the subsequent description, and will become apparent in part from the description, or will be understood by implementing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and accompanying drawings.
[0057] The invention provides a self-excited oscillation method with two comparators suitable for driving an inductive load. Figure 3 is a flow chart of the method of the present invention, comprising:
[0058] S101: two comparators A and B having the same threshold voltage, whose output ends are connected to a current detection unit and connected to an inductive load to be driven;
[0059] S102: the current detection unit detects the forward current and the reverse current in the inductive load, the forward current detection signal is input into the comparator B, and the reverse current detection signal is input into the comparator A;
[0060] S103: driving the inductive load in a forward direction; the forward current detection signal is input into the comparator B and compared with the threshold voltage;
[0061] S104: When the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters a reverse driving state;
[0062] S105: reverse driving the inductive load; the reverse current detection signal is input into the comparator A and compared with the threshold voltage;
[0063] S106: When the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters a forward driving state;
[0064] The forward driving state and the reverse driving state change alternately to form self-excited oscillation.
[0065] Figure 4 The circuit structure diagram is constructed by the method of the present invention. The circuit structure includes: two comparators A201 and comparator B202, which have the same threshold voltage V TH , whose output end is connected to the current detection unit 30 and connected to the inductive load 40 to be driven; the current detection unit 30 includes a forward current detection module 301 and a reverse current detection module 302, which detect the forward current and reverse current in the inductive load 40, and the forward current detection signal is input to the comparator B202, and the reverse current detection signal is input to the comparator A201; the comparator forms two states of forward driving and reverse driving for the inductive load 40; in the forward driving state, the forward current detection signal detected by the forward current detection module 301 is input to the comparator B202, and compared with the threshold voltage V TH When the forward current detection signal reaches the threshold voltage V TH When the comparator B202 flips, the comparator A201 is triggered to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal detected by the reverse current detection module 302 is input to the comparator A201 and combined with the threshold voltage V TH When the reverse current detection signal reaches the threshold voltage V TH When , the comparator A201 flips, thereby triggering the comparator B202 to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form a self-excited oscillation.
[0066] Example 1: Using an operational amplifier to construct a self-oscillating circuit
[0067] Figure 5a An example of a practical circuit constructed using an operational amplifier according to the present invention is given. The circuit structure includes two operational amplifiers U 1 and U 2 , where U 1 The role corresponds to the comparator A201, U 2 The function corresponds to the comparator B202; in the operational amplifier U 1 and U 2 The non-inverting input terminal inputs a fixed reference voltage V TH , the reference voltage V TH The value can be set artificially, that is, the threshold voltage V TH ; in U 1 and U 2 The output end of is connected to the current detection unit 30 and connected to the inductive load 40 to be driven; the current detection unit 30 comprises a forward current detection module 301 and a reverse current detection module 302; the forward current detection module 301 is composed of a resistor R 1 and diode D 1 The reverse current detection module 302 is composed of a resistor R 2 Diode D 2 The forward current detection signal (ie, the resistor R 1 The voltage signal on the input) is input to the operational amplifier U 2 The reverse current detection signal (ie, the resistor R 2 The voltage signal on the input) is input to the operational amplifier U 1 The working principle of the circuit can be described and understood according to the following two states:
[0068] 1. Forward driving state: the operational amplifier U 1 Output high potential, the operational amplifier U 2 Output low potential; at this time D 2 On, R 2 does not work; while D 1 In reverse cutoff, the current of the load inductor 40 must flow through R 1 , in R 1 The forward current detection signal is generated and input to U 2 When the time increases, the current of the load inductor 40 increases, and the forward current detection signal gradually decreases; when the forward current detection signal decreases to the threshold voltage V TH When 2 Flip (output high potential), thereby triggering U 1Flip (output low potential), the circuit enters the reverse drive state.
[0069] 2. Reverse driving state: the operational amplifier U 1 Output low potential, the operational amplifier U 2 Output high potential; at this time D 1 On, R 1 does not work; while D 2 In reverse cutoff, the current of the load inductor 40 must flow through R 2 , in R 2 The reverse current detection signal is generated and input into the comparator U 1 When the time increases, the current of the load inductor 40 increases in the reverse direction, and the reverse current detection signal gradually decreases; when the reverse current detection signal decreases to the threshold voltage V TH When 1 Flip (output high potential), thereby triggering U 2 Flip (output low potential), the circuit enters the forward driving state.
[0070] The waveform changes of the voltages at the relevant nodes when the circuit is working are shown in the figure below: Figure 5b In this paper, the working principle of the circuit can be explained more clearly.
[0071] The above two states are converted alternately, and the circuit realizes self-oscillation.
[0072] Here are two additional points: 1. Diode D 1 , D 2 The function of is a "synchronous switch" to detect the current of the load inductor 40 when it changes in different directions. They can be replaced by other switching devices. 2. Resistor R for current detection 1 , R 2 Linearity is not required, so other nonlinear elements can be used instead.
[0073] in addition, Figure 5a The circuit structure described is only a specific circuit structure implemented by the method of the present invention. In actual application, various specific structures can be derived according to different comparator types selected.
[0074] Embodiment 2: A self-excited oscillation circuit is constructed using a collector (or drain) open-circuit comparator.
[0075] In industry, there is a type of comparator that uses collector (or drain) open-circuit output, such as LM339, LM393 and other models. Using the method of the present invention, a corresponding self-excited oscillation circuit can also be constructed, such as Figure 6 The circuit structure includes two comparators U with open collector (or drain) outputs.1 and U 2 , where U 1 The role corresponds to the comparator A201, U 2 The function corresponds to the comparator B202;
[0076] Figure 6 The resistance R 1 , R 2 Connect to power supply V CC , respectively U 1 and U 2 The pull-up resistor R 1 As the forward current detection module 301, R 2 As the reverse current detection module 302; 1 and U 2 The output end of is equivalent to a "synchronous switch", so a diode is no longer needed and the circuit can achieve self-oscillation.
[0077] Figure 6 In the circuit, U 1 and U 2 The output signal is equivalent to the "current detection signal" and cannot directly output a square wave oscillation signal, which may not meet the needs in some application scenarios. In this case, you can 1 and U 2 Add one (or more) electronic switches at the back end to construct a derivative circuit, such as Figure 7 Shown: Resistance R 3 , R 4 U 1 and U 2 The pull-up resistor at the output is used to drive the electronic switch Q 1 and Q 2 (shown as an N-channel MOS tube in the figure); at this time, the comparator U 1 , resistor R 3 and electronic switch Q 1 can be collectively regarded as the comparator A201; the comparator U 2 , resistor R 4 and electronic switch Q 2 can be collectively regarded as the comparator B202; the resistor R 1 , R 2 They serve as the forward current detection module 301 and the reverse current detection module 302 respectively.
[0078] Figure 6 and Figure 7The working principle and waveform changes of the circuit are similar to those of the circuit in FIG5 , and will not be discussed in detail herein. At the same time, various derivative circuits can be constructed according to the method of the present invention, for example, a corresponding oscillation circuit can be constructed by using a P-channel MOS tube or other devices as an electronic switch, and these specific circuits will not be described in detail herein.
[0079] It must be emphasized that the method of the present invention includes two comparators with the same threshold voltage; the comparator must be understood in a broad sense, that is, it refers to an electronic device and a combination of electronic devices whose output state will change when the input signal reaches a certain value, and is not limited to devices such as "operational amplifier", "voltage comparator" and "current comparator" in the field of traditional electronics; the threshold voltage can be introduced externally, set manually, or it can be an intrinsic characteristic of the device; therefore, the "comparator" includes bipolar junction transistors (BJT, Bipolar Junction Transistor), MOS field effect transistors (MOSFET, MOS Field Effect Transistior), junction field effect transistors (JFET, Junction Field Effect Transistior) and insulated gate bipolar transistors (IGBT, Insulated Gate Bipolar Transistor) and analog switches. When such devices are used, the parameters such as "on-state voltage" or "turn-on voltage" defined in electronics can be regarded as the intrinsic "threshold voltage" that changes the output state of the device; of course, it also includes devices such as inverters, various gate circuits and various triggers commonly seen in digital electronics. These devices also have the characteristic of changing the output state of the device at a certain trigger level, and can also be regarded as comparison devices with an intrinsic "threshold voltage"; in addition, the comparison function required by the present invention can also be realized by programming a single-chip microcomputer.
[0080] Embodiment 3: Use a single-tube device to construct a self-excited oscillation circuit.
[0081] Figure 8a A structure of a self-excited oscillation circuit using a single-tube device is given. Its working principle is similar to that in the previous article. Figure 6 , Figure 7 The circuit is the same; Figure 8a Q 1 and Q 2 The two N-channel MOSFETs are comparison devices, and their "turn-on voltage" can be regarded as the intrinsic "threshold voltage"; 1 Corresponding to the comparator A201, Q 2 Corresponding to the comparator B202, as long as their transconductance is large enough, the circuit can achieve self-oscillation; similarly, the resistor R 1 , R 2They serve as the forward current detection module 301 and the reverse current detection module 302 respectively.
[0082] Of course, you can also use multiple single-tube cascades to equivalently increase the MOSFET transconductance and achieve the required comparison function and self-oscillation. Figure 8b As shown, Q 1 The multiple N-channel MOSFET structures cascaded thereafter can be regarded as the comparator A201; Q 2 The multiple N-channel MOSFET structures cascaded thereafter can be regarded as the comparator B202; the resistor R 1 , R 2 They serve as the forward current detection module 301 and the reverse current detection module 302 respectively; according to the direction of the output voltage, it is easy to know that as long as the number of multi-stage cascades is an odd number, self-oscillation can be achieved.
[0083] Embodiment 4: Use inverter to construct self-excited oscillation circuit.
[0084] Fig. 9 It is a structure that uses the "inverter" in digital electronics to realize a self-excited oscillation circuit. The circuit in the figure has two inverters U 1 and U 2 , where U 1 The role corresponds to the comparator A201, U 2 The function of the comparator B202 corresponds to that of the comparator B202; their flip voltage can be regarded as an intrinsic "threshold voltage", and the rest of the structure and working principle of the circuit are the same as Figure 5a The circuits introduced are exactly the same and will not be described in detail herein. Of course, various gate circuits and various triggers and other electronic devices can also be regarded as comparators with inherent "threshold voltages" and the method of the present invention can be used to achieve self-oscillation.
[0085] In addition, by utilizing single chip microcomputer programming, the desired self-excited oscillation can also be easily achieved according to the method flow of the present invention.
[0086] By utilizing the method of the present invention and using the various devices described above, as well as combinations of these devices, a variety of self-excited oscillation circuits for driving inductive loads can be constructed, which are too numerous to mention, and the relevant circuit structures will not be listed in this article.
[0087] Compared with the conventional self-excited oscillation circuits described above, these circuits constructed using the method of the present invention have the following two common features: first, only two comparators are used, and second, the threshold voltage of the comparator remains unchanged.
[0088] When the self-excited oscillation circuit for driving an inductive load constructed by the method of the present invention is used in the fields of magnetic measurement, current measurement, etc., all non-ideal factors (such as the asymmetry of the power supply voltage, the asymmetry of the positive and negative voltages output by the comparator, the rise and fall rates and delays of the oscillation waveform, etc.) have the same influence on the two comparators, so in the oscillation signals output by the two comparators, these influences can be regarded as "common-mode signals"; and the influence of the external magnetic field and current to be measured on the oscillation signal through magnetic modulation can be regarded as "differential-mode signals"; therefore, the oscillation signals output by the two comparators can eliminate the influence of all non-ideal factors through a subtraction operation, thereby improving the measurement accuracy.
[0089] Embodiment 5: A current measuring device.
[0090] like Fig.10 As shown, the present application also provides a current measuring device, comprising:
[0091] An inductive load 40, the inductive load is composed of a magnetic circuit 401 and a driving current coil 402 wound thereon, and the current to be measured I X flows through the core in the magnetic circuit 401; two having the same threshold value V TH The comparator A201 and the comparator B202 of the voltage are connected, and the output end thereof is connected to the current detection unit 30 and connected to the inductive load 40 to be driven; the current detection unit 30 comprises a forward current detection module 301 and a reverse current detection module 302, and detects the forward current and reverse current in the inductive load 40, and the forward current detection signal is input into the comparator B202, and the reverse current detection signal is input into the comparator A201; the comparator forms two states of forward driving and reverse driving for the inductive load 40; in the forward driving state, the forward current detection signal detected by the forward current detection module 301 is input into the comparator B202, and compared with the threshold voltage V TH When the forward current detection signal reaches the threshold voltage V TH When the comparator B202 flips, the comparator A201 is triggered to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal detected by the reverse current detection module 302 is input to the comparator A201 and combined with the threshold voltage V TH When the reverse current detection signal reaches the threshold voltage V TH When , the comparator A201 flips, thereby triggering the comparator B202 to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form a self-excited oscillation.
[0092] The current to be measured I XA magnetic induction intensity will be generated in the magnetic circuit 401, thereby changing the time of the forward driving state and the reverse driving state; therefore, the time difference between the forward driving state and the reverse driving state includes the measured current I X The oscillation signals of the comparator A201 and the comparator B202 are then input into a subtractor 50; the output of the subtractor 50 can characterize the size of the current to be measured;
[0093] The comparator A201 is the same as the comparator B202. The signal changes caused by factors such as delay, output level and rising (falling) rate contained in the oscillation signal can be regarded as common mode signals and eliminated by the subtractor 50, thereby improving the measurement accuracy.
[0094] Embodiment 6: A magnetic balance current measuring device.
[0095] like Fig.11 As shown, the present application also provides a magnetic balance current measuring device, comprising:
[0096] An inductive load 40, the inductive load is composed of a magnetic circuit 401 and a driving current coil 402 wound thereon, and the current to be measured I X The magnetic circuit 401 flows through the core; a feedback current coil 403 is also wound around the magnetic circuit for magnetic balance control; two currents with the same threshold value V TH The comparator A201 and the comparator B202 of the voltage are connected, and the output end thereof is connected to the current detection unit 30 and connected to the inductive load 40 to be driven; the current detection unit 30 comprises a forward current detection module 301 and a reverse current detection module 302, and detects the forward current and reverse current in the inductive load 40, and the forward current detection signal is input into the comparator B202, and the reverse current detection signal is input into the comparator A201; the comparator forms two states of forward driving and reverse driving for the inductive load 40; in the forward driving state, the forward current detection signal detected by the forward current detection module 301 is input into the comparator B202, and compared with the threshold voltage V TH When the forward current detection signal reaches the threshold voltage V TH When the comparator B202 flips, the comparator A201 is triggered to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal detected by the reverse current detection module 302 is input to the comparator A201 and combined with the threshold voltage V TH When the reverse current detection signal reaches the threshold voltage V THWhen , the comparator A201 flips, thereby triggering the comparator B202 to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form a self-excited oscillation.
[0097] The magnetic induction intensity in the magnetic circuit 401 is the current to be measured I X The superposition of the current effect in the feedback current coil 403 will affect the time of the forward driving state and the reverse driving state; the oscillation signal of the comparator A201 and the comparator B202 is input into a subtractor 50; the output of the subtractor 50 can represent the current to be measured I X and the superposition effect of the current in the feedback current coil 403;
[0098] The output of the subtractor 50 is used to control the current in the feedback current coil 403; through the control of the deep negative feedback circuit, the magnetic induction intensity in the magnetic circuit 401 is always zero or a constant value, and the magnitude of the current in the feedback current coil 403 can represent the current to be measured I X size;
[0099] The comparator A201 is the same as the comparator B202. The signal changes caused by factors such as delay, output level and rise (fall) rate contained in the oscillation signal can be regarded as common mode signals and eliminated by the subtractor, thereby improving the measurement accuracy.
[0100] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described above in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0101] Therefore, the above detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0102] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0103] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0104] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "subtraction", "connection", "forward", "reverse" and the like should be understood in a broad sense. For example, "forward" drive and "reverse" drive merely represent different states applied to the load, rather than specifically limiting the potential level or the direction of current flow. For another example, the "subtraction" operation can be performed by a device with a subtraction property, or by a device with an addition property. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
Claims
1. A self-excited oscillation method suitable for driving inductive loads, It is characterized in that The method is applied to a specific circuit, comprising two comparators A and B with the same threshold voltage, whose output ends are connected to a current detection unit and connected to an inductive load to be driven; the current detection unit comprises a forward current detection module and a reverse current detection module, and detects the forward current and reverse current in the inductive load; the forward current detection signal is input into the comparator B, and the reverse current detection signal is input into the comparator A; the comparator forms two states of forward driving and reverse driving for the inductive load; in the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage, when the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage, when the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form self-excited oscillation; Among them, at least one inductive load is included; the inductive load is composed of a magnetic circuit and a wound driving coil.
2. The self-excited oscillation method according to claim 1 is applied to a specific circuit. It is characterized in that It comprises two comparators; the comparator refers to an electronic device or a combination of electronic devices whose output state will change when the input signal reaches a certain value; the two comparators form two driving states, forward and reverse, for the inductive load.
3. The self-excited oscillation method according to claim 1 is applied to a specific circuit. It is characterized in that It comprises a current detection unit; the current detection unit comprises a forward current detection module and a reverse current detection module, which are respectively used to detect the current on the inductive load in the forward driving state and the reverse driving state.
4. A current measuring device, It is characterized in that The invention comprises an inductive load, wherein the inductive load is composed of a magnetic circuit and a driving current coil wound thereon, and the current to be measured flows through the core of the magnetic circuit; two comparators A and comparator B having the same threshold voltage, whose output ends are connected to a current detection unit and connected to the inductive load to be driven; the current detection unit comprises a forward current detection module and a reverse current detection module, and detects the forward current and reverse current in the inductive load; the forward current detection signal is input into the comparator B, and the reverse current detection signal is input into the comparator A; The comparator forms two states of forward driving and reverse driving for the inductive load; in the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage. When the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage. When the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form self-excited oscillation; The current to be measured will generate magnetic induction intensity in the magnetic circuit, changing the time of the forward driving state and the reverse driving state; The time difference between the forward driving state and the reverse driving state contains information about the magnitude of the current to be measured; the oscillation signals of the comparator A and the comparator B are then input into a subtractor; the output of the subtractor can represent the magnitude of the current to be measured.
5. A magnetic balance current measuring device, It is characterized in that The invention comprises an inductive load, wherein the inductive load is composed of a magnetic circuit and a driving current coil wound thereon, and the current to be measured flows through the core of the magnetic circuit; a feedback current coil is also wound on the magnetic circuit for magnetic balance control; two comparators A and comparator B with the same threshold voltage, whose output ends are connected to a current detection unit and connected to the inductive load to be driven; the current detection unit comprises a forward current detection module and a reverse current detection module, and detects the forward current and reverse current in the inductive load; the forward current detection signal is input to the comparator B, and the reverse current detection signal is input to the comparator A; The comparator forms two states of forward driving and reverse driving for the inductive load; in the forward driving state, the forward current detection signal is input into the comparator B and compared with the threshold voltage. When the forward current detection signal reaches the threshold voltage, the comparator B flips, thereby triggering the comparator A to flip, and the circuit enters the reverse driving state; in the reverse driving state, the reverse current detection signal is input into the comparator A and compared with the threshold voltage. When the reverse current detection signal reaches the threshold voltage, the comparator A flips, thereby triggering the comparator B to flip, and the circuit enters the forward driving state; the forward driving state and the reverse driving state change alternately to form self-excited oscillation; The magnetic induction intensity in the magnetic circuit is the superposition of the current to be measured and the current in the feedback current coil, which will affect the time of the forward driving state and the reverse driving state; the oscillation signals of the comparator A and the comparator B are input into a subtractor; the output of the subtractor represents the superposition of the current to be measured and the current in the feedback current coil; The output of the subtractor is used to control the current in the feedback current coil; through the control of the deep negative feedback circuit, the magnetic induction intensity in the magnetic circuit is always zero or a constant value; the magnitude of the current in the feedback current coil represents the magnitude of the current to be measured.
