Position correction device

By introducing an integral controller and processing module into the position correction device, the amplitude error of the position signal is calculated and corrected, and the amplitude error compensation value is introduced in the first triangular relationship, the signal amplitude error problem caused by equipment hardware defects is solved. Improve the adjustment accuracy of the rotating device.

CN119065406APending Publication Date: 2024-12-03CONTEMPORARY AMPEREX INTELLIGENCE TECHNOLOGY (SHANGHAI) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310643041.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The hardware defect of the equipment causes signal delay and noise in the cosine signal output by the position detection module, resulting in amplitude error and affecting the accuracy of subsequent position adjustment.

Method used

Design a position correction device, including a position detection module and a control loop, obtain and correct the original position signal through the integration controller and the processing module, calculate the amplitude error signal, and introduce the amplitude error compensation value in the first triangular relationship to offset the The signal amplitude deviation is output, and the corrected position signal is output.

Benefits of technology

The position signal accuracy of the control loop output is improved, the accuracy of subsequent position-based rotation device adjustment is improved, and the signal amplitude error is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065406A_ABST
    Figure CN119065406A_ABST
Patent Text Reader

Abstract

The invention provides a position correction device which comprises a position detection module used for detecting an original position signal of a rotating device relative to a rotating shaft; and the control loop is used for acquiring the original position signal from the position detection module and correcting the amplitude error of the position signal so as to output the corrected position signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of equipment control, and in particular to a position correction device. Background Art

[0002] In the field of equipment control, various detection modules are indispensable. The detection module may include a position detection module. The position detection module can detect the angular position of the rotating device relative to the shaft and output sine and cosine signals. However, due to the hardware defects of the equipment, the position detection module may produce abnormalities such as signal delay and noise, which may cause amplitude errors in the output sine and cosine signals, affecting the subsequent position adjustment accuracy. Summary of the invention

[0003] The embodiment of the present application provides a position correction device to help reduce the signal amplitude error of the position detection module and indirectly improve the subsequent position adjustment accuracy.

[0004] In one aspect, the present application provides a position correction device, comprising:

[0005] A position detection module, used to detect an original position signal of the rotating device relative to the rotating shaft;

[0006] The control loop is used to obtain the original position signal from the position detection module and correct the amplitude error of the position signal to output the corrected position signal.

[0007] In these examples, the signal amplitude error of the position signal is corrected with the help of the corrected original position signal, thereby improving the accuracy of the corrected position signal finally output by the control loop, which is beneficial to improving the adjustment accuracy of the subsequent position-based rotating device.

[0008] Optionally, the control loop includes:

[0009] A processing module, used to obtain the corrected original position signal, and calculate the amplitude error signal according to the corrected original position signal;

[0010] The integral controller is electrically connected to the processing module and is used to correct the signal amplitude error of the position signal using the amplitude error signal.

[0011] In these examples, since a detailed structure of the control loop is given, by introducing an integral controller and a processing module in the control loop, it is possible to obtain an amplitude error signal with the help of the corrected original position signal during the amplitude correction process, and then correct the signal amplitude error of the position signal, thereby improving the accuracy of the corrected position signal finally output by the control loop, which is beneficial to improving the adjustment accuracy of the subsequent position-based rotating device.

[0012] Optionally, the original position signal includes a sine signal and a cosine signal;

[0013] The processing module is used to input the corrected sine signal and the corrected cosine signal into the first trigonometric relationship to obtain an initial error signal, and add the initial error signal to the amplitude error compensation value to obtain an amplitude error signal.

[0014] In these examples, when the error amplitude signal is obtained, the amplitude error compensation value can be introduced based on the first trigonometric relationship, and the initial error signal obtained by the first trigonometric relationship is added to the amplitude error compensation value, which can offset the periodic signal amplitude deviation of the original position signal, so that the position signal output after correction is more accurate. Therefore, the correction scheme provided helps reduce the amplitude error of the position signal and indirectly improves the subsequent position adjustment accuracy.

[0015] Optionally, the amplitude error compensation value is related to a periodic amplitude deviation of the original position signal.

[0016] In these examples, the original position signal of the rotating device relative to the rotating shaft is obtained, and the original position signal includes a sine signal and a cosine signal, and then the signal amplitude error is corrected using the first trigonometric relationship and the amplitude error compensation value to output a corrected position signal. Because the final corrected position signal is output after the signal amplitude error is corrected with the help of the amplitude error signal, the amplitude error compensation value is introduced into the amplitude error signal, which can offset the periodic signal amplitude deviation of the original position signal, so that the position signal output after correction is more accurate. Therefore, the correction scheme provided helps reduce the amplitude error of the position signal and indirectly improves the subsequent position adjustment accuracy.

[0017] Optionally, the control loop further includes:

[0018] A decoding module, electrically connected to the processing module, for acquiring the corrected original position signal and decoding the corrected original position signal to obtain a first angle;

[0019] The processing module is further used to obtain the first angle from the decoding module and determine the amplitude error compensation value according to the first angle.

[0020] In these examples, the causes of the periodic signal amplitude deviation are taken into consideration, the amplitude error compensation value is determined by the first angle obtained through decoding, and a confirmation process of the amplitude error compensation value is given, which can offset the periodic signal amplitude deviation and make the output position signal more accurate after correction.

[0021] Optionally, the control loop further includes:

[0022] A decoding module, electrically connected to the processing module, for acquiring the corrected original position signal and decoding the corrected original position signal to obtain a first angle;

[0023] The processing module is also used to obtain the first angle from the decoding module, and calculate the amplitude error compensation value according to the first angle, the first amplitude and the second amplitude, wherein the first amplitude is the amplitude of the corrected sine signal, and the second amplitude is the amplitude of the corrected cosine signal.

[0024] In these examples, the causes of the periodic signal amplitude deviation are taken into consideration, the amplitude error compensation value is determined by decoding the first angle and the corrected signal amplitude, and a confirmation process of the amplitude error compensation value is given, which can offset the periodic signal amplitude deviation and make the output position signal after correction more accurate.

[0025] Optionally, the processing module is specifically configured to determine the error amplitude according to the first amplitude and the second amplitude, and determine the amplitude error compensation value according to the first angle and the error amplitude.

[0026] In these examples, the first angle and error amplitude determination scheme is implemented through the processing module, and the amplitude error compensation value confirmation process is given, which can offset the periodic signal amplitude deviation and make the output position signal more accurate after correction.

[0027] Optionally, an integral controller comprises:

[0028] The first integral controller applies the amplitude error signal to output a first amplitude correction coefficient and performs amplitude error correction on the sinusoidal signal in the original position signal by the first amplitude correction coefficient.

[0029] In these examples, by introducing a first integral controller, a first amplitude correction coefficient is obtained and output, so that the sinusoidal signal in the original position signal is adjusted. This can relatively reduce the amplitude deviation between the sinusoidal signal and the cosine signal, and control the corrected amplitude deviation within a smaller range, thereby indirectly ensuring the accuracy of the final output corrected position signal, which is beneficial to subsequent position-based precise control.

[0030] Optionally, an integral controller comprises:

[0031] The second integral controller applies the amplitude error signal to output a second amplitude correction coefficient and performs amplitude error correction on the cosine signal in the original position signal by the second amplitude correction coefficient.

[0032] In these examples, by introducing a second integral controller to obtain and output a second amplitude correction coefficient, the cosine signal in the original position signal is adjusted, which can relatively reduce the amplitude deviation between the sine signal and the cosine signal, and control the corrected amplitude deviation within a smaller range, thereby indirectly ensuring the accuracy of the final output corrected position signal, which is beneficial to subsequent position-based precise control.

[0033] Optionally, the corrected position signal includes:

[0034] The corrected original position signal;

[0035] and / or,

[0036] The rotation angle of the rotating device is determined according to the corrected original position signal.

[0037] In these embodiments, different forms of the corrected position signal are provided, thereby improving the selectivity of the input signal during subsequent position adjustment.

[0038] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the drawings without paying creative work.

[0040] Figure 1 This is a schematic diagram of the module structure of an exemplary system involved in the position correction device of an embodiment of the present application.

[0041] Figure 2 The exemplary system involved in the position correction device of the embodiment of the present application is a schematic diagram of the module structure of a power transmission system.

[0042] Figure 3 Schematic diagram of an optional structure of the position correction device of an embodiment of the present application.

[0043] Figure 4 Schematic diagram of an optional structure of a control loop in a position correction device according to an embodiment of the present application.

[0044] Figure 5 Schematic diagram of another optional structure of the control loop in the position correction device of the embodiment of the present application.

[0045] Figure 6 Schematic diagram of an output waveform of an integral controller in the position correction device according to an embodiment of the present application.

[0046] Figure 7 Schematic diagram of another output waveform of the integral controller in the position correction device according to an embodiment of the present application.

[0047] Figure 8 This is a schematic diagram of an optional structure of a control loop involved in the position correction device of an embodiment of the present application.

[0048] Fig. 9 This is another optional structural schematic diagram of the control loop involved in the position correction device of an embodiment of the present application.

[0049] In the drawings, the drawings are not drawn to scale.

[0050] Marking Description:

[0051] Rotating device 11 , rotating shaft 12 , position detection module 13 , processing module 14 , integral controller 15 , decoding module 16 , control loop 120 , power source 21 , power electronic conversion control device 23 . DETAILED DESCRIPTION

[0052] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0054] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0056] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0057] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0058] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.

[0059] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0060] Please see Figure 1 , Figure 1 The schematic diagram of the module structure of an exemplary system involved in the position correction device of the present application is shown. The exemplary system may include a rotating device 11, a rotating shaft 12, a position detection module 13 and a processing module 14.

[0061] The rotating device 11 can be a driving rotating component or a passive rotating component of a power system, and the power system can act on a vehicle or a non-vehicle. For example, the rotating device 11 can be a motor rotor, an engine shaft, a flywheel or other types of wheels, shafts, gear elements, or other rotating devices with a rotation speed, a rotating shaft 12, and an angular position that can be determined relative to the rotating shaft 12.

[0062] The rotating device 11 is connected to the rotating shaft 12 , and the rotating device 11 can rotate around the rotating shaft 12 , so that the torque from the rotating device 11 can be transmitted to the load connected to the rotating shaft 12 .

[0063] The position detection module 13 can detect the position of the rotating device 11 relative to the rotating shaft 12, and then output the original position signal to the processing module 14. The original position signal may include a sine signal and a cosine signal of the rotating device 11 relative to the rotating shaft 12. The position detection module 13 may be a position sensor or other device with a position detection function. Exemplarily, the position detection module 13 may be an encoder, a resolver, a magnetoresistive sensor, or other sensors that can be operated to generate an original sine signal and an original cosine signal with amplitude and phase information.

[0064] The processing module 14 may be composed of a combination of software and hardware. The processing module 14 may be an independent processing module or may be integrated in other control modules. For example, the processing module 14 may be arranged in a control loop to realize amplitude correction of the position signal.

[0065] For example, please refer to Figure 1 and Figure 2 The embodiment of the present application is illustrated by taking an exemplary system as a power transmission system, wherein the rotating device 11 may be a motor rotor or a motor, and the rotating device 11 may be driven by a power source 21, and the power source 21 may be a battery, an AC power supply, or a DC power supply.

[0066] exist Figure 2 The power source 21 can drive the motor to rotate through the power electronic conversion control device 23, and the motor can generate torque and directly output it to the load to drive the load to run, or the motor can also transmit the generated torque to the load through a transmission device. In some optional examples, the above motor can be integrated in the power electronic conversion control device 23.

[0067] In the power transmission system, the position detection module 13 can detect the rotation angle of the motor and then output a position signal to the processing module 14. The processing module 14 can transmit the position signal to the power electronic conversion control device 23, and the power electronic conversion control device 23 can thereby control the motor.

[0068] However, in actual operation, due to hardware defects of the position detection module 13, signal delay, noise and other abnormalities may occur, thereby causing amplitude errors in the position signal output to the processing module 14. The amplitude error will lead to position measurement errors, which may eventually affect the control function or control accuracy of the power transmission system.

[0069] To this end, an embodiment of the present application provides a position correction device, and the position correction device provided by the embodiment of the present application is introduced below in conjunction with the accompanying drawings.

[0070] Please also see Figures 1 to 3 , Figure 3 1 is a schematic diagram of an optional module of the position correction device in the embodiment of the present application. In this example, the position correction device may include a position detection module 13 and a control loop 120.

[0071] The position detection module 13 is used to detect an original position signal of the rotating device 11 relative to the rotating shaft 12 .

[0072] The position detection module 13 can refer to the aforementioned Figure 1 and Figure 2 The position detection module involved in is set, which will not be described in detail here. The original position signal detected by the position detection module 13 may include a sine signal and a cosine signal.

[0073] The control loop 120 may be used to obtain an original position signal from the position detection module 13 and correct an amplitude error of the position signal to output a corrected position signal.

[0074] In these examples, the signal amplitude error of the position signal is corrected with the help of the corrected original position signal, thereby improving the accuracy of the corrected position signal finally output by the control loop 120, which is beneficial to improving the adjustment accuracy of the subsequent position-based rotating device.

[0075] It should be noted that the control loop 120 can be set at Figure 1 In the processing module 14, or the control loop 120 may also include Figure 1 The processing module 14 in.

[0076] The control loop 120 can obtain the original position signal of the rotating device 11 relative to the rotating shaft 12 from the position detection module 13. The original position signal records the angular position of the rotating device 11 relative to the rotating shaft 12. The rotating device 11 is, for example, a motor rotor or other rotating components involved in the above examples. The original position signal has signal amplitude and phase information, and the original position signal can be represented by a sine signal and a cosine signal.

[0077] The original position signal obtained from the position detection module 13 can be used as the input of the control loop 120, and the control loop 120 can perform amplitude error correction on the original position signal, and can also perform other error correction on the original position signal. The embodiment of the present application mainly emphasizes the process of correcting the amplitude error, and other correction functions can be set by those skilled in the art according to actual needs.

[0078] After the correction processing of the control loop 120, the control loop can output a corrected position signal.

[0079] Exemplarily, the corrected position signal may be a corrected sine signal and a corrected cosine signal.

[0080] Exemplarily, the corrected position signal may be the rotation angle of the rotating device 11 after correction, and the rotation angle may be obtained by decoding the corrected original position signal.

[0081] Exemplarily, the corrected position signal may also be a combination of the above-mentioned rotation angle and the corrected position signal.

[0082] In these examples, different forms of the corrected position signal are given, which improves the selectivity of the input signal during subsequent position adjustment.

[0083] Please see Figure 4 , and please also refer to Figures 1 to 3 Based on the position correction device of the above embodiment, another embodiment of the position correction device of the present application is proposed. In another embodiment, the control loop may include:

[0084] The processing module 14 can be used to obtain the corrected original position signal, and calculate the amplitude error signal according to the corrected original position signal.

[0085] The integral controller 15 is electrically connected to the processing module 14. The integral controller 15 can use the amplitude error signal to correct the signal amplitude error of the position signal.

[0086] The processing module 14 can be connected to the output side of the control loop 120, and can obtain a corrected original position signal from the output side of the control loop. The corrected original position signal can be input into an internal processing logic or algorithm to obtain an amplitude error signal.

[0087] The integral controller 15 can use the amplitude error signal to perform integral control to achieve correction of the signal amplitude error. Exemplarily, the integral controller 15 can use the amplitude error signal output by the processing module 14 as input, output an amplitude correction coefficient through integral operation, and finally perform amplitude error correction on the original position signal through the amplitude correction coefficient, thereby eliminating the amplitude error and maintaining the steady-state error at zero.

[0088] In these examples, since a detailed structure of the control loop 120 is given, by introducing an integral controller 15 and a processing module 14 in the control loop 120, it is possible to obtain an amplitude error signal with the help of the corrected original position signal during the amplitude correction process, and then correct the signal amplitude error of the position signal, thereby improving the accuracy of the corrected position signal finally output by the control loop, which is beneficial to improving the adjustment accuracy of the subsequent position-based rotating device.

[0089] Please continue to see Figures 1 to 4 Based on the position correction device of the above embodiment, another embodiment of the position correction device of the present application is proposed. In this embodiment, the processing module 14 in the control loop can input the corrected sine signal and the corrected cosine signal into the first trigonometric relationship to obtain an initial error signal, and add the initial error signal to the amplitude error compensation value to obtain an amplitude error signal.

[0090] Exemplarily, the first triangular relationship can be Among them, Sin c is the corrected sinusoidal signal, Cos c is the corrected cosine signal, and the first trigonometric relationship obtains a simplified amplitude error signal, that is, an initial error signal.

[0091] It should be noted that although the first trigonometric relationship corrects the signal amplitude error of the original sine signal and cosine signal, since the amplitude error signal and the orthogonal error signal are simplified during the amplitude error correction process, there is always a large periodic deviation in the corrected amplitude and orthogonal signals. Therefore, the corrected amplitude deviation is in a larger error range, which may cause the final output corrected position angle signal to be inaccurate.

[0092] On this basis, this example introduces an amplitude error compensation value Q, which is an error compensation item provided on the basis of the simplified initial error signal. The amplitude error compensation value Q can change as the original position signal is continuously acquired, and can offset the signal amplitude deviation output by the periodic position detection module 13 in the amplitude error relationship, so that the corrected amplitude deviation is controlled within a smaller range, and the position signal output after correction is finally more accurate, and a more accurate angle deviation can be obtained.

[0093] In these examples, when the error amplitude signal is obtained, the amplitude error compensation value can be introduced based on the first trigonometric relationship, and the initial error signal obtained by the first trigonometric relationship is added to the amplitude error compensation value, which can offset the periodic signal amplitude deviation of the original position signal, so that the position signal output after correction is more accurate. Therefore, the correction scheme provided helps reduce the amplitude error of the position signal and indirectly improves the subsequent position adjustment accuracy.

[0094] It should also be noted that the amplitude error compensation value introduced above can be related to the periodic amplitude deviation of the original position signal. In this example, by obtaining the original position signal of the rotating device relative to the rotating shaft, the original position signal includes a sine signal and a cosine signal, and then using the first trigonometric relationship and the amplitude error compensation value to correct the signal amplitude error to output the corrected position signal. And because the final corrected position signal is output after the signal amplitude error is corrected with the aid of the amplitude error signal, the amplitude error compensation value is introduced into the amplitude error signal, and the setting of this value is related to the periodic amplitude deviation of the original position signal, so it can offset the periodic signal amplitude deviation of the original position signal, so that the position signal output after correction is more accurate. Therefore, the correction scheme provided helps to reduce the amplitude error of the position signal and indirectly improves the subsequent position adjustment accuracy.

[0095] The above-mentioned amplitude error compensation value can be set according to actual needs. For example, please refer to Figure 5 , and please also refer to Figures 1 to 4 In this embodiment, the control loop 120 may further include a decoding module 16 .

[0096] The decoding module 16 may be electrically connected to the processing module 14. The decoding module 16 may acquire the corrected original position signal and decode the corrected original position signal to obtain the first angle.

[0097] The processing module 14 may also obtain the first angle from the decoding module 16 and determine the amplitude error compensation value according to the first angle.

[0098] It should be noted that the amplitude error compensation value is an error compensation item provided on the basis of the simplified initial error signal. The amplitude error compensation value Q may change as the original position signal is continuously acquired, and the amplitude error compensation value may be related to the first angle, which is the decoding angle obtained by the decoding module 16 decoding the corrected position signal.

[0099] That is, in this example, the decoding module 16 can be used to decode the corrected sine signal and the corrected cosine signal to obtain the first angle. The decoding module 16 can be connected to the output side of the control loop 120, and can use the angle decoding algorithm to decode the corrected sine signal and the corrected cosine signal to obtain the first angle.

[0100] The processing module 14 can obtain the first angle from the decoding module 16, calculate the amplitude error compensation value according to the first angle, and then calculate the initial error signal in combination with the first trigonometric relationship and the corrected position signal, and finally add the initial error signal and the amplitude error compensation value to obtain the amplitude error signal for amplitude correction.

[0101] Exemplarily, the amplitude error compensation value Q may be related to Cos(2θ'), where θ' is the first angle. f *Cos(2θ'), where θ' is the first angle, M f is the error amplitude.

[0102] In these examples, the causes of the periodic signal amplitude deviation are taken into consideration, the amplitude error compensation value is determined by the first angle obtained through decoding, and a confirmation process of the amplitude error compensation value is given, which can offset the periodic signal amplitude deviation and make the output position signal more accurate after correction.

[0103] In another example, see Figures 1 to 5 In this embodiment, the decoding module 16 in the control loop 120 may be electrically connected to the processing module 14. The decoding module 16 may be used to obtain the corrected original position signal and decode the corrected original position signal to obtain the first angle;

[0104] The processing module 14 is also used to obtain the first angle from the decoding module 16, and calculate the amplitude error compensation value according to the first angle, the first amplitude and the second amplitude, wherein the first amplitude is the amplitude of the corrected sine signal, and the second amplitude is the amplitude of the corrected cosine signal.

[0105] In this example, the first amplitude and the second amplitude can be obtained from the output side of the control loop 120, and the difference between the first amplitude and the second amplitude can be obtained to obtain the error amplitude. The first angle can also be obtained from the decoding module 16. The amplitude error compensation value can be confirmed by the first amplitude, the second amplitude and the first angle. Combined with the operation of the first trigonometric relationship, the amplitude error signal at each moment required by the integral controller 15 can be output.

[0106] Exemplarily, the processing module 14 may determine the error amplitude according to the first amplitude and the second amplitude, and determine the amplitude error compensation value according to the first angle and the error amplitude.

[0107] Exemplarily, the amplitude error compensation value may be determined using the following formula (1). Q=M f *Cos(2θ') (1)

[0108] Q is the amplitude error compensation value, M f is the error amplitude determined according to the first amplitude and the second amplitude, and θ' is the first angle.

[0109] The process of calculating the amplitude error signal at each moment can be expressed as the following formula (2).

[0110] Where Error is the amplitude error signal, Sin c is the corrected sinusoidal signal, Cos c is the corrected cosine signal, M f is the error amplitude determined according to the first amplitude and the second amplitude, and θ' is the first angle.

[0111] It should be noted that the method for determining the amplitude error compensation value in the present application is not limited to formula (1). Those skilled in the art can obtain feasible transformations or substitutions of the above-mentioned amplitude error compensation value without paying any creative work, and such feasible transformations or substitutions are all within the protection scope of the present application.

[0112] In these examples, the causes of the periodic signal amplitude deviation are taken into consideration, the amplitude error compensation value is determined by decoding the first angle and the corrected signal amplitude, and a confirmation process of the amplitude error compensation value is given, which can offset the periodic signal amplitude deviation and make the output position signal after correction more accurate.

[0113] In order to better illustrate the use of the above formulas (1) and (2), the following is combined with Figures 1 to 6 Provide specific instructions.

[0114] The sine signal and cosine signal obtained from the position detection module 13 can be expressed as the following formulas (3) and (4) respectively. SinRaw=M1Sinθ (3) CosRaw=M2Cosθ (4)

[0115] Wherein, SinRaw is the sine signal in the original position signal, CosRaw is the cosine signal in the original position signal, M1 is the amplitude of the sine signal in the original position signal, M2 is the amplitude of the cosine signal in the original position signal, and θ is the rotation angle to be determined.

[0116] Assuming that the phase difference between the sine signal and the cosine signal is 90°, after correction by the control loop 120, the corrected sine signal and the corrected cosine signal finally outputted can be expressed as the following formulas (5) and (6), respectively. Sin c =M1'Sinθ (3) Cos c =M2'Cosθ (4)

[0117] Among them, Sin c is the corrected sinusoidal signal, Cos c is the corrected cosine signal, M1' is the amplitude of the corrected sine signal, and M2' is the amplitude of the corrected cosine signal.

[0118] After correction by the control loop 120, the amplitude M1' of the corrected sine signal and the amplitude M2' of the corrected cosine signal should be equal under ideal conditions. The decoding module 16 can decode the corrected sine signal and the corrected cosine signal using an angle decoding algorithm to obtain the first angle θ' and provide it to the processing module 14.

[0119] At this time, the processing module 14 can obtain the amplitude error signal based on the above formulas (1) and (2):

[0120] The integral controller 15 may use the amplitude error signal as the input of the integral controller 16 , and output the amplitude correction coefficient Gc through the integral processing of the integral controller 16 to perform amplitude error correction on the original position signal.

[0121] After the control loop 120 runs stably, The value of is close to zero. At this time, the input of the integral controller 16 can be adjusted to Achieve a steady-state error of zero.

[0122] It should be noted that in the above process, since an amplitude error compensation value is introduced when the integral controller 16 inputs the amplitude error signal, it can offset the amplitude deviation of the periodic position detection module output signal, thereby improving the accuracy of the corrected position signal finally output by the control loop 120, which is beneficial to improving the adjustment accuracy of the subsequent position-based rotating device.

[0123] In order to better illustrate the beneficial effects of the present application, the following Figure 6 and Figure 7 The stability of the result output by the integral controller 16 in the position correction device according to the embodiment of the present application is described.

[0124] in Figure 6This is the actual waveform of the amplitude correction coefficient of the integral controller output when the amplitude error signal in the control loop does not introduce the amplitude error compensation value. Figure 7 It is the actual waveform diagram of the amplitude correction coefficient output by the integral controller when the amplitude error compensation value is introduced into the amplitude error signal in the control loop.

[0125] Obviously, after the amplitude error compensation value is introduced, the error of the amplitude correction coefficient is smaller, which can improve the accuracy of the corrected position signal finally output by the control loop.

[0126] Please see Figure 8 , and please also refer to Figures 1 to 7 Based on the above example, another example of the position correction device of the embodiment of the present application is proposed. In this example, the integral controller may include:

[0127] The first integral controller applies the amplitude error signal to output a first amplitude correction coefficient and performs amplitude error correction on the sinusoidal signal in the original position signal by the first amplitude correction coefficient.

[0128] In this example, the first amplitude correction coefficient can correct the amplitude error of the sinusoidal signal in the original position signal. By introducing the first integral controller, the first amplitude correction coefficient is obtained and output, so that the sinusoidal signal in the original position signal can be adjusted. The amplitude deviation between the sine signal and the cosine signal can be relatively reduced, and the corrected amplitude deviation can be controlled within a smaller range, which indirectly ensures the accuracy of the final output corrected position signal, which is beneficial to the subsequent precise control based on position.

[0129] Please see Fig. 9 , and please also refer to Figures 1 to 7 Based on the above example, another example of the position correction device of the embodiment of the present application is proposed. In this example, the integral controller 15 may include:

[0130] The second integral controller applies the amplitude error signal to output a second amplitude correction coefficient and performs amplitude error correction on the cosine signal in the original position signal by the second amplitude correction coefficient.

[0131] In this example, the second amplitude correction coefficient can correct the amplitude error of the cosine signal in the original position signal. By introducing a second integral controller, the second amplitude correction coefficient is obtained and output, so that the cosine signal in the original position signal can be adjusted. The amplitude deviation between the sine signal and the cosine signal can be relatively reduced, and the corrected amplitude deviation can be controlled within a smaller range, which indirectly ensures the accuracy of the final output corrected position signal, and is conducive to subsequent precise control based on position.

[0132] Although the present application has been described with reference to preferred embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present application. In particular, the various technical features mentioned in the various embodiments may be combined in any manner as long as there are no structural conflicts. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A position correction device, characterized in that: include: A position detection module, used to detect an original position signal of the rotating device relative to the rotating shaft; The control loop is used to obtain the original position signal from the position detection module and correct the amplitude error of the position signal to output a corrected position signal.

2. The position correction device according to claim 1, characterized in that: The control loop comprises: A processing module, used to obtain the corrected original position signal, and calculate the amplitude error signal according to the corrected original position signal; An integral controller is electrically connected to the processing module and is used to correct a signal amplitude error of a position signal using the amplitude error signal.

3. The position correction device according to claim 2, characterized in that: The original position signal includes a sine signal and a cosine signal; The processing module is used to input the corrected sine signal and the corrected cosine signal into the first trigonometric relationship to obtain an initial error signal, and add the initial error signal to the amplitude error compensation value to obtain the amplitude error signal.

4. The position correction device according to claim 3, characterized in that: The amplitude error compensation value is related to the periodic amplitude deviation of the original position signal.

5. The position correction device according to claim 3, characterized in that: The control loop also includes: A decoding module, electrically connected to the processing module, for acquiring the corrected original position signal and decoding the corrected original position signal to obtain a first angle; The processing module is further used to obtain the first angle from the decoding module and determine the amplitude error compensation value according to the first angle.

6. The position correction device according to claim 3, characterized in that: The control loop also includes: A decoding module, electrically connected to the processing module, for acquiring the corrected original position signal and decoding the corrected original position signal to obtain a first angle; The processing module is also used to obtain the first angle from the decoding module, and calculate the amplitude error compensation value based on the first angle, the first amplitude and the second amplitude, where the first amplitude is the amplitude of the corrected sine signal, and the second amplitude is the amplitude of the corrected cosine signal.

7. The position correction device according to claim 6, characterized in that: The processing module is specifically configured to determine the error amplitude according to the first amplitude and the second amplitude, and determine the amplitude error compensation value according to the first angle and the error amplitude.

8. The position correction device according to claim 2, characterized in that: The integral controller comprises: The first integral controller applies the amplitude error signal to output a first amplitude correction coefficient and performs amplitude error correction on the sinusoidal signal in the original position signal by the first amplitude correction coefficient.

9. The position correction device according to claim 2, characterized in that: The integral controller comprises: The second integral controller uses the amplitude error signal to output a second amplitude correction coefficient and performs amplitude error correction on the cosine signal in the original position signal by the second amplitude correction coefficient.

10. The position correction device according to claim 2, characterized in that: The corrected position signal comprises: the corrected original position signal; and / or, The rotation angle of the rotating device is determined according to the corrected original position signal.