A self-calibration method and system for displacement sensor for magnetic bearing
By adopting a self-calibration method in magnetic bearings and utilizing automatic adjustment of digital potentiometers and amplified digital potentiometers, the problems of complexity and low accuracy of manual calibration in the existing technology are solved, and high-precision automated calibration and remote control are achieved. Reduced operating costs.
Patent Information
- Application Number
- CN202311820452.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-12-27
AI Technical Summary
During the calibration process of the existing magnetic bearing displacement sensor, manual adjustment of the bias and amplification circuit is required. The operation is complex and the level of automation is low, resulting in a reduction in calibration accuracy. When the equipment fails, it is necessary to send personnel for repairs, which increases operating costs.
Using the self-calibration method, automatic calibration is realized through the digital potentiometer and amplified digital potentiometer in the calibration circuit, and the differential demodulation, filtering and amplification functions are used to automatically adjust the offset and amplification factor to achieve self-calibration of the displacement sensor.
It improves the calibration accuracy of the displacement sensor, reduces manual intervention, simplifies operations, reduces operating costs, supports remote control, and simplifies subsequent control and data analysis.
Smart Images

Figure BDA0004633831340000034 
Figure BDA0004633831340000083 
Figure BDA0004633831340000091
Abstract
Description
Technical Field
[0001] The invention relates to a self-calibration method and system for a displacement sensor for a magnetic suspension bearing, belonging to the technical field of self-calibration of displacement sensors. Background Art
[0002] Active magnetic bearings rely on displacement sensors to obtain displacement signals to achieve stable suspension. The controller processes the difference between the actual displacement signal and the set reference signal to obtain a control signal.
[0003] During debugging, taking the y-axis direction and the output displacement signal range of 0V-5V as an example, first, energize the electromagnet in the negative direction of the y-axis alone, adjust the bias adjustable potentiometer to make the displacement signal 0V, then energize the electromagnet in the positive direction of the y-axis alone, adjust the amplification adjustable potentiometer to make the displacement signal 5V. During actual control, set the displacement signal reference value to 2.5V. When the output displacement signal is 2.5V, it is considered that the rotor is in the middle position.
[0004] However, in the process of calibration and debugging of displacement sensors, most of them are manually adjusted by the bias and amplifier circuits. The size of the bias and amplifier potentiometers is determined according to the size of the displacement signal output by the bias and amplifier circuit. The operation is complicated, the automation level is low, and the labor cost is increased. Mechanical digital potentiometers will have numerical drift with the vibration of the equipment, which reduces the accuracy of calibration. In addition, when the equipment fails at the customer's site and the displacement sensor needs to be calibrated, the manufacturer needs to send people to the customer's site for repair, which increases the operating cost. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present invention provides a self-calibration method for a displacement sensor for a magnetic bearing. The method can realize automatic calibration of the displacement sensor without manual work and has higher accuracy, which is of great significance for realizing remote calibration of the displacement sensor.
[0006] The invention also provides a self-calibration system for a displacement sensor for a magnetic suspension bearing.
[0007] The technical solution of the present invention is:
[0008] In one aspect, the present invention provides a self-calibration method for a displacement sensor for a magnetic bearing, comprising:
[0009] The displacement signal detected by the displacement sensor is input into the calibration circuit after differential demodulation. The calibration circuit is used to realize the filtering, biasing and amplification functions of the displacement signal after differential demodulation.
[0010] During calibration, under the electromagnetic force of the magnetic bearing, the rotor moves to the maximum displacement in a certain degree of freedom direction, and the initial setting values of the bias digital potentiometer and the amplification digital potentiometer in the calibration circuit are set to R w4 and R w5 The bias digital potentiometer is used to adjust the bias voltage provided by the calibration circuit, and the amplification digital potentiometer is used to adjust the amplification factor of the calibration circuit to the signal; the displacement signal output by the calibration circuit is U out ;
[0011] Based on the initial bias voltage U1, initial amplification factor K and output displacement signal U provided by the calibration circuit out , get the displacement signal U of the input calibration circuit i And the output signal U2 after superposition bias, U2 is the input signal of the amplification link;
[0012] The target value of the bias digital potentiometer corresponding to the output voltage U2 after superimposing the bias in the calibration circuit is set to R w4 * , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom;
[0013] Or obtain when the calibration circuit outputs the target displacement signal U out * The target setting value of the corresponding amplified digital potentiometer is R w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom;
[0014] After calibration, when the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, U out * ], set the displacement reference signal to U out * / 2, the rotor is suspended in the middle of the maximum displacement range in the positive and negative directions of a certain degree of freedom.
[0015] Preferably according to the present invention, the calibration circuit includes a bias circuit and an amplifier circuit having a filtering function;
[0016] The bias circuit with filtering function includes a first resistor R1, a second resistor R2, a third resistor R3, a bias digital potentiometer, a sixth resistor R6, a seventh resistor R7, a first capacitor C1, a second capacitor C2 and a first operational amplifier;
[0017] The filtering function is realized by an infinite gain multi-path feedback filter composed of a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a second capacitor C2 and a first operational amplifier;
[0018] The bias function is realized by the bias digital potentiometer, the sixth resistor R6, and the seventh resistor R7;
[0019] The second resistor R2 and the third resistor R3 are connected in series and connected to the inverting input terminal of the first operational amplifier;
[0020] The first resistor R1 and the third resistor R3 are connected in series and then in parallel with the first capacitor C1;
[0021] One end of the first capacitor C1 is connected to the inverting input terminal of the first operational amplifier, and the other end of the first capacitor C1 is connected to the output terminal of the first operational amplifier;
[0022] One end of the second capacitor C2 is grounded, and the other end of the second capacitor C2 is connected to both the second resistor R2 and the third resistor R3;
[0023] The bias digital potentiometer is connected in series with the sixth resistor R6 and then connected to the non-inverting input terminal of the first operational amplifier;
[0024] One end of the seventh resistor R7 is grounded, and the other end of the seventh resistor R7 is connected to the non-inverting input terminal;
[0025] The amplifier circuit includes an amplifier digital potentiometer, an eighth resistor R8 and a second operational amplifier.
[0026] The output terminal of the first operational amplifier is connected to the non-inverting input terminal of the second operational amplifier;
[0027] One end of the eighth resistor R8 is grounded, and the other end of the eighth resistor R8 is connected to the inverting input end of the second operational amplifier.
[0028] One end of the amplifying digital potentiometer is connected to the inverting input end of the second operational amplifier, and the other end of the amplifying digital potentiometer is connected to the output end of the second operational amplifier.
[0029] According to the preferred embodiment of the present invention, based on the initial bias voltage U1, the initial amplification factor K and the output displacement signal U provided by the calibration circuit out , get the displacement signal U of the input calibration circuit i And the output signal U2 after superimposing the bias; specifically:
[0030] Determine the initial amplification factor K and the initial bias voltage U1, specifically:
[0031]
[0032]
[0033] In formula (II), R4 represents the maximum resistance of the bias digital potentiometer, RW4 Represents the initial setting value of the bias digital potentiometer, R W5 Indicates the initial setting value of the amplified digital potentiometer; V + Represents the positive voltage of the bias voltage source, V - represents the negative voltage of the voltage source providing the bias, so that the bias voltage U1 can be adjusted positively or negatively, and the sixth resistor R6 and the seventh resistor R7 are known values. It should be noted that R W4 and R W5 This is an initial value that is set based on experience.
[0034] According to the initial magnification K and the output displacement signal U out , and the output voltage U2 after superimposed bias is obtained, namely:
[0035]
[0036] According to formula (IV), the displacement signal U input to the calibration circuit is determined i ,Right now:
[0037]
[0038] In formula (IV), U1 represents the initial bias voltage, U2 represents the output voltage after the bias is superimposed, and the first resistor R1 and the second resistor R2 are known values.
[0039] According to the preferred embodiment of the present invention, the target value of the bias digital potentiometer corresponding to the output voltage U2 after the superimposed bias in the calibration circuit is set to R w4* , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; including:
[0040] When the output voltage U2 after superimposing the bias is 0, the bias voltage that the calibration circuit needs to provide is U1 * ,Right now:
[0041]
[0042] According to the variation of formula (II), the target setting value R of the bias digital potentiometer is obtained: w4 * ,Right now:
[0043]
[0044] The calibration procedure sets the target value R w4 * The converted signal is sent to the bias digital potentiometer, thereby completing the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom.
[0045] According to the preferred embodiment of the present invention, when the calibration circuit outputs the target displacement signal U out * The target setting value of the corresponding amplified digital potentiometer is R w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; including:
[0046] When the calibration circuit outputs the target displacement signal U out * When the target magnification is K * for:
[0047]
[0048] According to the variation of formula (I), the target setting value R of the amplified digital potentiometer is obtained: w5 * ,Right now:
[0049]
[0050] In formula (VIII), the eighth resistor R8 is a known value;
[0051] The calibration procedure sets the target value R w5 * The converted signal is sent to the amplifying digital potentiometer to complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom.
[0052] Another invention, the present invention provides a self-calibration system for a displacement sensor for a magnetic bearing, comprising a differential demodulation module, a displacement calibration module, an A / D conversion module, a magnetic bearing control module and a debugging module.
[0053] The differential demodulation module is used to demodulate the amplitude modulated wave output by the displacement sensor to obtain a displacement signal;
[0054] The displacement calibration module is used to bias and amplify the input demodulated displacement signal;
[0055] The A / D conversion module is used to convert the analog signal output by the displacement calibration module into a digital displacement signal;
[0056] The magnetic bearing control module is used to adjust the current of the magnetic poles in the magnetic bearing during the calibration of the magnetic bearing so that the rotor moves to the maximum displacement in the negative or positive direction of a certain degree of freedom; and to adjust the current of the magnetic poles in the magnetic bearing when the rotor is suspended so that the rotor is stably suspended in the middle position of the magnetic bearing;
[0057] The debugging module is used to adjust the target setting value R of the bias digital potentiometer when the output voltage U2 after superimposing the bias in the displacement calibration module is 0. w4 * , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; and when the displacement calibration module outputs the target voltage value Uout * When the target setting value R of the digital potentiometer is adjusted w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; when the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, Uout * ].
[0058] The beneficial effects of the present invention are:
[0059] The present invention provides a self-calibration method for a displacement sensor for a magnetic bearing, which uses a digital potentiometer to adjust a displacement calibration module, and the operation is more flexible. The calibration method can replace manual adjustment, and the adjustment is more accurate. When a magnetic bearing-related device fails, remote adjustment is convenient.
[0060] The self-calibration method of a displacement sensor for a magnetic bearing provided by the present invention has a constant displacement output range, and the displacement reference signal can also be set to a fixed value, which simplifies the writing of subsequent control programs and PLC alarm programs and facilitates the analysis of subsequent data. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 This is a schematic diagram of the principle of the differential eddy current displacement sensor.
[0062] Figure 2 This is a schematic diagram of the principle of the calibration circuit provided by the present invention.
[0063] Figure 3 A schematic structural diagram of a self-calibration system for a displacement sensor for a magnetic bearing provided by the present invention. DETAILED DESCRIPTION
[0064] Several embodiments of the present application will be disclosed below with diagrams to clearly and completely describe the technical solution of the present application, which constitute a part of the specification of the present application and are used to provide a further understanding of the present invention. The schematic embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0065] The words "first", "second" and the like used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. In addition, in various embodiments of the present disclosure, the same or similar reference numerals represent the same or similar components.
[0066] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0067] Take radial magnetic bearings as an example. Figure 1 As shown, in a single degree of freedom direction, under the limitation of protecting the bearing, the rotor will be sucked to the 0 position and the 5 position by the electromagnet, and the controller will keep the displacement of the rotor at 2.5V when it is suspended. Among them, the 0 position is when the rotor moves to the maximum displacement in the negative direction of a certain degree of freedom, and the voltage output by the calibration circuit is 0V, and the 5 position is when the rotor moves to the maximum displacement in the positive direction of a certain degree of freedom, and the voltage output by the calibration circuit is 5V. Therefore, during debugging, firstly energize the 0 position electromagnet alone, and adjust the offset adjustable potentiometer to make the displacement signal 0V, then energize the 5 position electromagnet alone, and adjust the amplification adjustable potentiometer to make the displacement signal 5V, at this time 2.5V is the middle position; finally, the displacement signal output by the displacement sensor after the calibration circuit will be maintained between 0-5V.
[0068] Example 1
[0069] This embodiment provides a self-calibration method for a displacement sensor for a magnetic bearing, comprising:
[0070] The displacement signal detected by the displacement sensor is input into the calibration circuit after differential demodulation. The calibration circuit is used to realize the filtering, biasing and amplification functions of the demodulated displacement signal.
[0071] Taking the radial displacement sensor as an example, under the electromagnetic force of the magnetic bearing, the electromagnet in the negative direction of a certain degree of freedom is powered separately, so that the rotor moves to the maximum displacement in the negative direction of the degree of freedom. The initial setting values of the bias digital potentiometer and the amplifier digital potentiometer in the calibration circuit are R w4 and R w5 The bias digital potentiometer is used to adjust the bias voltage provided by the calibration circuit, and the amplification digital potentiometer is used to adjust the amplification factor of the calibration circuit; the displacement signal output by the calibration circuit is U out ; The displacement signal output by the calibration circuit is U out ;
[0072] Based on the initial bias voltage U1, initial amplification factor K and output displacement signal U provided by the calibration circuitout , get the displacement signal U of the input calibration circuit i And the output signal U2 after superposition bias, U2 is the input signal of the amplification link;
[0073] The target value of the bias digital potentiometer corresponding to the output voltage U2 after superimposing the bias in the calibration circuit is set to R w4* , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom;
[0074] Or, under the electromagnetic force of the magnetic bearing, the electromagnet in the positive direction of the same degree of freedom is powered separately, so that the rotor moves to the maximum displacement in the positive direction of the degree of freedom; the initial setting values of the bias digital potentiometer and the amplification digital potentiometer in the calibration circuit are R w4 and R w5 ;
[0075] Get the target displacement signal U when the calibration circuit outputs out * The corresponding target setting value R of the amplified digital potentiometer w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of the degree of freedom;
[0076] After calibration, when the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, U out * ], set the displacement reference signal to U out * / 2, the rotor is suspended in the middle of the maximum displacement range in the positive and negative directions of a certain degree of freedom.
[0077] Example 2
[0078] This embodiment provides a self-calibration method for a displacement sensor for a magnetic bearing, which differs from Embodiment 1 in that:
[0079] like Figure 2 As shown, the calibration circuit includes a bias circuit and an amplifier circuit with filtering functions;
[0080] The bias circuit with filtering function includes a first resistor R1, a second resistor R2, a third resistor R3, a bias digital potentiometer, a sixth resistor R6, a seventh resistor R7, a first capacitor C1, a second capacitor C2 and a first operational amplifier;
[0081] The filtering function is realized by an infinite gain multi-path feedback filter composed of a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a second capacitor C2 and a first operational amplifier;
[0082] The bias function is realized by the bias digital potentiometer, the sixth resistor R6, and the seventh resistor R7;
[0083] The second resistor R2 and the third resistor R3 are connected in series and connected to the inverting input terminal of the first operational amplifier;
[0084] The first resistor R1 and the third resistor R3 are connected in series and then in parallel with the first capacitor C1;
[0085] One end of the first capacitor C1 is connected to the inverting input terminal of the first operational amplifier, and the other end of the first capacitor C1 is connected to the output terminal of the first operational amplifier;
[0086] One end of the second capacitor C2 is grounded, and the other end of the second capacitor C2 is connected to both the second resistor R2 and the third resistor R3;
[0087] The bias digital potentiometer is connected in series with the sixth resistor R6 and then connected to the non-inverting input terminal of the first operational amplifier;
[0088] One end of the seventh resistor R7 is grounded, and the other end of the seventh resistor R7 is connected to the non-inverting input terminal;
[0089] The amplifier circuit includes an amplifier digital potentiometer, an eighth resistor R8 and a second operational amplifier.
[0090] The output terminal of the first operational amplifier is connected to the non-inverting input terminal of the second operational amplifier;
[0091] One end of the eighth resistor R8 is grounded, and the other end of the eighth resistor R8 is connected to the inverting input end of the second operational amplifier.
[0092] One end of the amplifying digital potentiometer is connected to the inverting input end of the second operational amplifier, and the other end of the amplifying digital potentiometer is connected to the output end of the second operational amplifier.
[0093] Example 3
[0094] This embodiment provides a self-calibration method for a displacement sensor for a magnetic bearing, which differs from Embodiment 2 in that:
[0095] Based on the initial bias voltage U1, initial amplification factor K and output displacement signal U provided by the calibration circuit out , get the displacement signal U of the input calibration circuit i And the output signal U after superimposing the bias 2; Specifically:
[0096] Determine the initial amplification factor K and the initial bias voltage U1, specifically:
[0097]
[0098]
[0099] In formula (II), R4 represents the maximum resistance of the bias digital potentiometer, R W4 Represents the initial setting value of the bias digital potentiometer, R W5 Indicates the initial setting value of the amplified digital potentiometer; V + V- represents the positive voltage of the bias voltage source, and V- represents the negative voltage of the bias voltage source, so that the initial bias voltage U1 can be adjusted positively or negatively. The sixth resistor R6 and the seventh resistor R7 are known values. It should be noted that R W4 and R W5 This is an initial value that is set based on experience.
[0100] According to the initial magnification K and the output displacement signal U out , and the output voltage U2 after superimposed bias is obtained, namely:
[0101]
[0102] According to formula (IV), the displacement signal U input to the calibration circuit is determined i ,Right now:
[0103]
[0104] In formula (IV), U1 represents the initial bias voltage, U2 represents the output voltage after the bias is superimposed, and the first resistor R1 and the second resistor R2 are known values.
[0105] Example 4
[0106] This embodiment provides a self-calibration method for a displacement sensor for a magnetic bearing, which differs from Embodiment 3 in that:
[0107] The target value of the bias digital potentiometer corresponding to the output voltage U2 after superimposing the bias in the calibration circuit is set to R w4* , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; including:
[0108] When the output voltage U2 after superimposing the bias is 0, the bias voltage that the calibration circuit needs to provide is U1 * ,Right now:
[0109]
[0110] According to the variation of formula (II), the target setting value R of the bias digital potentiometer is obtained: w4 * ,Right now:
[0111]
[0112] The calibration procedure sets the target value R w4 * The signal is converted into a digital signal and sent to the bias digital potentiometer, thereby completing the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom, that is, completing the self-calibration of the 0 position.
[0113] Example 5
[0114] This embodiment provides a self-calibration method for a displacement sensor for a magnetic bearing, which differs from Embodiment 3 in that:
[0115] Under the electromagnetic force of the magnetic bearing, the electromagnet in the positive direction of a certain degree of freedom is powered separately, so that the rotor moves to the maximum displacement in the positive direction of the degree of freedom;
[0116] Get the target displacement signal U when the calibration circuit outputs out * The target setting value of the corresponding amplified digital potentiometer is R w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; including:
[0117] When the calibration circuit outputs the target displacement signal U out * When the target magnification is K * for:
[0118]
[0119] According to the variation of formula (I), the target setting value R of the amplified digital potentiometer is obtained: w5 * ,Right now:
[0120]
[0121] In formula (VIII), the eighth resistor R8 is a known value;
[0122] The calibration procedure sets the target value R w5 * The signal is converted into a digital signal and sent to the amplifying digital potentiometer to complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom, that is, to complete the 5-bit self-calibration, that is, to complete the self-calibration of the amplifying link.
[0123] It should be noted that when the axial magnetic bearing is self-calibrated, the calibration is performed at the positive and negative maximum displacements on the axial degree of freedom. The output displacement signal range of the displacement sensor is [0, Uout *], the corresponding target setting values of the bias digital potentiometer and the amplification digital potentiometer are obtained.
[0124] Example 6
[0125] This embodiment provides a self-calibration system for a displacement sensor for a magnetic bearing, which is used to implement the calibration method provided in any one of Embodiments 1-5. Figure 3 As shown, it includes a differential demodulation module, a displacement calibration module, an A / D conversion module, a magnetic bearing control module and a debugging module, wherein the magnetic bearing control module is referred to as a magnetic bearing control module.
[0126] The differential demodulation module is used to demodulate the amplitude modulated wave output by the displacement sensor to obtain a displacement signal;
[0127] The displacement calibration module is used to bias and amplify the input demodulated displacement signal;
[0128] The A / D conversion module is used to convert the analog signal output by the displacement calibration module into a digital displacement signal;
[0129] The magnetic bearing control module is used to adjust the current of the magnetic poles in the magnetic bearing during the calibration of the magnetic bearing so that the rotor moves to the maximum displacement in the negative or positive direction of a certain degree of freedom; and to adjust the current of the magnetic poles in the magnetic bearing when the rotor is suspended so that the rotor is stably suspended in the middle position of the magnetic bearing;
[0130] The debugging module is used to adjust the target setting value R of the bias digital potentiometer when the output voltage U2 after superimposing the bias in the displacement calibration module is 0. w4 * , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; and when the displacement calibration module outputs the target voltage value Uout * When the target setting value R of the digital potentiometer is adjusted w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; when the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, Uout * ].
Claims
1. A self-calibration method for a displacement sensor for a magnetic bearing, characterized in that: include: The displacement signal detected by the displacement sensor is input into the calibration circuit after differential demodulation. The calibration circuit is used to filter, bias and amplify the displacement signal after differential demodulation. The calibration circuit includes a bias circuit and an amplification circuit with filtering function. The bias circuit with filtering function includes a first resistor R1, a second resistor R2, a third resistor R3, a bias digital potentiometer, a sixth resistor R6, a seventh resistor R7, a first capacitor C1, a second capacitor C2 and a first operational amplifier; The second resistor R2 and the third resistor R3 are connected in series and connected to the inverting input terminal of the first operational amplifier; The first resistor R1 and the third resistor R3 are connected in series and then in parallel with the first capacitor C1; One end of the first capacitor C1 is connected to the inverting input terminal of the first operational amplifier, and the other end of the first capacitor C1 is connected to the output terminal of the first operational amplifier; One end of the second capacitor C2 is grounded, and the other end of the second capacitor C2 is connected to both the second resistor R2 and the third resistor R3; The bias digital potentiometer is connected in series with the sixth resistor R6 and then connected to the non-inverting input terminal of the first operational amplifier; One end of the seventh resistor R7 is grounded, and the other end of the seventh resistor R7 is connected to the non-inverting input terminal; The amplifier circuit includes an amplifier digital potentiometer, an eighth resistor R8 and a second operational amplifier. The output terminal of the first operational amplifier is connected to the non-inverting input terminal of the second operational amplifier; One end of the eighth resistor R8 is grounded, and the other end of the eighth resistor R8 is connected to the inverting input end of the second operational amplifier. One end of the amplifying digital potentiometer is connected to the inverting input end of the second operational amplifier, and the other end of the amplifying digital potentiometer is connected to the output end of the second operational amplifier; Under the electromagnetic force of the magnetic bearing, the rotor moves to the maximum displacement in a certain degree of freedom direction, and the initial setting values of the bias digital potentiometer and the amplification digital potentiometer in the calibration circuit are set to R w4 and R w5 , the bias digital potentiometer is used to adjust the bias voltage provided by the calibration circuit, and the amplification digital potentiometer is used to adjust the amplification factor of the calibration circuit to the signal; Based on the initial bias voltage U1, initial amplification factor K and output displacement signal U provided by the calibration circuit out , get the displacement signal U of the input calibration circuit i And the output signal U2 after superimposing the bias; specifically: Determine the initial amplification factor K and the initial bias voltage U1, specifically: In formula (II), R4 represents the maximum resistance of the bias digital potentiometer, R W4 Represents the initial setting value of the bias digital potentiometer, R W5 Indicates the initial setting value of the amplified digital potentiometer; V + Represents the positive voltage of the bias voltage source, V - represents the negative voltage of the voltage source providing the bias, and the sixth resistor R6 and the seventh resistor R7 are known values; According to the initial magnification K and the output displacement signal U out , and the output voltage U2 after superimposed bias is obtained, namely: According to formula (IV), the displacement signal U input to the calibration circuit is determined i ,Right now: In formula (IV), U1 represents the initial bias voltage, U2 represents the output voltage after the bias is superimposed, and the first resistor R1 and the second resistor R2 are known values; The target value of the bias digital potentiometer corresponding to the output voltage U2 after superimposing the bias in the calibration circuit is set to R w4 * , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; include: When the output voltage U2 after superimposing the bias is 0, the bias voltage that the calibration circuit needs to provide is U1 * ,Right now: According to the variation of formula (II), the target setting value R of the bias digital potentiometer is obtained: w4 * ,Right now: The target setting value R w4 * Converted into a digital signal and sent to the bias digital potentiometer, thus completing the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; Or obtain when the calibration circuit outputs the target displacement signal U out * The target setting value of the corresponding amplified digital potentiometer is R w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; including: When the calibration circuit outputs the target displacement signal U out * When the target magnification is K * for: According to the variation of formula (I), the target setting value R of the amplified digital potentiometer is obtained: w5 * ,Right now: In formula (VIII), the eighth resistor R8 is a known value; The target setting value R w5 * The signal is converted into a digital signal and sent to the amplifying digital potentiometer to complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; After calibration, when the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, U out * ], set the displacement reference signal to U out * / 2, the rotor is suspended in the middle of the maximum displacement range in the positive and negative directions of a certain degree of freedom.
2. A self-calibration system for a displacement sensor for a magnetic bearing, used to implement the self-calibration method according to claim 1, characterized in that: It includes differential demodulation module, displacement calibration module, A / D conversion module, magnetic bearing control module and debugging module. The differential demodulation module is used to demodulate the amplitude modulated wave output by the displacement sensor to obtain a displacement signal; The displacement calibration module is used to bias and amplify the input demodulated displacement signal; The A / D conversion module is used to convert the analog signal output by the displacement calibration module into a digital displacement signal; The magnetic bearing control module is used to adjust the current of the magnetic poles in the magnetic bearing during the calibration of the magnetic bearing so that the rotor moves to the maximum displacement in the negative or positive direction of a certain degree of freedom; and to adjust the current of the magnetic poles in the magnetic bearing when the rotor is suspended so that the rotor is stably suspended in the middle position of the magnetic bearing; The debugging module is used to adjust the target setting value R of the bias digital potentiometer when the output voltage U2 after superimposing the bias in the displacement calibration module is 0. w4 * , complete the self-calibration of the displacement sensor at the maximum displacement in the negative direction of a certain degree of freedom; And when the displacement calibration module outputs the target voltage value Uout * When the target setting value R of the digital potentiometer is adjusted w5 * , complete the self-calibration of the displacement sensor at the maximum displacement in the positive direction of a certain degree of freedom; When the rotor moves within the maximum displacement range of a certain degree of freedom, the output displacement signal range of the displacement sensor is [0, Uout * ].
