Knob, control method and device thereof, computer device, and storage medium
By combining the stator armature, outer rotor, radial magnet, and magnetic encoder, a three-phase inverter is used to control the knob to generate multiple magnetic field vectors, solving the problem that the knob feel and gear intervals cannot adapt to different usage scenarios, and realizing a personalized knob experience.
Patent Information
- Application Number
- CN202211223342.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-08
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-10-08
AI Technical Summary
The feel and gear intervals of existing rotary encoders are determined by mechanical characteristics, which cannot adapt to different usage scenarios and personalized needs.
The stator armature adopts a knob design consisting of three sets of coils, combined with an outer rotor, radial magnets, and a magnetic encoder. The stator armature is controlled by a three-phase inverter to generate multiple magnetic field vectors, thereby enabling the switching of different gears.
It enables the same knob to exhibit different characteristics in different usage scenarios, allowing users to adjust the feel according to their preferences and adapt to various usage needs.
Smart Images

Figure CN115525000B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of knobs, and particularly relates to a knob, a control method and device thereof, a computer device and a storage medium. BACKGROUND
[0002] Most of the knob encoders on the market currently output two groups of A and B phase difference 90° pulses to determine the rotation speed and rotation direction by measuring the pulses, and the feel and gear interval of the encoder are determined by the mechanical characteristics of the encoder, which cannot adapt to different use scenarios and personalized needs of different users. SUMMARY
[0003] Therefore, the present application provides a knob, a control method and device thereof, a computer device and a storage medium to solve the problem that the feel and gear interval of the encoder in the prior art are determined by the mechanical characteristics of the encoder, which cannot adapt to different use scenarios and personalized needs of different users.
[0004] To achieve one or part or all of the above purposes or other purposes, the present application provides a knob, which comprises:
[0005] a stator armature composed of at least three groups of coils;
[0006] an outer rotor having a circular ring surrounding the stator armature, and at least two pairs of permanent magnets are arranged on the circular ring;
[0007] a radially magnetized magnet connected to the outer rotor to form a coaxial rotation structure of the outer rotor and the radially magnetized magnet;
[0008] a magnetic encoder arranged on one side of the radially magnetized magnet; and
[0009] a control system provided with a three-phase inverter, the three-phase inverter being electrically connected to the at least three groups of coils; the control system being electrically connected to the magnetic encoder;
[0010] The control system is used to control the three-phase inverter to generate a magnetic field vector of a preset size for the stator armature, and to adjust the three-phase inverter according to the rotation angle of the outer rotor, so that the stator armature generates different magnetic field vector directions for different rotation angles of the outer rotor, and the knob forms different gears.
[0011] To achieve one or part or all of the above purposes or other purposes, the application further provides a control circuit based on the knob, comprising: MOS tubes VT1, VT2, VT3, VT4, VT5, VT6, resistors Ra, Rb, Rc, stator armatures Ea, Eb, Ec, a controller and a magnetic encoder, wherein,
[0012] The controller has a signal receiving end and a signal output end, the signal receiving end is connected to the magnetic encoder, and the signal output end has a first output pin and a second output pin.
[0013] The first output pin is connected to the drain D of MOS tube VT1, the drain D of MOS tube VT3 and the drain D of MOS tube VT5, the source S of MOS tube VT1 is connected to one end of resistor Ra and the drain D of MOS tube VT2, the source S of MOS tube VT3 is connected to one end of resistor Rb and the drain D of MOS tube VT4, the source S of MOS tube VT5 is connected to one end of resistor Rc and the drain D of MOS tube VT6, the other end of resistor Ra is connected to one end of stator armature Ea, the other end of resistor Rb is connected to one end of stator armature Eb, the other end of resistor Rc is connected to one end of stator armature Ec, the other end of stator armature Ea, the other end of stator armature Eb and the other end of stator armature Ec are connected in turn, the source S of MOS tube VT2, the source S of MOS tube VT4 and the source S of MOS tube VT6 are all connected to the second output pin, and the gate G of MOS tube VT1, the gate G of MOS tube VT2, the gate G of MOS tube VT3, the gate G of MOS tube VT4, the gate G of MOS tube VT5 and the gate G of MOS tube VT6 are all connected to the positive electrode of the power supply.
[0014] To achieve one or part or all of the above purposes or other purposes, the application further provides a control method of the knob, the control method comprising the steps of:
[0015] Obtaining information N of the number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating the critical angle corresponding to each gear of the knob.
[0016] Generating a control program for the change of the critical angle corresponding to each gear of the stator armature required voltage vector synthesis angle, wherein the voltage vector synthesis angle in the control program is limited between 0°-360°.
[0017] Further, before the steps of obtaining information N of the number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating the critical angle corresponding to each gear of the knob, the steps further comprise:
[0018] Obtaining a modulation coefficient m, and adjusting a size of a resultant voltage vector of the stator armature according to the modulation coefficient m.
[0019] Further, the step of generating the control program of the resultant voltage vector angle of the stator armature required for each gear corresponding to the critical angle variation includes:
[0020] Obtaining a number P of magnetic pole pairs, and obtaining a total amount of rotation angles φ of the magnetic pole pairs of the knob under the rotation period according to N and P;
[0021] Generating the control program of the resultant voltage vector angle of the stator armature required for each gear corresponding to the critical angle variation under the condition that the knob rotates in one rotation period, the number of magnetic pole pairs is P, and the total amount of rotation angles of the magnetic pole pairs is φ.
[0022] Further, after the step of generating the control program of the resultant voltage vector angle of the stator armature required for each gear corresponding to the critical angle variation, the control device further includes the step of:
[0023] Obtaining a rotation position of the outer rotor in real time, judging whether the position of the outer rotor reaches a critical angle of a next gear relative to a current gear, if the critical angle of the next gear is reached, adjusting the resultant voltage vector angle of the stator armature required for the next gear corresponding to the critical angle, and outputting a corresponding gear control signal, and repeating the step until the outer rotor stops rotating.
[0024] To achieve one or part or all of the above purposes or other purposes, the application provides a control device of a knob, the control device comprising:
[0025] A first obtaining module is configured to obtain information N of a number of gears set by the knob in one rotation period, divide the rotation period into N gears, and calculate critical angles corresponding to the gears of the knob.
[0026] A generating module is configured to generate a control program of a resultant voltage vector angle of the stator armature required for each gear corresponding to the critical angle variation, wherein the resultant voltage vector angle is limited between 0°-360° in the control program.
[0027] Further, the control device further includes:
[0028] A second obtaining module is configured to obtain a modulation coefficient m, and adjust a size of a resultant voltage vector of the stator armature according to the modulation coefficient m.
[0029] Further, the generating module includes:
[0030] An obtaining unit is configured to obtain a number P of magnetic pole pairs, and obtain a total amount of rotation angles φ of the magnetic pole pairs of the knob under the rotation period according to N and P;
[0031] The generating unit is configured to generate a control program in which a voltage vector synthesis angle required by the stator armature changes with respect to a critical angle corresponding to each gear position under the condition that the knob rotates one rotation period, the number of magnetic pole pairs is P, and the total rotation angle of the magnetic pole pairs is φ.
[0032] Further, the control device further comprises:
[0033] The adjusting module is configured to acquire the rotation position of the outer rotor in real time, determine whether the position of the outer rotor reaches a critical angle of a next gear position with respect to a current gear position, control the voltage vector synthesis angle required by the stator armature to adjust with respect to the critical angle corresponding to the next gear position if the critical angle of the next gear position is reached, and output a corresponding gear control signal, and repeat the step until the outer rotor stops rotating.
[0034] To achieve one or part or all of the above purposes or other purposes, the present application further provides a computer device comprising a memory and a processor, the memory stores computer readable instructions, and the processor executes the computer readable instructions to realize the steps of the control method of the knob:
[0035] Obtain information N of the number of gear positions set by the knob in one rotation period, divide the rotation period into N gear positions, and calculate the critical angle corresponding to each gear position of the knob.
[0036] Generate a control program in which a voltage vector synthesis angle required by the stator armature changes with respect to a critical angle corresponding to each gear position, and the voltage vector synthesis angle is limited between 0°-360° in the control program.
[0037] To achieve one or part or all of the above purposes or other purposes, the present application provides a computer readable storage medium, which stores computer readable instructions, and the computer readable instructions are executed by a processor to realize the steps of the control method of the knob.
[0038] The embodiments of the present application have the following beneficial effects:
[0039] The knob and the control method, device, computer equipment and storage medium thereof, wherein the knob comprises a stator armature, an outer rotor, a radial magnetization magnet, a magnetic encoder and a control system. The stator armature is composed of at least three groups of coils; the outer rotor has a circular ring around the stator armature, and at least two pairs of permanent magnets are arranged on the circular ring; the radial magnetization magnet is connected to the outer rotor to form a coaxial rotation structure of the outer rotor and the radial magnetization magnet; the magnetic encoder is arranged on one side of the radial magnetization magnet; the control system is provided with a three-phase inverter, and the three-phase inverter is electrically connected to the at least three groups of coils; the control system is electrically connected to the magnetic encoder; the control system is used for controlling the three-phase inverter to generate a magnetic field vector of a preset size of the stator armature, and adjusting the three-phase inverter according to the rotation angle of the outer rotor, so that the stator armature generates different magnetic field vector directions for different rotation angles of the outer rotor, and then the knob forms different gears. Since the stator armature generates different magnetic field vector sizes and directions, different hand feelings and gears can be formed, so that the same knob can exhibit different characteristics in different use scenarios, and the knob feeling can be adjusted according to the user's preference. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0041] Among them:
[0042] Figure 1 It is a structural schematic diagram of the knob in an embodiment of the present application;
[0043] Figure 2 It is a sectional view schematic diagram of the knob in an embodiment of the present application;
[0044] Figure 3 It is a structural schematic diagram of the control circuit in an embodiment of the present application;
[0045] Figure 4 It is a structural schematic diagram of the knob in another embodiment of the present application;
[0046] Figure 5 It is a flowchart of the control method of the knob in an embodiment of the present application;
[0047] Figure 6 It is a flowchart of the control method of the knob in an embodiment of the present application;
[0048] Figure 7 It is a three-phase inverter circuit diagram in an embodiment of the present application;
[0049] Figure 8 Switching state vector diagram for three-phase inverter circuit
[0050] Figure 9 Synthesis of U4 and U6 in one embodiment of the present application ref schematic diagram
[0051] Figure 10 Control device structure block diagram of the knob in one embodiment of the present application
[0052] Reference signs:
[0053] 1, stator armature; 2, outer rotor; 21, permanent magnet; 3, radial magnetization magnet; 4, magnetic encoder. DETAILED DESCRIPTION
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application; the description and claims herein and the above description of drawings herein utilize terms such as "comprising", "having" and "including" to convey construction that is inclusive of, but not limited to, such features unless otherwise indicated; the singular forms "a", "an" and "the" include plural referents unless otherwise indicated.
[0055] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily all directed to the same embodiment, or to a single alternative embodiment.
[0056] For those skilled in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings.
[0057] With reference to Figure 1 and Figure 2 , the first embodiment of the present application proposes a knob, which comprises:
[0058] a stator armature 1 composed of at least three groups of coils;
[0059] an outer rotor 2 having a circular ring surrounding the stator armature 1, the circular ring being provided with at least two pairs of permanent magnets 21;
[0060] A radial magnetization magnet 3 is connected to the outer rotor 2, forming a coaxial rotation structure of the outer rotor 2 and the radial magnetization magnet 3.
[0061] A magnetic encoder 4 is arranged on one side of the radial magnetization magnet 3; and
[0062] A control system is provided with a three-phase inverter electrically connected to at least three groups of coils; the control system is electrically connected to the magnetic encoder 4.
[0063] The control system is used to control the three-phase inverter to generate a magnetic field vector of a preset size in the stator armature 1, and adjust the three-phase inverter according to the rotation angle of the outer rotor 2, so that the stator armature 1 generates different magnetic field vector directions for different rotation angles of the outer rotor, thereby forming different gears of the knob.
[0064] In this embodiment, Figure 1 An embodiment structure diagram of the knob in the present application is shown, Figure 2 An embodiment structure diagram of the knob in the present application is shown, Figure 1 A sectional view of the structure is shown. Referring to Figure 1 , the stator armature 1 and the outer rotor 2 in the knob are arranged in a structure that the stator armature 1 is inside and the circular ring of the outer rotor 2 is outside, and the circular ring rotates around the stator armature 1. In this structure, the outer rotor 2 can be connected to the inside of the stator armature 1 by a rotating shaft, and the rotating shaft is used to realize the rotation around the stator armature 1. At least two pairs of permanent magnets 21 are arranged on the circular ring, and the at least two pairs of permanent magnets 21 are respectively located at two ends of different diameters of the circular ring. When arranged, the at least two pairs of permanent magnets 21 are preferably arranged in a central axis symmetry and central symmetry on the circular ring. The stator armature 1 is composed of a silicon steel sheet and coils wound on the silicon steel sheet. Similarly, the at least three groups of coils on the stator armature 1 are also preferably arranged in a central axis symmetry and central symmetry on the stator armature 1. The above-mentioned radial magnetization magnet 3 can be arranged on the above-mentioned rotating shaft to form a structure bound with the outer rotor 2, and the above-mentioned magnetic encoder 4 can be arranged on one side of the radial magnetization magnet 3 (as shown in Figure 3 , for example, arranged on the left side of the radial magnetization magnet 3 in Figure 2 , as long as the rotation of the radial magnetization magnet 3 can be detected. The control system is used to control the three-phase inverter to generate a magnetic field vector of a preset size in the stator armature 1, wherein the preset size of the magnetic field vector can be preset or freely set by the user. The larger the magnetic field vector, the greater the resistance of the knob and the stronger the mechanical feeling. The smaller the magnetic field vector, the smaller the resistance of the knob and the smoother the hand feeling. The control system adjusts the three-phase inverter according to the rotation angle of the outer rotor 2, so that the stator armature 1 generates a plurality of different magnetic field vector directions, thereby forming different gears of the knob. For specific control methods of the control system, please refer to the specific description of the subsequent embodiments.
[0065] The second embodiment of the present application also proposes a control method of the knob, the control method comprising the steps of:
[0066] S10, obtaining information N of the number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating the critical angle corresponding to each gear of the knob;
[0067] S20, generating a control program for the voltage vector synthesis angle required by the stator armature 1 to change with the critical angle corresponding to each gear, wherein the voltage vector synthesis angle in the control program is limited between 0°-360°.
[0068] In the embodiment, since the radial magnetization magnet 3 and the outer rotor 2 are bound and coaxially rotate, the angle of the radial magnetization magnet 3 obtained by the magnetic encoder 4 can achieve the purpose of obtaining the angle of the outer rotor 2. The stator armature 1 adjusts the damping according to the angle of the magnetic encoder 4 to form different gear feelings. The angle of the stator armature 1 according to the magnetic encoder 4 is the above-mentioned critical angle, and the mechanical fluctuation feeling of each gear is generated at the critical angle of the gear. One period of the knob can be one rotation of the knob, that is, 360°, or other freely set angles, such as 180° rotation as one period. The information N of the number of gears set by the knob in one rotation period refers to the number of gears contained in one rotation period of the knob. For example, if one rotation period is 360° and N is set to 4, the number of gears when the knob rotates 360° corresponds to 4 gears, and the critical angle corresponding to the gear is 90°, 180°, 270° and 360°. For example, if one rotation period is 360° and N is set to 6, the number of gears when the knob rotates 360° corresponds to 6 gears, and the critical angle corresponding to the gear is 60°, 120°, 180°, 240°, 300° and 360°. For example, if one rotation period is 180° and N is set to 6, the number of gears when the knob rotates 180° corresponds to 6 gears, and the critical angle corresponding to the gear is 30°, 60°, 90°, 120°, 150° and 180°. After the above control program is generated, the voltage vector synthesis angle required by the stator armature 1 changes at these critical angles, thereby generating a mechanical fluctuation feeling, achieving the same feeling as the mechanical knob when the gear jumps, that is, when the gear is changed. The difference is that the number of gears of the mechanical knob is fixed, and the angle of gear change is also fixed, while the number of gears and the angle of gear change of the knob according to the use demand are set.
[0069] For the control method of the above-mentioned knob, the third embodiment of the present application is further provided, wherein before the steps of obtaining information N of the number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating the critical angle corresponding to each gear of the knob, the steps include:
[0070] Obtaining a modulation coefficient m, and adjusting the size of the synthesized voltage vector of the stator armature 1 according to the modulation coefficient m.
[0071] For the control method of the above-mentioned rotary knob, the fourth embodiment of the present application is also proposed, wherein the step of generating the control program of the critical angle change of the voltage vector synthesis angle required by the stator armature 1 for each gear position includes:
[0072] S201, acquiring the number P of magnetic pole pairs, and acquiring the total rotation angle φ of the rotary knob under the rotation period of all magnetic pole pairs according to N and P;
[0073] S202, generating the control program of the critical angle change of the voltage vector synthesis angle required by the stator armature 1 for each gear position under the condition that the rotary knob rotates one rotation period, the number of magnetic pole pairs is P, and the total rotation angle of the magnetic pole pairs is φ.
[0074] In the third and fourth embodiments, the process of the critical angle change of the voltage vector synthesis angle for each gear position is as follows:
[0075] Referring to Figure 3 , Figure 4 , Figure 7 and Figure 8 , a control circuit is shown as Figure 7 , the control circuit is based on the above-mentioned rotary knob, and the control circuit includes: MOS tube VT1, MOS tube VT2, MOS tube VT3, MOS tube VT4, MOS tube VT5, MOS tube VT6, resistor Ra, resistor Rb, resistor Rc, stator armature Ea, stator armature Eb, stator armature Ec, controller and magnetic encoder 4; wherein
[0076] The controller has a signal receiving end and a signal output end, the signal receiving end is connected with the magnetic encoder 4, and the signal output end has a first output pin and a second output pin;
[0077] The first output pin is connected to the drain D of MOS transistor VT1, the drain D of MOS transistor VT3 and the drain D of MOS transistor VT5, the source S of MOS transistor VT1 is connected to one end of resistor Ra and the drain D of MOS transistor VT2, the source S of MOS transistor VT3 is connected to one end of resistor Rb and the drain D of MOS transistor VT4, the source S of MOS transistor VT5 is connected to one end of resistor Rc and the drain D of MOS transistor VT6, the other end of resistor Ra is connected to one end of stator armature Ea, the other end of resistor Rb is connected to one end of stator armature Eb, the other end of resistor Rc is connected to one end of stator armature Ec, the other end of stator armature Ea, the other end of stator armature Eb and the other end of stator armature Ec are connected in turn, the source S of MOS transistor VT2, the source S of MOS transistor VT4 and the source S of MOS transistor VT6 are all connected to the second output pin, and the gate G of MOS transistor VT1, the gate G of MOS transistor VT2, the gate G of MOS transistor VT3, the gate G of MOS transistor VT4, the gate G of MOS transistor VT5 and the gate G of MOS transistor VT6 are all connected to the positive electrode of the power supply.
[0078] The state of MOS transistor VT1 being turned on, VT2 being turned off; VT3 being turned off, VT4 being turned on; VT5 being turned off, VT6 being turned on is vector U4 (100), the state of MOS transistor VT1 being turned on, VT2 being turned off; VT3 being turned on, VT4 being turned off; VT5 being turned off, VT6 being turned on is vector U6 (110), the state of MOS transistor VT1 being turned off, VT2 being turned on; VT3 being turned on, VT4 being turned off; VT5 being turned off, VT6 being turned on is vector U2 (010), the state of MOS transistor VT1 being turned off, VT2 being turned on; VT3 being turned on, VT4 being turned off; VT5 being turned on, VT6 being turned off is vector U3 (011), the state of MOS transistor VT1 being turned off, VT2 being turned on; VT3 being turned off, VT4 being turned on; VT5 being turned on, VT6 being turned off is vector U1 (001), and the state of MOS transistor VT1 being turned on, VT2 being turned off; VT3 being turned off, VT4 being turned on; VT5 being turned on, VT6 being turned off is vector U5 (101).
[0079] The state of MOS transistor VT1 being turned on, VT2 being turned off; VT3 being turned on, VT4 being turned off; VT5 being turned on, VT6 being turned off is vector U7 (111), and the state of MOS transistor VT1 being turned off, VT2 being turned on; VT3 being turned off, VT4 being turned on; VT5 being turned off, VT6 being turned on is vector U0 (000). Among them, U0 (000) and U7 (111) are zero sequence vectors.
[0080] Any voltage vector U required by the stator armature 1 refAll can be synthesized by two vectors in U1 to U6, the specific use of two vector synthesis is determined by the angle θ of the required voltage vector, when θ is between (0°-60°) uses U4 and U6 vector synthesis, when θ is between (60°-120°) uses U6 and U2 vector synthesis, when θ is between (120°-180°) uses U2 and U3 vector synthesis, when θ is between (180°-240°) uses U3 and U1 vector synthesis, when θ is between (240°-300°) uses U1 and U5 vector synthesis, when θ is between (300°-360°) uses U5 and U4 vector synthesis.
[0081] Take the voltage vector between (0°-60°) as an example, the required voltage vector is synthesized by U4 and U6 as shown in Figure 9 , the rest of the angle vector synthesis method is the same.
[0082] Referring to Figure 9 , let the PWM period of the three-phase inverter circuit be T, the U4 vector acting time be T4, and the U6 vector acting time be T6. According to the cosine theorem:
[0083]
[0084] Where |U4|=|U6| can calculate T4 and T6:
[0085]
[0086] T6=mTsin(θ)
[0087] Thus, the U ref ;
[0088] The value of the modulation coefficient m can be adjusted to adjust the size of the synthesized voltage vector, and the size of the synthesized voltage vector determines the hand feeling of the knob. The larger the synthesized voltage vector, the greater the knob resistance and the stronger the mechanical feeling. The smaller the synthesized voltage vector, the smaller the knob resistance and the smoother the hand feeling.
[0089] According to the knob gear position to determine the voltage vector angle:
[0090] Let the number of magnetic poles of the knob be P, and the number of gears of the knob rotating one circle be N. Then the total interval φ of the voltage vector angle to be calculated is as follows:
[0091]
[0092] The power-on initialization process reads the position of the magnetic encoder 4 as α, and controls the three-phase inverter to output a voltage vector angle of 0°. The main control unit in the control system monitors the angle β of the magnetic encoder 4 in real time, and the angle γ of the voltage vector synthesis is:
[0093]
[0094] Wherein the angle γ calculation process each step calculation needs to take integer, that is, γ is rounded to the critical angle, and the γ value is limited between (0°-360°), such as γ calculation result is 400°, then γ value is 40°, such as γ calculation result is 480°, then γ value is 120°, and so on.
[0095] In summary, different N values can be set according to different use scenarios, so as to adjust the gear of one rotation of the knob, for example, the electromagnetic oven application scenario, when adjusting the firepower and temperature parameters, the option needs to set a larger N value to facilitate quick adjustment of the required firepower or temperature to the preset value, and when switching the menu interface, a smaller N value is needed to obtain a better operation experience.
[0096] For the control method of the above-mentioned knob, the fifth embodiment of the present application is also proposed, wherein after the step of generating the voltage vector synthesis angle required by the stator armature 1 for the control program of the critical angle change corresponding to each gear, the step of:
[0097] Real-time acquisition of the rotation position of the outer rotor 2, judgment of whether the position of the outer rotor 2 reaches the critical angle of the next gear relative to the current gear; if it reaches the critical angle of the next gear, the voltage vector synthesis angle required by the stator armature 1 is adjusted for the critical angle corresponding to the next gear, and the corresponding gear control signal is output at the same time; repeat this step until the outer rotor 2 stops rotating.
[0098] In the embodiment, the rotation position of the outer rotor 2 is obtained by comparing it with the initial position when the knob is in use. In the previous embodiment, the position of the magnetic encoder 4 is read as α in the power-on initialization process, and the angle β of the magnetic encoder 4 is monitored in real time by the master control unit in the control system, that is, the rotation angle of the knob is β, and the current rotation angle of the knob is obtained by β-α. When β-α reaches a critical angle, the voltage vector synthesis angle required by the stator armature 1 is adjusted once, and the knob generates a gear shift corresponding thereto. For example, the knob rotates one round of gear positions N=9, that is, the corresponding gear positions are 40°, 80°, 120°, 160°, 200°, 240°, 280°, 320°, and 360°. When the knob is initialized, the master control unit obtains the initial position angle of the magnetic encoder 4 as α, and the knob starts to rotate. When β-α=40°, the knob generates the first gear shift corresponding thereto. When β-α=80°, the knob generates the second gear shift corresponding thereto. When β-α=120°, the knob generates the third gear shift corresponding thereto. Similarly, if the intermediate knob is rotated, the position of the knob is still calculated by β-α. For example, the knob is used on a gas stove. Clockwise rotation increases the fire power. When the critical angle β-α=120°, the gas stove is in three fire power. At this time, the “output corresponding gear position control signal” is to adjust the fire power of the gas stove to three. When the knob is counterclockwise adjusted to β-α=80°, the gas stove is in two fire power. At this time, the “output corresponding gear position control signal” is to adjust the fire power of the gas stove to two. Then, the knob is rotated clockwise to β-α=200°. From β-α=80° to β-α=200°, the gas stove outputs the control signal to the 120° gear position, then to the 160° gear position, and finally to the 200° gear position. At this time, the gas stove is in five fire power. The adjustment of other fire power is similar and will not be described here. When the corresponding equipment is turned off and then turned on again, the angle of the magnetic encoder 4 is reinitialized.
[0099] The sixth embodiment of the present application provides a control device of a knob, which comprises:
[0100] The first obtaining module 4 is configured to obtain information N of the number of gear positions set by the knob in one rotation period, divide the rotation period into N gear positions, and calculate the critical angle corresponding to each gear position of the knob.
[0101] The generating module 5 is configured to generate a control program in which the voltage vector synthesis angle required by the stator armature 1 changes with respect to the critical angle corresponding to each gear position, and the voltage vector synthesis angle in the control program is limited to 0°-360°.
[0102] For the control device of the knob, the seventh embodiment of the present application further comprises:
[0103] The second acquisition module 6 is configured to acquire the modulation coefficient m, and adjust the size of the synthesized voltage vector of the stator armature 1 according to the modulation coefficient m.
[0104] For the control device of the knob, the application further provides an eighth embodiment, wherein the generation module 5 comprises:
[0105] The acquisition unit 51 is configured to acquire the number P of pole pairs, and acquire the total rotation angle φ of the knob for all the pole pairs in a rotation period according to N and P;
[0106] The generation unit 52 is configured to generate a control program in which the voltage vector synthesis angle required by the stator armature 1 changes for the critical angle corresponding to each gear position under the condition that the knob rotates in one rotation period, the number of pole pairs is P, and the total rotation angle of the pole pairs is φ.
[0107] For the control device of the knob, the application further provides a ninth embodiment, wherein the control device further comprises:
[0108] The adjustment module 7 is configured to acquire the rotation position of the outer rotor 2 in real time, judge whether the position of the outer rotor 2 reaches the critical angle of the next gear position, if the critical angle of the next gear position is reached, adjust the voltage vector synthesis angle required by the stator armature 1 for the critical angle corresponding to the next gear position, and output the corresponding gear control signal, and repeat the step until the outer rotor 2 stops rotating.
[0109] The tenth embodiment of the application further provides a computer device comprising a memory and a processor, the memory stores computer readable instructions, and the processor implements the steps of the control method of the knob when executing the computer readable instructions.
[0110] Acquire information N of the number of gear positions set by the knob in one rotation period, divide the rotation period into N gear positions, and calculate the critical angle corresponding to each gear position of the knob.
[0111] Generate a control program in which the voltage vector synthesis angle required by the stator armature 1 changes for the critical angle corresponding to each gear position, and the voltage vector synthesis angle in the control program is limited to 0°-360°.
[0112] The eleventh embodiment of the application further provides a computer readable storage medium, which stores computer readable instructions, and the computer readable instructions are executed by the processor to implement the steps of the control method of the knob in the above-mentioned second embodiment to the fifth embodiment.
[0113] Obviously, the above-described embodiments are only some embodiments but not all the embodiments of the present application, the preferred embodiments of the present application are shown in the drawings, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, and conversely, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent replacements to some technical features therein. Any equivalent structure made by using the content of the specification and drawings, directly or indirectly applied to other related technical fields, is also within the patent protection scope of the present application.
Claims
1. A control method of a knob, characterized by: The application is applied to a knob, the knob comprises: a stator armature composed of at least three groups of coils; an outer rotor having a circular ring surrounding the stator armature, at least two pairs of permanent magnets being arranged on the circular ring; a radially magnetized magnet connected to the outer rotor to form a coaxial rotation structure of the outer rotor and the radially magnetized magnet; a magnetic encoder arranged on one side of the radially magnetized magnet; and a control system provided with a three-phase inverter electrically connected to the at least three groups of coils; the control system is electrically connected to the magnetic encoder; the control system is used for controlling the three-phase inverter to generate a magnetic field vector of a preset size for the stator armature, and adjusting the three-phase inverter according to a rotation angle of the outer rotor to make the stator armature generate different magnetic field vector directions for different rotation angles of the outer rotor, so as to form different gears for the knob. The control circuit based on the knob comprises MOS tubes MOS tubes MOS tubes MOS tubes MOS tubes MOS tubes , resistors Ra, Rb, Rc, stator armatures Ea, Eb, Ec, a controller and a magnetic encoder; wherein, The controller has a signal receiving end and a signal output end, the signal receiving end is connected with the magnetic encoder, and the signal output end has a first output pin and a second output pin The drain D of the MOS tube The drain D of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube, one end of the resistance Ra is connected with the source S of the MOS tube, the other end of the resistance Ra is connected with one end of the stator armature Ea, the other end of the resistance Rb is connected with one end of the stator armature Eb, the other end of the resistance Rc is connected with one end of the stator armature Ec, the other end of the stator armature Ea, the other end of the stator armature Eb and the other end of the stator armature Ec are connected in sequence, and the source S of the MOS tube The drain D of the MOS tube The source S of the MOS tube The source S of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The control method comprises the steps of: obtaining information N of a number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating critical angles corresponding to the gears of the knob; Voltage vector synthesis angle required to generate a stator armature The control program for the change in the critical angle corresponding to each gear, wherein the voltage vector synthesis angle is limited between 0°-360°.
2. The control method of a knob according to claim 1, characterized by: Before the step of obtaining information N of a number of gears set by the knob in one rotation period, dividing the rotation period into N gears, and calculating critical angles corresponding to the gears of the knob, the step of: obtaining a modulation coefficient m, and adjusting a size of a synthesized voltage vector of the stator armature according to the modulation coefficient m.
3. The control method of the knob according to claim 1, characterized in that: The voltage vector synthesis angle required for generating the stator armature The steps of the control program for the critical angle change corresponding to each gear position include: obtaining a number P of pole pairs, and obtaining a total amount of rotation angles of all pole pairs of the knob under the rotation period according to N and P ; The generating knob rotates in one rotation period, the number of magnetic pole pairs is P, and the total rotation angle of the magnetic pole pairs is Under the condition that the voltage vector synthesis angle required by the stator armature is The control program for the critical angle change corresponding to each gear.
4. The control method of the knob according to claim 1, characterized by: The voltage vector synthesis angle required for generating the stator armature After the steps of the control program for the change of the critical angle corresponding to each gear, the steps include: Real-time acquisition of the rotating position of the outer rotor, judging whether the position of the outer rotor reaches the critical angle of the next gear relative to the current gear; if the critical angle of the next gear is reached, the voltage vector synthesis angle required for controlling the stator armature Adjust the critical angle corresponding to the next gear, and simultaneously output the corresponding gear control signal; repeat this step until the outer rotor stops rotating.
5. A control device for a rotary knob, characterized by: The application is applied to a knob, the knob comprises: a stator armature composed of at least three groups of coils; an outer rotor having a circular ring surrounding the stator armature, at least two pairs of permanent magnets being arranged on the circular ring; a radially magnetized magnet connected to the outer rotor to form a coaxial rotation structure of the outer rotor and the radially magnetized magnet; a magnetic encoder arranged on one side of the radially magnetized magnet; and a control system provided with a three-phase inverter electrically connected to the at least three groups of coils; the control system is electrically connected to the magnetic encoder; the control system is used for controlling the three-phase inverter to generate a magnetic field vector of a preset size for the stator armature, and adjusting the three-phase inverter according to a rotation angle of the outer rotor to make the stator armature generate different magnetic field vector directions for different rotation angles of the outer rotor, so as to form different gears for the knob. The control circuit based on the knob comprises MOS tubes MOS tubes MOS tubes MOS tubes MOS tubes MOS tubes resistors Ra, Rb, Rc, stator armatures Ea, Eb, Ec, a controller and a magnetic encoder; wherein, The controller has a signal receiving end and a signal output end, the signal receiving end is connected with the magnetic encoder, and the signal output end has a first output pin and a second output pin The drain D of the MOS tube The drain D of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube The source S of the MOS tube The drain D of the MOS tube, one end of the resistance Ra is connected with the source S of the MOS tube, the other end of the resistance Rb is connected with the drain D of the MOS tube, the other end of the resistance Rc is connected with the drain D of the MOS tube, one end of the stator armature Ea is connected with the drain D of the MOS tube, one end of the stator armature Eb is connected with the drain D of the MOS tube, one end of the stator armature Ec is connected with the drain D of the MOS tube, the other end of the stator armature Ea, the other end of the stator armature Eb and the other end of the stator armature Ec are sequentially connected, and the source S of the MOS tube The drain D of the MOS tube The drain D of the MOS tube The drain D of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The gate G of the MOS tube The control device comprises: a first obtaining module configured to obtain information N of a number of gears set by the knob in one rotation period, divide the rotation period into N gears, and calculate critical angles corresponding to the gears of the knob; The generating module is configured to generate a voltage vector resultant angle required by the stator armature The control program is configured to change the voltage vector resultant angle corresponding to each gear The voltage vector resultant angle is limited between 0°-360°.
6. The control device of claim 5, wherein: The control device further comprises: a second obtaining module configured to obtain a modulation coefficient m, and adjust a size of a synthesized voltage vector of the stator armature according to the modulation coefficient m.
7. The control device of claim 5, wherein: The generation module comprises: The acquisition unit is configured to acquire a number P of pole pairs, and acquire a total amount of rotation angles of all pole pairs of the knob under the rotation period according to N and P ; The generation unit is used to generate a knob in one rotation cycle, with the number of magnetic pole pairs being P and the total rotation angle of the magnetic pole pairs being P. Under these conditions, the required voltage vector synthesis angle of the stator armature Control program for the critical angle changes corresponding to each gear position.
8. The control device of claim 5, wherein: The control device further comprises: An adjusting module is configured to acquire the rotating position of the outer rotor in real time, judge whether the position of the outer rotor reaches the critical angle of the next gear relative to the current gear, and control the voltage vector synthesis angle required by the stator armature if the critical angle of the next gear is reached The critical angle corresponding to the next gear is adjusted, and the corresponding gear control signal is output simultaneously; the step is repeated until the outer rotor stops rotating.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions, characterized in that: The processor implements the steps of the control method of the knob according to any one of claims 1 to 4 when executing the computer readable instructions.
10. A computer-readable storage medium having stored thereon computer-readable instructions, the computer-readable instructions comprising: The computer readable instructions are executed by the processor to implement the steps of the control method of the knob according to any one of claims 1 to 4.
Citation Information
Patent Citations
Knob, control method, controller and electrical equipment
CN113534885A