Electrical calibration method and device, electronic equipment and electrical control system
By automatically calibrating the magnetic angle sensor of the variable nozzle, the problem of feedback voltage deviation of the magnetic angle sensor is solved, which improves product consistency and reduces the difficulty of customer calibration.
Patent Information
- Application Number
- CN202310968070.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
The magnetic angle sensor in the variable nozzle is prone to large deviations when the voltage is feedbacked, which affects the consistency of the product and increases the difficulty of customer system calibration.
By obtaining the actual angle range of the adjustment device and the reference linear proportion coefficient, expected voltage and actual voltage of each equal segment of the magnetic angle sensor, the actual linear proportion coefficient of each equal segment are determined and updated to achieve automatic calibration of the variable nozzle .
It improves the consistency of variable nozzle products, reduces the difficulty of customer system calibration, and ensures the consistency of the actual voltage deviation feedback within the full angle range of the adjustment device.
Smart Images

Figure CN119425998A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical control technology, and in particular to an electrical calibration method, device, electronic equipment and electrical control system. Background Art
[0002] At present, affected by factors such as device size, magnetization parameters and magnetic field environment, the magnetic angle sensor in the variable nozzle is prone to large deviations in feedback voltage, which affects the consistency of the variable nozzle product and increases the difficulty of customer system calibration. Summary of the invention
[0003] In view of this, the present application is committed to providing an electrical calibration method, device, electronic equipment and electrical control system, which can realize automatic calibration of variable nozzles, improve the consistency of variable nozzle products, and reduce the difficulty of customer system calibration.
[0004] A first aspect of the present application provides an electrical calibration method, which is applied to an electrical control system, wherein the electrical control system includes a variable nozzle, the variable nozzle is configured with a magnetic angle sensor and an adjustment device, and the magnetic angle sensor is used to measure the angle of the adjustment device; the method includes:
[0005] If it is detected that the magnetic angle sensor needs to be calibrated, the actual angle range of the adjustment device is obtained; the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the adjustment device, and the angle range includes a plurality of equally divided points, and the interval between two adjacent equally divided points is an equally divided segment;
[0006] Obtaining the reference linear proportionality coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point, and the actual voltage of the corresponding feedback;
[0007] According to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the corresponding feedback actual voltage, the actual linear proportional coefficient of each equally divided segment is determined, and the reference linear proportional coefficient of each equally divided segment is updated to the corresponding actual linear proportional coefficient.
[0008] Optionally, it also includes:
[0009] Obtaining a rated angle range and an actual angle range of the adjusting device;
[0010] Detecting whether the actual angle range satisfies a preset calibration condition; the preset calibration condition includes: a deviation between a minimum value of the rated angle range and a minimum value of the actual angle range exceeds a first preset deviation, or a deviation between a maximum value of the rated angle range and a maximum value of the actual angle range exceeds a second preset deviation;
[0011] If the actual angle range satisfies the preset calibration condition, it is determined that the magnetic angle sensor needs to be calibrated; otherwise, the magnetic angle sensor does not need to be calibrated.
[0012] Optionally, obtaining the rated angle range and the actual angle range of the adjusting device includes:
[0013] Obtaining a rated angle range of the adjustment device;
[0014] The adjusting device is adjusted to a minimum opening, and the actual minimum angle of the adjusting device is obtained through the magnetic angle sensor; and the adjusting device is adjusted to a maximum opening, and the actual maximum angle of the adjusting device is obtained through the magnetic angle sensor;
[0015] The actual angle range is determined according to the actual minimum angle and the actual maximum angle.
[0016] Optionally, the expression of the actual linear proportionality coefficient includes:
[0017]
[0018] Among them, K n V is the actual linear proportional coefficient of the nth segment of the magnetic angle sensor; n V is the actual voltage fed back from the nth equally divided point of the magnetic angle sensor; nm K is the expected voltage at the nth equally divided point of the magnetic angle sensor; nref θ is the reference linear proportionality coefficient of the nth segment of the magnetic angle sensor; n is the correction coefficient of the nth equal segment of the magnetic angle sensor;
[0019] Determining the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point, and the corresponding feedback actual voltage includes:
[0020] Determining the correction coefficients of each equally divided segment of the magnetic angle sensor according to the actual angle range;
[0021] Based on the expression of the actual linear proportional coefficient, the actual linear proportional coefficient of each equally divided segment is determined according to the reference linear proportional coefficient of each equally divided segment, the correction coefficient, the expected voltage of each equally divided point and the actual voltage corresponding to the feedback.
[0022] Optionally, it also includes:
[0023] obtaining a driving current of the variable nozzle;
[0024] Determine an error signal according to the preset current and the drive current;
[0025] Based on the PID control method, a control signal is determined according to the error signal and sent to the variable nozzle so that the driving current tends to the preset current.
[0026] A second aspect of the present application provides an electrical calibration device, comprising:
[0027] A first acquisition module is used to acquire an actual angle range of the adjustment device if it is detected that the magnetic angle sensor needs to be calibrated; the actual angle range includes an angle range corresponding to a minimum opening to a maximum opening of the adjustment device, and the angle range includes a plurality of equally divided points, and an equally divided segment is formed between two adjacent equally divided points;
[0028] A second acquisition module is used to acquire the reference linear proportional coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point, and the actual voltage of the corresponding feedback;
[0029] A determination and update module is used to determine the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the baseline linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the corresponding feedback actual voltage, and update the baseline linear proportional coefficient of each equally divided segment to the corresponding actual linear proportional coefficient.
[0030] Optionally, a regulating module is also included;
[0031] The regulating module is used to: obtain the current current of the variable nozzle actuator; determine the error signal according to the preset current and the current current; based on the PID control method, determine the control signal according to the error signal and send it to the variable nozzle actuator to make the current current tend to the preset current.
[0032] A third aspect of the present application provides an electronic device, including:
[0033] A processor, and a memory connected to the processor;
[0034] The memory is used to store computer programs;
[0035] The processor is used to call and execute the computer program in the memory to perform the electrical calibration method as described in the first aspect of the present application.
[0036] A fourth aspect of the present application is an electrical control system, comprising a variable nozzle and the electronic device as described in the first aspect of the present application;
[0037] The variable nozzle is equipped with a magnetic angle sensor and an adjusting device; the magnetic angle sensor is used to measure the angle of the adjusting device.
[0038] The fifth aspect of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the various steps of the electrical calibration method described in the first aspect of the present application are implemented.
[0039] In the scheme of the present application, if it is detected that the magnetic angle sensor needs to be calibrated, the actual angle range of the regulating device is obtained, and the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the regulating device, and the angle range includes multiple equal points, and the interval between two adjacent equal points is an equal segment, that is, the actual angle range of the regulating device is divided into multiple equal parts; then the reference linear proportional coefficient of each equal segment of the magnetic angle sensor, the expected voltage of each equal point, and the actual voltage of the corresponding feedback are obtained; according to the actual angle range, the reference linear proportional coefficient of each equal segment, the expected voltage of each equal point, and the actual voltage of the corresponding feedback, the actual linear proportional coefficient of each equal segment can be determined, so that the reference linear proportional coefficient of each equal segment is updated to the corresponding actual linear proportional coefficient. In this way, by dividing the actual angle range into multiple equal parts, and calibrating and updating the linear proportional coefficient of each equal segment, the consistency of the deviation of the actual voltage fed back within the actual angle range of the regulating device is ensured, and the full angle calibration of the regulating device is realized. While ensuring the calibration accuracy, the consistency of the variable nozzle product is improved, and the difficulty of customer system calibration is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 It is a flowchart of an electrical calibration method provided by an embodiment of the present application.
[0042] Figure 2 It is a structural schematic diagram of an electrical calibration device provided in one embodiment of the present application.
[0043] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] An embodiment of the present application provides an electrical calibration method, which can be applied to an electrical control system. The electrical control system includes at least a variable nozzle, and the variable nozzle is configured with a magnetic angle sensor and an adjustment device. The magnetic angle sensor is used to measure the angle of the adjustment device.
[0046] It should be understood that the adjustment device refers to an accessory on the variable nozzle with an angle adjustment function. For example, it can be a nozzle ring assembly with an angle adjustment function, or a regulating valve with an angle adjustment function, or other components with an angle adjustment function. No specific limitation is made here.
[0047] Specifically, Figure 1 As shown, the electrical calibration method includes at least the following steps:
[0048] S101. If it is detected that the magnetic angle sensor needs to be calibrated, the actual angle range of the adjustment device is obtained; the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the adjustment device, and the angle range includes multiple equally divided points, and the interval between two adjacent equally divided points is an equally divided segment.
[0049] During implementation, the actual angle range of the adjusting device can be acquired through the magnetic angle sensor, and the angle range is the range between the angle when the adjusting device is at its minimum opening and the angle when the adjusting device is at its maximum opening.
[0050] In order to realize the calibration of each angle, n equally divided points can be arranged in the actual angle range, and an equally divided segment is formed between two adjacent equally divided points, and n is a positive integer greater than or equal to 2. By dividing the actual angle range into equally divided segments, a basis can be provided for the calibration of the adjustment device within the full angle range.
[0051] S102, obtaining the reference linear proportionality coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point, and the corresponding actual voltage fed back.
[0052] Each magnetic angle sensor is equipped with a reference linear proportional coefficient and an expected voltage. The reference linear proportional coefficient of each equally divided segment is the linear proportional coefficient of the magnetic angle sensor when detecting the angle in each equally divided segment under ideal conditions, and the expected voltage of each equally divided point is the voltage fed back when the detection angle of the magnetic angle sensor is at each equally divided point under ideal conditions.
[0053] The reference linear proportional coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point and the corresponding actual voltage of the feedback are obtained, that is, the ideal value and the actual value are obtained, which provides data support for subsequent calibration.
[0054] S103, determining the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the corresponding actual voltage fed back, and updating the reference linear proportional coefficient of each equally divided segment to the corresponding actual linear proportional coefficient.
[0055] In this embodiment, if it is detected that the magnetic angle sensor needs to be calibrated, the actual angle range of the regulating device is obtained, and the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the regulating device, and the angle range includes multiple equal points, and the interval between two adjacent equal points is an equal segment, that is, the actual angle range of the regulating device is divided into multiple equal parts; then the reference linear proportional coefficient of each equal segment of the magnetic angle sensor, the expected voltage of each equal point, and the actual voltage of the corresponding feedback are obtained; according to the actual angle range, the reference linear proportional coefficient of each equal segment, the expected voltage of each equal point, and the actual voltage of the corresponding feedback, the actual linear proportional coefficient of each equal segment can be determined, so that the reference linear proportional coefficient of each equal segment is updated to the corresponding actual linear proportional coefficient. In this way, by dividing the actual angle range into multiple equal parts, and calibrating and updating the linear proportional coefficient of each equal segment, the consistency of the deviation of the actual voltage fed back within the actual angle range of the regulating device is ensured, and the full angle calibration of the regulating device is realized. While ensuring the calibration accuracy, the consistency of the variable nozzle product is improved, and the difficulty of customer system calibration is reduced.
[0056] In some embodiments, the electrical calibration method may further include: obtaining the rated angle range and actual angle range of the adjusting device; detecting whether the actual angle range meets preset calibration conditions; the preset calibration conditions include: the deviation between the minimum value of the rated angle range and the minimum value of the actual angle range exceeds a first preset deviation, or the deviation between the maximum value of the rated angle range and the maximum value of the actual angle range exceeds a second preset deviation; if the actual angle range meets the preset calibration conditions, it is determined that the magnetic angle sensor needs to be calibrated; otherwise, the magnetic angle sensor does not need to be calibrated.
[0057] In order to accurately determine whether the magnetic angle sensor needs to be calibrated, a first preset deviation and a second preset deviation can be pre-set, wherein the first preset deviation and the second preset deviation can be the same or different. Based on this, after obtaining the actual angle range of the adjustment device, it can be detected whether the deviation between the minimum value of the actual angle range and the minimum value of the rated angle range exceeds the first preset deviation. If it exceeds the first preset deviation, it means that the minimum value of the actual angle range deviates from the minimum value of the rated angle range, that is, the actual angle deviates from the rated angle, and the magnetic angle sensor needs to be calibrated. Similarly, it is also necessary to detect whether the deviation between the maximum value of the actual angle range and the maximum value of the rated angle range exceeds the second preset deviation. If it exceeds the second preset deviation, it means that the maximum value of the actual angle range deviates from the maximum value of the rated angle range, that is, the actual angle deviates from the rated angle, and the magnetic angle sensor needs to be calibrated. In this way, once it is detected that the actual angle range meets the preset calibration conditions, it means that there is a more serious angle deviation, and it is determined that the magnetic angle sensor needs to be calibrated.
[0058] Among them, the first preset deviation and the second preset deviation can be set according to actual needs and are not limited here.
[0059] In some embodiments, when obtaining the rated angle range and actual angle range of the adjusting device, the rated angle range of the adjusting device can be obtained; the adjusting device is adjusted to the minimum opening, and the actual minimum angle of the adjusting device is obtained through the magnetic angle sensor; and the adjusting device is adjusted to the maximum opening, and the actual maximum angle of the adjusting device is obtained through the magnetic angle sensor; the actual angle range is determined based on the actual minimum angle and the actual maximum angle.
[0060] It should be understood that the variable nozzle is configured with a rated angle range of the adjustment device, and when obtaining the rated angle range of the adjustment device, the rated angle range can be directly retrieved.
[0061] In some embodiments, the expression of the actual linear proportionality coefficient includes:
[0062]
[0063] Among them, K n is the actual linear proportional coefficient of the nth segment of the magnetic angle sensor; V n V is the actual voltage fed back from the nth equally divided point of the magnetic angle sensor; nm K is the expected voltage at the nth equally divided point of the magnetic angle sensor; nref is the reference linear proportional coefficient of the nth segment of the magnetic angle sensor; θ n is the correction coefficient of the nth segment of the magnetic angle sensor.
[0064] Correspondingly, when determining the actual linear proportional coefficient of each equally divided segment based on the actual angle range, the baseline linear proportional coefficient of each equally divided segment, the expected voltage at each equally divided point and the actual voltage corresponding to the feedback, the correction coefficient of each equally divided segment of the magnetic angle sensor can be determined based on the actual angle range; and then based on the expression of the above-mentioned actual linear proportional coefficient, the actual linear proportional coefficient of each equally divided segment can be determined based on the baseline linear proportional coefficient of each equally divided segment, the correction coefficient, the expected voltage at each equally divided point and the actual voltage corresponding to the feedback.
[0065] Among them, the expression of the correction coefficient of the nth equal segment includes:
[0066]
[0067] Among them, θ σ is the maximum value of the actual angle range; θ zero is the minimum value of the actual angle range, and n is the value of the equal segment.
[0068] In this way, when determining the correction coefficient of each equally divided segment of the magnetic angle sensor according to the actual angle range, the correction coefficient of each equally divided segment can be obtained based on the expression of the correction coefficient of the nth equally divided segment mentioned above and the maximum and minimum values of the actual angle range.
[0069] In some embodiments of the present application, the electrical calibration method may also include: obtaining the driving current of the variable nozzle; determining an error signal based on a preset current and the driving current; based on a PID control method, determining a control signal based on the error signal and sending it to the variable nozzle so that the driving current tends to the preset current.
[0070] The driving current of the variable nozzle refers to the operating current of the variable nozzle actuator motor. The preset current can be set according to actual needs and is not limited here.
[0071] Specifically, the specific implementation method of PID control of the driving current of the variable nozzle can refer to the existing related technology, which will not be repeated here.
[0072] By performing PID control on the driving current of the variable nozzle as described above, a sudden increase in the driving current can be effectively avoided, thereby reducing the heat generated by the motor, avoiding device damage caused by excessive temperature, and increasing the life of the mechanical components in the variable nozzle.
[0073] The embodiment of the present application also provides an electrical calibration device, such as Figure 2As shown, the electrical calibration device may include: a first acquisition module 201, which is used to obtain the actual angle range of the adjustment device if it is detected that the magnetic angle sensor needs to be calibrated; the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the adjustment device, and the angle range includes multiple equally divided points, and the interval between two adjacent equally divided points is an equally divided segment; a second acquisition module 202, which is used to obtain the reference linear proportional coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point, and the actual voltage of the corresponding feedback; a determination and update module 203, which is used to determine the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point, and the actual voltage of the corresponding feedback, and update the reference linear proportional coefficient of each equally divided segment to the corresponding actual linear proportional coefficient.
[0074] Optionally, the electrical calibration device may also include an adjustment module; the adjustment module is used to: obtain the current current of the variable nozzle actuator; determine the error signal based on the preset current and the current current; based on the PID control method, determine the control signal according to the error signal and send it to the variable nozzle actuator to make the current current tend to the preset current.
[0075] Optionally, the electrical calibration device may further include a detection module, which may be used to: obtain the rated angle range and actual angle range of the adjustment device; detect whether the actual angle range meets preset calibration conditions; the preset calibration conditions include: the deviation between the minimum value of the rated angle range and the minimum value of the actual angle range exceeds a first preset deviation, or the deviation between the maximum value of the rated angle range and the maximum value of the actual angle range exceeds a second preset deviation; if the actual angle range meets the preset calibration conditions, it is determined that the magnetic angle sensor needs to be calibrated; otherwise, the magnetic angle sensor does not need to be calibrated.
[0076] Optionally, when obtaining the rated angle range and actual angle range of the adjusting device, the detection module can be specifically used to: obtain the rated angle range of the adjusting device; adjust the adjusting device to the minimum opening, obtain the actual minimum angle of the adjusting device through the magnetic angle sensor, and adjust the adjusting device to the maximum opening, obtain the actual maximum angle of the adjusting device through the magnetic angle sensor; determine the actual angle range based on the actual minimum angle and the actual maximum angle.
[0077] Optionally, the expression for the actual linear scaling factor includes:
[0078]
[0079] Among them, K n is the actual linear proportional coefficient of the nth segment of the magnetic angle sensor; V n V is the actual voltage fed back from the nth equally divided point of the magnetic angle sensor;nm K is the expected voltage at the nth equally divided point of the magnetic angle sensor; nref is the reference linear proportional coefficient of the nth segment of the magnetic angle sensor; θ n is the correction coefficient of the nth segment of the magnetic angle sensor.
[0080] Accordingly, when determining the actual linear proportional coefficient of each equally divided segment based on the actual angle range, the baseline linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the actual voltage corresponding to the feedback, the determination and update module 203 can be specifically used to: determine the correction coefficient of each equally divided segment of the magnetic angle sensor based on the actual angle range; based on the expression of the actual linear proportional coefficient, determine the actual linear proportional coefficient of each equally divided segment according to the baseline linear proportional coefficient of each equally divided segment, the correction coefficient, the expected voltage of each equally divided point and the actual voltage corresponding to the feedback.
[0081] The specific implementation of the electrical calibration device provided in the embodiment of the present application can refer to the implementation of the electrical calibration method described in any of the above embodiments, which will not be repeated here.
[0082] The embodiment of the present application also provides an electronic device, such as Figure 3 As shown, the electronic device may include: a memory 301 and a processor 302; wherein the memory 301 is connected to the processor 302 and is used to store programs; the processor 302 is used to implement the electrical calibration method disclosed in any of the above embodiments by running the program stored in the memory 301.
[0083] Specifically, the electronic device may further include: a bus, a communication interface 303 , an input device 304 and an output device 305 .
[0084] The processor 302, the memory 301, the communication interface 303, the input device 304 and the output device 305 are connected to each other via a bus.
[0085] A bus may include a pathway that transfers information between components of a computer system.
[0086] The processor 302 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0087] The processor 302 may include a main processor, and may also include a baseband chip, a modem, etc.
[0088] The memory 301 stores a program for executing the technical solution of the present application, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory 301 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0089] The input device 304 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0090] Output device 305 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0091] The communication interface 303 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0092] The processor 302 executes the program stored in the memory 301 and calls other devices, which can be used to implement each step of the electrical calibration method provided in the above-mentioned embodiment of the present application.
[0093] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer, the computer executes the electrical calibration method in any of the above embodiments.
[0094] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to execute the electrical calibration method described in any of the above embodiments.
[0095] An embodiment of the present application also provides an electrical control system, including a variable nozzle and an electronic device as described in any of the above embodiments.
[0096] The variable nozzle is equipped with a magnetic angle sensor and an adjusting device; the magnetic angle sensor is used to measure the angle of the adjusting device.
[0097] It should be understood that the specific examples herein are only intended to help those skilled in the art to better understand the embodiments of the present specification, rather than to limit the scope of the present invention.
[0098] It can be understood that in the various implementations of this specification, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation methods of this specification.
[0099] It can be understood that the various embodiments described in this specification can be implemented individually or in combination, and the embodiments of this specification are not limited to this.
[0100] Unless otherwise specified, all technical and scientific terms used in the embodiments of this specification have the same meaning as those generally understood by those skilled in the art of the technical field of this specification. The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the scope of this specification. The term "and / or" used in this specification includes any and all combinations of one or more related listed items. The singular forms of "a", "above", and "the" used in the embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0101] It can be understood that the processor of the embodiment of this specification can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method implementation can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiment of this specification can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of this specification can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0102] It is understood that the memory in the embodiments of this specification may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasablePROM, EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0103] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this specification.
[0104] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method implementation methods and will not be repeated here.
[0105] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0107] In addition, each functional unit in each embodiment of the present specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0108] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this specification, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0109] The above is only a specific implementation of this specification, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in this specification, which should be included in the protection scope of this specification. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An electrical calibration method, characterized in that: Applied to an electrical control system, the electrical control system includes a variable nozzle, the variable nozzle is equipped with a magnetic angle sensor and an adjustment device, the magnetic angle sensor is used to measure the angle of the adjustment device; the method includes: If it is detected that the magnetic angle sensor needs to be calibrated, the actual angle range of the adjustment device is obtained; the actual angle range includes the angle range corresponding to the minimum opening to the maximum opening of the adjustment device, and the angle range includes a plurality of equally divided points, and the interval between two adjacent equally divided points is an equally divided segment; Obtaining the reference linear proportionality coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point, and the actual voltage of the corresponding feedback; According to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the corresponding actual voltage fed back, the actual linear proportional coefficient of each equally divided segment is determined, and the reference linear proportional coefficient of each equally divided segment is updated to the corresponding actual linear proportional coefficient.
2. The method according to claim 1, characterized in that Also includes: Obtaining a rated angle range and an actual angle range of the adjusting device; Detecting whether the actual angle range meets a preset calibration condition; The preset calibration condition includes: a deviation between a minimum value of the rated angle range and a minimum value of the actual angle range exceeds a first preset deviation, or a deviation between a maximum value of the rated angle range and a maximum value of the actual angle range exceeds a second preset deviation; If the actual angle range satisfies the preset calibration condition, determining that the magnetic angle sensor needs to be calibrated; Otherwise, the magnetic angle sensor does not need to be calibrated.
3. The method according to claim 2, characterized in that The obtaining of the rated angle range and the actual angle range of the adjusting device comprises: Obtaining a rated angle range of the adjustment device; The adjusting device is adjusted to a minimum opening, and the actual minimum angle of the adjusting device is obtained through the magnetic angle sensor; and the adjusting device is adjusted to a maximum opening, and the actual maximum angle of the adjusting device is obtained through the magnetic angle sensor; The actual angle range is determined according to the actual minimum angle and the actual maximum angle.
4. The method according to claim 1, characterized in that: The expression of the actual linear proportionality coefficient includes: Among them, K n V is the actual linear proportional coefficient of the nth segment of the magnetic angle sensor; n V is the actual voltage fed back from the nth equally divided point of the magnetic angle sensor; nm K is the expected voltage at the nth equally divided point of the magnetic angle sensor; nref θ is the reference linear proportionality coefficient of the nth segment of the magnetic angle sensor; n is the correction coefficient of the nth equal segment of the magnetic angle sensor; Determining the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the reference linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point, and the corresponding feedback actual voltage includes: Determining the correction coefficients of each equally divided segment of the magnetic angle sensor according to the actual angle range; Based on the expression of the actual linear proportional coefficient, the actual linear proportional coefficient of each equally divided segment is determined according to the reference linear proportional coefficient of each equally divided segment, the correction coefficient, the expected voltage of each equally divided point and the actual voltage corresponding to the feedback.
5. The method according to claim 1, characterized in that Also includes: obtaining a driving current of the variable nozzle; Determine an error signal according to the preset current and the drive current; Based on the PID control method, a control signal is determined according to the error signal and sent to the variable nozzle so that the driving current tends to the preset current.
6. An electrical calibration device, characterized in that: include: A first acquisition module is used to acquire an actual angle range of the adjustment device if it is detected that the magnetic angle sensor needs to be calibrated; the actual angle range includes an angle range corresponding to a minimum opening to a maximum opening of the adjustment device, and the angle range includes a plurality of equally divided points, and an equally divided segment is formed between two adjacent equally divided points; A second acquisition module is used to acquire the reference linear proportional coefficient of each equally divided segment of the magnetic angle sensor, the expected voltage of each equally divided point and the actual voltage of the corresponding feedback; A determination and update module is used to determine the actual linear proportional coefficient of each equally divided segment according to the actual angle range, the baseline linear proportional coefficient of each equally divided segment, the expected voltage of each equally divided point and the corresponding feedback actual voltage, and update the baseline linear proportional coefficient of each equally divided segment to the corresponding actual linear proportional coefficient.
7. The device according to claim 6, further comprising a regulating module; The regulating module is used to: obtain the current current of the variable nozzle actuator; determine the error signal according to the preset current and the current current; based on the PID control method, determine the control signal according to the error signal and send it to the variable nozzle actuator to make the current current tend to the preset current.
8. An electronic device, characterized in that: include: A processor, and a memory connected to the processor; The memory is used to store computer programs; The processor is used to call and execute the computer program in the memory to perform the electrical calibration method according to any one of claims 1 to 5.
9. An electrical control system, characterized in that: An electronic device comprising a variable nozzle and claim 8; The variable nozzle is equipped with a magnetic angle sensor and an adjusting device; the magnetic angle sensor is used to measure the angle of the adjusting device.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, each step of the electrical calibration method according to any one of claims 1 to 5 is implemented.