Data processing method, control equipment, power system, movable platform and storage medium
By determining the positional relationship between the magnetic part and the sensing chip and processing the detection data of the magnetic induction component, the problem of inaccurate calibration and analysis results caused by the uncertainty of the Hall sensor installation position is solved, ensuring the normal operation of the control equipment.
Patent Information
- Application Number
- CN202480012330.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2025-09-23
AI Technical Summary
The uncertainty in the relative installation position between the sensing chip and the magnet in the Hall sensor affects the accuracy of the calibration results or analysis results of the throttle control device.
By acquiring the positional relationship of the magnetic part relative to the sensing chip, the detection data of the magnetic induction component is processed to obtain target data, which is used to assist in generating control instructions for the operating device.
Ensure the normal operation of the control equipment and avoid errors in calibration results or analysis results of actual movement of moving parts due to uncertainty in relative installation positions.
Smart Images

Figure CN120693281A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control equipment, and in particular to a data processing method, a control equipment, a power system, a movable platform and a storage medium. Background Art
[0002] In related technologies, throttle control devices can use angle sensors, such as Hall effect sensors, to detect the rotation of the throttle lever relative to the main body, thereby controlling the power output of the motor. However, the relative mounting position between the sensing chip and the magnet in the Hall effect sensor is uncertain. If this uncertainty is not addressed, it may affect the accuracy of the throttle control device's calibration or analysis results. Summary of the Invention
[0003] In view of this, one of the objects of this application is to provide a data processing method, a control device, a power system, a movable platform and a computer-readable storage medium.
[0004] In a first aspect, embodiments of the present application provide a data processing method. The data processing method is applied to a control device, the control device comprising a main body, a movable part, and a magnetic induction component. The magnetic induction component is used to detect the amount of movement of the movable part relative to the main body, and the magnetic induction component comprises a magnetic part and a sensing chip. The data processing method comprises: obtaining a positional relationship of the magnetic part relative to the sensing chip; and processing detection data of the magnetic induction component based on the positional relationship to obtain target data, wherein the target data is used to assist in generating control instructions for the control device.
[0005] In a second aspect, an embodiment of the present application provides a manipulation device. The manipulation device includes a processor and a magnetic induction component, wherein the processor is connected to the magnetic induction component. The processor is configured to execute the data processing method described in the first aspect.
[0006] In a third aspect, an embodiment of the present application provides a power system, which includes a power device and the control device described in the second aspect, wherein the control device is used to control the operation of the power device.
[0007] In a fourth aspect, the present application provides a movable platform comprising a carrier and the power system described in the third aspect, wherein the power system is disposed on the carrier.
[0008] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the data processing method described in the first aspect is implemented.
[0009] The data processing method, control device, power system, movable platform and computer-readable storage medium provided in the embodiments of the present application first determine the positional relationship of the magnetic part relative to the sensing chip before processing the detection data of the magnetic induction component, and then perform corresponding processing on the detection data based on the positional relationship to obtain target data. The target data can be used for subsequent calibration of the control device or analysis of the actual movement of the movable part. In this way, by assisting the subsequent operation of the control device with the determined positional relationship between the magnetic part and the sensing chip, it is possible to avoid the problem of errors in the calibration results or the analysis results of the actual movement of the movable part caused by the uncertainty of the relative installation position, thereby ensuring that the control device can operate normally.
[0010] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. 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 these drawings without any creative work.
[0012] Figure 1 This is a schematic structural diagram of a movable platform according to an embodiment of the present application;
[0013] Figure 2 This is a schematic structural diagram of a control device according to an embodiment of the present application;
[0014] Figure 3 This is a schematic structural diagram of a control device according to another embodiment of the present application;
[0015] Figure 4a This is a schematic diagram of the states of movable parts of a control device according to one embodiment of the present application;
[0016] Figure 4b This is a schematic diagram of the states of movable parts of a control device according to another embodiment of the present application;
[0017] Figure 5a A schematic diagram of the relative installation positions of a magnetic component and a sensing chip according to an embodiment of the related art;
[0018] Figure 5b A schematic diagram of the relative installation positions of a magnetic component and a sensing chip according to another embodiment of the related art;
[0019] Figure 5c This is a schematic diagram of the relative installation positions of a magnetic component and a sensing chip according to another embodiment of the related art;
[0020] Figure 6 This is a flow chart of a data processing method according to an embodiment of the present application;
[0021] Figure 7 This is a flowchart of a data processing method according to another embodiment of the present application;
[0022] Figure 8a This is a schematic diagram of the positional relationship of the magnetic member relative to the sensing chip according to one embodiment of the present application;
[0023] Figure 8b This is a schematic diagram of the positional relationship of the magnetic member relative to the sensing chip according to another embodiment of the present application;
[0024] Figure 9a for Figure 8a Schematic diagram of the principle of the calibration method under the position relationship shown;
[0025] Figure 9b for Figure 8b Schematic diagram of the principle of the calibration method under the position relationship shown;
[0026] Figure 10a A schematic diagram of the positional relationship between the magnetic element and the sensing chip according to another embodiment of the present application;
[0027] Figure 10b This is a schematic diagram of the positional relationship of the magnetic member relative to the sensing chip according to another embodiment of the present application;
[0028] Figure 10c This is a schematic diagram of the positional relationship of the magnetic member relative to the sensing chip according to another embodiment of the present application;
[0029] Figure 11a for Figure 10a Schematic diagram of the principle of the calibration method under the position relationship shown;
[0030] Figure 11b for Figure 10b Schematic diagram of the principle of the calibration method under the position relationship shown;
[0031] Figure 11c for Figure 10c Schematic diagram of the principle of the calibration method under the position relationship shown;
[0032] Figure 12 This is a flowchart of a data processing method according to another embodiment of the present application;
[0033] Figure 13a for Figure 8a A schematic diagram of the principle of the analytical method under the position relationship shown;
[0034] Figure 13bfor Figure 8b A schematic diagram of the principle of the analytical method under the position relationship shown;
[0035] Figure 13c for Figure 8b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0036] Figure 14a for Figure 8a Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0037] Figure 14b for Figure 8a Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0038] Figure 14c for Figure 8a Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0039] Figure 14d for Figure 8b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0040] Figure 14e for Figure 8b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0041] Figure 15a for Figure 10a A schematic diagram of the principle of the analytical method under the position relationship shown;
[0042] Figure 15b for Figure 10b A schematic diagram of the principle of the analytical method under the position relationship shown;
[0043] Figure 15c for Figure 10b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0044] Figure 15d for Figure 10c A schematic diagram of the principle of the analytical method under the position relationship shown;
[0045] Figure 15e for Figure 10c Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0046] Figure 16a for Figure 10a Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0047] Figure 16b for Figure 10aAnother schematic diagram of the principle of the analytical method under the position relationship shown;
[0048] Figure 16c for Figure 10a Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0049] Figure 16d for Figure 10b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0050] Figure 16e for Figure 10b Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0051] Figure 16f for Figure 10c Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0052] Figure 16g for Figure 10c Another schematic diagram of the principle of the analytical method under the position relationship shown;
[0053] Figure 17 This is a schematic diagram of the connection between a computer-readable storage medium and a processor according to one embodiment of the present application. DETAILED DESCRIPTION
[0054] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements.
[0055] See also Figure 1 The present application provides a movable platform 1000. The movable platform 1000 includes a carrier 200 and a power system 100. The power system 100 is mounted on the carrier 200. As an example, the movable platform 1000 can be any one of a land movable platform 1000, a water movable platform 1000, and an air movable platform 1000. Specifically, the movable platform 1000 can be, for example, a vehicle, a land robot, a ship, an underwater robot, an aircraft, an unmanned ship, a drone, etc., and the present application does not limit this. Figure 1 The movable platform 1000 is taken as a ship for illustrative description, but it should not be understood as a limitation to the present application.
[0056] See also Figure 2The power system 100 includes a power device 20 and a control device 10. The control device 10 is used to control the operation of the power device 20. For example, after receiving the user's operation, the control device 10 generates a control instruction and sends the control instruction to the power device 20. The power device 20 performs the corresponding action in response to the control instruction. Among them, the power device 20 can be a device for outputting propulsion force to push the carrier 200 forward or backward, and accordingly, the control device 10 can be an electronic throttle control device 10. The power device 20 can also be a device for outputting steering driving force to push the carrier 200 to turn, and accordingly, the control device 10 can be a steering control device 10. The power device 20 can also be a device for outputting a tilting driving force to push the body of the power device 20 to tilt, and accordingly, the control device 10 can be a tilting control device 10. Of course, the power device 20 can also be a device for outputting other types of driving force, and this application does not limit this. Figure 2 In the embodiment shown, the power device 20 is an outboard motor, and the control device 10 is a remote controller, which can control the output power of the propulsion motor of the outboard motor so that the outboard motor can propel the boat forward or backward. Figure 2 The embodiments shown are merely illustrative and should not be construed as limiting the present application.
[0057] See also Figure 3 The control device 10 includes a main body 13, a movable part 11 and a magnetic induction component 15. The movable part 11 can move relative to the main body 13 under the operation of the user. The magnetic induction component 15 is used to detect the amount of movement of the movable part 11 relative to the main body 13. The control device 10 outputs corresponding control instructions based on the movement to control the operation of the power equipment 20. Among them, the main body 13 can be a base; the movable part 11 can be a joystick that can be manually operated, or a device such as a foot pedal. When the control device 10 is a steering control device, the movable part 11 can also be a steering wheel body, etc., and this application does not limit this. The magnetic induction component 15 includes a magnetic part 153 and a sensing chip 151. One of the magnetic part 153 and the sensing chip 151 is installed on the main body 13, and the other is installed on the movable part 11. When the movable part 11 moves relative to the body 13 , the relative position between the sensing chip 151 and the magnetic part 153 changes. The sensing chip 151 outputs detection data based on the change in the sensed magnetic field. The detection data can be used to characterize the movement amount of the movable part 11 relative to the body 13 . Figure 3 The remote control controller is used as an example for illustrative description, but it should not be understood as a limitation of this application.
[0058] Furthermore, the control device 10 may further include a processor 17. The processor 17 is connected to the magnetic induction component 15, and specifically, the processor 17 may be connected to the magnetic induction chip 151. The processor 17 may receive detection data output by the magnetic induction chip 151 and process the detection data to generate control instructions.
[0059] See also Figure 4a and Figure 4b When the control device 10 is in use, the amount of movement of the movable member 11 relative to the body 13 has an effective travel range. For example, a limit structure can be provided in the control device 10 to limit the amount of movement of the movable member 11 relative to the body 13. The control device 10 typically has a first critical position and a second critical position. The critical position can also be understood as a limit position. At this position, the limit structure exerts a limiting effect, making it difficult for the user to manipulate the movable member 11 to move in a direction beyond the limit position. The travel of the movable member 11 between the two critical positions is the effective travel range.
[0060] In one embodiment, Figure 4a As shown, the first critical position is the position of the movable member 11 when the amount of movement of the movable member 11 relative to the body 13 is zero (i.e., when the movable member 11 is in a free state), and the second critical position is the position of the movable member 11 when the amount of movement of the movable member 11 relative to the body 13 is not zero. In this embodiment, the control device 10 may be, for example, an accelerator pedal, which outputs a throttle command to the power device 20. The power device 20 propels the carrier 200 forward or backward based on the throttle command. The change in direction between forward and backward can be achieved by changing the state of a transmission assembly connected to the power device 20.
[0061] In another embodiment, Figure 4b As shown, the first critical position and the second critical position are both the positions of the movable part 11 when the amount of movement of the movable part 11 relative to the main body 13 is not zero. The control device 10 also has a neutral position, which is located between the first critical position and the second critical position. The neutral position is the position of the movable part 11 when the amount of movement of the movable part 11 relative to the main body 13 is zero. In this embodiment, the control device 10 can be, for example, a throttle hand-operated device, which outputs a throttle command containing forward or reverse information to the power device 20, and the power device 20 pushes the carrier 200 forward or backward based on the throttle command. When the movable part 11 is between the neutral position and the first critical position, the throttle command issued by the control device 10 contains reverse information, and when the movable part 11 is between the neutral position and the second critical position, the throttle command issued by the control device 10 contains forward information.
[0062] In the related art, when the magnetic induction component 15 is installed, the relative installation position between the magnetic member 153 and the induction chip 151 is not fixed. Figures 5a to 5c When the movement of the movable member 11 relative to the body 13 is 0, the relative installation position between the magnetic member 153 and the sensor chip 151 may be Figure 5a 、 Figure 5b 、 Figure 5c Assume that Figure 5a In the case shown, the detection data of the sensor chip 151 is 0°. Figure 5b In the case shown, the detection data of the sensor chip 151 is 90°. Figure 5c In the illustrated case, the detection data of the sensor chip 151 is 45°. Therefore, in order to obtain the actual moving angle of the movable member 11 of 0°, it is necessary to convert the detection data of the sensor chip 151 into the actual moving angle.
[0063] Since the detection range of the magnetic induction component 15 is usually (0°, 360°), then, in some relative installation positions, the angle within the effective range will only be distributed in one detection range of the magnetic induction component 15, and in some relative installation positions, the angle within the effective range will be distributed in multiple detection ranges of the magnetic induction component 15. For example, Figure 5b In the case shown, assuming the range of motion is 100°, the movable member 11 can rotate 50° relative to the body 13 in the direction D1 to reach the first critical position (the angle at the first critical position is 40°), and can also rotate 50° relative to the body 13 in the direction D2 to reach the second critical position (the angle at the second critical position is 140°). Then, the angles within the effective range of motion are distributed in the same detection interval. For example, for Figure 5aIn the illustrated scenario, assuming a range of motion of 100°, the movable member 11 can rotate 50° relative to the body 13 in the direction D1 to reach the first critical position (the angle at the first critical position is 310°), and can also rotate 50° relative to the body 13 in the direction D2 to reach the second critical position (the angle at the second critical position is 50°). Thus, the angles within the effective range of motion are distributed in two detection intervals. Specifically, the angles corresponding to the positions between the first critical position and the median position belong to one detection interval, and the angles corresponding to the positions between the median position and the second critical position belong to another detection interval. For situations where the angles within the effective range of motion are distributed in the same detection interval, it is easy to convert the detection data to the actual movement angle. However, for situations where the angles within the effective range of motion are distributed in multiple detection intervals, it is necessary to convert the detection data to the actual movement angle based on the detection interval in which the detection data is currently located. Otherwise, the actual movement angle after conversion will be inaccurate, affecting subsequent control. Therefore, when using the control device 10, it is necessary to first determine the relative installation position of the magnetic member 153 and the magnetic sensing chip 151 to facilitate subsequent data processing.
[0064] In order to solve the above technical problems, the present application provides a data processing method that can be used in the aforementioned control device 10. The data processing method can be executed by the processor 17 in the control device 10. Figure 6 As shown, the data processing method includes:
[0065] 01: Obtain the position relationship between the magnetic component 153 and the sensing chip 151;
[0066] 03: Process the detection data of the magnetic induction component 15 based on the position relationship to obtain target data, which is used to assist in generating control instructions for the control device.
[0067] The positional relationship of the magnetic member 153 relative to the sensing chip 151 can be understood as the relative mounting position of the magnetic member 153 and the sensing chip 151. These situations include situations where the angle within the effective range of motion is distributed within a single detection interval, and situations where the angle within the effective range of motion is distributed across multiple detection intervals. The specific positional relationship depends on both the relative mounting position of the magnetic member 153 and the magnetic sensing chip 151 when the movable member 11 is free, as well as the effective range of motion of the movable member 11.
[0068] After determining the positional relationship of the magnetic part 153 relative to the sensing chip 151, the detection data of the magnetic induction component 15 can be processed based on the positional relationship to obtain target data. The target data has multiple uses. In one embodiment, the target data can be used to calibrate the control device 10. The calibration process of the control device 10 is to confirm the angle data corresponding to the critical position, or the critical position and the median position of the movable part 11. The angle data can be used in the analysis process of the actual movement of the movable part 11 when the control device 10 is subsequently operated. In another embodiment, the target data can be used to analyze the actual movement of the movable part 11 in the control device 10, and the actual movement analysis can generate a control instruction to control the operation of the power device 20.
[0069] In the embodiment of the present application, since the target data is obtained on the basis of knowing the positional relationship of the magnetic part 153 relative to the sensing chip 151, the accuracy of the target data is guaranteed. Using accurate target data to assist in the calibration of the control device 10 can improve the accuracy of the calibration results. Using accurate target data to assist in the analysis of the actual movement of the movable part 11 can improve the accuracy of the analysis results of the actual movement of the movable part 11. In this way, by assisting the subsequent operation of the control device 10 through the determined positional relationship between the magnetic part 153 and the sensing chip 151, the problem of errors in the calibration results or the analysis results of the actual movement of the movable part 11 caused by the uncertainty of the relative installation position can be avoided, thereby ensuring that the control device 10 can operate normally.
[0070] When the target data is used for calibration of the control device 10, see Figure 7 The step of obtaining the position relationship of the magnetic member 153 relative to the sensing chip 151 includes:
[0071] 011: Acquire initial calibration data detected by the magnetic induction component 15 when the movable part 11 is at a predetermined position;
[0072] 012: Determine the position relationship based on the initial calibration data;
[0073] The steps of processing the detection data of the magnetic induction component 15 based on the position relationship to obtain target data include:
[0074] 031: Processing the initial calibration data based on the positional relationship to obtain target calibration data;
[0075] The data processing method also includes:
[0076] 05: Process the target calibration data to determine the calibration result of the manipulation device 10.
[0077] Among them, for Figure 4aIn the control device 10 shown, the predetermined position includes a first critical position and a second critical position. Accordingly, the initial calibration data includes the first critical data detected by the magnetic induction component 15 when the movable part 11 is at the first critical position, and also includes the second critical data detected by the magnetic induction component 15 when the movable part 11 is at the second critical position. Figure 4b In the illustrated control device 10, the predetermined positions include a first critical position, a second critical position, and a neutral position. Accordingly, the initial calibration data includes the first critical data detected by the magnetic sensing assembly 15 when the movable member 11 is in the first critical position, the second critical data detected by the magnetic sensing assembly 15 when the movable member 11 is in the second critical position, and the neutral data detected by the magnetic sensing assembly 15 when the movable member 11 is in the neutral position.
[0078] First, Figure 4a The calibration process of an operating device 10 of the type shown is explained as an example.
[0079] In step 011 , there may be the following situations for obtaining initial calibration data.
[0080] In one embodiment, the control device 10 also includes a memory. The data processing method also includes: detecting whether initial calibration data is stored in the memory. When initial calibration data is stored in the memory, obtaining the initial calibration data includes reading the initial calibration data from the memory. In this embodiment, the initial calibration data is directly stored in the memory. The initial calibration data can be that before the control device 10 leaves the factory, the staff of the equipment manufacturer manipulates the movable part 11 to move to the first critical position and the second critical position respectively, and the processor 17 reads the corresponding detection data from the magnetic induction chip 151 and stores it in the memory. In this way, unless the control device 10 undergoes replacement, maintenance, etc. of the magnetic induction component 15, the user does not need to perform the operation of manipulating the movable part 11 to move to the first critical position and the second critical position respectively, which makes it more convenient for the user to use the control device 10.
[0081] In another embodiment, the initial calibration data is not stored in the memory. In this case, obtaining the initial calibration data includes generating calibration prompt information and obtaining the initial calibration data detected by the magnetic induction component 15 when the user manipulates the movable part 11 to move to a predetermined position. In this embodiment, the control device 10 may include a display component, and the calibration prompt information may be displayed on the display component to prompt the user to manipulate the movable part 11 to move to the first critical position and the second critical position in sequence, and the processor 17 then reads the corresponding detection data from the magnetic induction chip 151 and stores it in the memory. Of course, in other embodiments, the control device 10 may not be provided with a display component, and the control device 10 may be communicatively connected to an independent display device. The control device 10 is responsible for outputting the calibration prompt information to the display device, and the display device is responsible for displaying the calibration prompt information, thereby prompting the user to manipulate the movable part 11. It should be pointed out that the order in which the user manipulates the movable part 11 to move to the first critical position and the second critical position respectively is not limited.
[0082] In another embodiment, initial calibration data is stored in the memory, but calibration of the control device 10 cannot be successfully performed based on the initial calibration data. In this case, obtaining the initial calibration data may also include generating a calibration prompt message and obtaining the initial calibration data detected by the magnetic sensing component 15 when the user manipulates the movable member 11 to move to a predetermined position. In this way, by re-obtaining the initial calibration data and performing calibration based on the new initial calibration data, the success rate of calibration can be improved.
[0083] In step 012, the magnetic induction component 15 has a plurality of detection intervals arranged in sequence. Determining the position relationship based on the initial calibration data includes: determining the position relationship based on the distribution of the initial calibration data in the detection interval. Figure 8a and Figure 8b The oblique line from 0° to 360° on the left represents one detection interval of the magnetic induction component 15, and the oblique line from 0° to 360° on the right represents another detection interval of the magnetic induction component 15. The two detection intervals are arranged in sequence; the dotted line represents the angle within the detection interval corresponding to the critical position. Figure 8a As shown, when the first critical data N1 and the second critical data N2 are in the same detection interval, the positional relationship is the first positional relationship. Figure 8b As shown, when the first critical data N1 and the second critical data N2 are in different detection intervals, the positional relationship is the second positional relationship.
[0084] As an example, determining the positional relationship based on the distribution of the initial calibration data in the detection interval can be achieved in the following manner: determining the distribution based on the size relationship of the initial calibration data, and determining the positional relationship based on the distribution. Figure 8aAs shown, when the first critical data N1 is less than the second critical data N2, the position relationship is the first position relationship. Figure 8b As shown, when the first critical data N1 is greater than the second critical data N2, the positional relationship is the second positional relationship. It should be noted that in this embodiment, the method of determining the positional relationship based on the size of the initial calibration data is applicable to the case where the effective active stroke is less than or equal to 360°.
[0085] In step 031, processing the initial calibration data based on the positional relationship to obtain the target calibration data may include: determining the correction amount of the initial calibration data based on the positional relationship; and calculating the target calibration data based on the initial calibration data and the correction amount. The target calibration data includes first target calibration data corresponding to the first critical data and second target calibration data corresponding to the second critical data, and the first target calibration data is smaller than the second target calibration data. The purpose of this embodiment is to linearize the first critical data and the second critical data, so that the first target calibration data and the second target calibration data obtained after the linearization process are located on the same straight line and conform to the rule that the first target calibration data is smaller than the second target calibration data. The straight line represents the detection interval or the extended detection interval, and the detection range of the extended detection interval is 0° to M°, where M>360°.
[0086] As an example, determining the correction amount for the initial calibration data based on the positional relationship may include: when the positional relationship is a first positional relationship, determining a first predetermined integer multiple of 360° as the correction amount for the first critical data and the second critical data; and when the positional relationship is a second positional relationship, determining the first predetermined integer multiple of 360° as the correction amount for the first critical data and determining the second predetermined integer multiple of 360° as the correction amount for the second critical data. The second predetermined integer multiple is greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
[0087] As an example, calculating the target calibration data based on the initial calibration data and the correction amount may include: determining a sum of the initial calibration data and the correction amount as the target calibration data.
[0088] Here Figure 9a and Figure 9b The calculation of target calibration data is explained using as an example. Specifically, Figure 9a The linearization processing principle under the first position relationship is shown. Figure 9b The linearization processing principle under the second position relationship is shown. Figure 9aIn the example, since the first critical data N1 and the second critical data N2 are in the same detection interval, that is, the first critical data N1 and the second critical data N2 are already on the same straight line, the first critical data N1 and the second critical data N2 can be superimposed by the same multiple of 360°. For example, assuming that the first critical data N1 is 50° and the second critical data N2 is 150°, the first target calibration data N1'=50°+K*360°, the second target calibration data N2'=150°+K*360°, where K is an integer. To simplify the calculation, K can be 0. Figure 9b In the example, since the first critical data N1 and the second critical data N2 are not in the same detection interval, the first critical data N1 and the second critical data N2 are located on different straight lines. Therefore, the first critical data N1 and the second critical data N2 need to be superimposed by different multiples of 360°. For example, assuming that the first critical data N1 is 350° and the second critical data N2 is 90°, then the first target calibration data N1'=350°+K*360°, and the second target calibration data N2'=90°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. In this way, the first target calibration data N1' and the second target calibration data N2' are located in the same extended detection interval and on the same straight line, and the rule that the first target calibration data N1' is smaller than the second target calibration data N2' is met.
[0089] In step 05, processing the target calibration data to determine the calibration result of the control device 10 may include: judging whether the absolute value of the difference between the first target calibration data and the second target calibration data is within a first predetermined range; when the absolute value is within the first predetermined range, determining that the calibration of the magnetic induction component 15 is successful; when the absolute value is outside the first predetermined range, determining that the calibration of the magnetic induction component 15 has failed.
[0090] The first predetermined range can be set in the following ways.
[0091] In one embodiment, the first predetermined range is determined based on the effective travel of the movable member 11. In this case, the first predetermined range is a single value. For example, if the effective travel is 100°, the first predetermined range is also set to 100°. If the absolute value of the difference between the first target calibration data and the second target calibration data is equal to 100°, the calibration of the magnetic sensing assembly 15 is confirmed to be successful; otherwise, the calibration of the magnetic sensing assembly 15 is confirmed to have failed.
[0092] In another embodiment, the first predetermined range is determined based on the effective travel of the movable member 11 and the first tolerance. The first tolerance is predetermined before the device leaves the factory. For example, assuming the effective travel is 100° and the first tolerance is 6°, the first predetermined range is set to [100°-6°, 100°+6°], that is, [94°, 106°]. When the absolute value of the difference between the first target calibration data and the second target calibration data is within [94°, 106°], it can be confirmed that the magnetic induction component 15 has been calibrated successfully. Otherwise, it is confirmed that the magnetic induction component 15 has failed calibration. It is understandable that when the user manipulates the movable member 11, the movable member 11 may not be fully pushed to the critical position. In this case, the absolute value of the difference between the first target calibration data and the second target calibration data may be less than 100°; or, when the user manipulates the movable member 11 too hard, the movable member 11 may be slightly moved in a direction beyond the critical position and reach a position beyond the critical position. In this case, the absolute value of the difference between the first target calibration data and the second target calibration data may be greater than 100°; or, due to certain differences in the manufacturing of the control device 10, it is impossible to guarantee that the movement between the two critical positions is 100°. If the above factors are not taken into account, multiple calibrations may fail, affecting the user's use. Therefore, in order to ensure that the user can use the control device 10 normally, a first fault tolerance is set based on the effective movable stroke to obtain a first predetermined range. As long as the absolute value of the difference between the first target calibration data and the second target calibration data is within the first predetermined range, it can be considered that the magnetic induction component 15 is calibrated successfully.
[0093] Next, Figure 4b The calibration process of an operating device 10 of the type shown is explained as an example.
[0094] In step 011, Figure 4a The calibration process of the control device 10 of the type shown is similar, and there are several possible scenarios for obtaining initial calibration data.
[0095] In one embodiment, the control device 10 also includes a memory. The data processing method also includes: detecting whether initial calibration data is stored in the memory. When initial calibration data is stored in the memory, obtaining the initial calibration data includes reading the initial calibration data from the memory. In this embodiment, the initial calibration data is directly stored in the memory. The initial calibration data can be that before the control device 10 leaves the factory, the staff of the equipment manufacturer manipulates the movable part 11 to move to the first critical position, the middle position, and the second critical position respectively, and the processor 17 reads the corresponding detection data from the magnetic induction chip 151 and stores it in the memory. In this way, unless the control device 10 undergoes replacement, maintenance, etc. of the magnetic induction component 15, the user does not need to perform the operation of manipulating the movable part 11 to move to the first critical position, the middle position, and the second critical position respectively, which makes it more convenient for the user to use the control device 10.
[0096] In another embodiment, the initial calibration data is not stored in the memory. In this case, obtaining the initial calibration data includes generating a calibration prompt message and obtaining the initial calibration data detected by the magnetic induction component 15 when the user manipulates the movable part 11 to move to a predetermined position. In this example, the control device 10 may include a display component, and the calibration prompt message may be displayed on the display component to prompt the user to manipulate the movable part 11 to move to the first critical position, the middle position, and the second critical position in sequence. The processor 17 then reads the corresponding detection data from the magnetic induction chip 151 and stores it in the memory. Of course, in other embodiments, the control device 10 may not be provided with a display component. The control device 10 may be communicatively connected to an independent display device. The control device 10 is responsible for outputting the calibration prompt message to the display device, and the display device is responsible for displaying the calibration prompt message, thereby prompting the user to manipulate the movable part 11. It should be pointed out that the order in which the user manipulates the movable part 11 to move to the first critical position, the middle position, and the second critical position is not limited.
[0097] In another embodiment, initial calibration data is stored in the memory, but calibration of the control device 10 cannot be successfully performed based on the initial calibration data. In this case, obtaining the initial calibration data may also include generating a calibration prompt message and obtaining the initial calibration data detected by the magnetic sensing component 15 when the user manipulates the movable member 11 to move to a predetermined position. In this way, by re-obtaining the initial calibration data and performing calibration based on the new initial calibration data, the success rate of calibration can be improved.
[0098] In step 012, the magnetic induction component 15 has a plurality of detection intervals arranged in sequence. Determining the position relationship based on the initial calibration data includes: determining the position relationship based on the distribution of the initial calibration data in the detection interval. Figure 10a 、 Figure 10b and Figure 10cThe oblique line from 0° to 360° on the left represents a detection interval of the magnetic induction component 15, the oblique line from 0° to 360° in the middle represents another detection interval of the magnetic induction component 15, and the oblique line from 0° to 360° on the right represents another detection interval of the magnetic induction component 15. The three detection intervals are arranged in sequence; the dotted lines represent the angles within the detection interval corresponding to the critical position and the median position. Figure 10a As shown, when the first critical data N1, the median data N3, and the second critical data N2 are in the same detection interval, the positional relationship is the third positional relationship. Figure 10b As shown, when the median data N3 and the second critical data N2 are in the same detection interval and the first critical data N1 is in the previous detection interval of the detection interval, the positional relationship is the fourth positional relationship. Figure 10c As shown, when the first critical data N1 and the median data N3 are in the same detection interval and the second critical data N2 is in the next detection interval of the detection interval, the positional relationship is the fifth positional relationship.
[0099] As an example, determining the positional relationship based on the distribution of the initial calibration data in the detection interval can be achieved in the following manner: determining the distribution based on the size relationship of the initial calibration data, and determining the positional relationship based on the distribution. Figure 10a As shown in FIG, when the first critical data N1 is smaller than the median data N3, and the median data N3 is smaller than the second critical data N2, the positional relationship is the third positional relationship. Figure 10b As shown, when the first critical data N1 is greater than the median data N3 and the median data N3 is less than the second critical data N2, the position relationship is the fourth position relationship. Figure 10c As shown, when the first critical data N1 is less than the median data N3, and the median data N3 is greater than the second critical data N2, the positional relationship is the fifth positional relationship. It should be noted that in this embodiment, the method of determining the positional relationship based on the size of the initial calibration data is applicable to the case where the effective movable range is less than or equal to 360°.
[0100] In step 031, processing the initial calibration data based on the positional relationship to obtain the target calibration data may include: determining a correction amount for the initial calibration data based on the positional relationship; and calculating the target calibration data based on the initial calibration data and the correction amount. The target calibration data includes first target calibration data corresponding to the first critical data, second target calibration data corresponding to the second critical data, and third target calibration data corresponding to the median data, wherein the first target calibration data is less than the third target calibration data, and the third target calibration data is less than the second target calibration data. The purpose of this embodiment is to linearize the first critical data, the median data, and the second critical data, so that the first target calibration data, the third target calibration data, and the second target calibration data obtained after the linearization process are located on the same straight line and conform to the rule that the first target calibration data is less than the third target calibration data, and the third target calibration data is less than the second target calibration data. The straight line represents a detection interval or an extended detection interval, and the detection range of the extended detection interval is 0° to M°, where M>360°.
[0101] As an example, determining the correction amount of the initial calibration data based on the positional relationship may include: when the positional relationship is the third positional relationship, determining a first predetermined integer multiple of 360° as the correction amount for the first critical data, the second critical data, and the median data. When the positional relationship is the fourth positional relationship, determining the first predetermined integer multiple of 360° as the correction amount for the first critical data, and determining the second predetermined integer multiple of 360° as the correction amount for the second critical data and the median data, the second predetermined integer multiple being greater than the first predetermined integer multiple and having a difference of 1 from the first predetermined integer multiple; and when the positional relationship is the fifth positional relationship, determining the first predetermined integer multiple of 360° as the first correction amount for the first critical data and the median data, and determining the second predetermined integer multiple of 360° as the first correction amount for the second critical data, the second predetermined integer multiple being greater than the first predetermined integer multiple and having a difference of 1 from the first predetermined integer multiple.
[0102] As an example, calculating the target calibration data based on the initial calibration data and the correction amount may include: determining a sum of the initial calibration data and the correction amount as the target calibration data.
[0103] Here Figure 11a 、 Figure 11b and Figure 11c The calculation of target calibration data is explained using as an example. Specifically, Figure 11a The linearization processing principle under the third position relationship is shown. Figure 11b The linearization processing principle under the fourth position relationship is shown. Figure 11c The linearization processing principle under the fifth position relationship is shown. Figure 11aIn , since the first critical data N1, the median data N3 and the second critical data N2 are in the same detection interval, that is, the first critical data N1, the median data N3 and the second critical data N2 are already on the same straight line, the first critical data N1, the median data N3 and the second critical data N2 can be superimposed in the same multiple of 360°. For example, assuming that the first critical data N1 is 50°, the median data is 100°, and the second critical data N2 is 150°, then the first target calibration data N1'=50°+K*360°, the third target calibration data N3'=100°+K*360°, and the second target calibration data N2'=150°+K*360°, where K is an integer. To simplify the calculation, K can be 0. In Figure 11b In , since the first critical data N1 is in one detection interval, the median data N3 and the second critical data N2 are in another detection interval, the median data N3 and the second critical data N2 are both on different straight lines from the first critical data N1. Therefore, the median data N3 and the second critical data N2 need to be superimposed by the same multiple of 360°, while the second critical data N2 and the median data N3 need to be superimposed by different multiples of 360° with the first critical data N1. For example, assuming that the first critical data N1 is 350°, the median data N3 is 40°, and the second critical data N2 is 90°, then the first target calibration data N1'=350°+K*360°, the third target calibration data N3'=40°+(K+1)*360°, and the second target calibration data N2'=90°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. In Figure 11c In the above example, since the first critical data N1 and the median data N3 are in the same detection interval, and the second critical data N2 is in another detection interval, the first critical data N1, the median data N3, and the second critical data N2 are located on different straight lines. Therefore, the median data N3 and the first critical data N1 need to be superimposed by the same multiple of 360°, while the first critical data N1 and the median data N3 need to be superimposed by different multiples of 360°. For example, assuming that the first critical data N1 is 300°, the median data N3 is 350°, and the second critical data N2 is 40°, then the first target calibration data N1'=300°+K*360°, the third target calibration data N3'=350°+K*360°, and the second target calibration data N2'=40°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. Thus, the first target calibration data N1', the third target data N3' and the second target calibration data N2' are located in the same extended detection interval and on the same straight line, and conform to the rule that the first target calibration data N1' is smaller than the third target data N3', and the third target data N3' is smaller than the second target calibration data N2'.
[0104] In step 05, processing the target calibration data to determine the calibration result of the control device 10 may include: judging whether the absolute value of the difference between the first target calibration data and the third target calibration data is within the second predetermined range; judging whether the absolute value of the difference between the second target calibration data and the third target calibration data is within the third predetermined range; when the absolute value of the difference between the first target calibration data and the third target calibration data is within the second predetermined range, and the absolute value of the difference between the second target calibration data and the third target calibration data is within the third predetermined range, determining that the calibration of the magnetic induction component 15 is successful; otherwise, determining that the calibration of the magnetic induction component 15 has failed.
[0105] The second predetermined range and the third predetermined range may be set in the following ways.
[0106] In one embodiment, the second predetermined range and the third predetermined range are determined based on the effective movable stroke of the movable part 11. In this case, the second predetermined range and the third predetermined range are one value. For example, assuming that the effective movable stroke is 100°, the second predetermined range is set to 50°, and the third predetermined range is also set to 50°. When the absolute value of the difference between the first target calibration data and the third target calibration data is equal to 50°, and the absolute value of the difference between the second target calibration data and the third target calibration data is also equal to 50°, it can be confirmed that the calibration of the magnetic induction component 15 is successful. If the absolute value of the difference between the first target calibration data and the third target calibration data is not equal to 50°, or the absolute value of the difference between the second target calibration data and the third target calibration data is not equal to 50°, or the absolute value of the difference between the first target calibration data and the third target calibration data and the absolute value of the difference between the second target calibration data and the third target calibration data are both not equal to 50°, it is confirmed that the calibration of the magnetic induction component 15 has failed.
[0107] In another embodiment, the second predetermined range and the third predetermined range are determined based on the effective movable stroke of the movable part 11 and the first fault tolerance. The first fault tolerance is data predetermined before the device leaves the factory. For example, assuming that the effective movable stroke is 100° and the first fault tolerance is 6°, the second predetermined range is set to [50°-6°, 50°+6°], that is, [44°, 56°], and the third predetermined range is set to [50°-6°, 50°+6°], that is, [44°, 56°]. When the absolute value of the difference between the first target calibration data and the third target calibration data is within [44°, 56°], and the absolute value of the difference between the second target calibration data and the third target calibration data is also within [44°, 56°], it can be confirmed that the magnetic induction component 15 is calibrated successfully. If at least one of the absolute value of the difference between the first target calibration data and the third target calibration data, or the absolute value of the difference between the second target calibration data and the third target calibration data, is not within [44°, 56°], then the calibration of the magnetic sensing assembly 15 is determined to have failed. It is understood that when the user manipulates the movable member 11, the movable member 11 may not be fully pushed to the critical position. In this case, the absolute value of the difference between the first target calibration data and the third target calibration data, or the absolute value of the difference between the second target calibration data and the third target calibration data, may be less than 50°. Alternatively, when the user manipulates the movable member 11 too forcefully, the movable member 11 may be slightly moved beyond the critical position, reaching a position beyond the critical position. In this case, the absolute value of the difference between the first target calibration data and the third target calibration data, or the absolute value of the difference between the second target calibration data and the third target calibration data, may be greater than 50°. Alternatively, due to manufacturing variations in the control device 10, it is not possible to guarantee that the distance between the two critical positions is 100°, nor is it possible to guarantee that the distance between the critical position and the neutral position is 50°. If the above factors are not considered, multiple calibrations may fail, affecting user experience. Therefore, to ensure that the user can use the control device 10 normally, a first error tolerance is set based on the effective range of motion to obtain a second predetermined range and a third predetermined range. As long as the absolute value of the difference between the first target calibration data and the third target calibration data is within the first predetermined range, and the absolute value of the difference between the second target calibration data and the third target calibration data is within the third predetermined range, the magnetic induction component 15 can be considered to have been calibrated successfully.
[0108] It should be noted that the embodiments of this application use the median position as an example of the average dividing point between the first critical position and the second critical position. In other embodiments, the median position may be closer to the second critical position than the first critical position, or closer to the first critical position than the second critical position, and this application does not limit this.
[0109] In one embodiment, the calibration of the control device 10, specifically the calibration of the magnetic sensing component 15, is performed when the control device 10 is first powered on. This allows initial calibration data and / or target calibration data to be saved upon successful calibration. The saved initial calibration data and / or target calibration data can be used in subsequent analysis of the actual movement of the movable member 11. This eliminates the need for the user to perform calibration each time the control device 10 is used, making the control device 10 more convenient to use and providing a better user experience.
[0110] In one embodiment, after the calibration action of the magnetic induction component 15 is performed when the power is first turned on, there may also be a need for recalibration during the subsequent use of the control device 10. As an example, the action of calibrating the magnetic induction component 15 can be performed after the control device 10 is maintained. It can be understood that the maintenance of the control device 10 may be an operation to replace the magnetic induction component 15, which may cause the positional relationship of the magnetic part 153 relative to the magnetic induction chip 151 to change. Therefore, the calibration action must be re-executed to confirm the latest positional relationship, so as to ensure the normal operation of the control device 10. In order to detect whether the control device 10 has been maintained, a detection component can be set on the control device 10, and the detection component is used to detect whether the control device 10 has been disassembled, or the detection component is used to detect whether the magnetic induction chip 151 or the magnetic part 153 has left its original position, etc., which is not limited here. As another example, the action of calibrating the magnetic induction component 15 can be performed once every predetermined time interval. During the use of the control device 10, the magnetic sensing chip 151 or the magnetic part 153 may deviate from the original position due to factors such as vibration and loose structure. By performing a calibration action at a predetermined interval, the latest position relationship can be obtained, thereby ensuring the normal operation of the control device 10.
[0111] When the target data is used to analyze the actual movement of the movable member 11 in the control device 10, refer to Figure 12 , the data processing method further includes:
[0112] 07: Acquire current detection data detected by the magnetic induction component 15 when the movable part 11 is at the current position and initial calibration data detected when the movable part 11 is at the predetermined position;
[0113] Processing the detection data of the magnetic induction component 15 based on the position relationship to obtain target data includes:
[0114] 032: Process the current detection data of the magnetic induction component 15 based on the position relationship and the initial calibration data to obtain target output data.
[0115] Among them, for Figure 4aIn the control device 10 shown, the predetermined position includes a first critical position and a second critical position. Accordingly, the initial calibration data includes the first critical data detected by the magnetic induction component 15 when the movable part 11 is at the first critical position, and also includes the second critical data detected by the magnetic induction component 15 when the movable part 11 is at the second critical position. Figure 4b In the illustrated control device 10, the predetermined positions include a first critical position, a second critical position, and a neutral position. Accordingly, the initial calibration data includes the first critical data detected by the magnetic sensing assembly 15 when the movable member 11 is in the first critical position, the second critical data detected by the magnetic sensing assembly 15 when the movable member 11 is in the second critical position, and the neutral data detected by the magnetic sensing assembly 15 when the movable member 11 is in the neutral position.
[0116] First, Figure 4a The analysis process of the actual movement amount of the movable member 11 in the control device 10 of the shown type is exemplified.
[0117] In step 07, the initial calibration data can be obtained by directly reading it from the memory of the control device 10. It will be appreciated that when the control device 10 is officially used, it is generally calibrated, and the memory will store the initial calibration data detected during calibration. Therefore, during the analysis process, the initial calibration data can be directly read from the memory. The current detection data is the data detected by the magnetic sensing component 15 at the current position of the movable member 11 when the user manipulates it to move.
[0118] In step 01 , there are several possible ways to obtain the positional relationship of the magnetic component 153 relative to the sensing chip 151 .
[0119] In one embodiment, the position relationship is obtained during the calibration phase of the magnetic induction component 15 and stored in a memory of the control device 10 , and obtaining the position relationship includes reading the position relationship from the memory.
[0120] In another embodiment, the memory may only store initial calibration data without storing the positional relationship. In this case, the positional relationship can be determined based on the initial calibration data. The specific determination process can be referred to the detailed description of the implementation of step 012 above and will not be repeated here.
[0121] In step 032, processing the current detection data of the magnetic induction assembly 15 based on the positional relationship and the initial calibration data to obtain target output data may include: obtaining target calibration data obtained by correcting the initial calibration data under the positional relationship; obtaining target detection data obtained by correcting the current detection data under the positional relationship; and calculating target output data based on the target detection data and the target calibration data. The target calibration data in the analysis process is the same as the target calibration data in the calibration process, both including first target calibration data corresponding to the first critical data and second target calibration data corresponding to the second critical data, wherein the first target calibration data is smaller than the second target calibration data.
[0122] There are several possible ways to obtain target calibration data.
[0123] In one embodiment, the target calibration data is obtained during the calibration phase of the magnetic induction component 15 and stored in a memory of the control device 10 . Acquiring the target calibration data includes reading the target calibration data from the memory.
[0124] In another embodiment, if the target calibration data is not stored in the memory, the initial calibration data may be processed based on the positional relationship to obtain the target calibration data.
[0125] Here, the process of acquiring target calibration data and target detection data is described by taking the case where the memory does not store target calibration data as an example.
[0126] Obtaining the target calibration data obtained after the correction of the initial calibration data under the position relationship may include: determining the correction amount of the initial calibration data based on the position relationship; calculating the target calibration data based on the initial calibration data and its correction amount. Obtaining the target detection data obtained after the correction of the current detection data under the position relationship may include: determining the correction amount of the current detection data based on the position relationship; calculating the target detection data based on the current detection data and its correction amount. The purpose of obtaining the target calibration data and the target detection data by calculating the correction amount is to linearize the first critical data, the second critical data and the current detection data, and the first target calibration data, the second target calibration data and the target detection data obtained after the linearization process are located on the same straight line, and conform to the rule that the first target calibration data is smaller than the second target calibration data. Wherein, the straight line represents the detection interval or the extended detection interval, and the detection range of the extended detection interval is 0° to M°, where M>360°.
[0127] In one example, determining the correction amount of the initial calibration data based on the positional relationship may include: when the positional relationship is a first positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the first critical data and the second critical data; when the positional relationship is a second positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the first critical data, and determining a second predetermined integer multiple of 360° as the correction amount of the second critical data, the second predetermined integer multiple being greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
[0128] Determining the correction amount for the current detection data based on the positional relationship may include: when the positional relationship is a first positional relationship, determining a first predetermined integer multiple of 360° as the correction amount for the current detection data; when the positional relationship is a second positional relationship, determining a magnitude relationship between the current detection data and the first critical data, and when the determination result satisfies a third predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data; and when the determination result does not satisfy the third predetermined condition, determining a first predetermined integer multiple of 360° as the correction amount for the current detection data. The third predetermined condition includes that the current detection data is less than the first critical data.
[0129] Calculating target calibration data based on initial calibration data and correction amounts thereof may include taking the sum of the initial calibration data and correction amounts thereof as target calibration data. Calculating target detection data based on current detection data and correction amounts thereof may include taking the sum of the current detection data and correction amounts thereof as target calibration data.
[0130] Here Figure 13a 、 Figure 13b and Figure 13c The calculation of target calibration data and target detection data is explained using as an example. Specifically, Figure 13a The linearization processing principle under the first position relationship is shown. Figure 13b and Figure 13c The linearization processing principle under the second position relationship is shown.
[0131] exist Figure 13aIn the example, since the first critical data N1, the second critical data N2, and the current detection data N4 are in the same detection interval, that is, the first critical data N1, the second critical data N2, and the current detection data N4 are already on the same straight line, the first critical data N1, the second critical data N2, and the current detection data N4 can be superimposed by the same multiple of 360°. For example, assuming that the first critical data N1 is 50°, the second critical data N2 is 150°, and the current detection data N4 is 70°, then the first target calibration data N1'=50°+K*360°, the second target calibration data N2'=150°+K*360°, and the target detection data N4'=70°+K*360°, where K is an integer and can be 0 to simplify the calculation.
[0132] exist Figure 13b and Figure 13c In the example, the first critical data N1 and the second critical data N2 are not in the same detection interval, that is, the first critical data N1 and the second critical data N2 are located on different straight lines. Under this positional relationship, the current detection data N4 may be in the same detection interval as the first critical data N1, or it may be in the same detection interval as the second critical data N2. When the current detection data N4 is in different detection intervals, the calculation method of its correction amount is also different. Therefore, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first critical data N1, and then the correction amount of the current detection data N4 is determined based on the detection interval in which the current detection data N4 is located.
[0133] Specifically, in Figure 13b In the example, the first critical data N1 and the second critical data N2 are not in the same detection interval. Therefore, the first critical data N1 and the second critical data N2 need to be superimposed by different multiples of 360°. For example, assuming that the first critical data N1 is 350° and the second critical data N2 is 90°, the first target calibration data N1'=350°+K*360°, and the second target calibration data N2'=90°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. Since the current detection data N4 is greater than the first critical data N1 and does not meet the third predetermined condition, the current detection data N4 and the first critical data N1 are in the same detection interval. The current detection data N4 and the first critical data N1 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 355°, the target detection data N4'=355°+K*360°.
[0134] exist Figure 13cIn the example, the first critical data N1 and the second critical data N2 are not in the same detection interval. Therefore, the first critical data N1 and the second critical data N2 need to be superimposed by different multiples of 360°. For example, assuming that the first critical data N1 is 350° and the second critical data N2 is 90°, the first target calibration data N1'=350°+K*360°, the second target calibration data N2'=90°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. Since the current detection data N4 is less than the first critical data N1, the third predetermined condition is met. Therefore, the current detection data N4 and the second critical data N2 are in the same detection interval. The current detection data N4 and the second critical data N2 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 40°, the target detection data N4'=40°+(K+1)*360°.
[0135] Considering that the user may manipulate the movable member 11 too forcefully, causing the movable member 11 to move slightly beyond the critical position and then reach a position beyond the critical position (this position is referred to as the over-limit position), the situation in which the user manipulates the movable member 11 too forcefully, causing the movable member 11 to slightly exceed the critical position, may occur relatively frequently when the user uses the control device 10. If a parsing error is reported every time this situation occurs, the control device 10 may frequently report errors, requiring the user to be extremely careful when manipulating the movable member 11. However, this is obviously not conducive to user use. Therefore, in the case where the movable member 11 only slightly exceeds the critical position, the control device 10 can perform parsing normally.
[0136] Therefore, in another example, determining the correction amount of the initial calibration data based on the positional relationship may include: when the positional relationship is a first positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the first critical data and the second critical data; when the positional relationship is a second positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the first critical data, and determining a second predetermined integer multiple of 360° as the correction amount of the second critical data, the second predetermined integer multiple being greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
[0137] Determining the correction amount of the current detection data based on the positional relationship may include: when the positional relationship is a first positional relationship, determining the magnitude relationship between the current detection data and the first critical data or the second critical data; when the judgment result satisfies the first predetermined condition, determining the second predetermined integer multiple of 360° as the correction amount of the current detection data, the second predetermined integer multiple being greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple being 1; when the judgment result does not satisfy the first predetermined condition, if the judgment result satisfies the second predetermined condition, determining the third predetermined integer multiple of 360° as the correction amount of the current detection data, the third predetermined integer multiple being less than the first predetermined integer multiple, and the difference between the third predetermined integer multiple and the first predetermined integer multiple being 1; if the judgment result does not satisfy the first predetermined condition or the second predetermined condition, determining the first predetermined integer multiple of 360° as the correction amount of the current detection data. The first predetermined condition includes that the current detection data is less than the first over-boundary data; and the second predetermined condition includes that the current detection data is greater than the second over-boundary data. Determining the correction amount for the current detection data based on the positional relationship may further include: when the positional relationship is a second positional relationship, determining the magnitude relationship between the current detection data and the first critical data; when the determination result satisfies a third predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data; and when the determination result does not satisfy the third predetermined condition, determining a first predetermined integer multiple of 360° as the correction amount for the current detection data. The third predetermined condition includes the current detection data being less than the first over-boundary data. The first over-boundary data is data detected by the magnetic induction component 15 when the movable member 11 is in a first over-boundary position, the first over-boundary position being a position where the movable member 11 moves in a direction exceeding the first critical position, and the first over-boundary data differs from the first critical data by a second fault tolerance. The second over-boundary data is data detected by the magnetic induction component 15 when the movable member 11 is in a second over-boundary position, the second over-boundary position being a position where the movable member moves in a direction exceeding the second critical position, and the second over-boundary data differs from the second critical data by a third fault tolerance.
[0138] Calculating target calibration data based on initial calibration data and correction amounts thereof may include taking the sum of the initial calibration data and correction amounts thereof as target calibration data. Calculating target detection data based on current detection data and correction amounts thereof may include taking the sum of the current detection data and correction amounts thereof as target calibration data.
[0139] Here Figures 14a to 14e Taking as an example, the calculation of the target calibration data and the target detection data when the movable member 11 slightly crosses the boundary is described. Figure 14a 、 Figure 14b and Figure 14c The linearization processing principle under the first position relationship is shown. Figure 14d and Figure 14e The linearization processing principle under the second position relationship is shown. Figures 14a to 14e, which include the first critical data N1, the second critical data N2, the current detection data N4, the first cross-border data N5, and the second cross-border data N6.
[0140] exist Figure 14a In the figure, since the first cross-boundary data N5, the first critical data N1, the current detection data N4, the second critical data N2, and the second cross-boundary data N6 are in the same detection interval, that is, the first cross-boundary data N5, the first critical data N1, the current detection data N4, the second critical data N2, and the second cross-boundary data N6 are already on the same straight line, the current detection data N4 is greater than the first cross-boundary data N5 and less than the second cross-boundary data N6, and does not meet the first predetermined condition and the second predetermined condition. Therefore, the first critical data N1, the second critical data N2 and the current detection data N4 can be superimposed on the same multiple of 360°. For example, assuming that the first critical data N1 is 12° (the first over-boundary data N5 is, for example, 7°, which differs from the first critical data N1 by the second tolerance amount of 5°), the second critical data N2 is 112° (the second over-boundary data N6 is, for example, 117°, which differs from the second critical data N2 by the third tolerance amount of 5°), and the current detection data N4 is 10°, then the first target calibration data N1'=12°+K*360°, the second target calibration data N2'=112°+K*360°, and the target detection data N4'=10°+K*360°, where K is an integer. To simplify the calculation, K can be 0.
[0141] exist Figure 14b In the example, the first cross-border data N5 is in one detection interval, and the first critical data N1, the second critical data N2, and the second cross-border data N6 are all in another detection interval, that is, the first cross-border data N5 and the first critical data N1, the second critical data N2, and the second cross-border data N6 are located on different straight lines. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 14b, the current detection data N4 is greater than the first cross-border data N5 and greater than the second cross-border data N6, does not meet the first predetermined condition but meets the second predetermined condition, therefore, the current detection data N4 and the first cross-border data N5 are in the same detection interval. Then, assuming that the first critical data N1 is 2° (the first cross-border data N5 is, for example, 357°, which differs from the first critical data N1 by a second fault tolerance of 5°), the second critical data N2 is 102° (the second cross-border data N6 is, for example, 107°, which differs from the second critical data N2 by a second fault tolerance of 5°), and the current detection data N4 is 358°, then the first target calibration data N1'=2°+(K+1)*360°, the second target calibration data N2'=102°+(K+1)*360°, and the target detection data N4'=358°+K*360°, where K is an integer. To simplify the calculation, K can be 0.
[0142] exist Figure 14c In the example, the first cross-border data N5, the first critical data N1, and the second critical data N2 are all in the same detection interval, and the second cross-border data N6 is in another detection interval, that is, the first cross-border data N5, the first critical data N1, and the second critical data N2 are located on different straight lines from the second cross-border data N6. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 14c , the current detection data N4 is less than the first cross-border data N5, satisfying the first predetermined condition. Therefore, the current detection data N4 and the second cross-border data N6 are in the same detection interval. Then, assuming that the first critical data N1 is 258° (the first cross-border data N5 is, for example, 253°, which differs from the first critical data N1 by a third fault tolerance of 5°), the second critical data N2 is 358° (the second cross-border data N6 is, for example, 3°, which differs from the second critical data N2 by a third fault tolerance of 5°), and the current detection data N4 is 2°, then the first target calibration data N1'=258°+K*360°, the second target calibration data N2'=358°+K*360°, and the target detection data N4'=2°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0.
[0143] exist Figure 14dIn the example, the first cross-border data N5 and the first critical data N1 are in the same detection interval, and the second critical data N2 and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5 and the first critical data N1 are on different straight lines from the second critical data N2 and the second cross-border data N6. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 is determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 14d , the current detection data N4 is greater than the first cross-border data N5 and does not meet the third predetermined condition. Therefore, the current detection data N4 is in the same detection interval as the first cross-border data N5 and the first critical data N1. Then, assuming that the first critical data N1 is 300° (the first cross-border data N5 is, for example, 295°, which differs from the first critical data N1 by the second fault tolerance of 5°), the second critical data N2 is 40° (the second cross-border data N6 is, for example, 45°, which differs from the second critical data N2 by the third fault tolerance of 5°), and the current detection data N4 is 298°, then the first target calibration data N1'=300°+K*360°, the second target calibration data N2'=40°+(K+1)*360°, and the target detection data N4'=298°+K*360°. Wherein, K is an integer. To simplify the calculation, K can be 0.
[0144] exist Figure 14e In the example, the first cross-border data N5 and the first critical data N1 are in the same detection interval, and the second critical data N2 and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5 and the first critical data N1 are on different straight lines from the second critical data N2 and the second cross-border data N6. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 is determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 14e, the current detection data N4 is less than the first cross-border data N5 (at this time, the current detection data N4 is between 0° and the second cross-border data N6), and the third predetermined condition is met. Therefore, the current detection data N4 and the second critical data N2 and the second cross-border data N6 are both in the same detection interval. Then, assuming that the first critical data N1 is 340° (the first cross-border data N5 is, for example, 335°, which differs from the first critical data N1 by the second fault tolerance of 5°), the second critical data N2 is 80° (the second cross-border data N6 is, for example, 85°, which differs from the second critical data N2 by the third fault tolerance of 5°), and the current detection data N4 is 82°, then the first target calibration data N1'=340°+K*360°, the second target calibration data N2'=80°+(K+1)*360°, and the target detection data N4'=82°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0.
[0145] After obtaining the target calibration data, calculating the target output data based on the target detection data and the target calibration data may include: using the absolute value of the difference between the target detection data and the first target calibration data as the target output data. For example, assuming the first target calibration data is 50° and the target detection data is 60°, then the target output data = 60° - 50° = 10°. For another example, assuming the first target calibration data is 350° and the target detection data is 370°, then the target output data = 370° - 350° = 20°. The control device 10 outputs the target output data to the power device 20, causing the power device 20 to operate based on the target output data.
[0146] In one embodiment, before calculating target output data based on the target detection data and the target calibration data, the data processing method further includes: determining whether the absolute value of the difference between the target detection data and the first target calibration data is greater than a predetermined threshold; when the absolute value is less than or equal to the predetermined threshold, using the absolute value of the difference between the target detection data and the first target calibration data as the target output data; and when the absolute value is greater than the predetermined threshold, determining a parsing error and outputting a parsing error prompt message. The predetermined threshold can be determined based on the valid active range, for example, the predetermined threshold can be equal to the valid active range; or the predetermined threshold can be determined based on the valid active range and a first fault tolerance, for example, the predetermined threshold can be equal to the sum of the valid active range and the first fault tolerance. This is not a limitation of the present application. It is understood that when the absolute value of the difference between the target detection data and the first target calibration data is greater than the predetermined threshold, it indicates that the parsed target output data exceeds the valid range. In this case, the target output data is not valid and cannot be used to control the power device 20.
[0147] In one embodiment, the data processing method further includes: calculating the target power of the power device 20 based on the target output data and the maximum power of the power device 20; and outputting an instruction with the target power to the power device 20 so that the power device 20 operates at the target power. For example, assuming that the effective active range is 100°, the target output data is 40°, and the maximum power of the power device 20 is 1000W, then the target power = (40° / 100°) * 1000 = 400W. Of course, in other embodiments, the control device 10 can also output percentage data to the power device 20 so that the power device 20 operates based on the percentage data. For example, assuming that the effective active range is 100° and the target output data is 40°, then the percentage data = (40° / 100°) * 100% = 40%.
[0148] Next, Figure 4b The control instruction parsing process of the control device 10 of the shown type is described as an example.
[0149] In step 07, the initial calibration data can be obtained by directly reading it from the memory of the control device 10. It will be appreciated that when the control device 10 is officially used, it is generally calibrated, and the memory will store the initial calibration data detected during calibration. Therefore, during the analysis process, the initial calibration data can be directly read from the memory. The current detection data is the data detected by the magnetic sensing component 15 at the current position of the movable member 11 when the user manipulates it to move.
[0150] In step 01 , there are several possible ways to obtain the positional relationship of the magnetic component 153 relative to the sensing chip 151 .
[0151] In one embodiment, the position relationship is obtained during the calibration phase of the magnetic induction component 15 and stored in a memory of the control device 10 , and obtaining the position relationship includes reading the position relationship from the memory.
[0152] In another embodiment, the memory may only store initial calibration data without storing the positional relationship. In this case, the positional relationship can be determined based on the initial calibration data. The specific determination process can be referred to the detailed description of the implementation of step 012 above and will not be repeated here.
[0153] In step 032, processing the current detection data of the magnetic induction component 15 based on the positional relationship and the initial calibration data to obtain target output data may include: obtaining target calibration data obtained by correcting the initial calibration data under the positional relationship; obtaining target detection data obtained by correcting the current detection data under the positional relationship; and calculating target output data based on the target detection data and the target calibration data. The target calibration data during the instruction parsing process is the same as the target calibration data during the calibration process, and both include first target calibration data corresponding to the first critical data, second target calibration data corresponding to the second critical data, and third target calibration data corresponding to the median data. The first target calibration data is less than the third target calibration data, and the third target calibration data is less than the second target calibration data.
[0154] There are several possible ways to obtain target calibration data.
[0155] In one embodiment, the target calibration data is obtained during the calibration phase of the magnetic induction component 15 and stored in a memory of the control device 10 . Acquiring the target calibration data includes reading the target calibration data from the memory.
[0156] In another embodiment, if the target calibration data is not stored in the memory, the initial calibration data may be processed based on the positional relationship to obtain the target calibration data.
[0157] Here, the process of acquiring target calibration data and target detection data is described by taking the case where the memory does not store target calibration data as an example.
[0158] Obtaining the target calibration data obtained after the correction of the initial calibration data under the position relationship may include: determining the correction amount of the initial calibration data based on the position relationship; calculating the target calibration data based on the initial calibration data and its correction amount. Obtaining the target detection data obtained after the correction of the current detection data under the position relationship may include: determining the correction amount of the current detection data based on the position relationship; calculating the target detection data based on the current detection data and its correction amount. The purpose of obtaining the target calibration data and the target detection data by calculating the correction amount is to linearize the first critical data, the median data, the second critical data and the current detection data, and the first target calibration data, the third target calibration data, the second target calibration data and the target detection data obtained after the linearization processing are located on the same straight line, and conform to the rule that the first target calibration data is less than the third target calibration data, and the third target calibration data is less than the second target calibration data. Wherein, the straight line represents the detection interval or the extended detection interval, and the detection range of the extended detection interval is 0° to M°, where M>360°.
[0159] In one example, determining the correction amount of the initial calibration data based on the positional relationship may include: when the positional relationship is a third positional relationship, determining a first predetermined integer multiple of 360° as the correction amount for the first critical data, the median data, and the second critical data; when the positional relationship is a fourth positional relationship, determining the first predetermined integer multiple of 360° as the correction amount for the first critical data, and determining the second predetermined integer multiple of 360° as the correction amount for the median data and the second critical data; and when the positional relationship is a fifth positional relationship, determining the first predetermined integer multiple of 360° as the correction amount for the first critical data and the median data, and determining the second predetermined integer multiple of 360° as the correction amount for the second critical data. The second predetermined integer multiple is greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
[0160] Determining the correction amount of the current detection data based on the positional relationship may include: when the positional relationship is a third positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the current detection data; when the positional relationship is a fourth positional relationship, determining a magnitude relationship between the current detection data and the second critical data, and when the determination result satisfies a sixth predetermined condition, determining the first predetermined integer multiple of 360° as the correction amount of the current detection data; and when the determination result does not satisfy the sixth predetermined condition, determining the second predetermined integer multiple of 360° as the correction amount of the current detection data; when the positional relationship is a fifth positional relationship, determining a magnitude relationship between the current detection data and the first critical data, and when the determination result satisfies a seventh predetermined condition, determining the second predetermined integer multiple of 360° as the correction amount of the current detection data; and when the determination result does not satisfy the seventh predetermined condition, determining the first predetermined integer multiple of 360° as the correction amount of the current detection data. The sixth predetermined condition includes that the current detection data is greater than the second critical data; and the seventh predetermined condition includes that the current detection data is less than the first critical data.
[0161] Calculating target calibration data based on initial calibration data and correction amounts thereof may include taking the sum of the initial calibration data and correction amounts thereof as target calibration data. Calculating target detection data based on current detection data and correction amounts thereof may include taking the sum of the current detection data and correction amounts thereof as target calibration data.
[0162] Here Figures 15a to 15e The calculation of target calibration data and target detection data is explained using as an example. Specifically, Figure 15a The linearization processing principle under the third position relationship is shown. Figure 15b and Figure 15c The linearization processing principle under the fourth position relationship is shown. Figure 15d and Figure 15e The linearization processing principle under the fifth position relationship is shown.
[0163] exist Figure 15aIn the above example, since the first critical data N1, the median data N3, the second critical data N2, and the current detection data N4 are in the same detection interval, that is, the first critical data N1, the median data N3, the second critical data N2, and the current detection data N4 are already on the same straight line, the first critical data N1, the median data N3, the second critical data N2, and the current detection data N4 can be superimposed by the same multiple of 360°. For example, assuming that the first critical data N1 is 50°, the median data N3 is 100°, the second critical data N2 is 150°, and the current detection data N4 is 70°, then the first target calibration data N1'=50°+K*360°, the third target calibration data N3'=100°+K*360°, the second target calibration data N2'=150°+K*360°, and the target detection data N4'=70°+K*360°, where K is an integer and can be 0 to simplify the calculation.
[0164] exist Figure 15b and Figure 15c In the example, the first critical data N1 is in one detection interval, and the median data N3 and the second critical data N2 are in another detection interval, that is, the second critical data N2 and the median data N3 are both on different straight lines from the first critical data N1. Under this positional relationship, the current detection data N4 may be in the same detection interval as the first critical data N1, or it may be in the same detection interval as the second critical data N2. When the current detection data N4 is in different detection intervals, the calculation method of its correction amount is also different. Therefore, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the second critical data N2, and then the correction amount of the current detection data N4 is determined based on the detection interval in which the current detection data N4 is located.
[0165] Specifically, the first critical data N1 is in one detection interval, and the median data N3 and the second critical data N2 are in another detection interval. Therefore, the second critical data N2 and the median data N3 need to be superimposed with the first critical data N1 at different multiples of 360°. For example, assuming that the first critical data N1 is 350°, the median data N3 is 40°, and the second critical data N2 is 90°, then the first target calibration data N1'=350°+K*360°, the third target calibration data N3'=40°+(K+1)*360°, and the second target calibration data N2'=90°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. Figure 15bIn the embodiment shown, since the current detection data N4 is greater than the second critical data N2, the sixth predetermined condition is satisfied. Therefore, the current detection data N4 and the first critical data N1 are in the same detection interval, and the current detection data N4 and the first critical data N1 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 355°, the target detection data N4'=355°+K*360°. Figure 15c In the illustrated embodiment, since the current detection data N4 is less than the second critical data N2 and does not satisfy the sixth predetermined condition, the current detection data N4 and the second critical data N2 are in the same detection interval, and the current detection data N4 and the second critical data N2 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 70°, the target detection data N4′ = 70° + (K+1) * 360°.
[0166] exist Figure 15d and Figure 15e In the example, the first critical data N1 and the median data N3 are in the same detection interval, and the second critical data N2 is in another detection interval, that is, the first critical data N1 and the median data N3 are both on different straight lines from the second critical data N2. Under this positional relationship, the current detection data N4 may be in the same detection interval as the first critical data N1, or it may be in the same detection interval as the second critical data N2. When the current detection data N4 is in different detection intervals, the calculation method of its correction amount is also different. Therefore, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first critical data N1, and then the correction amount of the current detection data N4 is determined based on the detection interval in which the current detection data N4 is located.
[0167] Specifically, the first critical data N1 and the median data N3 are in the same detection interval, and the second critical data N2 is in another detection interval. Therefore, the first critical data N1 and the median data N3 need to be superimposed with the second critical data N2 at different multiples of 360°. For example, assuming that the first critical data N1 is 300°, the median data N3 is 350°, and the second critical data N2 is 40°, then the first target calibration data N1'=300°+K*360°, the third target calibration data N3'=350°+K*360°, and the second target calibration data N2'=40°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0. Figure 15dIn the embodiment shown, since the current detection data N4 is less than the first critical data N1, the seventh predetermined condition is satisfied. Therefore, the current detection data N4 and the second critical data N2 are in the same detection interval, and the current detection data N4 and the second critical data N2 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 30°, the target detection data N4'=30°+(K+1)*360°. Figure 15e In the illustrated embodiment, since the current detection data N4 is greater than the first critical data N1 and does not satisfy the seventh predetermined condition, the current detection data N4 and the first critical data N1 are in the same detection interval, and the current detection data N4 and the first critical data N1 are superimposed by the same multiple of 360°. For example, assuming that the current detection data N4 is 310°, the target detection data N4′ = 310° + K*360°.
[0168] Considering that the user may manipulate the movable member 11 too forcefully, causing the movable member 11 to move slightly beyond the critical position and then reach a position beyond the critical position (this position is referred to as the over-limit position), the situation in which the user manipulates the movable member 11 too forcefully, causing the movable member 11 to slightly exceed the critical position, may occur relatively frequently when the user uses the control device 10. If a parsing error is reported every time this situation occurs, the control device 10 may frequently report errors, requiring the user to be extremely careful when manipulating the movable member 11. However, this is obviously not conducive to user use. Therefore, in the case where the movable member 11 only slightly exceeds the critical position, the control device 10 can perform parsing normally.
[0169] Therefore, in another example, determining the correction amount of the initial calibration data based on the positional relationship may include: when the positional relationship is the third positional relationship, determining a first predetermined integer multiple of 360° as the correction amount of the first critical data, the median data, and the second critical data; when the positional relationship is the fourth positional relationship, determining the first predetermined integer multiple of 360° as the correction amount of the first critical data, and determining the second predetermined integer multiple of 360° as the correction amount of the median data and the second critical data; when the positional relationship is the fifth positional relationship, determining the first predetermined integer multiple of 360° as the correction amount of the first critical data and the median data, and determining the second predetermined integer multiple of 360° as the correction amount of the second critical data. Wherein, the second predetermined integer multiple is greater than the first predetermined integer multiple, and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
[0170] Determining the correction amount of the current detection data based on the positional relationship may include: when the positional relationship is a third positional relationship, determining the magnitude relationship between the current detection data and the first critical data or the second critical data; when the judgment result satisfies a fourth predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount of the current detection data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; when the judgment result does not satisfy the fourth predetermined condition, if the judgment result satisfies a fifth predetermined condition, determining a third predetermined integer multiple of 360° as the correction amount of the current detection data, wherein the third predetermined integer multiple is less than the first predetermined integer multiple and the difference between the third predetermined integer multiple and the first predetermined integer multiple is 1; when the judgment result does not satisfy both the fourth and fifth predetermined conditions, determining the first predetermined integer multiple of 360° as the correction amount of the current detection data. The fourth predetermined condition includes that the current detection data is less than the first cross-border data; and the fifth predetermined condition includes that the current detection data is greater than the second cross-border data.
[0171] Determining the correction amount for the current detection data based on the positional relationship may further include: when the positional relationship is a fourth positional relationship, determining the magnitude relationship between the current detection data and the second critical data; if the determination result satisfies a sixth predetermined condition, determining a first predetermined integer multiple of 360° as the correction amount for the current detection data; and if the determination result does not satisfy the sixth predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data; when the positional relationship is a fifth positional relationship, determining the magnitude relationship between the current detection data and the first critical data; if the determination result satisfies a seventh predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data; and if the determination result does not satisfy the seventh predetermined condition, determining a first predetermined integer multiple of 360° as the correction amount for the current detection data. The sixth predetermined condition includes the current detection data being greater than the second over-limit data; and the seventh predetermined condition includes the current detection data being less than the first over-limit data. The first over-limit data is data detected by the magnetic induction assembly 15 when the movable member 11 is in a first over-limit position. The first over-limit position is a position where the movable member 11 moves in a direction exceeding the first critical position. The first over-limit data differs from the first critical data by a second tolerance. The second over-limit data is data detected by the magnetic induction component 15 when the movable part 11 is in the second over-limit position. The second over-limit position is a position where the movable part moves in a direction exceeding the second critical position. The second over-limit data differs from the second critical data by a third fault tolerance.
[0172] Calculating target calibration data based on initial calibration data and correction amounts thereof may include taking the sum of the initial calibration data and correction amounts thereof as target calibration data. Calculating target detection data based on current detection data and correction amounts thereof may include taking the sum of the current detection data and correction amounts thereof as target calibration data.
[0173] Here Figures 16a to 16gThe calculation of target calibration data and target detection data is explained using as an example. Specifically, Figures 16a to 16c The linearization processing principle under the third position relationship is shown. Figure 16d and Figure 16e The linearization processing principle under the fourth position relationship is shown. Figure 16f and Figure 16g The linearization processing principle under the fifth position relationship is shown.
[0174] exist Figure 16a In the figure, since the first out-of-bounds data N5, the first critical data N1, the median data N3, the second critical data N2, the second out-of-bounds data N6, and the current detection data N4 are in the same detection interval, that is, the first out-of-bounds data N5, the first critical data N1, the median data N3, the second critical data N2, the second out-of-bounds data N6, and the current detection data N4 are already on the same straight line, the current detection data N4 is greater than the first out-of-bounds data N5 and less than the second out-of-bounds data N6, and does not meet the fourth predetermined condition and the fifth predetermined condition. Therefore, the first critical data N1, the median data N3, the second critical data N2, and the current detection data N4 can be superimposed on the same multiple of 360°. For example, assuming that the first critical data is 10° (the first over-boundary data N5 is, for example, 6°, which differs from the first critical data N1 by the second tolerance amount of 4°), the median data is 60°, the second critical data is 110° (the second over-boundary data N6 is, for example, 114°, which differs from the second critical data N2 by the third tolerance amount of 4°), and the current detection data is 8°, then the first target calibration data N1'=10°+K*360°, the third target calibration data N3'=60°+K*360°, the second target calibration data N2'=110°+K*360°, and the target detection data N4'=8°+K*360°, where K is an integer. To simplify the calculation, K can be 0.
[0175] exist Figure 16b In the example, the first cross-border data N5 is in one detection interval, and the first critical data N1, the median data N3, the second critical data N2, and the second cross-border data N6 are all in another detection interval, that is, the first cross-border data N5 and the first critical data N1, the median data N3, the second critical data N2, and the second cross-border data N6 are located on different straight lines. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16b, the current detection data N4 is greater than the first cross-border data N5 and greater than the second cross-border data N6, does not meet the fourth predetermined condition but meets the fifth predetermined condition. Therefore, the current detection data N4 and the first cross-border data N5 are in the same detection interval. Then, assuming that the first critical data N1 is 2° (the first cross-border data N5 is, for example, 357°, which differs from the first critical data N1 by a second tolerance of 5°), the median data is 52°, the second critical data N2 is 102° (the second cross-border data N6 is, for example, 107°, which differs from the second critical data N6 by a third tolerance of 5°), and the current detection data N4 is 358°, then the first target calibration data N1'=2°+(K+1)*360°, the third target calibration data N3'=52°(K+1)*360°, the second target calibration data N2'=102°+(K+1)*360°, and the target detection data N4'=358°+K*360°. Wherein, K is an integer, and to simplify the calculation, K can be 0.
[0176] exist Figure 16c In the figure, the first cross-border data N5, the first critical data N1, the median data N3, and the second critical data N2 are all in the same detection interval, and the second cross-border data N6 is in another detection interval, that is, the second cross-border data N6 and the first critical data N1, the median data N3, the second critical data N2 and the first cross-border data N5 are located on different straight lines. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16c , the current detection data N4 is less than the first cross-border data N5, satisfying the fourth predetermined condition. Therefore, the current detection data N4 and the second cross-border data N6 are in the same detection interval. Then, assuming that the first critical data N1 is 258° (the first cross-border data N5 is, for example, 253°, which differs from the first critical data N1 by a second fault tolerance of 5°), the median data N3 is 308°, the second critical data N2 is 358° (the second cross-border data N6 is, for example, 3°, which differs from the second critical data N2 by a third fault tolerance of 5°), and the current detection data N4 is 2°, then the first target calibration data N1'=258°+K*360°, the third target calibration data N3'=308°+(K+1)*360°, the second target calibration data N2'=358°+K*360°, and the target detection data N4'=2°+(K+1)*360°, where K is an integer. To simplify the calculation, K can be 0.
[0177] exist Figure 16dIn the example, the first cross-border data N5 and the first critical data N1 are in the same detection interval, and the median data N3, the second critical data N2, and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5 and the first critical data N1 are on different straight lines from the median data N3, the second critical data N2, and the second cross-border data N6. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the second cross-border data N6, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16d , the current detection data N4 is greater than the second cross-border data N6, satisfying the sixth predetermined condition. Therefore, the current detection data N4 is in the same detection interval as the first cross-border data N5 and the first critical data N1. Then, assuming that the first critical data N1 is 330° (the first cross-border data N5 is, for example, 325°, which differs from the first critical data N1 by a second fault tolerance of 5°), the median data N3 is 20°, the second critical data N2 is 70° (the second cross-border data N6 is, for example, 75°, which differs from the second critical data N2 by a third fault tolerance of 5°), and the current detection data N4 is 328°, then the first target calibration data N1'=330°+K*360°, the third target calibration data N3'=20°+(K+1)*360°, the second target calibration data N2'=70°+(K+1)*360°, and the target detection data N4'=328°+K*360°. Wherein, K is an integer, and to simplify the calculation, K can be 0.
[0178] exist Figure 16e In the example, the first cross-border data N5 and the first critical data N1 are in the same detection interval, and the median data N3, the second critical data N2, and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5 and the first critical data N1 are on different straight lines from the median data N3, the second critical data N2, and the second cross-border data N6. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the second cross-border data N6, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16e, the current detection data N4 is less than the second over-boundary data N6, and does not meet the sixth predetermined condition. Therefore, the current detection data N4 is in the same detection interval as the second critical data N2 and the second over-boundary data N6. Then, assuming that the first critical data N1 is 330° (the first over-boundary data N5 is, for example, 325°, which differs from the first critical data N1 by a second fault tolerance of 5°), the median data N3 is 20°, the second critical data N2 is 70° (the second over-boundary data N6 is, for example, 75°, which differs from the second critical data N2 by a third fault tolerance of 5°), and the current detection data N4 is 73°, then the first target calibration data N1'=330°+K*360°, the third target calibration data N3'=20°+(K+1)*360°, the second target calibration data N2'=70°+(K+1)*360°, and the target detection data N4'=73°+(K+1)*360°. Wherein, K is an integer, and to simplify the calculation, K can be 0.
[0179] exist Figure 16f In the figure, the first cross-border data N5, the first critical data N1 and the median data N3 are in the same detection interval, and the second critical data N2 and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5, the first critical data N1, the median data N3 and the second critical data N2 and the second cross-border data N6 are on different straight lines. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16f , the current detection data N4 is less than the first cross-border data N5, satisfying the seventh predetermined condition. Therefore, the current detection data N4, the first cross-border data N5, the first critical data N1, and the median data N3 are in the same detection interval. Then, assuming that the first critical data N1 is 300° (the first cross-border data N5 is, for example, 295°, which differs from the first critical data N1 by a second tolerance of 5°), the median data N3 is 350°, the second critical data N2 is 40° (the second cross-border data N6 is, for example, 45°, which differs from the second critical data N2 by a third tolerance of 5°), and the current detection data N4 is 297°, then the first target calibration data N1'=300°+K*360°, the third target calibration data N3'=350°+K*360°, the second target calibration data N2'=40°+(K+1)*360°, and the target detection data N4'=297°+K*360°. Wherein, K is an integer, and to simplify the calculation, K can be 0.
[0180] exist Figure 16gIn the figure, the first cross-border data N5, the first critical data N1 and the median data N3 are in the same detection interval, and the second critical data N2 and the second cross-border data N6 are in another detection interval, that is, the first cross-border data N5, the first critical data N1, the median data N3 and the second critical data N2 and the second cross-border data N6 are on different straight lines. Under this positional relationship, it is necessary to first confirm the detection interval in which the current detection data N4 is located. Specifically, the detection interval in which the current detection data N4 is located can be confirmed by confirming the size relationship between the current detection data N4 and the first cross-border data N5, and then the correction amount of the current detection data N4 can be determined based on the detection interval in which the current detection data N4 is located. Specifically, Figure 16f , the current detection data N4 is greater than the first cross-border data N5, and does not meet the seventh predetermined condition. Therefore, the current detection data N4 is in the same detection interval as the second critical data N2 and the second cross-border data N6. Then, assuming that the first critical data N1 is 300° (the first cross-border data N5 is, for example, 295°, which differs from the first critical data N1 by a second fault tolerance of 5°), the median data N3 is 350°, the second critical data N2 is 40° (the second cross-border data N6 is, for example, 45°, which differs from the second critical data N2 by a third fault tolerance of 5°), and the current detection data N4 is 41°, then the first target calibration data N1'=300°+K*360°, the third target calibration data N3'=350°+K*360°, the second target calibration data N2'=40°+(K+1)*360°, and the target detection data N4'=41°+(K+1)*360°. Wherein, K is an integer, and to simplify the calculation, K can be 0.
[0181] It should be noted that in the above examples, the second fault tolerance and the third fault tolerance are set to be equal. In other embodiments, the second fault tolerance and the third fault tolerance may also be unequal, and this application does not limit this.
[0182] After obtaining the target calibration data, calculating the target output data based on the target detection data and the target calibration data may include: determining whether the target detection data is within a fourth predetermined range; when the target detection data is within the fourth predetermined range, using a predetermined value as the target output data; when the target detection data is less than the minimum value of the fourth predetermined range, using the absolute value of the difference between the target detection data and the minimum value and the ratio of the absolute value of the difference between the first target calibration data and the minimum value as the target output data; when the target detection data is greater than the maximum value of the fourth predetermined range, using the absolute value of the difference between the target detection data and the maximum value and the ratio of the absolute value of the difference between the second target calibration data and the maximum value as the target output data. In this embodiment, by comparing the target detection data with the fourth predetermined range, it can be determined that the target detection data corresponds to Figure 4bThe correct position is determined by determining the middle position (when the control device 10 is a throttle control device 10, the middle position refers to the neutral position), the position between the middle position and the first critical position (when the control device 10 is a throttle control device 10, the position refers to the reverse gear position), and the position between the middle position and the second critical position (when the control device 10 is a throttle control device 10, the position refers to the forward gear position), and then determining the calculation method of the target output data based on the position.
[0183] Specifically, assuming that the control device 10 is a throttle control device 10 , the first target calibration data is 50°, the third target calibration data is 100°, and the second target calibration data is 150°.
[0184] In one example, the fourth predetermined range can be a value, that is, the fourth predetermined range is equal to the third target calibration data 100°. If the target detection data is 100°, that is, the target detection data is equal to the third target calibration data, it indicates that the target detection data corresponds to the neutral position, and the predetermined value 0 can be used as the target output data. If the target detection data is 80°, which is less than the third target calibration data 100°, it indicates that the target detection data corresponds to the reverse position, and the target output data = (80°-50°) / (100°-50°) = 0.6. If the target detection data is 130°, which is greater than the third target calibration data 100°, it indicates that the target detection data corresponds to the forward position, and the target output data = (150°-130°) / (150°-100°) = 0.4.
[0185] In another example, the fourth predetermined range is an interval, for example, the fourth predetermined range is (100°-10°, 100°+10°), that is, (90°, 110°). If the target detection data is 95°, that is, the target detection data is within the fourth predetermined range, it indicates that the target detection data corresponds to the neutral position, and the predetermined value 0 can be used as the target output data. If the target detection data is 80°, which is less than the minimum value of 90° in the fourth predetermined range, it indicates that the target detection data corresponds to the reverse gear position, and the target output data = (90°-80°) / (90°-50°) = 0.25. If the target detection data is 130°, which is greater than the maximum value of 110° in the fourth predetermined range, it indicates that the target detection data corresponds to the forward gear position, and the target output data = (130°-110°) / (150°-110°) = 0.5. In this example, the angle range corresponding to the neutral position is expanded, which can avoid the situation where the control instruction is output due to the user accidentally touching the movable part 11, which is beneficial to improving the user experience.
[0186] In one embodiment, before calculating the target output data based on the target detection data and the target calibration data, the data processing method further includes: judging the size relationship between the target detection data and the first target calibration data and the second target calibration data; when the judgment result satisfies the eighth predetermined condition, executing the step of calculating the target output data based on the target detection data and the target calibration data; when the judgment result does not satisfy the eighth predetermined condition, outputting a prompt message of a parsing error.
[0187] Wherein, as an example, the eighth predetermined condition may include: the target detection data is greater than or equal to the first target calibration data, and less than or equal to the second target calibration data. For example, assume that the first target calibration data is 50° and the second target calibration data is 150°. If the target detection data is 42°, it means that the target detection data is less than the first target calibration data and does not meet the eighth predetermined condition, or if the target detection data is 154°, it means that the target detection data is greater than the second target calibration data and does not meet the eighth predetermined condition. In both cases, the control device 10 outputs a prompt message of a parsing error. If the target detection data is 66°, it means that the target detection data is greater than the first target calibration data and less than the second target calibration data. At this time, the parsing is considered successful and the calculation of the target output data can be performed.
[0188] As another example, the eighth predetermined condition may include: the target detection data is greater than or equal to the fourth target calibration data and less than or equal to the fifth target calibration data; the fourth target calibration data is less than the first target calibration data and differs from the first target calibration data by a fourth error tolerance; and the fifth target calibration data is greater than the second target calibration data and differs from the second target calibration data by a fifth error tolerance. For example, assume that the first target calibration data is 50°, the fourth target calibration data is 36°, the second target calibration data is 150°, and the fifth target calibration data is 154°. If the target detection data is 33°, it indicates that the target detection data is less than the fourth target calibration data. Alternatively, if the target detection data is 158°, it indicates that the target detection data is greater than the fifth target calibration data, and the eighth predetermined condition is not met. In both cases, the control device 10 outputs a prompt message indicating a parsing error. If the target detection data is 66°, it indicates that the target detection data is greater than the first target calibration data and less than the second target calibration data. In this case, the parsing is considered successful, and calculation of the target output data can be performed.
[0189] In this embodiment, by comparing the target detection data and the size relationship with the first target calibration data and the second target calibration data, it can be determined whether the target detection data is within the effective activity range (that is, whether the movable part 11 exceeds the critical position too much). When the target detection data is within the effective activity range, it is determined that the analysis of the actual movement amount is successful. When the target detection data is outside the effective activity range, it is considered that the analysis of the actual movement amount has failed, and a prompt message indicating that the analysis of the actual movement amount is wrong can be output at this time. Further, for the example in which the eighth predetermined condition includes the target detection data being greater than or equal to the fourth target calibration data, and less than or equal to the fifth target calibration data, this example will determine that the analysis is successful when the position of the movable part 11 slightly exceeds the critical position. This method is conducive to improving the user experience.
[0190] In one embodiment, the data processing method further includes: calculating a target power of the power device 20 based on the target output data and the maximum power of the power device 20; and outputting a command with the target power to the power device 20, so that the power device 20 operates at the target power. For example, assuming the target output data is 0.4° and the maximum power of the power device 20 is 1000W, the target power = 0.4 * 1000 = 400W.
[0191] See also Figure 17 The present application also provides a computer-readable storage medium 2000, which stores a computer program. The computer program can be executed by the processor 17 to implement the data processing method described in the above method embodiment. The computer-readable storage medium 2000 can be a phase change memory (PRAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), other types of random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory or other memory technology, a compact disc read-only memory (CD-ROM), a digital versatile disc (DVD) or other optical storage, a magnetic cassette, a magnetic tape, a magnetic disk storage or other magnetic storage device, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
[0192] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0193] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment, or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process. Furthermore, the scope of the embodiments described herein includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which the embodiments of this application pertain.
[0194] The various technical features in the above embodiments can be arbitrarily combined as long as there is no conflict or contradiction between the combinations of features. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of disclosure of this specification.
[0195] Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and are only used to help understand the method and core concept of the present application, and should not be understood as limiting the present application. Those skilled in the art may change, modify, replace, and modify the above embodiments within the scope of the present application. The scope of the present application is defined by the claims and their equivalents.
Claims
1. A data processing method, characterized in that: Applied to a control device, the control device includes a body, a movable part, and a magnetic induction component, the magnetic induction component is used to detect the movement of the movable part relative to the body, the magnetic induction component includes a magnetic part and a sensing chip; the data processing method includes: Obtaining a positional relationship between the magnetic component and the sensing chip; The detection data of the magnetic induction component is processed based on the positional relationship to obtain target data, and the target data is used to assist in generating control instructions for the manipulation device.
2. The data processing method according to claim 1, wherein: The obtaining of the positional relationship of the magnetic component relative to the sensing chip includes: acquiring initial calibration data detected by the magnetic induction assembly when the movable part is in a predetermined position; determining the positional relationship based on the initial calibration data; The processing of the detection data of the magnetic induction component based on the positional relationship to obtain target data includes: processing the initial calibration data based on the positional relationship to obtain target calibration data; The data processing method further includes: The target calibration data is processed to determine a calibration result for the manipulation device.
3. The data processing method according to claim 2, characterized in that: The predetermined position includes a first critical position and a second critical position; the initial calibration data includes: first critical data detected by the magnetic induction component when the movable member is in the first critical position; The magnetic induction component detects second critical data when the movable member is at the second critical position.
4. The data processing method according to claim 3, wherein: The processing of the initial calibration data based on the positional relationship to obtain target calibration data includes: determining a correction amount for the initial calibration data based on the positional relationship; calculating the target calibration data based on the initial calibration data and the correction amount; The target calibration data includes first target calibration data corresponding to the first critical data and second target calibration data corresponding to the second critical data, and the first target calibration data is smaller than the second target calibration data.
5. The data processing method according to claim 4, characterized in that: The magnetic induction component has a plurality of detection intervals arranged in sequence; and determining the positional relationship based on the initial calibration data includes: The positional relationship is determined based on the distribution of the initial calibration data in the detection interval.
6. The data processing method according to claim 5, characterized in that When the first critical data and the second critical data are in the same detection interval, the positional relationship is a first positional relationship; When the first critical data and the second critical data are in different detection intervals, the positional relationship is a second positional relationship.
7. The data processing method according to claim 6, characterized in that: The determining the positional relationship based on the distribution of the initial calibration data in the detection interval includes: determining the distribution based on the size relationship of the initial calibration data; The positional relationship is determined based on the distribution situation.
8. The data processing method according to claim 7, characterized in that: When the first critical data is less than the second critical data, the positional relationship is the first positional relationship; When the first critical data is greater than the second critical data, the positional relationship is the second positional relationship.
9. The data processing method according to claim 6 or 8, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the first positional relationship, a first predetermined integer multiple of 360° is determined as a correction amount of the first critical data and the second critical data.
10. The data processing method according to claim 6 or 8, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship further includes: When the positional relationship is the second positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data; A second predetermined integer multiple of 360° is determined as a correction amount for the second critical data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
11. The data processing method according to claim 4, characterized in that: The calculating the target calibration data based on the initial calibration data and the correction amount includes: The sum of the initial calibration data and the correction amount is determined as the target calibration data.
12. The data processing method according to claim 4, characterized in that: The processing of the target calibration data to determine a calibration result of the control device includes: determining whether an absolute value of a difference between the first target calibration data and the second target calibration data is within a first predetermined range; When the absolute value is within the first predetermined range, determining that the magnetic induction component is calibrated successfully; When the absolute value is outside the first predetermined range, it is determined that the calibration of the magnetic induction component has failed.
13. The data processing method according to claim 12, characterized in that: The first predetermined range is determined according to the effective movable stroke of the movable member, and the effective movable stroke is the movable stroke of the movable member between the first critical position and the second critical position; or The first predetermined range is determined according to the effective movable stroke of the movable member and a first fault tolerance, wherein the effective movable stroke is the movable stroke of the movable member between the first critical position and the second critical position.
14. The data processing method according to claim 2, characterized in that: The predetermined positions include a first critical position, a second critical position, and a middle position, wherein the middle position is located between the first critical position and the second critical position; The initial calibration data includes: first critical data detected by the magnetic induction component when the movable member is in the first critical position; second critical data detected by the magnetic induction component when the movable member is in the second critical position; When the movable part is in the neutral position, the magnetic induction component detects the neutral data.
15. The data processing method according to claim 14, characterized in that: The processing of the initial calibration data based on the positional relationship to obtain target calibration data includes: determining a correction amount for the initial calibration data based on the positional relationship; calculating the target calibration data based on the initial calibration data and the correction amount; In which, the target calibration data includes first target calibration data corresponding to the first critical data, second target calibration data corresponding to the second critical data, and third target calibration data corresponding to the median data, the first target calibration data is smaller than the third target calibration data, and the third target calibration data is smaller than the second target calibration data.
16. The data processing method according to claim 15, characterized in that: The magnetic induction component has a plurality of detection intervals arranged in sequence; and determining the positional relationship based on the initial calibration data includes: The positional relationship is determined based on the distribution of the initial calibration data in the detection interval.
17. The data processing method according to claim 16, characterized in that: When the first critical data, the median data and the second critical data are in the same detection interval, the positional relationship is a third positional relationship; When the median data and the second critical data are in the same detection interval, and the first critical data is in the previous detection interval of the detection interval, the positional relationship is a fourth positional relationship; When the first critical data and the median data are in the same detection interval, and the second critical data is in a detection interval subsequent to the detection interval, the positional relationship is a fifth positional relationship.
18. The data processing method according to claim 17, characterized in that: The determining the positional relationship based on the distribution of the initial calibration data in the detection interval includes: determining the distribution based on the size relationship of the initial calibration data; The positional relationship is determined based on the distribution situation.
19. The data processing method according to claim 18, characterized in that: When the first critical data is smaller than the median data, and the median data is smaller than the second critical data, the positional relationship is the third positional relationship; When the first critical data is greater than the median data and the median data is less than the second critical data, the positional relationship is the fourth positional relationship; When the first critical data is smaller than the median data and the median data is larger than the second critical data, the positional relationship is the fifth positional relationship.
20. The data processing method according to claim 17 or 19, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the third positional relationship, a first predetermined integer multiple of 360° is determined as a correction amount for the first critical data, the second critical data, and the median data.
21. The data processing method according to claim 17 or 19, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship further includes: When the positional relationship is the fourth positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data; A second predetermined integer multiple of 360° is determined as a correction amount for the second critical data and the median data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
22. The data processing method according to claim 17 or 19, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship further includes: When the positional relationship is the fifth positional relationship, determining a first predetermined integer multiple of 360° as a first correction amount for the first critical data and the median data; A second predetermined integer multiple of 360° is determined as a first correction amount of the second critical data, where the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1.
23. The data processing method according to claim 15, characterized in that: The calculating the target calibration data based on the initial calibration data and the correction amount includes: The sum of the initial calibration data and the correction amount is determined as the target calibration data.
24. The data processing method according to claim 15, characterized in that: The processing of the target calibration data to determine a calibration result of the control device includes: determining whether an absolute value of a difference between the first target calibration data and the third target calibration data is within a second predetermined range; determining whether an absolute value of a difference between the second target calibration data and the third target calibration data is within a third predetermined range; When the absolute value of the difference between the first target calibration data and the third target calibration data is within the second predetermined range, and the absolute value of the difference between the second target calibration data and the third target calibration data is within the third predetermined range, it is determined that the magnetic induction component is calibrated successfully; Otherwise, it is determined that the calibration of the magnetic induction component has failed.
25. The data processing method according to claim 24, characterized in that: The second predetermined range and the third predetermined range are determined according to the effective movable range of the movable member, and the effective movable range is the movable range of the movable member between the first critical position and the second critical position; or The second predetermined range and the third predetermined range are determined according to the effective movable stroke of the movable member and the first fault tolerance. The effective movable stroke is the movable stroke of the movable member between the first critical position and the second critical position.
26. The data processing method according to claim 2, characterized in that: The control device further includes a memory, and the data processing method further includes: detecting whether the initial calibration data is stored in the memory; The obtaining of initial calibration data detected by the magnetic induction component when the movable part is in a predetermined position includes: When the initial calibration data is stored in the memory, the initial calibration data is read from the memory.
27. The data processing method according to claim 26, characterized in that: The obtaining of initial calibration data detected by the magnetic induction component when the movable part is in a predetermined position further includes: When the initial calibration data is not stored in the memory, generating calibration prompt information; The initial calibration data detected by the magnetic induction component when the user manipulates the movable part to move to the predetermined position is acquired.
28. The data processing method according to claim 2, wherein: The action of calibrating the magnetic induction component is performed when the control device is powered on for the first time.
29. The data processing method according to claim 28, characterized in that: Performing an action of calibrating the magnetic induction component once every predetermined time interval; and / or The action of calibrating the magnetic induction component is performed after the control device is maintained.
30. The data processing method according to claim 1, wherein: The data processing method further includes: acquiring current detection data detected by the magnetic induction component when the movable part is at a current position and initial calibration data detected when the movable part is at a predetermined position; The processing of the detection data of the magnetic induction component based on the positional relationship to obtain target data includes: The current detection data of the magnetic induction component is processed based on the positional relationship and the initial calibration data to obtain target output data.
31. The data processing method according to claim 30, characterized in that: The predetermined position includes a first critical position and a second critical position; the initial calibration data includes: first critical data detected by the magnetic induction component when the movable member is in the first critical position; The magnetic induction component detects second critical data when the movable member is at the second critical position.
32. The data processing method according to claim 31, characterized in that: The processing of the current detection data of the magnetic induction component based on the positional relationship and the initial calibration data to obtain target output data includes: Acquiring target calibration data obtained after correction of the initial calibration data under the positional relationship; Acquire target detection data obtained after correction of the current detection data under the position relationship; calculating the target output data based on the target detection data and the target calibration data; The target calibration data includes first target calibration data corresponding to the first critical data and second target calibration data corresponding to the second critical data, and the first target calibration data is smaller than the second target calibration data.
33. The data processing method according to claim 32, characterized in that: The position relationship and the target calibration data are obtained during the calibration phase of the magnetic induction component and stored in the memory of the control device. Acquiring the position relationship and the target calibration data includes reading the position relationship and the target calibration data from the memory.
34. The data processing method according to claim 32, characterized in that: The acquiring target calibration data obtained after correction of the initial calibration data under the positional relationship includes: determining a correction amount for the initial calibration data based on the positional relationship; Calculating the target calibration data based on the initial calibration data and the correction amount thereof; The acquiring target detection data obtained after correction of the current detection data under the positional relationship includes: determining a correction amount for the current detection data based on the positional relationship; The target detection data is calculated based on the current detection data and its correction amount.
35. The data processing method according to claim 34, characterized in that: The obtaining of the positional relationship of the magnetic component relative to the sensing chip includes: The positional relationship is determined based on the initial calibration data.
36. The data processing method according to claim 35, characterized in that: The magnetic induction component has a plurality of detection intervals arranged in sequence; and determining the positional relationship based on the initial calibration data includes: The positional relationship is determined based on the distribution of the initial calibration data in the detection interval.
37. The data processing method according to claim 36, characterized in that: When the first critical data and the second critical data are in the same detection interval, the positional relationship is a first positional relationship; When the first critical data and the second critical data are in different detection intervals, the positional relationship is a second positional relationship.
38. The data processing method according to claim 37, characterized in that: The determining the positional relationship based on the distribution of the initial calibration data in the detection interval includes: determining the distribution based on the size relationship of the initial calibration data; The positional relationship is determined based on the distribution situation.
39. The data processing method according to claim 38, characterized in that: When the first critical data is less than the second critical data, the positional relationship is the first positional relationship; When the first critical data is greater than the second critical data, the positional relationship is the second positional relationship.
40. The data processing method according to claim 37 or 39, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the first positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data and the second critical data; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the first positional relationship, a first predetermined integer multiple of 360° is determined as a correction amount for the current detection data.
41. The data processing method according to claim 37 or 39, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the first positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data and the second critical data; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the first positional relationship, determining a magnitude relationship between the current detection data and the first critical data or the second critical data; When the judgment result satisfies the first predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data, where the second predetermined integer multiple is greater than the first predetermined integer multiple and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; When the judgment result does not satisfy the first predetermined condition, if the judgment result satisfies the second predetermined condition, determining a third predetermined integer multiple of 360° as the correction amount for the current detection data, the third predetermined integer multiple being smaller than the first predetermined integer multiple and having a difference of 1 from the first predetermined integer multiple; If the judgment result does not meet the second predetermined condition, the first predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
42. The data processing method according to claim 41, characterized in that: The first predetermined condition includes the current detection data being less than a first over-limit data, the first over-limit data being data detected by the magnetic induction component when the movable member is in a first over-limit position, the first over-limit position being a position of the movable member moving in a direction exceeding the first critical position, and the first over-limit data differing from the first critical data by a second fault tolerance; The second predetermined condition includes that the current detection data is greater than the second over-boundary data, the second over-boundary data is the data detected by the magnetic induction component when the movable part is in the second over-boundary position, the second over-boundary position is the position where the movable part moves in the direction exceeding the second critical position, and the second over-boundary data differs from the second critical data by a third tolerance.
43. The data processing method according to claim 37 or 39, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the second positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data; Determining a second predetermined integer multiple of 360° as a correction amount for the second critical data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the second positional relationship, determining a magnitude relationship between the current detection data and the first critical data; When the judgment result satisfies the third predetermined condition, determining the second predetermined integer multiple of 360° as the correction amount of the current detection data; When the judgment result does not satisfy the third predetermined condition, a first predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
44. The data processing method according to claim 43, characterized in that: The third predetermined condition includes that the current detection data is less than the first critical data; or The third predetermined condition includes that the current detection data is less than the first over-boundary data, the first over-boundary data is the data detected by the magnetic induction component when the movable part is in the first over-boundary position, the first over-boundary position is the position where the movable part moves in the direction exceeding the first critical position, and the first over-boundary data differs from the first critical data by a second tolerance.
45. The data processing method according to claim 34, characterized in that: The calculating the target calibration data based on the initial calibration data and the correction amount thereof includes: Taking the sum of the initial calibration data and the correction amount thereof as the target calibration data; The calculating the target detection data based on the current detection data and the correction amount thereof includes: The sum of the current detection data and the correction amount thereof is used as the target calibration data.
46. The data processing method according to claim 32, characterized in that: The calculating the target output data based on the target detection data and the target calibration data comprises: The absolute value of the difference between the target detection data and the first target calibration data is used as the target output data.
47. The data processing method according to claim 32, characterized in that: The data processing method further includes, before calculating the target output data based on the target detection data and the target calibration data: determining whether an absolute value of a difference between the target detection data and the first target calibration data is greater than a predetermined threshold; When the absolute value is less than or equal to the predetermined threshold, taking the absolute value of the difference between the target detection data and the first target calibration data as the target output data; When the absolute value is greater than the predetermined threshold, a prompt message indicating a parsing error is output.
48. The data processing method according to claim 30, characterized in that: The predetermined positions include a first critical position, a second critical position and a middle position, and the middle position is located between the first critical position and the middle position; The initial calibration data includes: first critical data detected by the magnetic induction component when the movable member is in the first critical position; second critical data detected by the magnetic induction component when the movable member is in the second critical position; When the movable part is in the neutral position, the neutral data detected by the magnetic induction component.
49. The data processing method according to claim 48, characterized in that: The processing of the current detection data of the magnetic induction component based on the positional relationship and the initial calibration data to obtain target output data includes: Acquiring target calibration data obtained after correction of the initial calibration data under the positional relationship; Acquire target detection data obtained after correction of the current detection data under the position relationship; calculating the target output data based on the target detection data and the target calibration data; In which, the target calibration data includes first target calibration data corresponding to the first critical data, second target calibration data corresponding to the second critical data, and third target calibration data corresponding to the median data, the first target calibration data is smaller than the third target calibration data, and the third target calibration data is smaller than the second target calibration data.
50. The data processing method according to claim 49, characterized in that: The position relationship and the target calibration data are obtained during the calibration phase of the magnetic induction component and stored in the memory of the control device. Acquiring the position relationship and the target calibration data includes reading the position relationship and the target calibration data from the memory.
51. The data processing method according to claim 49, characterized in that: The acquiring target calibration data obtained after correction of the initial calibration data under the positional relationship includes: determining a correction amount for the initial calibration data based on the positional relationship; Calculating the target calibration data based on the initial calibration data and the correction amount thereof; The acquiring target detection data obtained after correction of the current detection data under the positional relationship includes: determining a correction amount for the current detection data based on the positional relationship; The target detection data is calculated based on the current detection data and its correction amount.
52. The data processing method according to claim 51, characterized in that: The obtaining of the positional relationship of the magnetic component relative to the sensing chip includes: The positional relationship is determined based on the initial calibration data.
53. The data processing method according to claim 52, characterized in that: The magnetic induction component has a plurality of detection intervals arranged in sequence; and determining the positional relationship based on the initial calibration data includes: The positional relationship is determined based on the distribution of the initial calibration data in the detection interval.
54. The data processing method according to claim 53, characterized in that: When the first critical data, the median data, and the second critical data are in the same detection interval, the positional relationship is a third positional relationship; When the median data and the second critical data are in the same detection interval, and the first critical data is in a detection interval before the detection interval, the positional relationship is a fourth positional relationship; When the first critical data and the median data are in the same detection interval, and the second critical data is in a detection interval subsequent to the detection interval, the positional relationship is a fifth positional relationship.
55. The data processing method according to claim 54, characterized in that: The determining the positional relationship based on the distribution of the initial calibration data in the detection interval includes: determining the distribution based on the size relationship of the initial calibration data; The positional relationship is determined based on the distribution situation.
56. The data processing method according to claim 55, characterized in that: When the first critical data is smaller than the median data, and the median data is smaller than the second critical data, the positional relationship is the third positional relationship; When the first critical data is greater than the median data and the median data is less than the second critical data, the positional relationship is the fourth positional relationship; When the first critical data is greater than the median data and the median data is less than the second critical data, the positional relationship is the fifth positional relationship.
57. The data processing method according to claim 54 or 56, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the third positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data, the median data, and the second critical data; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the third positional relationship, a first predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
58. The data processing method according to claim 54 or 56, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the third positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data, the median data, and the second critical data; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the third positional relationship, determining a magnitude relationship between the current detection data and the first critical data or the second critical data; When the judgment result satisfies the fourth predetermined condition, determining a second predetermined integer multiple of 360° as the correction amount for the current detection data, where the second predetermined integer multiple is greater than the first predetermined integer multiple and the difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; When the judgment result does not satisfy the fourth predetermined condition, if the judgment result satisfies the fifth predetermined condition, determining a third predetermined integer multiple of 360° as the correction amount for the current detection data, the third predetermined integer multiple being smaller than the first predetermined integer multiple and having a difference of 1 from the first predetermined integer multiple; If the judgment result does not meet the fifth predetermined condition, the first predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
59. The data processing method according to claim 58, characterized in that: The fourth predetermined condition includes the current detection data being less than a first over-limit data, the first over-limit data being data detected by the magnetic induction component when the movable member is in a first over-limit position, the first over-limit position being a position of the movable member moving in a direction exceeding the first critical position, and the first over-limit data differing from the first critical data by a second error tolerance; The fifth predetermined condition includes that the current detection data is greater than the second over-boundary data, the second over-boundary data is the data detected by the magnetic induction component when the movable part is in the second over-boundary position, the second over-boundary position is the position where the movable part moves in the direction exceeding the second critical position, and the second over-boundary data differs from the second critical data by a third tolerance.
60. The data processing method according to claim 54 or 56, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the fourth positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data; Determining a second predetermined integer multiple of 360° as a correction amount for the median data and the second critical data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the fourth positional relationship, determining a magnitude relationship between the current detection data and the second critical data; When the judgment result satisfies a sixth predetermined condition, determining a first predetermined integer multiple of 360° as a correction amount for the current detection data; When the judgment result does not satisfy the sixth predetermined condition, the second predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
61. The data processing method according to claim 60, characterized in that: The sixth predetermined condition includes that the current detection data is greater than the second critical data; or The sixth predetermined condition includes that the current detection data is greater than the second over-boundary data, the second over-boundary data is the data detected by the magnetic induction component when the movable part is in the second over-boundary position, the second over-boundary position is the position where the movable part moves in the direction exceeding the second critical position, and the second over-boundary data differs from the second critical data by a third tolerance.
62. The data processing method according to claim 54 or 56, characterized in that: The determining of the correction amount of the initial calibration data based on the positional relationship includes: When the positional relationship is the fifth positional relationship, determining a first predetermined integer multiple of 360° as a correction amount for the first critical data and the median data; Determining a second predetermined integer multiple of 360° as a correction amount for the second critical data, wherein the second predetermined integer multiple is greater than the first predetermined integer multiple and a difference between the second predetermined integer multiple and the first predetermined integer multiple is 1; The determining the correction amount of the current detection data based on the positional relationship includes: When the positional relationship is the fifth positional relationship, determining a magnitude relationship between the current detection data and the first critical data; When the judgment result satisfies the seventh predetermined condition, determining the second predetermined integer multiple of 360° as the correction amount of the current detection data; When the judgment result does not satisfy the seventh predetermined condition, a first predetermined integer multiple of 360° is determined as the correction amount of the current detection data.
63. The data processing method according to claim 62, characterized in that: The seventh predetermined condition includes that the current detection data is less than the first critical data; or The seventh predetermined condition includes that the current detection data is less than the first over-boundary data, the first over-boundary data is the data detected by the magnetic induction component when the movable part is in the first over-boundary position, the first over-boundary position is the position where the movable part moves in the direction exceeding the first critical position, and the first over-boundary data differs from the first critical data by a second tolerance.
64. The data processing method according to claim 51, characterized in that: The calculating the target calibration data based on the initial calibration data and the correction amount thereof includes: Taking the sum of the initial calibration data and the correction amount thereof as the target calibration data; The calculating the target detection data based on the current detection data and the correction amount thereof includes: The sum of the current detection data and the correction amount thereof is used as the target detection data.
65. The data processing method according to claim 49, characterized in that: The calculating the target output data based on the target detection data and the target calibration data comprises: determining whether the target detection data is within a fourth predetermined range; When the target detection data is within the fourth predetermined range, using a predetermined value as the target output data; When the target detection data is less than a minimum value of the fourth predetermined range, taking a ratio of an absolute value of a difference between the target detection data and the minimum value to an absolute value of a difference between the first target calibration data and the minimum value as the target output data; When the target detection data is greater than a maximum value of the fourth predetermined range, a ratio of an absolute value of a difference between the target detection data and the maximum value to an absolute value of a difference between the second target calibration data and the maximum value is used as the target output data.
66. The data processing method according to claim 31 or 48, characterized in that: The control device is used to control the operation of the power equipment, and the data processing method further includes: calculating a target power of the power device based on the target output data and the maximum power of the power device; A command with the target power is output to the power device so that the power device operates at the target power.
67. The data processing method according to claim 49, characterized in that: The data processing method further includes, before calculating the target output data based on the target detection data and the target calibration data: Determining a magnitude relationship between the target detection data and the first target calibration data and the second target calibration data; When the determination result satisfies an eighth predetermined condition, executing a step of calculating the target output data based on the target detection data and the target calibration data; When the judgment result does not meet the eighth predetermined condition, a prompt message indicating a parsing error is output.
68. The data processing method according to claim 67, characterized in that: The eighth predetermined condition includes: The target detection data is greater than or equal to the first target calibration data, and less than or equal to the second target calibration data; or The target detection data is greater than or equal to the fourth target calibration data and less than or equal to the fifth target calibration data. The fourth target calibration data is less than the first target calibration data and differs from the first target calibration data by a fourth tolerance. The fifth target calibration data is greater than the second target calibration data and differs from the second target calibration data by a fifth tolerance.
69. A control device, characterized in that: The control device includes a processor and a magnetic induction component, the processor is connected to the magnetic induction component, and the processor is used to execute the data processing method described in any one of claims 1-68.
70. A power system, characterized in that: The power system includes a power device and a control device as described in claim 69, and the control device is used to control the operation of the power device.
71. A movable platform, characterized in that The movable platform includes a carrier and the power system according to claim 70, and the power system is arranged on the carrier.
72. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 68 is implemented.
Citation Information
Patent Citations
Rotation angle sensing device
CN107179094A
Off-axis magnetic field angle sensors
CN107389100A
Hall sensor, handle, and control method of Hall sensor
CN112284423A
Calibration detection method, attitude adjustment device, propeller, equipment and storage medium
CN116848377A
Position detection device
JP2024072782A